@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono&display=swap');

html,

#below {
    width: 100vw;
    height: 100vh;
}

body {
    height: 100%;
    margin: 0;
    animation: fadeIn 0.75s ease;
}

body {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-image: url('background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: black;
    font-family: 'JetBrains Mono', monospace;
    backdrop-filter: blur(1vh) brightness(0.33);
    -webkit-backdrop-filter: blur(1vh) brightness(0.33);
    box-shadow: 0px 0px 10vh rgb(0, 0, 0) inset;
}

#mainbox {
    transform: rotate3d(25deg);
    background-color: #00000045;
    border: 0.2vh solid #ffffff5d;
    box-shadow: 0px 0px 2vh rgba(0, 0, 0, 0.521) inset;
    justify-content: center;
    align-items: center;
    width: 80vh;
    max-width: calc(100vw - 10vh);
    height: 50vh;
    border-radius: 2.25vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2vh;
    padding: 2vh;
    z-index: 0;
    animation: transitionIn 0.75s ease;
}

h1 {
    color: #fdeef8;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(50% - 25vh - 8vh);
    margin: 0;
    z-index: 1;
    color: #fdeef8;
    font-family: 'JetBrains Mono', monospace;
    font-size: 3vh;
    text-align: center;
    animation: transitionInTitle 0.75s ease;
    width:100%;
}

#mainbox p {
    margin: 0px;
    color: white;
}

#mainbox {
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    overflow: auto;
}

#mainbox p {
    margin: 0 0 1vh 0;
    line-height: 1.4;
    color: #fdeef8;
}

#mainbox li {
    color: #ffffff96;
    margin-left: 2vh;
    transition: margin-left 0.5s ease;
}

#mainbox li:hover {
    margin-left: 3vh;
}

#mainbox a {
    color: #ffffff96;
    background-color: #ffffff00;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

#mainbox a:hover {
    background-color: #ffffff0c;
}

@keyframes fadeIn {
    from {
        filter: blur(10vh) brightness(0.25);
    }

    to {
        filter: blur(0vh) brightness(1);
    }
}

@keyframes transitionIn {
    from {
        rotate: 3deg;
        top: 45%;
    }

    to {
        rotate: 0deg;
        top: 50%
    }
}

@keyframes transitionInTitle {
    from {
        rotate: 5deg;
    }

    to {
        rotate: 0deg;
    }
}