*{
    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;
    --nav-padding: 35px;
    --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);*/
    background: #ffe8c6;
  }
  ::-webkit-scrollbar-thumb:hover {
      /*background: white;*/
      background: #ff6600;
  }


/*ESTYLOS DE LA BARRA DE NAVEGACION*/


nav{
    background-color: rgba(0, 0, 0, 0.4);
    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(10px);
}

/*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}
}
    

/*AQUI EMPIEZAN LOS ESTILOS DE LA SECCION PRINCIPAL DEL HOME*/

.sec_1{
    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*/
}

.home_banner{
    margin: auto;
    display:flex;
    position: absolute;
    width: 70%;
    height: 60%;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.home_banner video
{
/*
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 70%;
    object-fit: cover;
*/
    filter: blur(20px);
    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;
}

.home_banner h1
{
    text-align: center;
    color: white;
    font-size: 70px;
    align-self: center;
    user-select: none;
    mix-blend-mode: difference; /*MODO DE FUSION GOOOOD!!*/
    z-index: 1;    
}


/*AQUI EMPIEZAN LOS ESTILOS DE LA SECCION 2 DEL HOME*/

.sec_2{
    position:relative;
    display:block;
    width: 100%;
    height: var(--section-bio-height);
    overflow: hidden;
    justify-content: center;
    align-items: center;
    background: black; /*Color de fondo de La seccion 2*/
}

.project_list{
    position: relative;
    margin: auto;
    padding: 0 10%;
    display:flex;
    flex-direction: column;
    gap: 80px; /*espacio entre cada uno de los divs contenidos en este div padre*/
    width: 100%;
    height: var(--section-bio-height);
    justify-content: center;
    align-items: left;
}

.project_list div{
    position: relative;
    z-index: 3;
}

.project_list div a{
    font-size: var(--projects);
    color: #929292;
    text-decoration: none;
    filter: blur(4px);
    mix-blend-mode: difference;
    transition: .2s ease-in-out;
}

.project_list div a:hover{
    color: white;
    transition: .2s ease-in-out;
    filter: blur(0);
}

.project_list div p{
    color: white;
    font-size: 18px;
    max-width: 400px;
    max-height: 0;
    overflow: hidden; /**/
    position: absolute;
    top: 50%;
    left: 70%;
    transform: translateX(-50%);
    opacity: 0;
}

.project_list div:hover p{
    max-height: 500px;
    transition: 2s;
    opacity: 1;
}

.project_list img{
    width: 600px;
    height: 400px;
    border-radius: 12px;
    object-fit: cover;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 0;
    top: 50%;
    display: none;
    z-index: 2;
}

.project_list div:hover ~ img{
    display: flex;
}


/*FOOTER Estilos*/

footer{
    background: #0f0f0f;
    height: 15vh; /*alto del footer*/
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer-left{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin-left: 5%;
}

.socials{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 0 0;
    gap: 40px; /*Espacio entre los iconos de mis redes*/
}
.socials a{
    text-decoration: none;
    color: #929292;
}
.socials a i{
    font-size: 24px; /*tamano de los iconos*/
    transition: color .4s ease;
}
.socials a:hover i{
    color: white;
}

.footer-bottom{
    margin-right: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.footer-bottom p{
    color: #fff;
    font-size: 12px;
    word-spacing: 2px;
    text-transform: capitalize;
}
.footer-bottom span{
    color: #fff;
    text-transform: uppercase;
    font-weight: 400;
}



/*------------------RESPONSIVE STYLES CSS-------------------------*/

/*Estilos para Tablet*/


@media (max-width:1000px){
    
    nav ul{
        gap: 20px;
    }

    .home_banner{
        width: 85%;
        height: 80%;
    }

    .home_banner video
    {
        border-radius: 7px;
        object-fit: cover;
    }

    .home_banner h1{
        font-size: 50px;
        width: 80%; 
    }

    .sec_2{
        height: auto;
    }

    .project_list{
        display:none;
    }

    .tablet_project_list_content{
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding-bottom: 100px;
    }    

    .tablet_project_list_content div a{
        display: inline-block;
        margin-bottom: 12px;
        padding-right: 20px;
        padding-left: 20px;
        color: white;
        font-size: 30px;
        font-weight: 500;
        text-decoration: none;
    }

    .tablet_project_list_content div a::after{
        content: " →";
        font-size: 30px;
    }

    .tablet_project_list_content div p{
        margin-bottom: 12px;
        padding-left: 20px;
        padding-right: 20px;
        color: rgb(189, 189, 189);
        font-size: 12px;
        text-decoration: none;
    }
    
    .tablet_project_list_content div img{
        width: 100%;
        height: 400px;
        object-fit: cover;
    }

}

/*Estilos para Celular*/

@media (max-width: 600px){

    .black{
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(20px);
        height: 100vh;
    }

    .nav ul{
        gap: 20px;
    }

    .nav_Bar {
        width: 100%;
    }

    .nav_Bar .ul-1{
        position: absolute;
    }

    .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{
        height: var(--section-bio-height);
    }

    .home_banner{
        width: 85%;
        height: 80%;
        margin-top: 5%;
    }

    .home_banner video
    {
        border-radius: 6px;
        object-fit: cover;
        filter: blur(15px);
    }

    .home_banner h1{
        font-size: 32px;
        width: 80%; 
    }

    .tablet_project_list_content {
        margin-top: 10%;
    }

    .tablet_project_list_content div p{
        margin-bottom: 10%;
    }

    .tablet_project_list_content div img{
        object-position: center;
    }


    /*FOOTER Estilos para MOVIL*/

    footer{
        justify-content: center;
        flex-direction: column;
    }

    .footer-left{
        margin-left: 0%;
        height: 50%;
    }

    .socials{
        gap: 36px; /*Espacio entre los iconos de mis redes*/
    }

    .socials a i{
        font-size: 20px; /*tamano de los iconos*/
    }


    .footer-bottom{
        margin-right: 0%;
    }

    .footer-bottom p{
        color: #929292;
        font-size: 10px;
        word-spacing: 0px;
    }

    .footer-bottom span{
        color: #929292;
        font-size: 10px;
    }
}


