@import url("../fonts/fonts.css");

:root {
  --color-background: #e3e6dd;
  --color-white: #fff;
  --color-black: #000;
  --color-cosmica-dark-green: #61806b;
  --color-cosmica-light-green: #a0b491;
  --color-cosmica-gray: #373937;
  --color-cosmica-light: #e3e6dd;
}
@media (min-width: 1600px) {
  p {
    font-size: 18px;
  }
}

@media (max-width: 1280px) {
  main {
    gap: 80px;
  }
  h1 {
    font-size: 2.5rem;
  }
  #hero > img {
    display: none;
  }
  .texto-produtos {
    overflow-y: scroll;
  }
  #hero img {
    max-width: 500px;
    max-height: auto;
    object-fit: cover;
  }
  .slogan {
    font-size: 25px; /* Ajuste o tamanho da fonte do slogan */
    margin-top: 0.625rem; /* Espaçamento superior */
    color: #e3e6dd;
    text-align: center;
  }
  .produto {
    width: auto;
    height: 400px;
    margin-left: 10px;
  }
  .produtos-wrapper {
    width: auto;
  }
  .texto_sustentavel_upcycle {
    width: 352px;
  }

  .container_img_upcycle {
    height: 100%;
    display: block;
    width: auto;
  }
  .secao_nossa_causa {
    height: fit-content;
  }
  #Nossa_causa {
    width: 100%;
    min-height: min-content;
  }

  .circulo_sustentavel {
    position: relative;
    min-width: 20.75rem;
    min-height: 20.75rem;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;

    /* animation: spin 60s linear infinite; */
  }
  .circulo_sustentavel .icon {
    padding: 10px;
  }
  .design {
    top: 18%;
    left: 88%;
    transform: translate(-120%, -46%);
  }
  .make {
    top: 71%;
    right: 18px;
    transform: translate(50%, -50%);
  }
  .package {
    bottom: -0.625rem;
    left: 50%;
    transform: translate(-50%, 50%);
  }
  .use {
    top: 19%;
    left: 26%;
    transform: translate(-120%, -40%);
  }
  .recycle {
    top: 69%;
    left: 11%;
    transform: translate(-120%, -40%);
  }

  .circle-text {
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  h1 {
    font-size: 2.25rem;
  }
  main {
    gap: 60px;
  }
  html {
    scroll-padding-top: 70px; /* Ajuste de acordo com a altura da sua navbar */
    scroll-behavior: smooth; /* Para rolagem suave */
  }
  body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--color-cosmica-light);
  }
  #svg10 {
    width: 100%;
    height: auto;
  }

  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100dvw;
    height: 70px;
  }

  .nav > a:first-of-type {
    display: none;
  }

  .slogan {
    font-size: 32px; /* Ajuste o tamanho da fonte do slogan */
    margin-top: 10px; /* Espaçamento superior */
    color: #e3e6dd;
    text-align: center;
  }
  #logo-menu-responsivo {
    height: auto;
    width: 70px;

    margin: 0px 10px;
    margin-top: 8px;
    z-index: 2;
  }

  .menu-hamburguer {
    flex-direction: column;
    z-index: 100;
    cursor: pointer;
    margin: 20px 20px;
  }
  .menu-hamburguer .linha {
    width: 32px;
    height: 3px;
    background-color: var(--color-background);
    margin: 4px 0;
    transition: all 0.3s ease-in-out;
  }
  .menu-hamburguer.ativo .linha:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: white;
  }

  .menu-hamburguer.ativo .linha:nth-child(2) {
    opacity: 0;
  }

  .menu-hamburguer.ativo .linha:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color: white;
  }

  .hamburger-nav {
    top: 0px;
    position: absolute;
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-cosmica-gray);
    width: 100%;
    height: 100dvh;
    opacity: 0;
    transition: all 1.5s ease-in-out;
  }

  .hamburger-nav.ativo {
    display: flex;
    opacity: 1;
  }

  #hero img {
    width: 100%;
  }
  #hero {
    background-attachment: fixed; /* Parallax effect */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  #secao_sobre_nos {
    display: flex;
    flex-direction: column;
    width: 100dvw;
    height: 100dvh;
    text-justify: newspape;
    min-height: max-content;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    padding: 0px 20px;
  }
  #Sobre_nos {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .texto_sustentavel_Sobre_nos {
    width: 50%;
  }
  .container_img_Sobre_nos {
    height: auto;
    width: 50%;
    img {
      width: 100%;
      display: block;
      height: auto;
    }
  }

  #secao_upcycle {
    width: 100vw;
  }
  #Upcycle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-direction: row;
    height: 100%;
  }

  .container_img_upcycle {
    height: auto;
    width: 50%;
    img {
      width: 100%;
      display: block;
      height: auto;
    }
  }

  .sustentavel {
    text-align: center;
    margin: 0;
    padding: 10px;
  }
  .secao_nossa_causa {
    min-height: max-content;
  }
  .texto_Nossa_causa {
    width: 100%;
    margin: 0px;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
  }

  .texto_Nossa_causa p {
    margin-top: 20px;
    text-align: left;
  }

  #produtos-Section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    min-height: 100vh;

    width: 100vw;
  }

  .produtos-wrapper {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    overflow: scroll;

    transition: all 1.5s ease-in-out;
  }

  .produtos {
    flex-direction: row;
    width: 100vh;
  }

  .produto {
    width: 300px;
    flex: none;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
  }
  .produto img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: all 0.5s ease-in-out;
  }

  .texto-produtos {
    overflow: scroll;
  }

  #Nossa_causa {
    display: flex;
    flex-direction: column;
    padding: 10px;
    width: 100dvw;
  }

  .texto_Nossa_causa {
    width: 100%;
    margin: 0px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .texto_Nossa_causa p {
    text-align: left;
  }
  #Nossa_causa {
    width: 100%;
    min-height: max-content;
  }
  .circulo_sustentavel {
    position: relative;
    min-width: 30.75rem;
    min-height: 30.75rem;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;

    /* animation: spin 60s linear infinite; */
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo,
  .footer-menu,
  .footer-social {
    max-width: 100%;
    text-align: center;
  }

  .footer-menu ul {
    display: flex;
    justify-content: center;
    gap: 15px;
  }

  .footer-social .social-icons {
    justify-content: center;
  }

  .preenchimento input[type="nome"],
  .preenchimento input[type="e-mail"],
  .mensagem_usuario {
    width: 100%;
  }

  .whatsapp-float {
    flex-direction: column;
    text-decoration: none;
    position: fixed;
    bottom: 6.3125rem;
    color: #fff;
    border-radius: 3.125rem;
    font-size: 1.875rem;
    z-index: 100;
  }
}

@media (max-width: 834px) {
  #secao_sobre_nos {
    height: fit-content;
  }
  #secao_upcycle {
    height: fit-content;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }
  p {
    font-size: 0.875rem; /* Ajusta o tamanho da fonte para parágrafos */
  }
  main {
    gap: 20px;
  }

  svg-container {
    width: 100%;
  }
  .slogan {
    font-size: 16px; /* Ajuste o tamanho da fonte do slogan */
    margin-top: 10px; /* Espaçamento superior */
    color: #e3e6dd;
    text-align: center;
  }
  #titulo_Sobre_nos {
    display: none;
  }
  #Sobre_nos {
    display: flex;
    flex-direction: column-reverse;
  }
  #secao_sobre_nos {
    height: min-content;
    padding: 0px;
  }

  #titulo_Sobre_nos_mobile {
    display: block;
  }

  .texto_sustentavel_Sobre_nos {
    height: 100%;
    font-size: 20px;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 3.125rem;
    flex-direction: column;
    width: 50%;
    text-align: left;
    padding: 20px;
  }

  .container_img_Sobre_nos {
    width: 80%;
    height: 40%;
    padding: 10px;

    display: flex;

    img {
      border-radius: 10px;
      object-fit: cover;
    }
  }

  .texto_sustentavel_Sobre_nos {
    width: 100%;
    height: 50%;
  }

  #secao_upcycle {
    display: flex;
  }
  #secao_upcycle {
    margin-bottom: 30px;
  }

  #Upcycle {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    & .container_img_upcycle {
      width: 100%;
      height: 50%;
      padding: 10px;
      display: flex;
      padding: 20px;
    }
    & img {
      border-radius: 10px;
      object-fit: cover;
    }
  }

  .design {
    top: 18%;
    left: 93%;
    transform: translate(-120%, -46%);
  }
  .make {
    top: 71%;
    right: 21px;
    transform: translate(50%, -50%);
  }

  .package {
    bottom: -10px;
    left: 50%;
    transform: translate(-50%, 50%);
  }
  .use {
    top: 18%;
    left: 29%;
    transform: translate(-120%, -40%);
  }
  .recycle {
    top: 68%;
    left: 17%;
    transform: translate(-120%, -40%);
  }

  .circulo_sustentavel .icon {
    background-color: #61806b;
    color: white;
    padding: 20px;
    border-radius: 50%;
    font-size: 16px;
  }

  .circle-text {
    font-size: 12px;
    text-align: center;
    padding: 0px 20px;
  }

  main {
    padding: 20px;
  }

  #Nossa_causa {
    display: flex;
    flex-direction: column;
    padding: 10px;
    width: 100dvw;
    gap: 100px;
  }

  .circulo_sustentavel {
    position: relative;
    min-width: calc(492px / 1.5);
    min-height: calc(492px / 1.5);
    display: flex;
    justify-content: center;
    align-items: center;
    /* animation: spin 60s linear infinite; */
  }

  .produto {
    width: 250px;
    margin-left: 8px;

    flex: none;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
  }

  .produto-botao {
    margin-right: 8px;
  }
  .whatsapp-float {
    left: 30px;
    bottom: 5.5rem;
  }
}

@media (max-width: 374px) {
  .produto {
    width: 14.0625rem;
  }
  main {
    gap: 60px;
  }

  .circulo_sustentavel {
    min-width: calc(418px / 1.5);
    min-height: calc(418px / 1.5);
    /* animation: spin 60s linear infinite; */
  }
  .texto_sustentavel_upcycle {
    width: 320px;
  }
  .whatsapp-float i {
    font-size: 1.2em;
    height: 2.1rem;
    width: 2.1rem;
  }
}
