*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'IBM Plex Mono', monospace;
}

html {
    scroll-behavior: smooth; /*permite que las transiciones al hacer click en un punto de ancla sea mas fluidas y suave*/
    background: #000;
    color: #fff;
}

:root{
    --title:90px;
    --nav-item:32px;
    --projects:50px;
    --links: 32px;
    --nav-padding: 35px;
    --section-bio-width: 100%;
    --section-bio-height: 100vh;
}

/*SCROLL BAR STYLES By Twicker*/

::-webkit-scrollbar {
    width: 6px;
  }
  ::-webkit-scrollbar-track {
    background: rgb(49, 49, 49);
  }
  ::-webkit-scrollbar-thumb {
    background: rgb(179, 179, 179);
  }
  ::-webkit-scrollbar-thumb:hover {
      background: white;
  }

/*ESTILOS DE LA BARRA DE NAVEGACION*/


/*ocultar boton de menu de la version movil*/

.menubtn-for-mobile{
    display: none;
}

nav{
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px; /*altura de la barra de navegacion*/
    padding: var(--nav-padding);
    display: flex;
    justify-content: space-between;
    z-index: 3;
    backdrop-filter: blur(2px);
}

/*ocultar boton de menu de la version movil*/

.menubtn-for-mobile{
    display: none;
}

nav ul{
    display: flex;
    justify-content: center;
    gap: 60px;
    list-style: none;
}

nav ul li a{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
}
nav ul li a p{
    font-size: 16px;
}
nav ul li a div{
    background-color: white;
    width: 0px;
    height: 2px;
    transition: .2s;
}
nav ul li a:hover div{
    width: 100%;
    transition: .2s;
}




/*AQUI EMPIEZAN LOS ESTILOS DE LA SECCION DEL VIDEO TEASER DEL PROYECTO*/

.sec_project_video{
    width: 100vw;
    height: 100vh;
    background: black; /*Color de fondo de TODA la seccion que contiene el video y el banner*/
}


/*----------ESTILOS SLIDER SIMPLE----------*/

.container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;

}

#carousel-video, #carousel-video-source{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    object-fit: cover;
}

.slide-container{
    position: absolute;
    width: 100%;
    height: 100%;
}

.container .slide-container {
    display: none;
}

.container .slide-container.active_slide {
    display: block;
}

/*

.slide-container video
{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    object-fit: cover;

    
    opacity: 0.5;
    position: absolute; /*el elemento queda flotante con position: absolute
    margin: auto;
    width: 100%;
    height: 100%;
    right: -100%;
    bottom: -100%;
    top: -100%;
    left: -100%;
    object-fit: cover;
    z-index: 0;
    border-radius: 20px;

    animation: fadeIn 0.2s linear;
    
}
*/

.header {
    position: absolute;
    width: 40%;
    height: 15%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px) opacity(1);
    z-index: 1;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;

    cursor: pointer;
}

.header:hover {
    background: rgba(0, 0, 0, 0.493);
    border: 1px solid #ffffff;
    backdrop-filter: invert(100%);
}

.header h1 {
    text-align: center;
    text-transform: uppercase;
    font-size: 40px;
    font-weight: 100;
    color: whitesmoke;
    user-select: none;
}

.header p {
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    color: whitesmoke;
    user-select: none;
}

/*-----MINIATURAS-----*/

.slider-preview{
    position: absolute;
    bottom: 2em;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 100px;
    display: flex;
    gap: 2em;

}

.preview{
    position: relative;
    flex: 1;
    cursor: pointer;
    filter: saturate(0);
    opacity: 0.7;
    transition: .3s ease-in-out;
}

.preview:hover{
    filter: saturate(1);
    opacity: 1;
    transition: .3s ease-in-out;
}


.preview img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*------------------*/



/*Estilos de los botones para pasar entre videos*/

.slider-navigations button{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 48px;
    height: 40px;
    border: none;
    cursor: pointer;
    color: #fff;
    background: #202022;
    transition: 0.4s ease;
}

.slider-navigations button:hover{
    background: #6b6b6b;
}

.slider-navigations button#prev-slide{
    left: 32px;
}
.slider-navigations button#next-slide{
    right: 32px;
}



/*ESTILOS DE EL POPUP WINDOW DE CADA VIDEO*/

.popupVid {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
/*

.popupVid {
    background: rgba(255, 0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: 0.5s;
}
*/

.popupVid iframe {
    width: 60%;
    height: 65%;
    border: 3px solid #fff;
}

.popupVid .close {
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    z-index: 100;
}


/*----------ESTILOS PARA MOVIL---------*/


@media (max-width: 900px) {


    .black{
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(20px);
        height: 100vh;
    }

    .nav_Bar {
        width: 100%;
    }

    .nav_Bar .ul-1{
        position: absolute;
        gap: 20px;
    }

    .ul-1{
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        padding: 20px;
        height: calc(100vh - 100px);
    }

    .ul-1.active{
        display: flex;
    }

    .ul-1 li a p{
        font-size: 40px;
        font-weight: 200;
    }

    .ul-1 li a div{
        display: none;
    }

    .menubtn-for-mobile{
        display: flex;
        background: transparent;
        border: none;
        height: 30px;
    }

    .menubtn-for-mobile img{
        filter: invert();
        width: 30px;
        
    }
    /*------------------------------------- */



    /*


    .carousel {
        width: 100%;
        height: 100%;
        top: 4em;
        left: 0 !important;

    }

    #myCarousel {
        border-radius: 0;
        overflow: hidden;
    }

    .carousel-control-prev {
        left: 0 !important;
    }

    .carousel-control-next {
        right: 0 !important;
    }

    */

    .sec_project_video{
        margin-top: 0px;
        height: 100vh;
    }

    .slide-container{
        width: 100%;
        height: 100%;       
    }
    
    .slide-container video
    {
        border-radius: 0px;
    }

    .header {
        width: 60%;
        height: 10%;
    }

    .header h1 {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .header p {
        display: none
    }

    /*Botones del slider de video para MOVIL*/

    .slider-navigations button{
        width: 32px;
        height: 40px;
    }

    .slider-navigations button:hover{
        background: #6b6b6b;
    }

    .slider-navigations button#prev-slide{
        left: 12px;
    }
    .slider-navigations button#next-slide{
        right: 12px;
    }
    /*Estilos del POPUP en MOVIL*/

    .popupVid iframe {
        width: 90%;
        height: 25%;
        border: 2px solid #fff;
    }

    .popupVid .close {
        letter-spacing: 0px;
        font-size: 16px;
    }

    /*Seccion Descripcion del Proyecto PARA MOVIL*/

    .sec_project_info{
        flex-direction: column;
        height: 70vh;
        justify-content: center;
        gap: 10%;
        background: #0c0c0c;
    }

    .info_text{
        display: flex;
        flex-direction: column;
        width: 90%;
        height: auto;
        margin: 0;
    }

    .info_text h2{
        margin: 4% auto;
        font-size: 26px;
        font-weight: 400;
        color: white;
        text-align: center;
        padding: 0% 0% 0% 0%; /*top right bottom left*/
    }

    .info_text p{
        padding: 0% 0% 0% 4%; /*top right bottom left*/
        font-size: 14px;
        font-weight:normal;
        margin: 0% 0% 0% 0%; /*margin: top right bottom left*/
        text-align: left;
        border-left: solid 4px white;
        
        color: #adadad;
    }

    .project_sample_img{
        width: 100%;
        height: 35%;
        margin: 0;
        border-radius: 0px;
    }


}




