@font-face {
    font-family: 'Novatica-family';
    src: url('font/Novatica.ttf');
}



@keyframes bgAnimation {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}
html{
    scroll-behavior: smooth;
}

header{
    position:fixed;
    top:0;
    width: calc( 100% - 60px);
    z-index: 10;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding:10px 30px 10px 30px;
    background-color: #eee;
    box-shadow: -1px 0px 27px -4px rgba(0,0,0,0.25);
-webkit-box-shadow: -1px 0px 27px -4px rgba(0,0,0,0.25);
-moz-box-shadow: -1px 0px 27px -4px rgba(0,0,0,0.25);
    height: 20px;
}

header img{
    width: auto;
    height: auto;
}

header nav ul{
    display: flex;
    flex-direction: row;
    text-decoration: none;
    list-style: none;
    gap: 30px;
    font-family: 'Novatica-family';
    margin:auto auto;
}

header nav ul a{
    color: black;
    text-decoration: none;
}
header nav ul a:hover{
    color: #21ceb3;
}

#layer_2{
    position:relative;
    height: calc(100vh );
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    gap:40px;
    justify-content: center;
}

.blur-class{
    width: 100%;
    height: 100vh;
    backdrop-filter: blur(10px);
    position:absolute;
    top:0;
    left: 0;
}

#video-container{
    width:100%;
    height: 100%;
    border-radius: 40px;
    overflow: hidden;
    
    transition: 0.5s all ease-in-out;
    filter: grayscale(0%);
}

#video-container_2{
    width:80%;
    height: 100%;
    border-radius: 40px;
    overflow: hidden;
    transition: 0.5s all ease-in-out;
    filter: grayscale(0%);
}

#layer_2__title{
    text-align: center;
}

.flex-row{
    position:relative;
    height: 450px;
    /* background-color: #eee; */
    /*background-image: url('planet.png');
    background-size: cover;*/
    /* backdrop-filter: blur(3px); */
    position: relative;
    display: flex;
    flex-direction: row;
    padding: 0px 100px;
    gap:40px;
}

#video-container_2 video{
    filter: blur(0px) brightness(0.3);
}

#video-container_2:hover video{
    filter: brightness(0.3) blur(0px);
}

#video-container_2:hover #blackVideo{
    filter: grayscale(0%)!important;
}


#video-container video{
    filter: blur(0px) brightness(0.3);
}

#video-container:hover video{
    filter: brightness(0.3) blur(0px);
}

#video-container:hover #blackVideo{
    filter: grayscale(0%)!important;
}

.text-container{
    position:absolute;
    width: calc(100% - 100px);
    font-family: 'Novatica-family';
    color:rgb(241, 241, 241);
    padding:50px;
    z-index: 1;
    pointer-events: none;
    text-shadow: 2px 3px 2px rgba(0,0,0,0.3);
    transition: 0.5s all ease-in-out;
}

.text-container h3{
    font-size: 2.5em;
    margin-top:20px;
}

.text-container p{
    font-size: 1.0em;
}



#video-container:hover{
    cursor: pointer;
    transform: rotate(-2deg);
}
#video-container_2:hover{
    cursor: pointer;
    transform: rotate(-2deg);
}


#video-container:hover .text-container h3{
    color: #ffffff;
}

#blackVideo{
    filter: grayscale(100%);
}

#scrollVideo{
    height: 100vh; 
    object-fit: cover;
}


#video-container:hover .text-container p{
    color:#ffffff;
}


/* Tamaño de la scrollbar */
::-webkit-scrollbar {
    display: none;
    width: 12px;
    height: 12px;
  }
  
  /* Track (fondo de la scrollbar) */
  ::-webkit-scrollbar-track {
    background: rgba(0,0,0,0);
    border-radius: 10px;
  }
  
  /* Thumb (la parte que se arrastra) */
  ::-webkit-scrollbar-thumb {
    background: #21ceb3;
    border-radius: 10px;
  }
  
  /* Hover del thumb */
  ::-webkit-scrollbar-thumb:hover {
    background: #159884;
    scale: 1.2em;
  }

.vector-bg-class {
    position:fixed;
    top:0;
    left:0;
    height: 100vh; /* Ajusta según el contenedor */
    /* background: linear-gradient(to bottom, rgba(126, 93, 227, 1) 0%, rgba(189, 172, 248, 1) 90%)!important; */
    background-size: 200% 200%; /* Ampliamos el área del gradiente */
    animation: bgAnimation 5s ease infinite;
    z-index:0;
}


#bg-canvas{
    transition: 0.7s all ease-in-out;
    background: #eee;
}

#portrait{
    scroll-snap-align: start;
    width: 100%;
    position:relative;
    height: calc(100vh);
    z-index: 0;
    font-family: 'Novatica-family';
    font-size: 1.5em;
    
}

#logo__portrait{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    z-index: 10;
    text-align: center;
    opacity: 0;
    transition: 0.3s all ease-in-out;
}

#logo__portrait img{
    width:400px;
}


#layer_1{
    position:sticky;
    top:40%;
    scroll-snap-align: start;
    text-align: center;
    height: calc(60vh);
    width: 100%;
    z-index: 10;
    padding-bottom: 100px;

}

#g_cont{
    height: calc(250vh);
}

#layer_1__title{
    margin-top:0;
}

.c-content{
    position: absolute;
    left:50%;
    transform: translate(-50%);
    z-index: 7;
    text-align: center;
    color:white;
}

#layer_1 h2{
    font-family: 'Novatica-family';
    /*font-size: 3.5em;*/
    font-size:4em;
    opacity: 0;
    margin-bottom: 10px;
    transition: 0.2s all ease-in-out;
    z-index: 7;
    
}

#layer_2 h2{
    font-family: 'Novatica-family';
    /*font-size: 3.5em;*/
    font-size:4em;
    margin-bottom: 10px;
    transition: 0.2s all ease-in-out;
    z-index: 7;
    
}

.show{
    opacity: 1.0!important;
}

#layer_1 p{
    font-family: 'Novatica-family';
    /*font-size: 1.4em;*/
    font-size:1.8em;
}

#sp_text{
    font-size: 1.00em!important;
}

.negativo {
    position: relative;
    width: 100%;
    height: calc(100vh);
    backdrop-filter: invert(1);
    -webkit-backdrop-filter: invert(1); /* Para Safari */
    background-color: rgba(255, 255, 255, 0.1); /* Necesario para que se active el filtro */
    pointer-events: none; /* Para que no bloquee clics */
    z-index: 10;
  }


  #quantum_launcher{
    position: absolute;
    top:0;
    left: 0;
    height: 40px;
    width: 10px;
  }


  section{
    scroll-snap-align: start;
    font-family: 'Novatica-family';
  }


  #layer_3{
    padding-top:150px;
    height: calc(300vh - 100px);
    width: calc(100% - 200px);
    position:relative;
    z-index: 1;
    color: rgb(0, 0, 0);
    padding: 100px;
    padding-top:100px;
  }

.w-50{
    width: 50%;
    
    position:sticky;
    top:100px;
}


#layer_3 h3{
    font-size: 2.5em;
    margin-top:20px;
}


.flex-scrollable{
    padding-left: 60%;
    display: flex;
    flex-direction: column;
    position: absolute;
    top:100px;
}

.team_item{
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.team_item img{
    width:300px;
}

.team_item h4{
    font-size: 2em; 
    margin-top:15px; 
    margin-bottom: 10px;
}

.team_item p{
    margin-top:0px; 
    margin-bottom: 50px;
}


footer{
    height: calc(40vh);
    background-color: #21ceb3;
    z-index:10;
    position: relative;
}

#contact{
    position: fixed;
    bottom:30px;
    left: 30px;
    font-family: 'Novatica-family';
    background-color: #21ceb3ac;
    color:#ffffff;
    border-radius: 20px;
    padding:10px 20px;
    
}

#contact h4{
    margin: 5px 0px;
    font-size: 1.2em;
}

#contact p{
    font-size: 1em;
    margin:0;
}

@media screen and (max-width: 900px){
    .flex-row{
        flex-direction: column!important;
        height: auto;
        padding:0px 10px;
    }

    #video-container_2 {
        width: 100%;
        height: 400px;
        border-radius: 40px;
        overflow: hidden;
        transition: 0.5s all ease-in-out;
        filter: grayscale(0%);
    }

    #video-container {
        width: 100%;
        height: 400px;
        border-radius: 40px;
        overflow: hidden;
        transition: 0.5s all ease-in-out;
        filter: grayscale(0%);
    }

    .c-content{
        width: 80%;
    }
}