* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
@font-face {
    font-family: "Source Code Pro";
    src: url("../fonts/SourceCodePro/variable-regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
}
@font-face {
    font-family: "Source Code Pro";
    src: url("../fonts/SourceCodePro/variable-italic.ttf") format("truetype");
    font-style: italic;
    font-weight: 100 900;
}



body {
    font-size: 16px;
    font-family: "Source Code Pro", monospace;
    min-height: 100vh;
    background-color: #0f0f23;
    color: #cccccc;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 1.5em;
    justify-content: space-between;
    align-items: stretch;
}
@media (max-width: 470px) {
    body {
        font-size: 14px;
    }
}
@media (max-width: 410px) {
    body {
        font-size: 12px;
    }
}
@media (max-width: 355px) {
    body {
        font-size: 10px;
    }
}
@media (max-width: 300px) {
    body {
        font-size: 8px;
    }
}



header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    row-gap: 0.5em;
}
header>img {
    height: 7.5em;
    aspect-ratio: 1;
}
header>div {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}
header>div>h1 {
    color: #00cc00;
    text-shadow: 0 0 5px #00cc00;
    font-size: 3em;
    font-weight: 650;
    padding-bottom: 0.5em;
}
header>div>h2 {
    color: #00cc00;
    text-shadow: 0 0 5px #00cc00;
    font-size: 1.15em;
    font-weight: 500;
    text-align: center;
    padding-bottom: 0.5em;
}
header>div>h2>a {
    color: #ffff66;
    text-decoration: none;
    text-shadow: 0 0 5px #ffff66;
}
header>div>h2>a:hover {
    color: #ffff66;
    text-decoration: none;
    text-shadow: 0 0 10px #ffff66;
}



footer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}



.loader {
    width: 20px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 3px solid #cbcbcb;
    animation:
            l20-1 0.8s infinite linear alternate,
            l20-2 1.6s infinite linear;
}
@keyframes l20-1{
    0%    {clip-path: polygon(50% 50%,0       0,  50%   0%,  50%    0%, 50%    0%, 50%    0%, 50%    0% )}
    12.5% {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100%   0%, 100%   0%, 100%   0% )}
    25%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 100% 100%, 100% 100% )}
    50%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
    62.5% {clip-path: polygon(50% 50%,100%    0, 100%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
    75%   {clip-path: polygon(50% 50%,100% 100%, 100% 100%,  100% 100%, 100% 100%, 50%  100%, 0%   100% )}
    100%  {clip-path: polygon(50% 50%,50%  100%,  50% 100%,   50% 100%,  50% 100%, 50%  100%, 0%   100% )}
}
@keyframes l20-2{
    0%    {transform:scaleY(1)  rotate(0deg)}
    49.99%{transform:scaleY(1)  rotate(135deg)}
    50%   {transform:scaleY(-1) rotate(0deg)}
    100%  {transform:scaleY(-1) rotate(-135deg)}
}



#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -20px;
    color: white;
    user-select: none;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(100vh);
    }
}
@media (prefers-reduced-motion: reduce) {
    #snow-container {
        display: none;
    }
}
