*{
    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*/
}

:root{
    --title:90px;
    --nav-item:32px;
    --projects:50px;
    --links: 32px;
    --section-bio-width: 100%;
    --section-bio-height: 100vh;
    --nav-padding: 35px

}


/*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);
}

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;
}

/*boton de activacion de sonido animado*/

#play-pause-btn{
    background: transparent;
    display: flex;
    padding: 5px 10px;
    gap: 10px;
    color: white;
    border-radius: 30px;
    border: solid 2px white;
    align-items: center;

}


#play-pause-btn:hover{
    background: white;
    display: flex;
    padding: 5px 10px;
    gap: 10px;
    color: black;
    border-radius: 30px;
    border: solid 2px white;
    align-items: center;

}

#play-pause-txt{
    font-size: 16px;
}

.sound-icon{
    background: white;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.sound-icon div{
    background-color: black;
    width: 3px;
    height: 3px;
    border-radius: 1px;
    transition: 0.2s;
    animation: none;
}

.sound-icon.on div:nth-child(1){
    height: 8px;
    animation-name: esquinas;
    animation-duration: .7s;
    animation-iteration-count: infinite;    
}

.sound-icon.on div:nth-child(2){
    height: 12px;
    animation-name: centro;
    animation-duration: .7s;
    animation-iteration-count: infinite;    
}

.sound-icon.on div:nth-child(3){
    height: 8px;
    animation-name: esquinas;
    animation-duration: .7s;
    animation-iteration-count: infinite;
}

@keyframes esquinas{
    0%{height: 6px}
    50%{height: 12px}
    100%{height: 6px}
}

@keyframes centro{
    0%{height: 12px}
    50%{height: 6px}
    100%{height: 12px}
}

/*ESTILOS DE LA PRIMERA SECCION DE "GENERATIVE"*/


.sec_1_generative{
    position: relative; /*PREGUNTARLE A TWICK SOBRE ESTE ATRIBUTO???*/
    display: flex; /*Por que funciona con FLEX???*/
    background: black;
    width: 100%;
}

.container_vid{
    display: flex;
    background: black;
    width: 100%;
    height: var(--section-bio-height);
    align-items: center;
    justify-content: center;
    filter: blur(5px);
}


.container_vid video{
    opacity: 0.4; /*opacidad que deja ver el fondo negro del div que contiene este video*/
    width: 100%;
    height: var(--section-bio-height);
    object-fit: cover;
    filter: blur(5px) saturate(60%);
    position: fixed; /*CREA EL EFECTO PARALLAX CON EL VIDEO DE FONDO*/
}

.sec_1_generative p{
    position: absolute;
    width: 40%;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-size: 40px;
    text-align: center;
    color: #fff;
}

/**/

.sec_2_generative{
    position:relative;
    display:flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    background: black; /*Color de fondo de La seccion 2*/
}

.banner_project{
    background: rgb(207, 78, 46);
    position: relative;
    width: 80%;
    margin-right: 20%;
    margin-top: 12%; /*ESPACIO ENTRE LA SECCION PRINCIPAL DEL BANNER Y LA SECCION QUE CONTIENE LOS VIDEOS*/
    height: 400px;
    /* Will not allow the video to overflow the 
    container */
    overflow: hidden;

    /* Centering the container's content vertically 
    and horizontally */
    display: flex;
    align-items: center;
    justify-content: center;
    filter: saturate(0);
    transition: .3s ease-in-out;
}

.banner_project:hover{
    filter: saturate(1);
    transition: .3s ease-in-out;
}

.banner_project video{
    object-fit: cover;
    height: 100%;
    width: 100%;

    position: absolute;
    top: 0;
    left: 0;
    mix-blend-mode: luminosity;
}

.info_project{
    display: flex;
    flex-direction: column;
    position: relative;
    background: black;
    width: 80%;
    margin-right: 20%;
    height: 300px;
    justify-content: center;
    align-items: center;
}

.info_project h2{
    position: relative;
    top: 0%;
    width: 100%;
    margin-right: 0%;
    font-size: 50px;
    font-weight: 400;
    color: #fff;
    text-align: right;
    /*order-left: solid 5px white;*/
}

.info_project p{
    position: relative;
    top: 0%;
    width: 75%;
    padding: 0% 0% 0% 0%; /*top right bottom left*/
    margin: 10px 0% 0% 25%; /*margin: top right bottom left*/
    font-size: 32px;
    font-weight: 200;
    color: #929292;;
    text-align: right;
}




.banner_2{
    background: rgb(207, 78, 46);
    position: relative;
    width: 80%;
    margin-left: 20%;
    margin-top: 4%;
    height: 400px;
    /* Will not allow the video to overflow the 
    container */
    overflow: hidden;

    /* Centering the container's content vertically 
    and horizontally */
    display: flex;
    align-items: center;
    justify-content: center;
    filter: saturate(0);
    transition: .3s ease-in-out;
}

.banner_2:hover{
    filter: saturate(1);
    transition: .3s ease-in-out;
}

.banner_2 video{
    object-fit: cover;
    height: 100%;
    width: 100%;

    position: absolute;
    top: 0;
    left: 0;
    mix-blend-mode: normal;
}

.info_proj_2{
    display: flex;
    flex-direction: column;
    position: relative;
    background: black;
    width: 80%;
    margin-left: 20%;
    height: 300px;
    justify-content: center;
    align-items: center;
}

.info_proj_2 h2{
    position: relative;
    top: 0%;
    width: 100%;
    margin-right: 0%;
    font-size: 50px;
    font-weight: 400;
    color: #fff;
    text-align: left;
    /*order-left: solid 5px white;*/
}

.info_proj_2 p{
    position: relative;
    top: 0%;
    width: 75%;
    padding: 0% 0% 0% 0%; /*top right bottom left*/
    margin: 10px 25% 0% 0%; /*margin: top right bottom left*/
    font-size: 32px;
    font-weight: 200;
    color: #929292;;
    text-align: left;
}



/*ESTILOS PARA RESPONSIVE - MOVIL*/


@media (max-width: 900px){

    nav ul{
        gap: 20px;
    }

    .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;
        
    }

    /*------------------------------------- */

    .sec_1_generative p{
        width: 70%;
        font-size: 24px;
    }

    .banner_project{
        width: 80%;
        height: 200px;
        margin-right: 0%;
        border-radius: 15px;
    }

    .info_project{
        width: 80%;
        height: 250px;
        margin-right: 0%;
        margin-top: 0%;
        gap: 20px;
        
    }
    
    .info_project h2{
        font-size: 20px;
        width: 100%;
        text-align: left;
    }
    
    .info_project p{
        width: 100%;    
        text-align: justify;
        margin: 0px 0% 0% 0%; /*margin: top right bottom left*/
        font-size: 16px;
    }

    /*------Second Banner------*/

    .banner_2{
        width: 80%;
        height: 200px;
        margin-left: 0%;
        margin-top: 0;
        border-radius: 15px;
    }

    .info_proj_2 {
        width: 80%;
        height: 200px;
        margin-left: 0%;
        margin-top: 0%;
        gap: 20px;
        
    }

    .info_proj_2 h2{
        font-size: 20px;
        width: 100%;
        text-align: left;
    }
    
    .info_proj_2 p{
        width: 100%;    
        text-align: justify;
        margin: 0px 0% 0% 0%; /*margin: top right bottom left*/
        font-size: 16px;
    }
    


}

