/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: #52101b;
  background-image: url('https://www.profilerehab.com/pb/designs/flowers/maroon_flower_background_8.jpg');
  background-repeat: no-repeat;
	background-position: 50% -240px;
	background-attachment: fixed;
  font-size: 18px;
  font-family: Tahoma, sans-serif;
  margin: 0;
  color:#363636;
}

p {
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}
#content li {
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}

a.home-button{

    display:inline-block;

    margin:25px;

    background:#560412;

    color:FloralWhite;

    text-decoration:none;

    border:2px solid FloralWhite;

    border-radius:12px;

    padding:10px 18px;

    font-weight:bold;

    transition:.2s;

}

a.home-button:hover{

    background:FloralWhite;

    color:#560412;

    transform:translateY(-2px);

}

a:hover, a:focus {
  background-color: #CD5C5C;
}

img {
  max-width: 100%;
  height: auto;
}
.right {
  float: right;
  margin-left: 1em;
}
.left {
  float: left;
  margin-right: 1em;
}
.center {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
@media only screen and (min-width: 600px) {
  .small {
  max-width: 60%;
  height: auto;
  }
}
.caption {
  margin-top: 0;
  font-size: 0.9em;
  font-style: italic;
}

/*#CONTAINER is the rectangle that has contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 1000px;
	background-color: FloralWhite;
  border-radius: 30px 30px 20px 20px;
  overflow: hidden;
}

#content {
  padding: 10px 5% 20px 5%;
}


/*HEADER STYLE*/

#header ul {
  display: inline-block;
  list-style-type: none;
  padding: 10px 5% 20px 5%;
  margin: 1em;
}
#header li {
  font-size: 1.2em;
  display: inline-block;
  margin-right: 0.5em;
  margin-left: 0.5em;
  margin-bottom: 0.7em;
  margin-top: 0.7em;
}
#header li a {
  color: FloralWhite;
  background-color: #52101b;
  border-radius: 25px;
  border: 3px solid #a3122a;
  padding: 6px 30px;
  text-transform: uppercase;
  text-decoration: none;
}

/*FOOTER STYLE*/
footer{

    margin-top:70px;

    text-align:center;

    color:FloralWhite;

    font-style:italic;
}

.welcome{
    background:FloralWhite;
    padding:25px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);

    margin-bottom:25px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:25px;
    width:90%;

    max-width:1000px;

    margin:auto;

    padding:30px;
    margin-bottom:25px;
}

.card{

background:FloralWhite;

padding:25px;

border-radius:12px;

box-shadow:0 5px 15px rgba(0,0,0,.08);

transition:.2s;

}

.card:hover{

transform:translateY(-6px);

}

.card a{

text-decoration:none;

font-weight:bold;

color:#560412;

}