@font-face {
    font-family: LibertinusSerif;
    src: url("/res/fonts/LibertinusSerif-Regular.ttf") format("truetype");
}
@font-face {
    font-family: AlienBlock;
    src: url("/res/fonts/AlienBlock-Regular.ttf") format("truetype");
}

* {
    font-family: LibertinusSerif;
    font-size: 18px;
}

::selection {
    color: #fffded;
    background-color: #1b6047aa;
}

a {
    color: inherit;
}

#bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: -9999;
    display: block;
}

.corner {
    position: absolute;
    filter: drop-shadow(0 2px 0 #fffded) drop-shadow(0 2px 0 #fffded) drop-shadow(0 2px 0 #fffded);
}

.top {
    height: 85vh;
}

.bottom {
    margin-top: 150px;
    color: #fffded;
    min-height: 700px;
}

@keyframes TitleIn {
    0% { margin-right: 24px; opacity: 0; }
    100% { margin-right: 12px; opacity: 1; }
}

.title {
    text-align: right;
    font-size: 64px;
    font-family: AlienBlock;
    margin-right: 12px;
    color: #1e1e28;
    text-shadow: 0 2px 0 #fffded, 0 4px 0 #fffded, 0 6px 0 #fffded;
    animation: TitleIn 1.6s cubic-bezier(0.68, -0.55, 0.27, 2.55) forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.subtitle {
    text-align: right;
    font-size: 24px;
    margin-right: 12px;
    line-height: 1.5;
    color: #1e1e28;
    text-shadow: 0 1px 0 #fffded, 0 2px 0 #fffded;
}
.subtitle span {
    opacity: 0;
    animation: TitleIn 1.6s cubic-bezier(0.68, -0.55, 0.27, 2.55) forwards;
    animation-delay: calc(sibling-index() * 0.1s + 0.6s);
}

#quote {
    opacity: 0.75;
    text-align: center;
}

.switches {
    margin-top: 24px;
    display: flex;
    gap: 48px;
    position: absolute;
    left: 50vw;
    transform: translateX(-50%);
    user-select: none;
}
.switch {
    font-size: 32px;
    font-family: AlienBlock;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.switch.selected {
    text-shadow: 0 6px 0 #fffded3a;
    cursor: not-allowed;
    text-decoration: underline;
    text-decoration-thickness: 6px;
}
.switch:not(.selected) {
    color: #fffded3a;
    cursor: pointer;
    transform: translateY(6px);
    text-decoration-thickness: 0px;
}
.switch:not(.selected):hover {
    color: #f5974f;
    text-shadow: 0 6px 0 #f5974f3a;
    cursor: pointer;
    transform: translateY(0px);
}

#content {
    margin: 108px auto;
    width: min(85vw, 800px);
    min-height: 200px;
    line-height: 1.33;
}

.project {
    width: 100%;
    background-color: #fffded06;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 8px;
}

.projectTitle {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}
.projectDescription {
    opacity: 0.8;
}
.projectURL, .projectURL a {
    opacity: 0.5;
    color: #fffded;
    font-size: 14px;
    text-decoration: none;
}
.projectURL:hover {
    text-decoration: underline;
}

.socials {
    display: flex;
    width: 100%;
}

.socialgroup {
    border-right: 1px solid #fffded3a;
    height: 500px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.socialgroup:last-child {
    border-right: none;
}

.socialgroup > :first-child {
    text-align: center;
}

.icons {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.social {
    background-color: #fffded06;
    border-radius: 8px;
    width: 60px;
    padding: 12px;
    user-select: none;
    transition: background-color 0.3s ease;
}
.social:hover {
    cursor: pointer;
    background-color: #fffded16;
}
.social:last-child {
    margin-bottom: 0;
}