@font-face{
    font-family: 'Sairas';
    font-weight:800;
    src: url('../fonts/Saira_Stencil_One/SairaStencilOne-Regular.ttf') format('truetype');

}


*{
    margin:0;
    padding:0;
}



#contenedor-wrapper {
    background-image: radial-gradient(circle at center 10%, gold, white , gold , white , gold);
    background-size:cover; 
    height:3000px;
}




#container-menu {
    height: 75px;
    width: 100%;
    position: fixed;
    background-color: white;
    z-index: 200;
}



#menu {
    width: 30%;
    height:12%;
    position: fixed;
    top:-15px;
    left: -5%;
    right: 95%;
    filter:drop-shadow(2px 2px 2px black);
    z-index: 14;
    transition: all 0.3s ease-in-out;
    margin:0;
}

#menu:hover{
    transform: scale(1.4,1.4);
    filter:drop-shadow(2px 2px 25px gold);

}

#lista-links{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    margin-top: 1.7%;
    margin-bottom: 4%;
    font-size: 2vw;
    color: gold;
    text-shadow:2px 2px 4px black;
    text-decoration: none;  /* Quita el subrayado */

}

#lista-links > *{
    margin-left: 2%;
    text-decoration: none;  /* Quita el subrayado */
    color: gold;
    text-shadow:2px 2px 15px black;
    font-weight: 900;
}



#menu-text {
    opacity: 0;
    margin-left: 10px; 
    font-size: 4vw;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 3px black;
    transition: opacity 0.3s ease-in-out;
    position: fixed;
    left: 15%;
    top: 30px;
}
















/* Cuando el mouse pase sobre el menú, se muestra el texto */
/*#container-menu:hover #menu-text {
    opacity: 1;
}
*/



/*
#container-menu{
    height: 75px;
    width: 100%;
    position: fixed;
    background-color: white;
}
#menu{
    width: 25%;
    height: 105px;
    position: fixed;
    top:-15px;
    right: 80%;
    filter:drop-shadow(2px 2px 2px black);
    z-index: 14;
}

#menu:hover{
   
}
*/
header{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}








#container-first-title{
    margin-top: 68px;
    height: 50px;
  
    width: 85%;
    display: flex;
    flex-flow:row wrap ;
    justify-content: center;
    border-radius: 25px;
    margin-bottom: 200px;
}



#first-title{
    font-family: 'Sairas';
    text-shadow: 4px 4px 0px  black;
    color:white;
    font-size: 8vw;
    margin-left: 12%;
    z-index: 3;
}

#container-img-first{
    width: 100%;
    display: flex;
    flex-flow:row wrap;
    justify-content: center;
    height: 200px;

}


#brain {
    animation: brain-animation 1s ease-in-out 2.5s infinite forwards; /* 1s delay */
    background-size:cover;
    z-index: 3;
    margin-top: -80px;
    width: 75%;
    
}

@keyframes brain-animation {
    0% {
        filter: drop-shadow(0 4px 8px #444); /* Brain is inactive (dark) */
    }

    50% {
     /* Light turns on, simulating energy (electricity effect) */
     filter: drop-shadow(0 4px 8px #f0f); /* Add glowing effect */
    }

    100% {
        filter: drop-shadow(0 4px 8px #444); /* Glowing effect fades */
    }
}









#plug {
    margin-top: -350px;
    
    animation: plug-movement 2s linear 1 forwards,
    plug-animation 1s ease-in-out 2.5s infinite forwards;
    z-index: 2;
    width: 75%;
}



@keyframes plug-movement {
    0% {
        transform: translateY(185px);
    }
    100% {
        
    }
    
}

@keyframes plug-animation {
    0% {
        filter: drop-shadow(0 4px 8px #444); /* Brain is inactive (dark) */
    }

    50% {
     /* Light turns on, simulating energy (electricity effect) */
     filter: drop-shadow(4px 4px 8px rgb(241, 201, 38)); /* Add glowing effect */
    }

    100% {
        filter: drop-shadow(0 4px 8px #444); /* Glowing effect fades */
    }
}

#monitor{
    width: 100%;
    z-index: 3;
    margin-top: 30px;
}




.animated-monitor{
    animation: monitor-animation 1s ease-in-out 0s infinite forwards;
}


@keyframes monitor-animation {
    0% {
        filter: drop-shadow(0 4px 8px #444); /* Brain is inactive (dark) */
    }

    50% {
     /* Light turns on, simulating energy (electricity effect) */
     filter: drop-shadow(14px 14px 8px rgb(83, 197, 235)); /* Add glowing effect */
    }

    100% {
        filter: drop-shadow(0 4px 8px #444); /* Glowing effect fades */
    }
}



main{
    margin-top: 400px;
}



#quienes-somos{
    color: white;
    text-shadow: 2px 2px 3px black;
    font-weight: 900;
    font-size: 12vw;
    text-align: center;
    margin-bottom: 22px;
}

.fade-in{
    color: black;
    font-weight: 600;
    font-size: 5vw;
    text-align: center;
    margin-bottom: 35px;
    text-shadow: 2px 2px 4px white;
}

#foto-equipo{
    width: 90%;
    height: 50%;
    margin: auto;
    margin-left: 5%;
    margin-right: 2%;
    margin-bottom: 3%;
    border:5px double black;
}











#interface{
    width: 50%;
    height: 30%;
    margin-left: 27%;
    margin-right: 2%;
    margin-bottom: 6%;
    transition: filter 0.3s ease-in-out;
}


/* Animación de descargas eléctricas al pasar el mouse */
@keyframes electricShock {
    0% { filter: drop-shadow(0 0 5px yellow); }
    50% { filter: drop-shadow(0 0 15px orange); }
    100% { filter: drop-shadow(0 0 5px yellow); }
}

#interface:hover {
    animation: electricShock 0.5s infinite alternate;
}


#brain-lightbulb{
    width: 50%;
    height: 30%;
    margin-left: 27%;
    margin-right: 2%;
    margin-bottom: 6%;
    animation: palpitar 1.5s infinite ease-in-out;
}


@keyframes palpitar {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

#container-footer{
    background-image:linear-gradient(to top, black,darkgrey, grey, lightgrey, white) ;
    height: 800px;
    width: 100%;
    text-shadow: 2px 2px 4px white;
    display: flex;
    flex-flow:column wrap ;
    align-items: center;
    font-size: 3vw;    

}




#contenedor-validator {
    position: relative;
    height: 20%;
    z-index: 100;
   background-image: linear-gradient(to bottom, black , white);
}







#container-tecnologias{
    display: flex;
    flex-flow:row wrap ;
    width: 100%;
    justify-content: center;
}


#container-tecnologias-uno{
    display: flex;
    flex-flow:row wrap ;
    width: 100%;
    justify-content: center;
}


#container-tecnologias-uno-texto{
    display: flex;
    flex-flow:column wrap ;
    width: 50%;
    justify-content: center;
    align-items: center;
}

#titulo-bci{
    text-align: center;
    font-size: 10vw;
}

#brain-computer-interface{
    text-align: center;
    font-size: 4vw;
    margin-bottom: 4%;
}


.texto-bci{
    margin-bottom: 4%;
	text-align: center;
    font-size: 4vw;
}



#container-tecnologias-uno-img{
    display: flex;
    flex-flow:row wrap;
    justify-content: center;
    
}

#device-uno{
    width: 42%;
    border: 7px double  green;
}

/*dos*/

#container-tecnologias-dos{
    width: 100%;
    display: flex;
    flex-flow: row wrap;
}

#container-tecnologias-dos-texto{
    text-align:center;
	 font-size: 4vw;
    margin-bottom: 4%;
}



#container-tecnologias-dos-img{
	 display: flex;
    flex-flow:row wrap;
    justify-content: center;
	width:100%;
	margin:center;
	
}

#device-dos{
	width:42%;
	border:12px double purple;
}


#container-tecnologias-tres{
	text-align:center;
	 font-size: 4vw;
    margin-bottom: 4%;
}

#container-tecnologias-tres-texto{}



#container-tecnologias-tres-img{}

#device-tres{
	width:42%;
	border:12px double purple;
}








@media screen and (min-width: 400px) {
    #plug {
        margin-top: -450px;
        
    }
    #monitor{
        width: 95%;
        z-index: 3;
        margin-top: 0px;
    }

    main{
        margin-top: 600px;
    }
    

}

@media screen and (min-width: 500px){
    #plug {
        margin-top: -550px;
    }   
}

@media screen and (min-width: 600px) {
    #menu {
        width: 25%;
        top:-15px;
        left: -5%;
        right: 95%;
    }
    
    #menu:hover{
        transform: scale(1.4,1.4);
    
    }
    
    #menu-text {
        left: 19%;
    }
    


   
    #plug {
        margin-top: -650px;
    }  
    main{
        margin-top: 800px;
    }



}

@media screen and (min-width: 700px) {

    #first-title{
        font-size: 10vw;
    }
    
    
    #plug {
        margin-top: -750px;
    }  
   

    main{
        margin-top: 900px;
    }



    #menu {
        width: 25%;
        height:16%;
        position: fixed;
        top:-35px;
        left: -5%;
        right: 95%;
        filter:drop-shadow(2px 2px 2px black);
        z-index: 14;
        transition: all 0.3s ease-in-out;
        margin:0;
    }
    
    #menu:hover{
        transform: scale(1.4,1.4);
        filter:drop-shadow(2px 2px 25px gold);
    
    }


    
}

@media screen and (min-width: 800px) {
    #plug {
        margin-top: -850px;
    }  
}

@media screen and (min-width: 900px) {
    #menu {
        width: 20%;
        height:16%;
        position: fixed;
        top:-35px;
        left: -5%;
        right: 95%;
        filter:drop-shadow(2px 2px 2px black);
        z-index: 14;
        transition: all 0.3s ease-in-out;
        margin:0;
    }
    
    #menu:hover{
        transform: scale(1.4,1.4);
        filter:drop-shadow(2px 2px 25px gold);
    
    }
   
   
   
    #plug {
        margin-top: -950px;
        width: 65%;
    }  
    #brain{
        width: 65%;
    }
}

@media screen and (min-width: 1000px) {
    #first-title{
        font-size: 9vw;
    }

    #plug {
        margin-top: -750px;
        width: 55%;
    }  
    #brain{
        width: 55%;
    }
}


@media screen and (min-width: 1100px) {
    #menu {
        width: 15%;
        height:16%;
        top:-35px;
        left: 2%;
    }
    
    #menu:hover{
        transform: scale(1.1,1.1);
        filter:drop-shadow(2px 2px 25px gold);
    
    }
   
    #menu-text {
        left: 19%;
        top:0.4%;
    }

    #plug {
        margin-top: -950px;
        width: 55%;
    }  
    #brain{
        width: 55%;
    }

    main{
        margin-top: 1000px;
    }

    .fade-in{
        color: black;
        font-weight: 600;
        font-size: 3vw;
        text-align: center;
        margin-bottom: 35px;
        text-shadow: 2px 2px 4px white;
    }
	
	
	/*Modificar esto:*/
	
#container-tecnologias{
    display: flex;
    flex-flow:row wrap ;
    width: 100%;
    justify-content: flex-start;
}

#titulo-bci{
    text-align: center;
    font-size: 10vw;
	width:100%;
}

#brain-computer-interface{
    text-align: center;
    font-size: 4vw;
    margin-bottom: 4%;
	width:100%;
}

/*MODIFICAR ESTO*/
#container-tecnologias-uno{
    display: flex;
    flex-flow:row wrap ;
    width: 45%;
    justify-content: center;
}


#container-tecnologias-uno-texto{
    display: flex;
    flex-flow:column wrap ;
    width: 45%;
    justify-content: center;
    align-items: center;
}



.texto-bci{
    margin-bottom: 4%;
	text-align: center;
    font-size: 2vw;
}



#container-tecnologias-uno-img{
    display: flex;
    flex-flow:row wrap;
    justify-content: center;
}

#device-uno{
    width: 62%;
    border: 7px double  green;
}

/*dos*/

#container-tecnologias-dos{
    width: 45%;
    display: flex;
    flex-flow: row wrap;
}

#container-tecnologias-dos-texto{
    text-align:center;
	 font-size: 2vw;
    margin-bottom: 4%;
}



#container-tecnologias-dos-img{
	display: flex;
    flex-flow:row wrap;
    justify-content: center;
	width:100%;
	animation:movimiento-brazo 4s linear infinite; 
}

@keyframes movimiento-brazo{
	0%{
		
	}
	
	
	50%{
		transform:translateY(-70px);
	}
	
	100%{
		transform:translateY(0px);	
	}
}

#device-dos{
	width:62%;
	border:12px double purple;
}


#container-tecnologias-tres{
	text-align:center;
	 font-size: 4vw;
    margin-bottom: 4%;
	display:flex;
	flex-flow:row wrap;
	justify-content:center;
}

#container-tecnologias-tres-texto{
	margin-bottom:50px;
	margin-top:50px;
	text-align:center;
	width:70%;
}



#container-tecnologias-tres-img{
	display:flex;
	flex-flow:row center;
	justify-content:center;
}

#device-tres{
	width:62%;
	border:12px double purple;
	margin-left:20%;
}
	
	.fade-in{
    color: black;
    font-weight: 600;
    font-size: 2vw;
    text-align: center;
    margin-bottom: 35px;
    text-shadow: 2px 2px 4px white;
}
	
	
	
	

   
}





@media screen and (min-width: 1200px) {
    #plug {
        margin-top: -950px;
        width: 55%;
    }  
    #brain{
        width: 55%;
    }

    main{
        margin-top: 1200px;
    }


}



@media screen and (min-width: 1300px) {
    #plug {
        margin-top: -1050px;
        width: 55%;
    }  
    #brain{
        width: 55%;
    }

    main{
        margin-top: 1400px;
    }
   
   
   
   
   
   
    #menu {
        width: 10%;
        height:16%;
        top:-35px;
        left: 2%;
    }
    
    #menu:hover{
        transform: scale(1.1,1.1);
        filter:drop-shadow(2px 2px 25px gold);
    
    }
   
    
   
    #menu-text {
        left: 19%;
        top:0.4%;
    }


   
}
 

     


@media screen and (min-width: 1400px) {
    #plug {
        margin-top: -1050px;
        width: 55%;
    }  
    #brain{
        width: 55%;
        margin-top: -10px;
    }

    main{
        margin-top: 1500px;
    } 
}


@media screen and (min-width: 1500px) {
    #plug {
        margin-top: -1350px;
        width: 55%;
    }  
    #brain{
        width: 55%;
        margin-top: -10px;
    }

    main{
        margin-top: 1900px;
    } 

    #menu-text {
        left: 25%;
        right: 15%;
        top:0.4%;
        bottom: 0.4%;
        font-size: 3vw;

    }

}
/*
@media screen and (min-width: 1600px) {
    #plug {
        margin-top: -1650px;
    }  
}
    */
    @media screen and (min-width: 1700px) {
        #plug {
            margin-top: -950px;
            width: 35%;
            padding-left: 23%;
            padding-right: 22%;
        }  
        #brain{
            width: 35%;
            margin-top:10%;
            padding-left: 23%;
            padding-right: 22%;
        }

        #monitor{
            width: 85%;
            margin-top: 0px;
        }
        main{
            margin-top: 1800px;
        } 

    }


    @media screen and (min-width: 1800px) {
        #plug {
            margin-top: -950px;
            width: 35%;
            padding-left: 23%;
            padding-right: 22%;
        }  
        #brain{
            width: 35%;
            margin-top:10%;
            padding-left: 23%;
            padding-right: 22%;
        }

        #monitor{
            width: 85%;
            margin-top: 0px;
        }
    
        main{
            margin-top: 1900px;
        } 
    }