* {
  box-sizing: border-box;
  margin: 0;
  font-family: "Gabarito", sans-serif;
  line-height: 1.2;
  scroll-behavior: smooth;
}

h1, h2 {
  color: #005C00;
  transition: 0.3s;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  transition: 0.3s;
  transform: scale(1.1);
}

header {
  display: flex;
  width: 100%;
  height: 120px;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  position: fixed;
  top: 0;
  z-index: 10;
}
header h1 {
  font-size: 2em;
}

main {
  display: grid;
  width: 100vw;
  height: 100svh;
  grid-template-columns: 40% 60%;
  grid-template-areas: "pic introbox";
  background-color: #FDF9EF;
}
main .intro-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  grid-area: introbox;
}
main .intro-box p {
  font-size: 1.5em;
}
main .intro-box a {
  margin-top: 30px;
}
main .intro-box h2 {
  font-size: 3em;
  text-underline-offset: 1px;
  transition: 0.5s;
}
main .intro-box h2:hover {
  color: #111919;
  transition: 0.5s;
  -webkit-text-decoration: 3px underline;
          text-decoration: 3px underline;
  text-underline-offset: 3px;
}
main img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  scale: 80%;
  -o-object-fit: contain;
     object-fit: contain;
  grid-area: pic;
}
main .contact {
  display: flex;
  flex-direction: column;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 1.2em;
  padding: 15px 20px 20px 20px;
  position: fixed;
  bottom: 0;
  right: 5%;
  transition: 0.5s;
  border-radius: 1rem 1rem 0 0;
  color: white;
  background-color: #111919;
  opacity: 0.5;
  z-index: 10;
  border-bottom: none;
  text-decoration: underline;
}
main .contact:hover {
  padding: 20px 20px 60px 20px;
  transition: 0.5s;
  opacity: 1;
}

@media only screen and (max-width: 668px) {
  header {
    height: 80px;
  }
  header a {
    margin-top: 10px;
  }
  header h1 {
    font-size: 1.5em;
  }
  main {
    grid-template-columns: 1fr;
    grid-template-rows: 40% 60%;
    grid-template-areas: "pic" "introbox";
  }
  main .intro-box {
    padding: 20px 30px;
    margin-bottom: 60px;
  }
  main .intro-box p {
    font-size: 1.2em;
    text-align: center;
  }
  main .intro-box a {
    margin-top: 50px;
  }
  main .intro-box h2 {
    font-size: 1.8em;
  }
  main img {
    margin-top: 20px;
    height: auto;
    justify-content: start;
    opacity: 0.5;
  }
  main .contact {
    padding: 15px;
    margin-bottom: 5px;
    border-radius: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1em;
    opacity: 1;
    z-index: 3;
  }
  main .contact:hover {
    padding: 15px;
  }
}/*# sourceMappingURL=style.css.map */