* {
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}
html {
  font-size: 62.5%; /* 16px * 62.5 = 10px = 1rem */
  font-family: Arial, Helvetica, sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

#logo {
  max-width: 15rem;
}
.heading p {
  font-size: 4rem;
  margin: 2.5rem 0 0.7rem;
}
.heading h1 {
  font-size: 8rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #104310;
  margin-bottom: 1.6rem;
}
#about {
  font-size: 1.55rem;
  font-weight: 100;
  line-height: 1.5em;
  margin: 0 auto;
}

#about p {
  margin-bottom: 0 auto 0.5rem;
  max-width: 1400px;
}
#about .services {
  padding: 2.5rem;
  font-size: 2.5rem;
  font-weight: 500;
  color: #104310;
  line-height: 1.2em;
}
#about .services li {
  list-style: none;
  margin-bottom: 0.5rem;
}
.boxes {
  max-width: 1400px;
  margin: 0 auto;
  background-color: #104310;
  color: #fff;
  border-radius: 10px;
  position: relative;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.24);
  padding: 2rem 1rem;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.box {
  margin: 0 auto;
}
.box h2 {
  font-size: 1.9rem;
  padding-bottom: 1.5rem;
  text-decoration: underline 2px;
  text-underline-offset: 3px;
}
.box a {
  display: block;
  color: white;
  font-size: 1.5rem;
  line-height: 1.5em;
  margin-bottom: 0.5rem;
}
#mail2 {
  display: none;
}
.box i {
  margin-right: 1rem;
  color: black;
  font-size: 1.6rem;
}
#socialIcons {
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  text-align: center;
  gap: 2rem;
}
#socialIcons a {
  display: inline-block;
  margin: 0 auto;
  text-align: center;
}
#socialIcons i {
  padding: 0;
  margin: 0;
  margin-top: 1rem;
  font-size: 4rem;
  line-height: 33px;
  width: 31px;
  text-align: center;
}
#socialIcons .fa-facebook-square {
  color: rgb(28, 120, 182);
}
#socialIcons .fa-instagram-square {
  color: rgb(230, 79, 172);
}
#socialIcons .fa-twitter-square {
  color: rgb(32, 178, 223);
  background-color: transparent;
}
@media (max-width: 999px) {
  .boxes {
    margin: 0 auto;
    height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .box {
    margin: 1rem auto;
    display: flex;
    flex-direction: column;
  }
  .box h2 {
    font-size: 2.2rem;
    text-decoration: underline;
  }
  .box a {
    display: block;
    color: white;
    font-size: 1.8rem;
    line-height: 1.5em;
  }
  #b2,
  #b3 {
    border: none;
  }
}
@media (max-width: 700px) {
  .heading p {
    font-size: 2.7rem;
  }
  .heading h1 {
    font-size: 6rem;
    margin: 1.2rem auto;
  }
  #about .services {
    padding-top: 1.5rem;
    line-height: 1.2em;
    font-size: 2.5rem;
  }
  .boxes {
    margin: 0 auto;
    /* height: auto; */
    /* overflow: hidden; */
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 460px) {
  /*.box{
        text-align: left;
        padding-left: 0;
    }*/
  #mail2 {
    display: inline-block;
  }
  #mail {
    display: none;
  }
  #socialIcons i {
    margin-right: 1rem;
  }
}
@media (min-width: 768px) {
  .container {
    height: 100vh;
  }
}
