/* Aqui reseteo la pagina en sus estados por defecto del navegador */

*{
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0; 
    font-size: 20px;
    text-decoration: none;
    background-color: #000;
    color: #fff;
}

a{
    color: #fff;
    background-color: transparent;
}
ul{
    list-style: none;
}

html{
    scroll-behavior: smooth;
}


/* Whatsapp */
.llamado_accion{
    position: fixed;
    z-index: 100;
    bottom: 20px;
    left: 20px;
    padding: 15px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 0 10px #000a;
}


.llamado_accion i{
color: #fff;
font-size: 30px;
background-color: #25D366;

}

/* header{
    box-shadow: 0 0 20px #fff4 !important;
} */


/* Hero */

.hero{
    max-width: 100vw;
    margin-top: 90px;
    height: 88vh;
    overflow-y: hidden;
}

.hero img{
    width: 100%;
    object-fit: cover;
}

.hero .mobile{
    display: none;
}

.hero img{
    width: 100%;
    object-fit: cover;
    background-attachment: fixed;
}



/* Gorras */

#gorras {
    text-align: center;
    margin-top: 120px;
    overflow-x: hidden;
}

.gorras_title {
    font-family: "Bebas Neue", sans-serif;
    font-size: 4em;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateX(-100px);
    transition: all .5s ease;
}

.gorras_title_visible{
    opacity: 1;
    transform: translateX(0);
}

.gorras_caja {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    width: 100%;
}

.gorras_caja{
    transform: translateX(500px); /* Mueve el elemento fuera de la vista */
    transition: all .6s ease;
    opacity: 0;
}

.gorras_caja_visible {
    opacity: 1;
    transform: translateX(0);
}

.caja_product {
    flex: 0 0 32%;
}

.caja_product a {
    width: 100%;
    display: block;
}

.product_img {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Esto asegura una relación de aspecto cuadrada */
    overflow: hidden;
}

.product_img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra completamente el contenedor */
}
.gorra_vista {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.gorra_vista.active {
    opacity: 1;
}

.producto_info{
    padding-top: 20px;

}

.producto_info .product_name{
    font-size: 1.7em;
    font-family: "DM Serif Display", serif;
    
}

.product_color{
    position: relative;
}


.product_color::after {
    content: "";
    position: absolute;
    bottom: 50%;
    transform: translateY(50%);
    right: 28%;
    width: 15px;
    height: 15px;
    border: 1px solid #888;
    border-radius: 50%;
}


.product_color.color1::after {
    background-color: #000; /* Color para la primera gorra */
}

.product_color.color2::after {
    background-color: #cb0c00; /* Color para la segunda gorra */
}

.product_color.color3::after {
    background-color: #fff; /* Color para la tercera gorra */
}

.product_price{
    padding-top: 10px;
    font-size: 22px;
}

/* Comunity */
#comunity{
    margin: 120px auto;
    display: flex;
    justify-content: space-between;
    padding:0 10px;
    padding-top: 50px;
    max-width: 1300px;
}

.comunity_img{
    width: 60%;
    display: flex;
}

.comunity_img .img_container{
    width: 50%;
}

.img_container img{
    width: 100%;
    object-fit: cover;
    max-height: 500px;
}

.img_container:first-child{
    z-index: 1;
    opacity: 0;
    transform: translateY(100px) rotate(-7deg);
    transition: all 0.7s ease;
}

.img_container:last-child{
    transform: translateX(100px) rotate(7deg);
    transition: transform .7s ease;
}

.imagen_visible:first-child{
    opacity: 1;
    transform: translate(50px,80px) rotate(-7deg);
}

.imagen_visible:last-child{
    transform: translateX(0) rotate(7deg);
}

.comunity_text{
    width: 30%;
    text-align: center;
    display: flex;
    align-items: center;
    transform: translateY(100px);
    transition: all .5s ease;
    opacity: 0;
}

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

.comunity_text h3{
    font-family: "Bebas Neue", sans-serif;
    font-size: 3em ;
    line-height: 60px;
}

/* Ingreso de correo */

#unirme{
    padding-top: 100px;
}

#unirme .container{
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.unirme_form{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 50%;
}

.form_text h4{
    font-size: 2em;
    font-family: "Bebas Neue", sans-serif;

}

.form_text h5{
    opacity: .5;
    font-size: .8em;
}

.form_input{
    padding: 0 20px;
    position: relative;
}

.form_input input{
    padding: 5px 10px;
    width: 80%;
    border: none;
    border-bottom: 1px solid #8888;
    outline: none;
}

.form_input button{
    position: absolute;
    right: 14%;
    border: none;
    background-color: transparent;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.form_input button:hover{
    cursor: pointer;
}

.form_input input:active,
.form_input input:focus{
    box-shadow: 0 0 10px #888;
    border-bottom: 1px solid #fff;

}

/* informacion */
#informacion_final{
    padding-top: 200px;
    background-color: #000;
}

.container_informacion{
    min-height: 188px;
    padding-top: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.informacion_caja{
    position: absolute;
    bottom: 60px;
    background-color: #000;
    display: flex;
    max-width: 90%;
    margin: auto;
    padding: 0 10px;
    box-shadow: 0 0 10px #8888;
}

.informacion_box{
    width: 25%;
    padding: 0 25px;
    height: 200px;
    text-align: center;
}
.informacion_box i{
    color: #cb0c00;
    margin-bottom: 15px;
    margin-top: 20px;
    font-size: 35px;
}
.informacion_box h3{
    color: #fff;
    font-size: 1em;
}

.informacion_box p{
    color: var(--color-gris-blanco);
    text-transform: unset;
    line-height: unset;
    margin-top: 12px;
    font-size: 14px;
    text-align: center;
}



@media (max-width: 700px){

    /* Hero */
    .hero{
        height: 100%;
    }

    .hero .mobile{
        display: block;
    }

    .hero .pc{
        display: none;
    }
    
    .hero img{
        width: 100%;
    }

    /* Gorras */

    #gorras{
        margin-top: 0;
    }
    .gorras_title{
        font-size: 2em;
    }

    .gorras_caja{
        flex-wrap: wrap;
        justify-content: center;
    }

    .caja_product{
        flex: 0 0 90%
    }

    .product_color::after {
        right: 20%;
    }

    /* Unirme */

    #comunity{
        flex-direction: column;
        margin: 60px 0;
        gap: 100px;
        justify-content: center;     
        overflow-x: hidden;
    }

    .comunity_img{
        width: 95%;
        justify-content: left;
        padding-right: 20px;
    }

    .comunity_text{
        width: 100%;
        justify-content: center;
    }

    .comunity_text h3{
        font-size: 2.2em;
        line-height: 30px;
    }

    #unirme{
        padding-top: 50px;
    }

    .unirme_form{
        width: 100%;
    }

    .form_input{
        padding: 0;
    }

    /* Informacion final */
    #informacion_final{
        padding-top: 400px;
    }
    .informacion_caja{
        flex-wrap: wrap;
        box-shadow: 0 0 5px var(--sombra-gris);
        gap: 5px;
    }

    .informacion_box{
        width: 48%;
    }

    .informacion_parrafo{
        display: none;
    }



}