html{
    scroll-behaviour: smooth;
}
header{
    background-color: rgba(0,0,0,0.7);
    text-align: center;
    padding: 20px 0;
    margin-bottom: 40px;
}
.typing{
    line-height:1.2;
    margin:0 auto;
    padding:0;
    font-family:'courier new',courier,monospace;
    color: rgb(255, 0, 0);
    font-size: 24px;
    width: 33ch;
    overflow:hidden;
    white-space:nowrap;
    border-right: 3px solid rgb(255, 0, 0);
    animation: type 3s steps(28),blink 0.7s step-end infinite;
}
@keyframes type{
    from{
        width:0;
    }
}
@keyframes blink{
    50%{
        border-color:transparent;
    }
}

::-webkit-scrollbar{width:12px;}
::-webkit-scrollbar-track{background: rgb(0, 0, 0);}
::-webkit-scrollbar-thumb{background:rgb(71, 29, 255);border-radius:6px;}


*{cursor:none;}
#cursor{
    position:fixed;
    margin-left:-15px;
    margin-top:-15px;
    font-size:30px;
    color:rgb(225,200,105);
    pointer-events:none;
    z-index:9999;
    animation:twinkle 1.2s ease-in-out infinite;
}
@keyframes twinkle{
    0%,100%{
        transform:scale(1);
        text-shadow:0 0 5px white;
    }
    50%{
        transform: scale(1.25);
        text-shadow:0 0 15px white,0 0 30px rgb(225,200,105);
    }
}

body{
    min-height: 100vh;
    margin:0;
    color: white;
    font-family:'Fredoka',sans-serif;
}
body{
    background-image:url("https://img.magnific.com/free-photo/anime-night-sky-illustration_23-2151684322.jpg?semt=ais_hybrid&w=740&q=80");
    background-size:130% auto;
    
    background-attachment:fixed;
    background-repeat:no-repeat;
    min-height:100vh;
    margin:0;
    color:white;
    font-family:'Fredoka',sans-serif;
    animation:parallax linear;
    animation-timeline:scroll();
    
}

@keyframes parallax{
    from{background-position:center top;}
    to  {background-position: center bottom;}}


.banner{
    background: linear-gradient(90deg,#ffb3d9,#c7a6ff,#9fd8ff,#a8f0d4,#FFE564);
    color:black;
    padding:8px;
    font-family:'courier New', Courier,monospace;
    font-weight:bold;
}
.banner mark{
    background: linear-gradient(90deg,#ffb3d9,#c7a6ff,#9fd8ff,#a8f0d4,#FFE564);
    -webkit-background-clip: text;
    background-clip:text;
    color:transparent;
    text-shadow:none;
}
h1{
    color:royalblue;
    font-family:'Fredoka',sans-serif;
    font-size: 60px;
    margin:20px 0 30px;
    padding:0;
    position:relative;
    animation:float linear;
    animation-timeline: view();
}
@keyframes float{
    from{top:0px;}
    to  {top:70px;}}


h1 mark{
    background: linear-gradient(90deg, #ffb3d9,#c7a6ff,#9fd8ff,#a8f0d4,#FFE564);
    -webkit-background-clip: text;
    background-clip:text;
    color:transparent;
    text-shadow:none;
}

nav {
    background-color:rgba(13,11,36,0.6);
    border:1px solid rgba(199,166,255,0.3);
    box-shadow: 0 0 25px rgba(199,166,255,0.25);
    padding:15px;
    display:flex;
    justify-content:center;
    gap:30px;
    border-radius: 24px;
    margin:10px 20px;
    position: sticky;
    top:10px;
    z-index:10;
}
nav a {
    color: #fff4dc;
    font-family:'Fredoka',sans-serif;
    font-size:24px;
    font-weight: 600;
    text-decoration:none;
    padding:8px 16px;
    border-radius:20px;
    transition:background-color 0.2s;
}
nav a:hover{
    background:linear-gradient(90deg,#ffb3d9,#c7a6ff,#9fd8ff);
    color:#0d0b24;
}

section{
    background-color:rgba(13,11,36,0.8);
    border:1px solid rgba(199,166,255,0.3);
    box-shadow:0 0 25px rgba(199,166,255,0.3);
    max-width:900px;
    margin:40px auto;
    padding:30px 40px;
    box-shadow:0 8px 25px rgba(0,0,0,0.5);
    scroll-margin-top:100px;
    animation: slide-up linear;
    animation-timeline: view();
    animation-range:0% 40%;
}
@keyframes slide-up{
    from{transform:translate(0px,100px);}
    to  {transform:translate(0px,0px);}
}
h2{
    font-family:'Fredoka',sans-serif;
    font: size 40px;
    margin-top:0;
    border-bottom:3px solid;
    border-image: linear-gradient(90deg, #ffb3d9,#c7a6ff,#9fd8ff,transparent) 1;
    color:#fff4dc;
    padding-bottom:10px;
}
h3{
    font-size: 32px;
    margin-bottom:10px;
}
p,li{
    font-size:22px;
    line-height:1.6;
}
ul{
    list-style-type: disc;
}

img{
    display:block;
    width:100%;
    height: auto;
    margin:20px auto;
    border-radius: 12px;
}
iframe{
    display:block;
    width:100%;
    aspect-ratio:16/9;
    height:auto;
    border: none;
    border-radius: 12px;
    margin: 20px 0;
}

footer{
    background-color: rgba(0,0,0,0.7);
    text-align: center;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    margin-top: 40px;
}


