@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Miltonian+Tattoo&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Kurale&family=Shrikhand&display=swap');

html, body{
    margin: 0;
    padding: 0;
    font-size: 16px;
}


.parallex{
    display: grid;
    height: 105svh;
    position: relative;
    top:0;
    margin: 0;
    padding: 0;
    grid-template-areas: "headers";
}

.parallex>*{
    grid-area: headers;
    animation: animiert linear;
    animation-timeline: scroll();


}

header{
    display: flex;
    justify-content: space-between;
    width: 100%;
    position:fixed;
    top:0;
    z-index: 10;
    background-color: #FEE440;
    height: 7rem;
    margin: 0;
    padding: 0;
}

.back-btn{
    position: absolute;
    top: 100%;
    left: 1rem;
    transform: translateY(-50%);
    padding: 0.6rem 1rem;
    background: #1a1a1a;
    color: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    z-index: 20;
}

.back-btn:hover{
    background: #333;
    transform: translateY(-50%);
}

.logo{
    justify-content: start;
    max-width: 100%;
    font-size: 2.3rem;
    padding-left: 2rem;
    align-self: center;
    font-family: 'Alfa Slab One', serif;
    text-shadow: 0.3rem 0.3rem 2px #00BBF9;
}
header nav ul{
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

header nav{
    display: flex;
}

header nav ul li {
    margin: 0 2rem;
    font-size: 1.6rem;

}

header nav ul li a{
    position: relative;
    font-family: 'Miltonian Tattoo', serif;
    text-decoration: none;
    padding: 1rem;
    text-shadow: 0.13rem 0.13rem 2px #000000;
    height: 100%;
    color: #F15BB5;
    transition: 0.3s ease-in-out 0.1s;

}

.parallex a:hover{
    color: #FEE440;
    background-color: #00232f7b;
    border-radius: 20px;
}

.advens{
    position: relative;
    top:12rem;
    left: 5rem;
    background-color: #F15BB5;
    width: 30rem;
    min-height: 10rem;
    max-height: 24rem;
    box-shadow: 0.3rem 0.3rem 0.3rem #FEE440;
    z-index: 8;
}

.advens h3{
    color:#00BBF9;
    font-family: 'Shrikhand', serif;
    font-size: 2rem;
    text-align: center;
    text-shadow: 0.13rem 0.13rem 2px #000000;

    
}

.advens h4{
    font-family: 'Kurale', serif;
    color:#00232f;
    font-size: 1.4rem;
    padding: 0 2rem;
    margin: 0;
    text-align: center;
    text-shadow: 0.13rem 0.13rem 2px #00bbf97a;
}

.advens p{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 0.94rem;
    text-align: center;
    padding: 1rem 2rem 0 2rem;
    color: #2b2929;
    text-shadow: 0.13rem 0.13rem 7px #FEE440;

}

form{
    display: flex;
    flex-direction: column;
    padding: 1rem 2rem;
}
form label{
    font-family: 'Shrikhand', serif;
    font-size: 2rem;
    text-align: center;
    color:#FEE440;
    text-shadow: 0.2rem 0.2rem 0.2rem #000;
}
form textarea{
    padding: 1rem;
    font-family:Verdana, Geneva, Tahoma, sans-serif ;
    font-size: 1rem;
    appearance:inherit;
    border:none;
    border-radius: 5px;
    box-shadow: 0.2rem 0.2rem 0.2rem #333;
    resize: none;
}

button{
    display: flex;
    justify-self: center;
    margin: auto;
    font-family: 'Shrikhand', serif;
    padding:1rem;
    font-size: 1.4rem;
    border-radius: 20px;
    background-color: #00BBF9;
    border: none;
    box-shadow: 0.2rem 0.2rem 0.2rem #333;
    transition: all 0.3s ease-in-out 0.2s;
}

button:hover{
    padding: 1.3rem;
    background-color: #002b39;
    color: #FEE440;
}

.code{
    width: 5rem;
    top:25%;
    left:40%;
    z-index: 7;
    --animiert-speed:2;    

}

.node{
    width: 8rem;
    top:44%;
    left:60%;
    z-index: 7;
    --animiert-speed:-1;   
    background-color: #e4e4e4;
    padding: 1rem;
    border-radius: 20px;
}

.jq{
    width: 8rem;
    top: 30%;
    left: 46%;
    background-color: #e4e4e4;
    padding: 1rem;
    border-radius: 20px;
    --animiert-speed:-2;
    
}

.simbol{
    position: relative;
}

.background-video{
    width: 100%;
    height: auto;
    animation-timeline: scroll();
    --animiert-speed:1;
}



@keyframes animiert {

    to{
        transform:translateY(calc(var(--animiert-speed)*200px));
    }
}
main{
    display: flex;
    position: relative;
    top: 0;
    flex-direction: column;
    width: 100%;
    height:auto;
}



.one{
    width: 100%;
    position: relative;
    z-index: 8;
    display: grid;
    grid-template-areas: "one";
}

.one>*{
    grid-area: one;
}

.one video{
    position: relative;
    left: 0;
    width: 100%;
    min-height:auto;
}

.one h2{
    position: relative;
    text-align: center;
    display: grid;
    width: 100%;
    height: 80%;
    font-size: 3rem;
    align-items: center;
    font-family: 'Alfa Slab One', serif;
    text-shadow: 0.3rem 0.3rem 2px #00BBF9;

}

.one p{
    position: relative;
    display: grid;
    font-family: 'Miltonian Tattoo', serif;
    justify-content: center;
    align-items:center;
    font-size: 2.4rem;
    text-shadow: 0.13rem 0.13rem 2px #000000cc;
    height: 100%;
    color: #F15BB5;
}

.two{
    padding: 0.5rem 0;
    display: grid;
    max-width: 100%;
    grid-template-areas:    "a b c"
                            "d e f" 
                            "g h i";
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 0.5rem;
    background-color: #000000;
}
.video01{
    grid-area: a;
    transition: all 0.3s ease-in-out 0.3s;

}

.imag01{
    grid-area: b;
}

.video02{
    grid-area: c;
}

.imag02{
    grid-area: d;
}
.imag03{
    grid-area: e;
}

.imag04{
    grid-area: f;
}
.imag05{
    grid-area: g;
}
.video03{
    grid-area: h;
}

.imag06{
    grid-area: i;
}

.text:hover{
    opacity: 1;
}

.text{
    opacity: 0;
    max-width:100%;
    display: flex;
    align-items: center;
    background-color: #9B5DE5;
    height:100%;
    padding: 0 2rem;
    line-height: 1.5;
    font-size: 1.5rem;
    color: #FEE440;
    font-family:'Miltonian Tattoo', serif;
    transition: all 0.3s ease-in-out 0.3s;

}



.sec_two{
    max-width: 100%;
    height: 100%;
    justify-content: stretch;
    align-items: center;
    margin: auto;
    overflow: hidden;
    object-fit: cover;
    background-color: #000;


}

footer{
    width: 100%;
    height: 4rem;
    display: flex;
    justify-content: center;
    background-color: #000;
    color: #F15BB5;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    align-items: center;
}


@media screen and (max-width:1200px){
    .background-video{
        display: none;
    }

    .logo{
        font-size: 1.5rem;

    }


    .simbol{
        display: none;
    }

    .parallex{
        background-image: url(img/programming-1857236_640.jpg);
    }

    .one h2{
        font-size: 2rem;
    }
    .one p{
        font-size: 1.5rem;
    }

    nav ul li a{
        font-size: 1.2rem;
    }

    
}

@media screen and (max-width:900px) {
    .advens{
        display: none;
    }

    header nav{
        display: none;
    }
    header .logo{
        width: 100%;
        text-align: center;
    }

    .parallex{
        height: 10svh;
    }
    
}

@media screen and (max-width:550px) {


    .parallex{
        display: none;
        height: 0;
    }
    .one h2{
        font-size: 0.9rem;
    }

    .one p{
        font-size: .8rem;
    }

    .two{
        display: flex;
        flex-direction: column;
    }

    .sec_two{
        width: 100%;
    }

    .text{
        opacity: 1;
        font-size: 0.8rem;
    }

}