:root {
    color: white;
    scrollbar-color: #FFFFFF #9F82FF;
}

* {
    box-sizing: border-box;
}

/* Fonts */
@font-face {
    font-family: 'VCR';
    src: url('/assets/font/VCR.ttf');
}

@font-face {
    font-family: 'Calamity';
    src: url('/assets/font/Calamity.otf');
}

body {
    background-color: #0F0F0F;
    animation: bg 1s linear;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
    animation-iteration-count: 1;
    animation-fill-mode: both;
}

@keyframes bg {
    to {
        background-color: #0E003D;
    }
}

#container {
    margin: auto;
    max-width: 1200px;
}

h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 500%;
    margin: auto;
    padding: 20px;
    text-align: right;
    transition: 0.1s;
    width: 100%;
}

h1:hover {
    letter-spacing: .05em;
}

.box {
    background-color: #0F0F0F;
    border-radius: 20px;
    border: 2px dotted white;
    box-shadow: 10px 10px #1F0087;
    font-family: "Lucida Console", monospace;
    height: fit-content;
    margin: auto;
    margin-bottom: 40px;
    padding: 20px;
    position: relative;
    max-width: 1200px;
    width: 90%;
    z-index: 2;

    animation: shadow 1s linear;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
    animation-iteration-count: 1;
    animation-fill-mode: both;
}

@keyframes shadow {
    to {
        box-shadow: 10px 10px #2D00C5;
    }
}

.ribbon {
    background-color: #9F82FF;
    border-radius: 15px;
    color: white;
    font-size: 150%;
    padding: 12px;
    position: absolute;
    bottom: -12px;
    right: -25px;
    text-align: center;
    transform: rotate(-20deg);
    width: 60px;
}

.flex {
    display: flex;
    justify-content: space-between;
}

img {
    width: 400px;
    border-radius: 5px;
    object-fit: cover;
    transition: transform 0.1s;
}

img:hover {
    transform: scale(1.05);
}

.wide {
    width: 600px;
}

.left {
    order: 1;
}

.image {
    order: 2;
}

.nicknames {
    color: #9F82FF;
    margin-top: 5px;
}

.name {
    font-size: 150%;
    letter-spacing: .2em;
    margin: 20px;
    padding: 24px;
    transition: 0.1s;
}

.name:hover {
    letter-spacing: .3em;
}

.bday,
.fur,
.origin,
.about {
    padding-left: 10px;
    color: #9F82FF;
}

.about {
    font-family: 'Calamity', sans-serif;
}

svg {
    position: fixed;
    top: 50px;
    left: 50px;
    z-index: -1;
    animation: rotate 1s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
    animation-iteration-count: 1;
    animation-fill-mode: both;
    opacity: 20%;
}

@keyframes rotate {
    to {
        transform: rotate(12deg);
    }
}

@media screen and (max-width: 1080px) {
    h1 {
        text-align: center;
    }

    .box {
        width: 80%;
    }

    .flex {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .left {
        order: 2;
    }

    .image {
        order: 1;
        margin: auto;
        margin-bottom: 20px;
    }

    .name {
        text-align: center;
        background-color: #0E003D;
        border-radius: 20px;
    }
}

@media screen and (max-width: 850px) {
    .wide, img, .image {
        max-width: 600px;
        width: 100%;
    }
}

@media screen and (max-width: 700px) {
    .box {
        width: 90%;
    }
}