@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

body {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  margin: 0;
  gap: 0;
  overflow-x: hidden;
  background-color: #edeade;
}

header {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 0px;
  text-shadow: -1px -1px 2px black;
  color: #000;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 50%);
  z-index: 10;
}

.name {
  font-family: "Poppins";
  font-weight: 700;
  color: #00674f;
  font-size: 40px;
}

h1 {
  font-size: 25px;
}

svg {
  width: 30px;
  height: auto;
  fill: #00674f;
  padding-right: 150px;
}

header > div {
  margin-left: 5%;
  animation: title 1.5s ease-in-out 1 forwards;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 20px;
}

.parallax {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.parallax img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}

#text {
  position: absolute;
  top: 30%;
  left: 40%;
  transform: translate(-70%, -60%);
  font-family: "Poppins";
  font-size: 5em;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(8, 0, 0, 0.2);
  animation: text 1.5s ease-in-out 1 forwards;
}

@keyframes text {
  from {
    opacity: 0;
    transform: translateY(-350%);
    filter: blur(33px);
  }

  to {
    opacity: 1;
    transform: translate(0);
    filter: blur(0);
  }
}

main {
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: auto;
}

.content {
  background: linear-gradient(
    180deg,
    rgb(1, 51, 41) 0%,
    rgba(0, 103, 79, 1) 100%
  );
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-content: space-around;
}

.eo,
.etw,
.eth,
.etf {
  border-radius: 0px 16px 16px 0px;
  margin: 40px 0px 40px 0px;
  max-width: 50vw;
  width: 100%;
  min-height: 35vw;
  height: fit-content;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 1px 1px 60px #333;
}

.etw,
.etf {
  border-radius: 16px 0px 0px 16px;
  align-self: flex-end;
}

#rotate {
  transform: rotate(-90deg);
}

.textcontent {
  height: 90%;
  width: 80%;
  align-self: center;
  justify-self: flex-start;
  margin-left: 20px;
  height: fit-content;
}

.contenttext {
  font-family: "Poppins";
  width: fit-content;
  text-align: center;
  font-size: 17px;
  margin: 25px;
}

.leftcontent {
  width: fit-content;
  height: 90%;
  display: flex;
  align-items: center;
  align-self: center;
  text-wrap: nowrap;
}

.rightcontent {
  width: fit-content;
  height: 90%;
  display: flex;
  align-items: center;
  align-self: center;
}

.sidebar {
  background-color: #b3b3b0;
  height: 100%;
  width: 2px;
}

.sidebarX {
  background-color: #b3b3b0;
  height: 100%;
  width: 2px;
  margin-left: -20%;
}

.titlecontentX {
  font-family: "Concert One";
  font-weight: 0;
  font-style: normal;
  font-size: 35px;
  color: #272727;
  text-shadow: 0px 0px 1px black;
}

.titlecontent {
  font-family: "Concert One";
  font-weight: 0;
  font-style: normal;
  font-size: 35px;
  color: #262626;
  text-shadow: 0px 0px 1px black;
  transform: rotate(90deg);
  margin-left: -50px;
}

#scroll-eo,
#scroll-etw,
#scroll-eth,
#scroll-etf {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.5s ease-out, transform 0.8s ease-out;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

footer {
  border: 1 px solid black;
  height: 75px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Alfa Slab One";
  grid-column: 1 / span 2;
  border: 1px solid #b3b3b0;
  background: rgba(0, 0, 0, 0);
  gap: 10px;
}

.whatsapp-link,
.email-link {
  display: inline-block;
  font-size: 24px;
  margin: 0 5px;
  color: #000;
  text-decoration: none;
  animation: title 1.5s ease-in-out 1 forwards;
}

.whatsapp-link:hover,
.email-link:hover {
  color: #00674f;
}

@media (max-width: 480px) {
  header {
    height: auto;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .name {
    font-size: 25px;
  }

  h1 {
    font-size: 20px;
    margin-left: 10px;
  }

  header > .first-div {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  header > div:last-child {
    margin-right: 10px;
  }

  svg {
    width: 25px;
    padding-right: 0;
  }

  #text {
    font-size: 2.5em;
    left: 25%;
    transform: translate(-50%, -50%);
  }

  #hill1,
  #hill2,
  #hill3,
  #hill4,
  #hill5,
  #tree,
  #leaf,
  #plant {
    height: fit-content;
    width: fit-content;
    transform: translateY(180px);
  }

  .parallax {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .eo,
  .etw,
  .eth,
  .etf {
    margin: 40px auto;
    max-width: 90vw;
    width: 100%;
    min-height: auto;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
  }

  .titlecontent {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-37.5%);
    text-align: center;
    margin-top: 10px;
    width: 100%;
    z-index: 1;
  }

  #rotate {
    transform: rotate(0deg) translateX(-20%);
  }

  .textcontent {
    margin: 60px auto 0;
    width: 90%;
    text-align: center;
  }

  .leftcontent,
  .rightcontent {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-top: 60px;
  }

  .contenttext {
    font-size: 14px;
    margin: 15px;
  }

  .sidebar,
  .sidebarX {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  footer {
    font-size: 18px;
  }

  .parallax img {
    width: 100%;
    height: auto;
  }

  .whatsapp-link,
  .email-link {
    font-size: 20px;
  }
}
