@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Open Sans', sans-serif;
    background-color: #0f0f0f;
}
.b_ocultar{
    overflow: hidden;
}
.fondo{
    width: 100%;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(#00000033,#0f0f0f),url(img/bg.jpg);
    background-size: cover;
    background-position: center;
}
.container{
    width: 80%;
    margin: 0 auto;
    color: white;
}
.titulos{
    text-align: center;
}
.titulos h1{
    font-family: "Roboto", sans-serif;
    font-size: 2.8em;
    font-weight: 800;
    
    letter-spacing: 3px;
}
.subtitle{
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-align: center;

    margin: 0px 0 50px;
}

/* Galeria */
.galeria{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding-bottom: 80px;
}
.card{
    width: 300px;
    height: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    display: flex;
    justify-content: center;
}
.img_card{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6);
    cursor: pointer;
    transition: filter 0.3s;
    
}
.img_card:hover{
    filter: brightness(0.9);
}
.card_texts{
    position: absolute;
    bottom: 0;
    height: 50px;
    color: white;
    text-align: center;
}
p{
    color: rgb(133, 133, 131);
}
/* Galeria Completa */

.galeriaCompleta{
    height: 100vh;
    position: fixed;
    inset: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.897);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}
.ocultar{
    opacity: 1;
    pointer-events: all;
}
.contian{
    width: 80%;
    text-align: center;
}
.contian p{
    color: white;
}
.imgContainer{
    width: 680px;
    height: 380px;
    margin: 20px auto;
    position: relative;
}
.imgPrincipal{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.imagenes{
    width: 100%;
    margin-top: 20px;
    height: 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.section_img{
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    filter: brightness(0.2);
    transition: filter 0.3s;
}
.active{
    filter: brightness(1);
}
.bx-x{
    font-size: 1.8em;
    position: absolute;
    right: 0;
    top: 0;
    background-color: white;
    color: black;
    cursor: pointer;
    transition: 0.3s;
}
.bx-x:hover{
    background-color: rgba(255, 255, 255, 0.233);
    color: black;
}
.arrow{
    display: none;
}
.slider{
    position: relative;
}
.contian p{
    max-width: 700px;
    margin: 0 auto;
}

@media screen and (max-width:990px) {
    .contian{
        width: 90%;
    }
    .galeriaCompleta{
        justify-content: start;
        padding: 30px 0;
    }
}
@media screen and (max-width:800px){

    .galeriaCompleta{
        overflow-y: auto;
    }
    .imgContainer{
        width: 100%;
        max-height: 380px;
    }
    .imagenes{
        justify-content: start;
        scroll-behavior: smooth;
    }
    .arrow{
        display: unset;
        position: absolute;
        font-size: 2em;
        z-index: 10;
        cursor: pointer;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition:background-color 0.3s;
        bottom: 0;
        width: 30px;
    }
    .bx-chevron-left{
        left: 0;
    }
    .bx-chevron-right{
        right: 0;
    }
    .arrow:hover{
        background-color: rgba(255, 255, 255, 0.26);
    }
}
@media screen and (max-width:500px){
    .contian p{
        width: 100%;
        font-size: 14px;
    }
}