@font-face {
  font-family: 'Axiforma';
  src: url('../fonts/Axiforma\ Regular.otf');
}

@font-face {
  font-family: 'Coffe';
  src: url('../fonts/Coffe-Latime-BF63b7056e45fc3.ttf');
}

@font-face {
  font-family: 'Gobold';
  src: url('../fonts/Gobold_Uplow.ttf');
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-VariableFont_wght.ttf');
}

:root {
  --RED: #CC0333;
  --WHITE: #FFF;
  --YELLOW: #F2DA63;
  --GREY: #737373;
  --PURPLE: #7F35B2;
  --LIGHT-PURPLE: #CAA2DD;
}

html {
  scroll-behavior: smooth;
  background-color: var(--RED);
}

body {
  min-height: 100vh;
  background-color: var(--RED);
}

/* ----- NAVBAR ----- */
.navbar {
  background-color: var(--RED);
  border-radius: 0 20px 20px 0;
  position: absolute;
  width: 0;
  height: 100vh;
  z-index: 10;
  overflow: hidden;
  transition: all .5s ease-in-out;
}

.navbar .box {
  border-top: 2px solid var(--WHITE);
  border-right: 2px solid var(--WHITE);
  border-bottom: 2px solid var(--WHITE);
  border-radius: 0 20px 20px 0;
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.navbar nav {
  width: 300px;
}

.navbar ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.navbar a {
  font-family: 'Gobold', sans-serif;
  color: var(--WHITE);
  text-transform: uppercase;
  white-space: nowrap;
}

.navbar .button {
  margin: 1rem;
  background-color: transparent;
  border: none;
  width: 38px;
  height: 38px;
  cursor: pointer;
  
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.navbar .menu-icon,
.navbar .menu-icon::after {
  background-color: var(--WHITE);
  width: 30px;
  height: 4px;
  border-radius: 5px;
  position: absolute;

  transform: rotate(45deg);
}

.navbar .menu-icon::after {
    content: "";
}

.navbar .menu-icon::after {
  transform: translate(-15px) rotate(90deg);
}

/* ----- CABECALHO ----- */
header ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 2rem;
}

header .button {
  background-color: transparent;
  border: none;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: none;
}

header .menu-icon,
header .menu-icon::before,
header .menu-icon::after {
  background-color: var(--WHITE);
  width: 40px;
  height: 4px;
  border-radius: 5px;
  position: absolute;
}

header .menu-icon::before,
header .menu-icon::after {
    content: "";
}

header .menu-icon::after {
  transform: translate(-20px, -12px);
}

header .menu-icon::before {
  transform: translate(-20px, 12px);
}

header a {
  font-family: 'Gobold', sans-serif;
  font-size: clamp(.75rem, 1.5vw, 1.2rem);
  color: var(--WHITE);
  text-transform: uppercase;
  white-space: nowrap;
}

header img {
  width: auto;
  height: auto;
}

/* ----- CONTEUDO PRINCIPAL ----- */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ----- bloco principal ----- */
main .moments {
  background-image: url('../images/home/main-background.png');
  background-repeat: no-repeat;
  background-size: max(390px, 100%);
  width: 100%;
  height: clamp(400px, 72vw, 140vh);
  /* max-width: 1500px; */

  position: relative;
}

main .moments-text {
  position: absolute;
  right: 50%;
  transform: translate(-10%);
  top: 25%;

  width: clamp(220px, 32vw, 578.52px);

  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.moments-text .titulo {
  color: var(--YELLOW);
  font-family: 'Gobold', sans-serif;
  font-size: clamp(2rem, 3.5vw, 4rem);
  line-height: 1.2;
  text-transform: uppercase;
}

.moments-text .paragrafo-1 {
  color: var(--WHITE);
  font-family: 'Axiforma', sans-serif;
  font-size: clamp(.75rem, 1.4vw, 1.6rem);
  font-weight: bold;
  line-height: 1.2;
}

.moments-text .paragrafo-2 {
  color: var(--WHITE);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(.75rem, 1.3vw, 1.5rem);
  line-height: 1.2;
}

.moments-text figure {
  width: 90%;
  text-align: center;
  line-height: 1.2;
}

.moments-text figure > img {
  width: clamp(30px, 7vw, 120px);
}

.moments-text .crie-momentos {
  color: var(--WHITE);
  font-family: 'Coffe', fantasy;
  font-size: clamp(1rem, 3.5vw, 4rem);
}

.moments-text .felicidade {
  color: var(--WHITE);
  font-family: 'Gobold', sans-serif;
  font-size: clamp(1rem, 2.5vw, 3rem);
  text-transform: uppercase;
}

/* ----- bloco de promocao ----- */
main .sale {
  background-image: url('../images/home/block-banner.png');
  background-repeat: no-repeat;
  background-size: 100%;
  width: 100%;
  height: clamp(135px, 41vw, 100vh);
  /* max-width: 1500px; */

  position: relative;
  display: flex;
  align-items: center;
}

main .sale figure {
  position: absolute;
  bottom: 0;
  left: 8%;
  height: 115%;
}

main .sale figure > img {
  display: block;
  height: 100%;
}

main .sale-text {
  position: absolute;
  left: 55%;
  bottom: 8%;
  max-width: clamp(165px, 22vw, 395px);

  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.sale-text .promocao {
  font-family: 'Gobold', sans-serif;
  font-size: clamp(1.5rem, 3vw, 3.3rem);
  margin-bottom: -4%;
}

.sale-text .titulo {
  margin-top: -.5rem;
  color: var(--PURPLE);
  font-family: 'Gobold', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 4rem);
  line-height: 1.2;
  text-transform: uppercase;
}

.sale-text .descricao {
  color: var(--GREY);
  font-family: 'Axiforma', sans-serif;
  font-size: clamp(.75rem, 1.3vw, 1.5rem);
  font-weight: bold;
  line-height: 1.2;
}

.sale-text .link {
  color: var(--GREY);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(.75rem, 1.2vw, 1.4rem);
  line-height: 1.2;
}

.sale-text .link a {
  color: var(--GREY);
  font-weight: bold;
  text-decoration: underline;
}

/* ----- blodo de marcas ----- */
main .our-brands {
  width: 100%;
  max-width: 1500px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.our-brands-body {
  display: flex;
  justify-content: center;
  padding: 0 0 5%;
}

.our-brands-body-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: clamp(260px, 74vw, 100%);
  gap: 1.6rem;
}

.our-brands-body-container img {
  display: block;
  width: clamp(220px, 27vw, 500px);
}

.our-brands-body-container .text {
  display: flex;
  flex-direction: column;
  gap: clamp(.8rem, 1.8vw, 1.7rem);
  width: clamp(150px, 24vw, 440px);
}

.our-brands-body-container .text p {
  color: var(--WHITE);
  font-family: 'Axiforma', sans-serif;
  font-size: clamp(.65rem, 1.3vw, 1.5rem);
  white-space: nowrap;
}

.our-brands-body-container .text .bold {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: clamp(.65rem, 1.4vw, 1.6rem);
}

.our-brands-body-container .text span {
  color: var(--YELLOW);
}

.our-brands-body-container .text .button a {
  background-color: var(--LIGHT-PURPLE);
  border-radius: 20px;
  color: var(--RED);
  padding: .1rem .7rem;
  text-transform: uppercase;
  font-family: 'Gobold', sans-serif;
  font-size: clamp(.65rem, 1.3vw, 1.5rem);
}

.our-brands-body-container .k-logo img {
  width: clamp(100px, 17vw, 300px);
}

/* ----- bloco do carrossel ----- */
.carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;

  padding: 5% 0;
}

.carousel .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: clamp(260px, 74vw, 100%);
}

.carousel .container .logo-marcas p {
  color: var(--YELLOW);
  font-family: 'Gobold', sans-serif;
  font-size: clamp(2rem, 3.5vw, 4rem);
  line-height: 1.2;
  text-transform: uppercase;
}

.slider-container {
  height: 80px;
  width: 100%;
  overflow: hidden;
  background-color: var(--RED);
}

.slides {
  height: 80px;
  width: clamp(4500px, 500vw, 9000px);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.slides figure {
  width: clamp(150px, 14vw, 250px);
  height: clamp(40px, 5vw, 80px);
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
}

.slides figure img {
  max-height: 100%;
  max-width: 100%;
}

.slides .first {
  width: clamp(250px, 68vw, 1250px);
  animation-name: first;
  animation-duration: 30s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes first {
  0% {
    margin-left: 0;
  }
  100% {
    margin-left: -55%;
  }
}

/* ----- bloco da midia ----- */
main .quick-midia {
  width: 100%;
  /* max-width: 1500px; */
  background-color: var(--WHITE);

  display: flex;
  flex-direction: column;
  align-items: center;
}

.quick-midia .yellow-bar {
  background-color: var(--YELLOW);
  height: 35px;
  width: 100%;
}

.quick-midia-blocks {
  max-width: 1500px;
  width: clamp(260px, 74vw, 100%);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3.5% 0;
}

.quick-midia-blocks .red-title {
  font-family: 'Gobold', sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 3rem);
  color: var(--RED);
  text-transform: uppercase;
}

.quick-midia-blocks .boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 5.2vw, 6rem);
}

.quick-midia-blocks .box {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quick-midia-blocks .box figure {
  background-color: var(--GREY);
  border-radius: 15px;
  width: 100%;
  height: clamp(120px, 12vw, 220px);
  overflow: hidden;
}
.quick-midia-blocks .box figure img { 
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-midia-blocks .box p {
  font-size: clamp(1rem, 1.3vw, 1.5rem);
}

.quick-midia-blocks .box a {
  font-family: 'Gobold', sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.5rem);
  color: var(--RED);
  text-transform: uppercase;
  text-align: end;
}

/* ----- RODAPE ----- */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Montserrat';
  font-size: clamp(.5rem, 2vw, 1rem);
  color: var(--WHITE);
}

footer .top_side {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 5vw, 10rem);
}

footer .logo_and_links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
}

footer .logo_and_links img {
  width: 100%;
  min-width: 150px;
  max-width: 200px;
}

footer .adresses {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  white-space: nowrap;
}

footer .box-2 {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 6vw, 2rem);
}

footer .vertical-rule {
  height: clamp(80px, 27vw, 141px);
  border-left: 1px solid white;
}

footer .adresses .vertical-rule {
  height: 30px;
}

footer ul {
  font-size: .7rem;
  line-height: 1.8;
  white-space: nowrap;
}

footer a {
  font-family: 'Montserrat';
  color: var(--WHITE);
  text-transform: uppercase;
}

footer a:hover {
  text-decoration: underline;
}

footer hr {
  margin: 3rem auto 1.5rem;
  width: 100%;
}

footer .terms_and_rights {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 20vw, 20rem);
  white-space: nowrap;
}

footer .terms_and_rights a {
  text-transform: none;
}

footer .terms_and_rights a:hover {
  text-decoration: underline;
}

.footer {
  width: 100%;
  max-width: 1500px;
  padding: 3rem;
}

/* ----- MEDIA QUERIES ----- */
@media screen and (max-width: 1130px) {
  footer .terms_and_rights {
    gap: 10rem;
  }
}

@media screen and (max-width: 1065px) {
  footer .terms_and_rights {
    gap: 5rem;
  }
}

@media screen and (max-width: 1024px) {
  footer .terms_and_rights {
    flex-wrap: wrap;
    gap: clamp(1rem, 5vw, 20rem);
  }
}

@media screen and (max-width: 975px) {
  main .moments-text {
    left: 18%;
    top: 25%;
    margin-left: 0;
    right: auto;
  }
  
  footer .top_side {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 890px) {
  header li.normal {
    display: none;
  }

  header img {
    height: clamp(20px, 14vw, 61px);
  }

  header .button {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    cursor: pointer;
  }

  header nav {
    display: flex;
    align-items: center;
    padding: 2rem;
  }

  header ul {
    width: calc(100% - 48px);
    padding: 0;
    position: absolute;
  }

  /* ----- bloco principal ----- */
  main .moments {
    background-size: max(550px, 100%);
    height: clamp(650px, 70vw, 1050px);
  }

  main .moments-text {
    min-width: 300px;
  }

  /* ----- bloco de promocoes ----- */
  main .sale-text {
    max-width: clamp(165px, 28vw, 395px);
    bottom: 6%;
  }
}

@media screen and (max-width: 767px) {
  main .moments {
    background-size: max(620px, 100%);
    height: clamp(580px, 70vw, 1050px);
  }

  main .moments-text {
    min-width: 280px;
  }

  /* ----- bloco de promocoes ----- */
  main .sale {
    background-size: auto;
    height: clamp(335px, 41vw, 100vh);
  }

  main .sale figure {
    left: 50%;
    transform: translate(-90%);
  }

  main .sale-text {
    left: 60%;
    bottom: 8%;
  }

  .sale-text .promocao {
    font-size: clamp(1.5rem, 3vw, 3.3rem);
  }

  .sale-text .titulo {
    margin-top: -.5rem;
    font-size: clamp(1.5rem, 3.5vw, 4rem);
  }

  .sale-text .descricao {
    font-size: clamp(.75rem, 1.3vw, 1.5rem);
    line-height: 1.2;
  }

  .sale-text .link {
    font-size: clamp(.75rem, 1.2vw, 1.4rem);
    line-height: 1.2;
  }

  /* ----- bloco das marcas ----- */
  main .our-brands {
    height: auto;
  }

  .our-brands-body {
    padding-bottom: 2.5rem;
  }

  .our-brands-body-container {
    justify-content: center;
    flex-wrap: wrap;
    max-width: 355px;
    gap: 2rem;
  }

  .our-brands-body-container img {
    height: auto;
    width: 100%;
  }

  .our-brands-body-container .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }

  .our-brands-body-container .text p {
    font-size: clamp(1rem, 1.3vw, 1.5rem);
  }
  
  .our-brands-body-container .text .bold {
    font-size: clamp(1rem, 1.4vw, 1.6rem);
  }

  .our-brands-body-container .text .button a {
    font-size: clamp(1rem, 1.3vw, 1.5rem);
  }

  .our-brands-body-container .k-logo {
    display: none;
  }

  /* ----- bloco do quick na midia ----- */
  .quick-midia-blocks {
    width: clamp(260px, 74vw, 100%);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0;
  }

  /* ----- bloco do quick na midia ----- */
  .quick-midia-blocks {
    max-width: 355px;
  }

  .quick-midia-blocks .boxes {
    display: grid;
    place-content: center;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 5.2vw, 6rem);
  }

  .quick-midia-blocks .box figure {
    height: clamp(150px, 12vw, 220px);
  }
}

@media screen and (max-width: 545px) {
  footer ul {
    font-size: clamp(.5rem, .7vw, .7rem);
  }

  footer hr {
    margin: 1.5rem auto 1.2rem;
    width: 100%;
  }
}

@media screen and (max-width: 481px) {
  main .moments {
    background-size: max(550px, 100%);
    height: clamp(550px, 70vw, 1050px);
  }

  main .moments-text {
    min-width: 0;
    max-width: 220px;
    left: 22%;
    top: 26%;
  }

  .moments-text .titulo {
    font-size: clamp(1.5rem, 3.2vw, 3rem);
  }
  
  .moments-text .paragrafo-1 {
    font-size: clamp(.75rem, 1.3vw, 1.2rem);
  }
  
  .moments-text .paragrafo-2 {
    font-size: clamp(.75rem, 1.4vw, 1.1rem);
  }

  /* ----- bloco do carrossel */
  .carousel {
    padding-top: 12%;
  }

  .carousel .container {
    flex-wrap: wrap;
  }
}

@media screen and (min-width: 320px) and (max-width: 425px) {
  main .moments {
    background-size: max(405px, 100%);
    height: clamp(485px, 70vw, 140vh);
  }

  main .moments-text {
    max-width: 220px;
    left: 22%;
    top: 26%;
  }

  /* ----- bloco de promocoes ----- */
  main .sale {
    background-size: auto;
    height: clamp(335px, 41vw, 100vh);
  }

  main .sale figure {
    left: 50%;
    transform: translate(-105%);
  }

  main .sale-text {
    left: 50%;
    bottom: 8%;
  }

  /* ----- bloco de marcas ----- */
  .our-brands-body-container .text p {
    font-size: clamp(.89rem, 1.3vw, 1.5rem);
  }

  .our-brands-body-container .text .bold {
    font-size: clamp(.89rem, 1.4vw, 1.6rem);
  }

  .our-brands-body-container .text .button a {
    font-size: clamp(.89rem, 1.3vw, 1.5rem);
  }
}