:root {
    --color: rgba(0,0,0,1);
    --color2: rgba(0,0,0,1);
    --time: 0.75s;
}

@font-face {
    font-family: "Panton";
    src: url(../fonts/Panton-LightCaps.otf) format("opentype");
}

@font-face {
    font-family: 'Roboto Mono', monospace;
    src: url(../fonts/RobotoMono-ExtraLight.ttf) format("truetype");
}

body, html {
    margin: 0;
    scroll-behavior: smooth;
    font-family: panton, serif;
    height: 90%;
    color: #f0f8ff;
}
::-webkit-scrollbar {
    width: 0;
}

#background {
    height: 116vh;
    width: 116vw;
    top: -8vh;
    left: -8vw;
    position: fixed;
    background-size: cover;
    object-fit: cover;
    z-index: -1;
    background-color: #0f0f0f;
    transition: background-image var(--time) ease;
    filter: blur(0.5vw) brightness(0.25);
    transform-style: preserve-3d;
}


ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
    z-index: 15;
    transition: color var(--time) ease;
}

li {
    display: inline-block;
}

.button {
    width: 250px;
    animation: fadein 2s;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

li a {
    display: block;
    color: white;
    text-align: center;
    vertical-align: center;
    padding: 16px 16px;
    font-size: x-large;
    text-decoration: none;
}
li a:hover {
    color: var(--color);
    transition: 0.3s ease-in-out;
}



#logo {
    position: fixed;
    top: calc(50vh - 235px);
    left: calc(50vw - 220px);

    border-radius: 40%;

    height: 480px;
    width: 450px;

    transition: opacity calc(var(--time) / 5) ease;
    transform: translate(0,0);
}

#logo:hover #kris {
    border: 8px solid var(--color);
}

#logo:hover #kris-text {
    color: var(--color);
}



#kris {
    position: fixed;
    top: calc(240px - 180px);
    left: calc(225px - 136px);
    z-index: 10;

    width: 256px;
    height: 256px;

    border-radius: 50%;
    border: 8px solid rgba(16,16,16,0.65);

    transition: border-color var(--time) ease;
}

#kris-text {
    font-size: xx-large;
    font-weight: 1000;
    position: fixed;
    top: calc(240px + 110px);
    left: calc(225px - 136px);
    z-index: 11;

    color: rgba(16,16,16, 0.85);
    transition: color var(--time) ease;
}

#kris-background, #kris-background-blur {
    position: fixed;

    border-radius: 50%;

    background-size: cover;
    background-position: center;

    transition: background-image var(--time) ease;
}
#kris-background {
    top: calc(240px - 172px);
    left: calc(225px - 128px);
    z-index: 9;

    width: 256px;
    height: 256px;
}

#kris-background-blur {
    top: calc(40px);
    left: calc(64px);
    z-index: 8;

    width: 320px;
    height: 320px;

    filter: blur(32px);
}


#main {
    clear: both;
    margin: 110vh auto 10vh auto;
    text-align: center;
    width: 100vw;
    z-index: 1;
}

.block {
    margin-top: -32px;
    background-image: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(16,16,16,0.55));
    min-height: 100vh;
}

.subblock1 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.subblock2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.left, .right {
    width: 50%;
}

.left a, .right a {
    margin-bottom: 10px;
    display: block;
}

.block > h1 {
    font-size: xxx-large;
    padding-top: 150px;
    font-style: italic;
}
.block > p {
    font-family: 'Roboto Mono', monospace;
    margin-left: 25vw;
    width: 50vw;
    line-height: 24px;
}

.subblock2 > a > img {
    height: 64px;
    max-width: 96px;
    border-radius: 33%;
    padding: 10px;
    vertical-align: middle;
}

.subblock2 > a {
    font-size: x-large;
    padding: 10px;
    width: 450px;
    border: 4px solid transparent;
    background-image: linear-gradient(0deg, rgba(0,0,0,0.4), rgba(0,0,0,0.4));
    border-radius: 40px;
    transition: var(--time) ease;
    font-family: 'Roboto Mono', monospace;
}

.subblock2 > a > img {
    border-radius: 10px;
}

.subblock2 > a:hover {
    color: var(--color);
    border: 4px solid var(--color2);
    background-color: var(--color2);
}

a {
    color: #bbb;
    text-decoration: none;
    transition: color var(--time) ease;
}
a:visited {
    color: #bbb;
}


#footer {
    font-size: large;
    position: fixed;
    bottom: 0;
    left: 0;
    text-align: center;
    width: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1), rgba(0, 0, 0, 0)) no-repeat;
    background-size: 100%;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.35);
    z-index: 0;
}