@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@1&family=Roboto:wght@500&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
nav {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0);
}
h5 {
  text-align: center;
  font-family: "Roboto", sans-serif;
  color: #01a85a;
  font-size: 1.6rem;
  /* transform: translateY(5rem); */
}
h5::after {
  content: "";
  display: block;
  width: 10rem;
  border-radius: 20rem;
  height: 2px;
  margin: auto;
  margin-top: 0.4rem;
  background-color: #01a85a;
}
#logo {
  max-height: 2.5rem;
  margin: 0.5rem 1rem;
}
#nav-list {
  display: flex;
  gap: 1.5rem;
  /* align-items: center; */
  /* background-color: #01a85a; */
  margin-left: 5vw;
  /* margin-right: rem; */
  align-items: center;
  padding-top: 0.5rem;
}
a {
  text-decoration: none;
}
.nav-list-item {
  text-decoration: none;
  list-style: none;
  color: #3e3e3e;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-size: 0.8rem;
}
#hero {
  width: calc(100vw - 10rem);
  height: 70vh;
  margin: auto;
  margin-top: 7rem;
  border-radius: 2rem;
  background-image: url(../images/hero.png);
  background-size: cover;
  /* background-position: right; */

  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  padding-left: 8rem;
  -webkit-animation: slidein 25s;
  animation: slidein 25s;

  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}
@-webkit-keyframes slidein {
  from {
    background-position: right;
    /* background-size: 3000px; */
  }
  to {
    background-position: left;
    /* background-size: 2750px; */
  }
}

@keyframes slidein {
  from {
    background-position: right;
    /* background-size: 3000px; */
  }
  to {
    background-position: left;
    /* background-size: 2750px; */
  }
}
#hero h1 {
  transform: translateY(-1rem);
  font-family: "Roboto", sans-serif;

  font-weight: bolder;
  font-size: 2.8rem;
  max-width: 50%;
  color: #fff;
}
#hero h2 {
  transform: translateY(-3rem);

  font-family: "DM Serif Display", serif;
  font-weight: bolder;
  font-size: 1.1rem;
  color: #04bc66;
  /* border: 1rem solid red; */
  /* background-color: #3e3e3e; */
  max-width: 50%;
}
#hero a {
  transform: translateY(-3rem);
  font-family: "Roboto", sans-serif;
  text-decoration: none;
  color: #01a85a;
  /* background-color: #01a85a;
   */
  font-weight: bold;
  border: #fff 1px solid;
  background-color: rgba(255, 255, 255, 0.75);
  margin-top: 2rem;
  padding: 0.6rem 3rem;
  /* text-align: left; */
  border-radius: 0.8rem;
  width: fit-content;
}
#cards {
  margin: 4rem;
  /* margin-left: 2rem; */
  margin-bottom: -4rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  transform: translateY(-10rem);
}
.card {
  background-color: #ffffffc4;
  box-shadow: 0px 0px 10px rgba(59, 59, 59, 0.683);
  /* height: 18rem; */
  width: 14rem;
  border-radius: 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}
.card i {
  font-size: 3rem;
  color: #01a85a;
  padding-bottom: 1rem;
}
.card span {
  font-family: "Roboto", sans-serif;
  text-align: center;
  font-size: 0.9rem;
  color: #01a85a;
  /* font-weight: bolder; */
}
.first span {
  color: white;
  font-weight: lighter;
}
.first i {
  color: white;
}
.first {
  background-color: #01a85a;
}
#products {
  margin: 3rem;
  margin-top: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.section-title {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-size: 1.6rem;
  color: #01a85a;
}

.product-section {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: left;
  padding: 2rem;
}
.title {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #01a85a;
  background-color: #c5cdd4;
  padding: 0.4rem 1rem;
  border-radius: 0.4rem;
  border: 2px solid #01a85a;
}
.subtitle {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-size: 0.9rem;
  font-style: italic;
  color: #8b8b8b;
}
.products {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.product {
  display: flex;
  align-items: center;
  background-color: #c5cdd4;
  padding: 1rem;
  padding-left: 0;
  border-radius: 0.6rem;
  width: 100%;
  height: 100%;
}

.img {
  width: 12rem;
}

.full {
  width: 100%;
}
.p-desc span {
  font-family: "Roboto", sans-serif;
  color: #01a85a;
}
.p-desc p {
  font-family: "Roboto", sans-serif;
  font-size: 0.8rem;
  color: #3e3e3e;
}
.p-links {
  display: flex;
  flex-wrap: wrap;
}
.btn {
  text-decoration: none;
  color: white;
  background-color: black;
  padding: 0.6rem;
  border-radius: 0.31rem;
  font-family: "Roboto", sans-serif;
  font-size: 0.8rem;
  margin: 0.2rem;
  margin-left: 0;
}
.gray {
  background-color: #000000;
}
.red {
  background-color: #ff000091;
}
.green {
  background-color: #01a85a;
}
#about {
  padding: 5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.sec {
  display: flex;
  background-color: #c5cdd4;
  border-radius: 0.5rem;
  justify-content: right;
}
.sec2 {
  display: flex;
  flex-direction: row-reverse;
  justify-content: left;
  background-color: #c5cdd4;
  border-radius: 0.6rem;
}
.t {
  padding: 1rem;
  color: #3e3e3e;
  font-family: "Roboto", sans-serif;
}
.img1 {
  border-radius: 0.6rem;
  background-image: url(../images/t1.png);
  width: 100%;
  background-size: cover;
  /* background-attachment: fixed; */
  /* margin: 2rem; */
  /* height: 15rem; */
  background-position: right;
  background-repeat: no-repeat;
}
.img3 {
  border-radius: 0.6rem;
  background-image: url(../images/t2.png);
  width: 100%;

  background-size: cover;
  /* background-attachment: fixed; */
  /* margin: 2rem; */
  /* height: 15rem; */
  background-position: left;
  background-repeat: no-repeat;
}
.img2 {
  border-radius: 0.6rem;
  background-image: url(../images/t3.png);
  width: 100%;

  background-size: cover;
  /* background-attachment: fixed; */
  /* margin: 2rem; */
  /* height: 15rem; */
  background-position: right;
  background-repeat: no-repeat;
}
#contact {
  padding: 5rem;
}
.details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: center; */
  gap: 1rem;
}
.details div {
  width: 100%;
}
.adress {
  align-items: center;
  display: flex;
  gap: 0.7rem;
  padding: 1rem;
  background-color: #c5cdd4;
  border-radius: 0.5rem;
  font-family: "Roboto", sans-serif;
  color: #04bc66;
  font-size: 0.8rem;
}
.email {
  display: flex;
  width: 100vw;
  gap: 1rem;
  justify-content: space-between;
}

.email a {
  font-size: 0.8rem;
  color: #04bc66;
  font-family: "Roboto", sans-serif;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem;
  background-color: #c5cdd4;

  width: 50%;
}
.adress i {
  font-size: 1rem;
}
.email a i {
  font-size: 1rem;
}
.social-media {
  display: flex;
  gap: 1rem;
  justify-content: center;
  background-color: #01a85a;
  padding: 0.4rem;
  border-radius: 0.5rem;
}
.qr {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  font-family: "Roboto", sans-serif;
  color: #04bc66;
  gap: 0.5rem;
}
.social-media a {
  text-decoration: none;
  color: #01a85a;
  border-radius: 0.5rem;
  font-size: 1.8rem;
  background-color: #c5cdd4;
  padding: 0.4rem;
}
.btnnav {
  text-decoration: none;
  position: absolute;
  top: 1rem;
  right: 1rem;

  font-family: "Roboto", sans-serif;
  color: #04bc66;
  font-weight: bolder;
}
.wr {
  width: 100%;
  /* background-color: #01a85a; */
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100000;
  display: flex;
  /* margin: auto; */
  /* justify-content: center; */
  transform: translateY(10rem);
  transition: 0.5s ease;
}
.navbar {
  width: 100%;
  height: 50px;
  /* transform: translateX(-50%); */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #c5cdd4;
  padding-top: 0.4rem;
  border-top: #01a85a solid 1px;
  /* border-radius: 10px; */
  /* display: none; */
}
.display {
  transition: 0.5s ease;
  /* display: block; */
  transform: translateY(0rem);
}

.navbar ul {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}

.navbar ul li {
  position: relative;
  width: 50px;
  padding-bottom: 1rem;
  z-index: 1;
}

.navbar ul li a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  width: 100%;
  /* font-weight: 600; */
  color: #01a85a;
}

.navbar ul li a .icon {
  position: relative;
  display: block;
  line-height: 75px;
  font-size: 18px;
  text-align: center;
  transition: 0.5s;
}

.navbar ul li.active .icon {
  transform: translateY(-20px);
}

.navbar ul li a .text {
  position: absolute;
  opacity: 0;
  font-size: 12px;
  letter-spacing: 1.5px;
  transition: 0.5s;
  color: #01a85a;
  font-family: "Roboto", sans-serif;

  transform: translateY(20px);
}

.navbar ul li.active .text {
  opacity: 1;
  transform: translateY(20px);
}

.navbar ul .indicator {
  width: 50px;
  height: 50px;
  top: -60%;
  left: calc(50% - 100px);
  position: absolute;
  background-color: #c5cdd4;
  border-radius: 50%;
  border-top: #01a85a 4px solid;
  /* border: 4px solid #01a85a; */
  transition: 0.5s;
}

.navbar ul li:nth-child(1).active ~ .indicator {
  transform: translateX(calc(50px * 0));
}

.navbar ul li:nth-child(2).active ~ .indicator {
  transform: translateX(calc(50px * 1));
}

.navbar ul li:nth-child(3).active ~ .indicator {
  transform: translateX(calc(50px * 2));
}

.navbar ul li:nth-child(4).active ~ .indicator {
  transform: translateX(calc(50px * 3));
}

.navbar ul li:nth-child(5).active ~ .indicator {
  transform: translateX(calc(50px * 4));
}

.toto {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: 5rem;
  margin-top: 2rem;
  align-items: center;
}
.toto h4 {
  font-family: "DM Serif Display", serif;
  color: #01a85a;
  font-size: 2rem;
}
.toto a {
  /* transform: translateY(-3rem); */
  font-family: "Roboto", sans-serif;
  text-decoration: none;
  color: #fff;
  /* background-color: #01a85a;
   */
  /* font-weight: bold; */
  border: #fff 3px solid;
  background-color: #01a85a;
  margin-top: 1rem;
  padding: 0.6rem 3rem;
  /* text-align: left; */
  border-radius: 0.8rem;
  width: fit-content;
}

@media (max-width: 900px) {
  nav ul,
  nav a {
    display: none;
  }
}
@media (max-width: 1000px) {
  #hero {
    width: calc(100vw - 4rem);
    height: 50vh;
    justify-content: space-between;
    align-items: center;
    padding-left: 0rem;
  }
  #cards {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-6rem);
    gap: 1rem;
  }
  .card {
    width: 100%;
    padding: 1rem;
  }

  .card i {
    font-size: 2rem;
    padding-bottom: 0.8rem;
  }
  .card span {
    font-size: 0.75rem;
    /* font-weight: bolder; */
  }
  #hero h1 {
    transform: translateY(0rem);
    /* font-weight: normal; */
    font-size: 1.8rem;
    max-width: 80%;
    color: #fff;
    text-align: center;
    /* border: 1px solid black; */
    /* background-color: rgba(41, 41, 41, 0.413); */
    padding-top: 2rem;
    border-radius: 0.8rem;
  }

  #hero a {
    /* transform: translateY(6rem); */
  }
  #products {
    margin: 0;
    padding: 0;
  }
  .product {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }
  .sec {
    flex-direction: column;
  }
  .sec2 {
    flex-direction: column-reverse;
  }
  #about {
    margin: 0;
    padding: 2rem;
  }
  .img {
    /* height: 20rem; */
    width: 100%;
  }
  .img1,
  .img2,
  .img3 {
    width: auto;
    height: 18rem;
  }
  #contact {
    padding: 2rem;
    /* padding-bottom: 95rem; */
  }
  .email {
    flex-direction: column;
  }
  .email a {
    width: 100%;
  }
  .title {
    text-align: center;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
  .toto a {
    width: 100%;
    text-align: center;
  }
}
