/*  Fonts
    All fonts were downloaded from Google Fonts (fonts.google.com)  */

@font-face { font-family: "Google Sans Flex"; src: url("../fonts/GoogleSansFlex-VariableFont_GRAD\,ROND\,opsz\,slnt\,wdth\,wght.ttf"); }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-VariableFont_wght.ttf"); }
@font-face { font-family: "JetBrains Mono Italic"; src: url("../fonts/JetBrainsMono-Italic-VariableFont_wght.ttf"); }

/* MD3 Colors I'm using:

Background - #b5c7f5
Container - #98b5ff
Container 2 - #5479d7
Text (light) - #1b2f69
Text (dark) - #dee7ff
Selected - #33519c */

/* Base */

body{
    background: #ebf1ff;
    color: #1b2f69;
    font-family: "Google Sans Flex";
    margin:0; padding:0;
}

h1,h2,h3,p,a,li{ margin:0; padding:0; }
.link{ color:#2764ff; text-decoration: underline 2px; }

.page{
    padding:15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mobile-hint{ display: none; }
.pc-hint{ display: initial; }

/* Nav-bar */

nav{
    /* border: #f00 2px solid; */
    max-width: 600px;
    width:max-content;
    margin:0;
    padding:0;
    position:sticky;
    top:15px;
    z-index: 10;
}

.nav-bar{
    margin:0;
    padding:5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-self: center;
    list-style: none;
    border-radius: 500px;
    background:#6989da;
}

.nav-item{
    margin: 2px;
    font-size: 22px;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #98b5ff;
    padding:10px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 15px;
}

.nav-item.last{ border-radius: 15px 30px 30px 15px; }
.nav-item.first{ border-radius: 30px 15px 15px 30px; }
.nav-item.selected { background: #33519c; animation: selected 0.25s ease-out forwards; }
.nav-item.selected.first { animation: selected-first 0.25s ease-out forwards; }
.nav-item.selected.last { animation: selected-last 0.25s ease-out forwards; }
.nav-icon { height: 22px; margin-right: 5px;}
.nav-item#deselected { animation: deselected 0.25s ease-out forwards; }
.nav-item#deselected.first { animation: deselected-first 0.25s ease-out forwards; }
.nav-item#deselected.last { animation: deselected-last 0.25s ease-out forwards; }

.nav-link{
    color:#1b2f69;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s ease-out;
    padding:2px;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.nav-link:hover { font-weight: 650; font-variation-settings: "ROND" 75; }
.nav-link:active { font-weight: 700; color:#050c20; }
.nav-item.selected .nav-link { animation: selected-text 0.25s ease-out forwards; }
.nav-item.selected .nav-link:active { color: #f1f5ff; }
.nav-item#deselected .nav-link { animation: deselected-text 0.25s ease-out forwards; }
.nav-closed{display: none;}
#navbutton {display: none;}

/* Header */

header{
    margin-top:15px;
    width:80%;
    min-width:700px;
    max-width:1200px;
    background: 
        radial-gradient(ellipse at top, rgb(196, 210, 255), transparent), 
        radial-gradient(ellipse at bottom, rgb(19, 121, 255), transparent), 
        #add9ff;
    height: 350px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* border: 5px solid #98b5ff; */
}

header.simple{
    height: max-content;
    background:none;
    border-radius:0;
    width: max-content;
}

header .h-title{
    font-size: 64px;
    font-weight: 850;
    font-stretch: semi-expanded;
    font-variation-settings: "ROND" 50;
}

header .h-subtitle{
    font-size: 32px;
    font-weight: 500;
    font-stretch: semi-expanded;
    font-variation-settings: "ROND" 50;
}

/* Main */

main{
    /* border: 2px #00f solid; */
    width: 100%;
    min-width:700px;
    max-width:1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top:4px;
}

.i{
    width: 100%;
    border-radius: 15px;
    margin: 3px;
    background: #98b5ff;
}

.i h1 { margin-top:25px; margin-left:25px; margin-right:25px;}
.i p { margin-bottom:25px; margin-left:25px; margin-right:25px;}
.i .emo { margin-left:25px; margin-right:25px;}
.l{ text-align: left; }
.r{ text-align: right; }
.i.u{ border-radius: 15px 15px 5px 5px; }
.i.m{ border-radius: 5px; }
.i.d{ border-radius: 5px 5px 15px 15px; }
.p.emp{ opacity: 40%; margin:15px; }

.button-group{display: flex; margin: 0; padding: 0;}
.i .button-group {margin: 5px; margin-bottom: 25px; margin-left: 25px; margin-right: 25px; }
.button{
    padding:10px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 20px;
    border-radius: 30px;
    background: #5479d7;
    color: #dee7ff;
    text-decoration: none;
    display: flex;
    width: max-content;
    align-items: center;
    justify-content: center;
    margin: 0;
    margin-right: 5px;
    font-weight: 600;
    font-variation-settings: "ROND" 100;
}

.button img {margin-right: 5px;}
.button.first{border-radius: 30px 15px 15px 30px;}
.button.last{border-radius: 15px 30px 30px 15px;}

/* Footer */

footer{
    font-style: italic;
    margin:15px;
    opacity: 45%;
}

/* Compatibility */

@media screen and (width <= 850px) { /* Mobile */
    main{
        width: 100%;
        min-width:200px;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top:4px;
    }

    header{
        margin-top:15px;
        width:100%;
        min-width:200px;
        background: 
            radial-gradient(ellipse at top, rgb(196, 210, 255), transparent), 
            radial-gradient(ellipse at bottom, rgb(19, 121, 255), transparent), 
            #add9ff;
        height: 250px;
        border-radius: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    header .h-title{font-size: 48px;}
    header .h-subtitle{font-size: 24px;}
    h1{font-size: 24px;}
    p{font-size: 14px;}

    .mobile-hint{ display: initial; }
    .pc-hint{ display: none; }

    .nav-item{font-size: 24px;}
    .nav-icon { height: 24px; margin-right: 7px;}
    .nav-item.first{ border-radius: 15px; } 
    .nav-item.last{ border-radius: 15px; }
    .nav-bar{flex-direction: column; border-radius: 15px; margin:5px;}
    .nav-item.selected { background: #33519c; animation: selected 0.25s ease-out forwards; }
    .nav-item.selected.first { animation: selected 0.25s ease-out forwards; }
    .nav-item.selected.last { animation: selected 0.25s ease-out forwards; }
    .nav-icon { height: 22px; margin-right: 5px;}
    .nav-item#deselected { animation: deselected 0.25s ease-out forwards; }
    .nav-item#deselected.first { animation: deselected 0.25s ease-out forwards; }
    .nav-item#deselected.last { animation: deselected 0.25s ease-out forwards; }

    nav{
        position:fixed;
        left:5px;
        top:5px;
        display: flex;
        flex-direction: column;
        align-items: left;
    }
    #navbutton{
        border-radius: 12px;
        width: 48px;
        height: 48px;
        max-width: 48px;
        max-height: 48px;
        padding:2px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin:5px;
        border: none;
        background:#98b5ffa4;
        backdrop-filter: blur(15px);
    }
    .navbimg-none{display: none;}
    .navbimg{display: initial;}
    #navbimg-menu{width: 36px;height: 36px;}
    #navbimg-close{width: 36px;height: 36px;}
}

/* Animations */
@keyframes selected { 0%{ border-radius: 15px; background: #98b5ff; }
    100% { border-radius: 30px; background: #33519c; } }
@keyframes deselected { 0%{ border-radius: 30px; background: #33519c; }
    100% { border-radius: 15px; background: #98b5ff; } }
@keyframes selected-first { 0%{ bborder-radius: 30px 15px 15px 30px; background: #98b5ff; }
    100% { border-radius: 30px 30px 30px 30px; background: #33519c; } }
@keyframes deselected-first { 0%{ border-radius: 30px 30px 30px 30px; background: #33519c; }
    100% { border-radius: 30px 15px 15px 30px; background: #98b5ff; } }
@keyframes selected-last { 0%{ border-radius: 15px 30px 30px 15px; background: #98b5ff; }
    100% { border-radius: 30px 30px 30px 30px; background: #33519c; } }
@keyframes deselected-last { 0%{ border-radius: 30px 30px 30px 30px; background: #33519c; }
    100% { border-radius: 15px 30px 30px 15px; background: #98b5ff; } }
@keyframes selected-text {0% { color: #1b2f69; }
    100% { color: #dee7ff; }}
@keyframes deselected-text {0% { color: #dee7ff; }
    100% { color: #1b2f69; }}
@keyframes spin { 0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); } }



/*  Made by nikwonder in 2026
    No generative AI models were used
    Comments made to divide sections, add context, preserve temporary code and add references that are used
    Thanks :)   */