* {
  margin: 0;
  padding: 0;
}

.wrapper {
  display: grid;
}

header {
  height: 125px;
  background-color: #fafafa;
  padding-left: 1em;
  padding-right: 1em;
  position: fixed;
  width: 100%;
}

#logo {
  height: 110px;
  padding-top: 5px;
  padding-bottom: 5px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

nav ul {
  display: flex;
  list-style-type: none;
}

nav li a {
  text-decoration: none;
  color: #444444;
  font-family: "Roboto", sans-serif;
  font-weight: lighter;
  font-size: 15px;
  padding: 15px;
}

nav li a:active {
  background-color: rgba(237, 233, 225, 1);
}

nav li a:hover {
  background-color: rgba(237, 233, 225, 0.6);
}

#banner {
  height: 50em;
  background: url("/images/hands.jpg") no-repeat;
  background-size: cover;
  display: grid;
  justify-content: flex-end;
  align-items: center;
}

#card {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background-color: #f2eddb;
  width: 700px;
  height: 400px;
  margin: 0 3em;
  text-align: center;
  font-family: "Raleway", sans-serif;
  border: 15px solid #ffffff;
  border-radius: 20px 0px;
  box-shadow: 10px 10px 20px rgba(9, 55, 31, 0.6);
}

h1 {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  font-size: 3.8em;
  color: #618773;
  text-align: center;
}

#card p {
  font-weight: 300;
  font-size: 1.5em;
  color: #09371f;
}

#card h3 {
  font-size: 2.5em;
  font-weight: 300;
  color: #8aaf9c;
}

#advantages ul,
#service ul,
#treat ul {
  margin-top: 2em;
  font-family: "Raleway";
  font-size: 1.5em;
  font-weight: lighter;
  letter-spacing: 3px;
  line-height: 50px;
}

#advantages {
  height: 700px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));  
}

#advantages div:first-child{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#advantages div:last-child{
  background-color: #8aaf9c;
  display: grid;
  align-items: center;
}

#advantages div:last-child h1{
  color: #FFFFFF;
  padding: 20px;
}

#service {
  height: 500px;
  background-color: #1b2e5b;
  font-family: "Raleway", sans-serif;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#service h1 {
  color: white;
}

#treat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr))
}

#treat img {
  width:100%;
  height: 100%;
  object-fit: cover;
}

#treat div:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 100px;
  padding-bottom: 100px;
}

#works h1 {
  grid-column: 1/3;
  padding-top: 50px;
  padding-bottom: 50px;
}

#works div {
  display: grid;
  grid-template-columns: 30% 70%;
  padding-top: 30px;
  padding-bottom: 30px;
}

#works div > img {
  justify-self: flex-end;
  padding-right: 20px;
}

#works div:last-child {
  background-image: url(/images//call2.jpg);
  background-size: cover;
}

#works ul {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: "Raleway";
  font-size: 1.2em;
  list-style: none;
  color: #09371f;
  padding-right: 10px;
}

#works li {
  margin-top: 30px;
  margin-bottom: 30px;
}

#offer{
  height: 700px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background-color: #1b2e5b;
  color: #FFFFFF;
  padding-bottom: 50px;
  justify-content: center;
}

#offer h1{
  grid-column: 1/4;
  color: #FFFFFF;
  padding-top: 50px;
  align-self: center;
}

#offer img{
  justify-self: center;
  align-self: center;
  width: 150px;
  height: 150px;
  padding-top: 50px;
}

#offer p{
  font-family: "Raleway", sans-serif;
  font-size: 1.5em;
  text-align: center;
  padding-top: 20px;
}

footer{
  background-color: #1b2e5b;
  color: #FFFFFF;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.3em;
  font-weight: 300;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  margin-top: 3em;
  padding-top: 50px;
  padding-bottom: 50px;
}

footer div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 20px;
}

footer img{
  width: 30px;
  height: 30px;
  margin-right: 20px;
}

footer p {
  line-height: 50px;
}

footer h3{
  margin-bottom: 30px;
}

footer ul{
  list-style: none;
}

footer li a {
  text-decoration: underline;
  color: #FFFFFF;
}