* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  padding: 0;
  background-color: #dddad7;
}

html {
  scroll-behavior: smooth;
}

container {
    width: auto !important;
}

/* HEADER */

header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  background-color: transparent;
  color: #023e40;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li {
  margin-right: 20px;
}

nav ul li a {
  color: #023e40;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #e9784d;
}

@media only screen and (max-width: 600px) {
  .hide-mobile {
    display: none !important;
  }
}

/* FIM HEADER */

/* CONTENT HEADER */

.content-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  color: #023e40;
  margin: 3rem 0 1rem 0;
}

.content-logo {
  display: flex;
  height: 5rem;
  width: auto;
  position: absolute;
  transform: translateY(-145px);
  padding: 1rem 0;
}

.content-text {
  display: block;
  text-align: center;
}

.content-text h1 {
  font-size: 3rem;
  font-family: "Allura", cursive;
  font-weight: 500;
  font-style: normal;
  margin: 0;
}

.content-text h2 {
  margin: 0;
  font-weight: 500;
  font-size: 1.5rem;
  color: #e9784d;
  padding-bottom: 1rem;
}

.content-text p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.content-text a {
  background-color: #e9784d;
  padding: 0.5rem;
  text-decoration: none;
  color: #dddad7;
  border-radius: 5px;
}

.content-text a:hover {
  cursor: pointer;
  color: #e9784d;
  background-color: #dddad7;
  border: 1px solid #e9784d;
}

@media only screen and (max-width: 600px) {
  .content-header {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .content-text h1 {
    font-size: 3rem;
    margin-top: 2rem;
  }

  .content-text h2 {
    font-size: 1.25rem;
  }
}

/* FIM CONTENT HEADER */

.serviços {
  align-items: center;
  padding: 2.5rem;
  margin: 0 auto;
  background-color: #023e40;
  background-image: url(./assets/bg-solanum.png);
  background-size: contain;
  background-repeat: repeat-x;
  background-position: center;
  height: auto;
  color: #023e40;
  justify-content: center;
  display: flex;
  flex-direction: column;
  font-weight: 500;
}

.serviços-title {
  font-size: 1.5rem;
  color: #dddad7;
  margin-bottom: 4rem;
}

.serviços a {
  background-color: #dddad7;
  padding: 0.5rem;
  color: #023e40;
  margin-top: 1rem;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 4rem;
}

.serviços a:hover {
  border: 1px #dddad7 solid;
  color: #dddad7;
  cursor: pointer;
  background-color: #023e40;
}

.wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 500px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 3rem 0;
}

.carousel__item {
  display: flex;
  position: absolute;
  max-width: 30rem;
  width: 100%;
  opacity: 0;
  filter: drop-shadow(0 2px 2px #e9784d);
  will-change: transform, opacity;
  -webkit-animation: carousel-animate-vertical 24s linear infinite;
  animation: carousel-animate-vertical 24s linear infinite;
  justify-content: center;
  width: 100%;
  align-items: center;
  height: 4rem;
  background-color: #dddad7;
  border-radius: 5px;
}

.carousel__item img {
  margin: 0 10px;
}

.carousel__item:nth-child(1) {
  -webkit-animation-delay: calc(3s * -1);
  animation-delay: calc(3s * -1);
}

.carousel__item:nth-child(2) {
  -webkit-animation-delay: calc(3s * 0);
  animation-delay: calc(3s * 0);
}

.carousel__item:nth-child(3) {
  -webkit-animation-delay: calc(3s * 1);
  animation-delay: calc(3s * 1);
}

.carousel__item:nth-child(4) {
  -webkit-animation-delay: calc(3s * 2);
  animation-delay: calc(3s * 2);
}

.carousel__item:nth-child(5) {
  -webkit-animation-delay: calc(3s * 3);
  animation-delay: calc(3s * 3);
}

.carousel__item:nth-child(6) {
  -webkit-animation-delay: calc(3s * 4);
  animation-delay: calc(3s * 4);
}

.carousel__item:nth-child(7) {
  -webkit-animation-delay: calc(3s * 5);
  animation-delay: calc(3s * 5);
}

.carousel__item:last-child {
  -webkit-animation-delay: calc(3s * 6);
  animation-delay: calc(3s * 6);
}

@-webkit-keyframes carousel-animate-vertical {
  0% {
    transform: translateY(100%) scale(0.5);
    opacity: 0;
    visibility: hidden;
  }
  3%,
  11.1111111111% {
    transform: translateY(100%) scale(0.7);
    opacity: 0.4;
    visibility: visible;
  }
  14.1111111111%,
  22.2222222222% {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
  }
  25.2222222222%,
  33.3333333333% {
    transform: translateY(-100%) scale(0.7);
    opacity: 0.4;
    visibility: visible;
  }
  36.3333333333% {
    transform: translateY(-100%) scale(0.5);
    opacity: 0;
    visibility: visible;
  }
  100% {
    transform: translateY(-100%) scale(0.5);
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes carousel-animate-vertical {
  0% {
    transform: translateY(100%) scale(0.5);
    opacity: 0;
    visibility: hidden;
  }
  3%,
  11.1111111111% {
    transform: translateY(100%) scale(0.7);
    opacity: 0.4;
    visibility: visible;
  }
  14.1111111111%,
  22.2222222222% {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
  }
  25.2222222222%,
  33.3333333333% {
    transform: translateY(-100%) scale(0.7);
    opacity: 0.4;
    visibility: visible;
  }
  36.3333333333% {
    transform: translateY(-100%) scale(0.5);
    opacity: 0;
    visibility: visible;
  }
  100% {
    transform: translateY(-100%) scale(0.5);
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 600px) {
  .serviços {
    height: 25rem;
    padding: 1rem 0 2.5rem 0;
  }

  .serviços-title {
    margin: 2rem 0;
  }
  
    .serviços a {
    margin-top: 1rem;
  }

  .wrapper {
    padding: 1rem;
  }

  .carousel__item {
    padding: 0 1rem;
  }

  .carousel__item img {
    width: 30px;
    height: 30px;
  }
}

/* FIM SERVIÇOS */

/* CLIENTES */

.clientes {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 20rem;
  justify-content: center;
  margin: 0 auto;
  padding: 2rem;
}

.clientes h3 {
  font-size: 1.5rem;
  color: #e9784d;
  padding-bottom: 2rem;
  font-weight: 500;
}

.clientes-img {
  height: 5rem;
  width: auto;
}

.clientes-img-mb {
  height: 3rem;
  width: auto;
  transform: translateY(25px);
}

.clientes-img-foc {
  height: 3rem;
  width: auto;
  transform: translateY(16px);
}

.clientes a {
  background-color: #e9784d;
  padding: 0.5rem;
  text-decoration: none;
  color: #dddad7;
  border-radius: 5px;
}

.clientes a:hover {
  cursor: pointer;
  color: #e9784d;
  background-color: #dddad7;
  border: 1px solid #e9784d;
}

@-webkit-keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 12));
  }
}

.slider {
  background: #dddad7;
  margin: auto;
  overflow: hidden;
  position: relative;
  height: 7rem;
  max-width: 600px;
}

.slider::before,
.slider::after {
  background: linear-gradient(
    to right,
    #dddad7 0%,
    rgba(255, 255, 255, 0) 100%
  );
  content: "";
  height: 100px;
  position: absolute;
  width: 12rem;
  z-index: 2;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
.slider::before {
  left: 0;
  top: 0;
}

.slider .slide-track {
  -webkit-animation: scroll 40s linear infinite;
  animation: scroll 40s linear infinite;
  display: flex;
  width: calc(250px * 24);
}

.slider .slide {
  height: 5rem;
  width: auto;
  padding: 0.5rem;
}

@media (max-width: 600px) {
  .clientes {
    padding: 2rem 0 1rem 0;
    text-align: center;
  }

  .slider {
    width: 250px;
  }

  .slider::before,
  .slider::after {
    width: 1rem;
  }
}

/* FIM CLIENTES */

/* QUEM SOMOS */

.quem-somos {
  align-items: center;
  display: flex;
  height: auto;
  background-color: #023e40;
  color: #dddad7;
  justify-content: center;
  
    @media (max-width: 600px) {
    flex-direction: column;
    padding-bottom: 2.5rem;
  }
}

.container-quem-somos {
  max-width: 300px;
  padding: 2.5rem 0;
}

.quem-somos h3 {
  font-size: 1.5rem;
  font-weight: 500;
  padding-bottom: 1rem;
}

.quem-somos p {
  padding-bottom: 1rem;
}

.quem-somos a {
  background-color: #dddad7;
  padding: 0.5rem;
  text-decoration: none;
  color: #023e40;
  border-radius: 5px;
}

.quem-somos a:hover {
  cursor: pointer;
  color: #dddad7;
  background-color: #023e40;
  border: 1px solid #dddad7;
}

.gallery {
  --s: 90px;
  display: grid;
  grid: auto-flow var(--s) / repeat(2, var(--s));
  gap: 10px;
  place-items: center;
  margin: calc(var(--s) / 2);
  transform: rotate(45deg);
}

.gallery > img {
  width: 141%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(80%);
  transform: scale(var(--_t, 1)) rotate(-45deg);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  cursor: pointer;
  transition: 0.2s linear;
}
.gallery > img:hover {
  filter: grayscale(0);
  --_t: 1.15;
}

/* FIM QUEM SOMOS */

/* CONTATO */

.contato {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    color: #023e40;
    align-items: center;
    padding: 2.5rem 0;
    background-image: url(./assets/bg-solanum-white.png);
    background-size: contain;
    background-repeat: repeat-x;
    background-position: center;
  }
  
  .contato h4 {
    font-size: 1.5rem;
    font-weight: 500;
    padding-bottom: 1rem;
  }
  
  .container-contato {
    align-items: center;
    display: flex;
    justify-content: right;
    max-width: 600px;
    padding-bottom: 1rem;
  
    @media (max-width: 600px) {
      flex-direction: column;
      align-items: start;
    }
  }
  
  .contato-display {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    text-decoration: none;
    color: #8b4b90;
  }
  
  .contato-display img{
    padding: 0.25rem;
  }
  
  .contato-display p {
    margin-left: 0.75rem;
  }
  
  .logo-contato img{
    display: flex;
    height: 10rem;
    width: auto;
  }
  
  
  /* FIM CONTATO */
  
  /* FOOTER */


  .footer {
    background-color: #8b4b90;
    color: #dddad7;
    display: flex;
    justify-content: center;
    font-size: 0.75rem;
  }

  /* FIM FOOTER */
