:root{
    --color-1: #1B264F;
    --color-2: #274690;
    --color-3: #576CA8;
    --accent-1: #302B27;
    --accent-2: #F2545B;
}
html {
    background-image: linear-gradient(110deg, var(--color-1) 0%, var(--color-2) 100%);
    background-attachment: fixed;
    width: calc(100vw - (100vw - 100%));
    scroll-behavior: smooth;
}
body {
    color: white;
    margin: 0 auto;
    padding: 0 1rem 0 1rem;
    min-width: 300px;
    font-family: system-ui, -apple-system;
}
nav {
    position: sticky;
    top:0;
    width: fit-content;
    padding: .5rem 1rem;
    margin: 0 auto;
    border-radius: 0 0 1rem 1rem;
    background: var(--accent-1);
    display: flex;
    justify-content: center;
    gap: 1rem;
}
a {
    color: white;
}
header {
    text-align: center;
}
section {
    background: var(--color-3);
    margin: 1rem auto;
    padding: 1rem;
    max-width: 700px;
    border-radius: 1rem;
}
#about p {
    background: var(--color-1);
    border-radius: 0.5rem;
    padding: 1rem;
}
.section-holder {
    display:none;
}
ul {
    display:flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    gap: 1rem;
}
li {
    padding: 1rem;
}
li:nth-child(odd) {
    background: var(--color-1);
    border-radius: 0.5rem;
}
li:nth-child(even) {
    background: var(--color-2);
    border-radius: 0.5rem;
}
@keyframes FadeOut {
    0% {
        scale: 100%;
        opacity: 100%;
        transform: translateY(0);
    }
    100% {
        scale: 0%;
        opacity: 0%;
        transform: translateY(-40%);
    }
}
@keyframes FadeIn {
    0% {
        scale: 0%;
        opacity:0%;
        transform: translateY(40%);
    }
    100% {
        scale: 100%;
        opacity: 100%;
        transform: translateY(0);
    }
}
.animate-out {
    animation: FadeOut 0.15s ease-in-out forwards;
}
.animate-in {
    animation: FadeIn 0.15s ease-in-out forwards;
}
@media (prefers-reduced-motion: reduce) {
    .animate-in, .animate-out {
        animation-duration: 0s;
    }
    @keyframes MoveUpOutFade {

    }
    @keyframes MoveUpInFade {
        
    }
}