*{
    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;
}

: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);
}

/*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;
}

/*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 SECCION ACERCA DE MI*/

.sec_bio{
    position:relative; /*PREGUNTARLE A TWICK SOBRE ESTE ATRIBUTO???*/
    display:flex; /*Por que funciona con FLEX???*/
    width: 100%;
    height: var(--section-bio-height);
    overflow: hidden;
    justify-content: center;
    align-items: center;
    /*background: black; /*Color de fondo de TODA la seccion que contiene el video y el banner*/
}

.bio_background_div{
    position:absolute; /*PREGUNTARLE A TWICK SOBRE ESTE ATRIBUTO???*/
    display:flex; /*Por que funciona con FLEX???*/
    width: 100%;
    height: var(--section-bio-height);
    filter: grayscale(100%) contrast(350%);
    background-image: url(../ASSETS/Images/abstract_bg_reduced.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 24% 89%;
}

.bio_overlay_panel{
    background: black;
    opacity: 65%;
    position:relative; 
    display:flex;
    width: 100%;
    height: var(--section-bio-height);
}

.short_bio{
    margin: auto;
    display:flex;
    flex-direction: column;
    position: absolute;
    width: 35%;
    height: 40%;
    justify-content: center;
    align-items: center;
}

.short_bio p{
    text-align: center;
    font-size: 20px;
    font-weight: normal;
    color: white;
    
}

.short_bio a{
    margin: 0;
    margin-top: 10%;
}

.short_bio a svg{
    width: 50px;
    animation: bounce 1.5s infinite;
}

@keyframes bounce{
    0%{margin-top: 0%;
    margin-bottom: 30%;}

    50%{margin-top: 30%;
    margin-bottom: 0%;}

    100%{margin-top: 0%;
    margin-bottom: 30%;}
}



/*ESTILOS SECCION BANNER 'LETS COLLABORATE'*/

.sec_contact{
    position:relative; /*PREGUNTARLE A TWICK SOBRE ESTE ATRIBUTO???*/
    display:block; /*Por que funciona con FLEX???*/
    width: 100%;
    height: var(--section-bio-height);
    overflow: hidden;
    justify-content: center;
    align-items: center;
    background: #000;
}

.letscollab_div{
    width: 100%;
    height: 100vh;
    position:relative; 
    justify-content: center;
    align-items: center;
    display: flex;
}

.letscollab_div video{
    width: 100%;
    height: 100%;
}

.text-box{
    position: absolute;
    top: 0;
    left: 0;
    background: black;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    mix-blend-mode: multiply;
}

.text-box h1{
    width: 100%;
    color: white;
    font-size: 120px;
    font-weight: 900;
    user-select: none;
    text-align: center;
}

/*ESTILOS DEL DIV CON LOS LINKS A MIS REDES*/

.contact-links{
    background: transparent;
    position: absolute;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 25%;
    gap: 300px; /*espacio entre cada uno de los botones que nos llevan a las redes*/
}

.contact-links a{
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
}

.contact-links a div{
    position: relative; /*esta linea hace que la animacion/transition sea desde el centro hacia los lados cuando hacemos hover en los links*/
    margin-top: 5px;
    background-color: white;
    left: 50%;
    max-width: 0%;
    height: 1px;
    transition: 0.2s ease-in-out;
    overflow: hidden;
}
.contact-links a:hover div{
    max-width: 100%;
    transition: 0.2s ease-in-out;
    left: 0%;
}

/*Estilos del popup window que aparece al dar click en "Email"*/

.popup_email {
    width: 500px;
    background: rgb(30, 30, 30);
    border-radius: 6px;
    position: absolute;
    top: 100%; /*Esta linea junto con el transform translate permite poner el popup al final de la pantalla en el eje Y -------92%----------*/
    left: 50%;
    transform: translate(-50%, -100%) scale(0.1); /*translate(x,y)*/
    text-align: center;
    visibility: hidden; /*ocultarlo paara luego mostrarlo al dar click en "Email" usando javascript*/
    transition: transform 0.4s, top 0.4s;
}

/* !!!!!!! Esta clase solo se activa a traves de JAVASCRIPT y se anade a la clase "popup_email para hacerla visible al dar  click" !!!!!!!*/

.open-popup {
    visibility: visible;
    top: 92%;
    transform: translate(-50%, -92%) scale(1); /*translate(x,y)*/
}

/*------------------!!!!!!!!!!!!!!!!!!!!!!!!!---------------------------------*/

.popup_email p {
    margin: 4% auto;
    width: 75%;
    font-size: 14px;
    color: #fff;
}

.popup_email button {
    width: 25%;
    height: 36px;
    margin: 0% auto 4%;
    background:rgb(119, 119, 119);
    border-radius: 20px;
    border: 0;
    outline: none;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

/*-----------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;
        
    }
    /*------------------------------------- */

    .short_bio{
        width: 80%;
        height: fit-content;
    }
    
    .short_bio p{
        font-size: 1em;
        font-weight: 400;
    }
    
    .short_bio a{
        margin-top: 10%;
    }
    
    .short_bio a svg{
        width: 30px;
    }


    /*Seccion banner "Let's Collaborate" PARA MOVIL*/

    .text-box h1{
        width: 100%;
        font-size: 52px;
        font-weight: 900;
    }

    /*ESTILOS DEL DIV CON LOS LINKS A MIS REDES*/

    .contact-links{
        background: transparent;
        flex-direction: row;
        gap: 10%; /*espacio entre cada uno de los botones que nos llevan a las redes*/
        height: fit-content;
        bottom: 30%;
    }

    .contact-links a{
        color: white;
        text-decoration: none;
        text-align: center;
        font-size: 12px;
        font-weight: 500;
    }

    /*Estilos del popup window que aparece al tocar "Email"*/

    .popup_email {
        width: 65%
    }

    .popup_email p {
        margin: 12% auto 0;
        width: 82%;
        font-size: 0.7em;
    }

    .popup_email button {
        margin: 12% auto 8%;
        width: 45%;
        height: 32px;
        font-size: 14px;
        font-weight: 500;
    }

}