* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    margin: 0;
    color: #333;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem; /* Ajusta apenas o espaçamento lateral */
}


.header {
    background: #000;
    color: #fff;
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}


.logo {
    width: 50px;
}

.menu {
    display: flex;
    justify-content: center;
    gap: 2rem;
    /* Espaçamento entre os links */
}

.menu a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #ff0000;
}

/* Ícones no canto direito */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
}

.social-icons a img:hover {
    transform: scale(1.2);
}

.img-1 {

    width: 100%;
    height: auto;
    max-height: 103vh; /* Define uma altura máxima relativa à tela */
    object-fit: cover;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 15%;
    background-color: #b81414;
    color: #000;
}

/* Estilização da seção Sobre */
.sobre {
    padding: 4rem 2rem;
    background-color: #fff;
}

.container-sobre {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.imagem-sobre {
    width: 40%;
    height: auto;
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
}

.texto-sobre {
    width: 60%;
    color: #333;
}

.texto-sobre h2 {
    font-size: 3rem;
    color: #000;
    margin-bottom: 1rem;
}

.texto-sobre p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}


.compra-img {
    width: 150px;
}

.banner h2 {
    font-size: 2.5rem;
    margin: 0;
}

.nova-colecao {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px; 
    max-width: 1200px;
    margin: 50px auto; 
    padding: 20px;
}

.carrossel-container {
    position: relative;
    width: 500px; 
    height: 600px; 
    overflow: hidden;
    flex-shrink: 0; /* Evita que o carrossel diminua */
}

.carrossel {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.carrossel-item {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carrossel-item.active {
    display: block;
}

.carrossel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

#prev {
    left: 10px;
}

#next {
    right: 10px;
}
.descricao {
    max-width: 500px;
    text-align: left; /* Mantém o texto alinhado à esquerda */
}

.descricao h2 {
    font-size: 2rem;
    color: #000;
}

.descricao p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.botao-compra {
    font-size: 18px;
    cursor: pointer;
    background: #b81414;
    width: 180px;
    height: 40px;
    color: #fff;
    margin-top: 10px;
    border: none;
    border-radius: 4px;
}

.botao-compra:hover {
    background: #333;
}
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 1rem; 
    max-width: 100%; 
    width: 100%; 
    margin: 0 auto;
}

.produtos {
    max-width: 1200px; 
    margin: 0 auto; 
    text-align: center; 
    background: #fff;
    padding: 2rem 0;
}

.produtos h2 {
    font-size: 2rem;
    color: #000;
    text-align: center;
    justify-content: center;
}

.produto {
    text-align: center;
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    padding: 15px; /* Adiciona espaçamento interno */
    border-radius: 8px; /* Deixa os cantos levemente arredondados */
}


.produto img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.btn-comprar {
    font-size: 15px;
    cursor: pointer;
    background: #b81414;
    width: 100px;
    height: 40px;
    color: #fff;
    margin-top: 10px;
    border: none;
    border-radius: 4px;

}


.btn-comprar:hover {
    background: #333;
} 



.imagens {
    display: flex;
    justify-content: center;
    gap: 10px; /* Espaço entre as imagens */
}

.camiseta-img {
    width: 150px; /* Mantém a largura padrão */
    height: 200px; /* Define uma altura fixa para todas as imagens */
    object-fit: cover; /* Ajusta a imagem sem distorcer */
}

.animado {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animado.visivel {
    opacity: 1;
    transform: translateY(0);
}

#voltar-ao-topo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
  }
  
  #voltar-ao-topo:hover {
    opacity: 1;
  }

  .contato-info {
    font-size: 19px;
    text-align: center;
    padding: 20px;
    color: #fff;
    background-color: #000;
  }

footer {
    background: #b81414;
    color: #000;
    font-size: 17px;
    text-align: center;
    padding: 1rem;
}

@media (max-width: 480px) {
    .container {
        justify-content: flex-start;
        position: relative; 
        }

    .logo {
        width: 30px;
    }
    .menu {
        display: none;
    }

    .social-icons {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons a img {
        width: 20px;
        height: 20px;
    }
    .banner {
        padding: 15px;
        display: flex;
    
    }
    .banner img {
        width: 70px;
    }

    .nova-colecao img {
        width: 80%; /* Reduzi um pouco o tamanho */
        max-width: 250px; /* Defini um limite para não ficarem muito grandes */
    }

    
    .carrossel-container {
        width: 100%;
        height: auto;
    }

    .carrossel-item {
        width: 100%;
        height: auto;
    }

    .descricao {
        display: none;
    }

    .produtos .grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .produto {
        width: 90%;
    }

    .produto img {
        width: 100%;
    }

    .container-sobre {
        flex-direction: column;
        text-align: center;
    }

    .imagem-sobre {
        width: 100%;
    }

    .texto-sobre {
        width: 100%;
    }

    #voltar-ao-topo {
        display: none !important;
    } 
}

@media (max-width: 768px) {
    .container {
        justify-content: flex-start;
        position: relative; 
        }
    .logo {
        width: 30px;
    }
    
    .menu {
        display: none;
    }

    .social-icons {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons a img {
        width: 25px;
        height: 25px;
    }

    .banner {
        padding: 20px;
        display: flex;
    }

    .banner img {
        width: 100px;
    }

    .nova-colecao img {
        width: 70%;
        max-width: 300px;
    }

    .carrossel-container {
        width: 100%;
        height: auto;
    }

    .carrossel-item {
        width: 100%;
        height: auto;
    }

    .descricao {
        display: none;
    }

    .produtos .grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .produto {
        width: 45%;
    }

    .produto img {
        width: 100%;
    }

    .container-sobre {
        flex-direction: column;
        text-align: center;
    }

    .imagem-sobre {
        width: 90%;
    }

    .texto-sobre {
        width: 90%;
    }

    #voltar-ao-topo {
        display: none !important;
    }
}
