html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    margin: 0px;
    background-color: #FFFFFF;
    color: #202539;
    font-size: 22px;
    font-family: Oxygen;
    font-variant-ligatures: no-common-ligatures;
}

.content {
    width: 100%;
    height: 100%;

    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
}

.content.basic {
    display: block;
    text-align: center;
}

.bg {
    max-height: 100vh;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.colorband {
    position: relative;
    bottom: calc(200vh - 50%);
    left: 0px;
    height: 200vh;
    width: 100%;
    transform: skewY(-37.2deg);
    background-color: #454e75;
    z-index: -10;
}

.main {
    flex: 0 0 auto;
    width: 600px;

    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.logo {
    position: absolute;
    width: calc(350% / 6);
    left: -17%;
    top: 68%;
    animation-name: logo, fadein;
    animation-timing-function: ease-out, ease-in;
    animation-duration: 2s, 2s;
    animation-fill-mode: both, both;
}

.logo-shadow {
    position: absolute;
    width: calc(350% / 6);
    top: calc(69% + 3px);
    left: calc(-15.7% - 6px);
    animation-name: logo-shadow, fadein;
    animation-timing-function: ease-out, ease-in;
    animation-duration: 2s, 2s;
    animation-fill-mode: both, both;
}

.keyart-wrapper {
    width: 100%;
    position: relative;
}

.keyart {
    width: 100%;
    box-shadow: -6px 3px 15px #00000055;
    animation-name: blurin;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}

.sitename {
    position: absolute;
    color: #FFFFFF;
    font-size: 13px;
    text-shadow: -6px 3px 5px #0009;
    top: calc(100% + 9px);
    left: 18%;
    animation-name: fadein;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}

.separator {
    background-color: #202539;
    height: 2px;
    width: 100%;
    box-shadow: -6px 3px 5px #00000055;
    animation-name: fadein;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}

.buttons {
    display: flex;
    gap: 20px;
    width: 100%;
    font-family: Poiret;
    font-size: 24px;
    animation-name: fadein;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}

.buttons a {
    flex: 1 0 0px;
    border: 2px solid #202539;
    height: 46px;
    text-align: center;
    transition: 0.2s;
    text-decoration: none;
    position: relative;
}

.nolink {
    cursor: default;
}

.buttons a:hover {
    background-color: #202539;
    border: 2px solid #202539;
}

.buttons a span {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    text-align: center;
    line-height: 46px;
    color: #202539;
    transition: 0.2s;
}

.buttons a:hover span {
    color: #FFFFFF;
}

.buttons a span.btextback {
    color: transparent;
    text-shadow: 0 0 0px #20253900;
}

.buttons a:hover span.btextback {
    left: 6px;
    right: 0px;
    top: -1.5px;
    bottom: 2px;
    color: transparent;
    text-shadow: 0 0 1px #8fadbfFF;
}

.buttons a:hover span.btextfront {
    left: 0px;
    right: 6px;
    top: 1.5px;
    bottom: 0px;
}

.buttons a span.btextshadow {
    z-index: -7;
    color: transparent;
    text-shadow: -8px 4px 5px #00000088;
}

.buttons a:hover span.btextshadow {
    color: transparent;
}


.header {
    margin-bottom: 50px;
    border-bottom: 2px solid #202539;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.home-link {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.home-link a {
    text-decoration: none;
    text-align: end;
    margin-bottom: 3px;
    margin-left: 8px;
    color: #202539;
}

.socials-corner {
    padding-top: 15px;
    padding-bottom: 10px;
    margin-right: 15px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.socials-home {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    gap: 10px;
    animation-name: fadein;
    animation-duration: 1s;
    animation-timing-function: ease-in;
    animation-fill-mode: both;
}

a.social {
    width: 46px;
    height: 46px;
    border-radius: 23px;
    background-color: #b7d2f0;
    box-shadow: -6px 3px 5px #00000022;
    display: flex;
    justify-content: center;
    align-items: center;
}

.socials a.social:nth-of-type(1) {
    background-color: #c9f8e4
}

.socials a.social:nth-of-type(2), .socials-three a.social:nth-of-type(1) {
    background-color: #abeae7
}

.socials a.social:nth-of-type(3), .socials-three a.social:nth-of-type(2) {
    background-color: #97d9eb
}

.socials a.social:nth-of-type(4), .socials-three a.social:nth-of-type(3) {
    background-color: #93c5ed
}

.socials a.social:nth-of-type(5) {
    background-color: #9eafe5
}

a.social img {
    max-width: 24px;
    max-height: 24px;
}

.buttons a:hover .bbackground {
    box-shadow: -8px 4px 5px #0002;
}

.buttons a:hover .bshadow {
    border: 1px solid #00000022;
}

.bbackground {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-color: #FFFFFF;
    z-index: -9;
    box-shadow: -8px 4px 5px #0000;
}

.bshadow {
    position: absolute;
    width: 100%;
    top: 4px;
    left: -8px;
    height: 100%;
    background-color: #F000;
    z-index: -8;
    border: 1px solid #00000066;
    filter: blur(2px);
}

.warning {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    text-decoration: none;
    color: black;
}

.warning img {
    height: 200px;
    width: auto;
}

.buffer {
    height: 100px;
}

.buffer-whensmall {
    height: 100px;
}

@font-face {
    font-family: Oxygen;
    src: url(/resources/fonts/Oxygen-Light.ttf);
}

@font-face {
    font-family: Poiret;
    src: url(/resources/fonts/PoiretOne-Regular.ttf);
}

@media (max-width: 800px) {

    .main {
        width: calc(75%);
    }

}

@media (max-width: 650px) {

    .buttons {
        flex-direction: column;
    }

    .buttons a {
        flex: 1 0 auto;
    }

    .colorband {
        bottom: calc(200vh - 25vw - 170px);
    }

    .content {
        align-items: flex-start;
    }

    .main {
        margin-top: 100px;
    }

}

@media (max-width: 500px) {

    .socials {
        justify-content: space-between;
    }

}

@keyframes blurin {
    from {
        filter: blur(6px);
    }
    to {
        filter: blur(0px);
    }
}

@keyframes logo {
    from {
        top: 50%;
    }
    to {
        top: 68%;
    }
}

@keyframes logo-shadow {
    from {
        top: calc(50% + 3px);
    }
    to {
        top: calc(69% + 3px);
    }
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
