/*Comandos sem classe*/

:root {
    --cor-dourado: #FFD700;
    /* Código hexadecimal para dourado */
    --cor-preto: #000000;
    /* Código hexadecimal para preto */
    --cor-branco: #FFFFFF;
    /* Código hexadecimal para branco */
    --cor-preto-claro: #1f1f1f;
}

@font-face {
    font-family: 'Sans-Italic';
    src: url('./../fonts/OpenSans-Italic-VariableFont_wdth\,wght.ttf');
}

@font-face {
    font-family: 'Sans-Variable';
    src: url(./../fonts/OpenSans-VariableFont_wdth\,wght.ttf);
}

* {box-sizing:border-box}

html {
    min-width: 340px;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    background-color: var(--cor-preto);
    flex-direction: column;
    color: white;
    align-items: center;
    gap: 80px;
    padding-top: 160px;
    overflow-x: hidden;
    min-width: 340px;
}

a {
    text-decoration: none;
}

a i {
    font-size: 20px;
}

li {
    list-style-type: none;
}

/*Classificados*/


/* index */
 @media screen {

 }

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 32px;
    align-items: center;
    justify-content: center;
}

.slideshow-container {
    display: flex;
    align-items: center;
    padding-left: 100px;
    padding-right: 100px;
    background-color: var(--cor-preto-claro);
    padding-top: 60px;
    padding-bottom: 60px;
    border-radius: 20px;
    justify-content: center;
    flex-direction: column;
    width: 95%;
}

/* Hide all images by default */
.mySlides {
    display: none;
}

.SlideProduto {
    width: 80vw;
    border-radius: 20px;
    position: relative;
}

/* Dots/circles at the bottom */
.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

/* Change color of dots on hover */
.dot:hover {
    background-color: #717171;
}

/* Active dot (current slide) */
.active {
    background-color: #717171;
}

.destaques {
    background-color: var(--cor-preto-claro);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.2vw;
    color: var(--cor-branco);
    width: 90%;
    margin: 0 auto;
    text-align: center;
    border: 2px solid var(--cor-dourado);
}

body {font-family: Verdana, sans-serif;}
img {vertical-align: middle;}  /*perguntar depois p o gustavo*/


/* Next & previous buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px; /* Center the arrows vertically */
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s;
    border-radius: 0 3px 3px 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    text-decoration: none;
}

/* Position the "prev" arrow to the left */
.prev {
    left: -50px; /* Position the "prev" arrow outside the image */
}

/* Position the "next" arrow to the right */
.next {
    right: -50px; /* Position the "next" arrow outside the image */
}

/* On hover, show the arrows more clearly */
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.destaque-titulo {
    color: var(--cor-branco);
    font-family: 'Sans-Variable';
    font-size: 2vw;
}

.destaques-bebidas {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    overflow: hidden;
    font-size: 1.4vw;
}

.destaques-destilados {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    overflow: hidden;
    font-size: 1.4vw;
}

.destaques-snacks {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    overflow: hidden;
    font-size: 1.4vw;
}

.destaques-cigarros {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    overflow: hidden;
    font-size: 1.4vw;
}

.destaques-bebidas ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.destaques-destilados ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.destaques-snacks ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.destaques-cigarros ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.card-produto {
    width: 20vw;
    box-sizing: border-box;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
}

.card-produto h2 {
    font-size: 1vw;
    text-align: center;
}

/* Ajuste para padronizar todas as imagens */
.card-produto img {
    width: 15vw;
    height: 40vh;
    object-fit: cover; /* Mantém a proporção e corta o excesso */
    border-radius: 10px; /* Bordas arredondadas para um design mais bonito */
    background-color: white;
    padding: 20px;
}



footer {
    display: flex;
    background-color: var(--cor-preto-claro);
    color: var(--cor-branco);
    padding: 20px;
    text-align: center;
    justify-content: center;
    border-radius: 20px;
    width: 100%;
}

/* Ajuste de Responsividade */

/* Garante que o layout de conteúdo seja em coluna em telas menores */
@media (max-width: 850px) {

    .container {
        padding: 20px;
    }

    .slideshow-container {
        display: flex;
        padding-left: 200px;
        padding-right: 200px;
        padding-top: 120px;
        padding-bottom: 120px;
        width: 95%;
    }
    
    .SlideProduto {
        width: 80vw;
        height: 50vw;
        border-radius: 20px;
        position: relative;
    }
    
    .numbertext {
        font-size: 3.0vw;
    }


    .destaques {
        font-size: 3.0vw;
    }

    .destaque-titulo {
      font-size: 3.0vw;
    }

    .card-produto {
        width: 40vw;
    }

    .card-produto h2 {
        font-size: 3vw;
    }

    .card-produto img {
        width: 140px;
        height: 400px;
    }


}


/* Para telas extremamente pequenas (como smartphones muito compactos, até 320px) */
@media (max-width: 320px) {
   
    .container {
        padding: 20px;
    }

    .slideshow-container {
        display: flex;
        padding-left: 200px;
        padding-right: 200px;
        padding-top: 120px;
        padding-bottom: 120px;
        width: 60%;
    }
    
    .card-produto {
        width: 80vw;
    }

    .card-produto h2 {
        font-size: 4vw;
    }

    .card-produto img {
        width: 120px;
        height: 400px;
    }


}
