    :root {
        --color-light: #f5f5f5;
        --color-dark: #1f1f1f;
        --color-medium: #525252;
        --font-size-sm: 16px;
        --font-size-md: 20px;
        /*Base font size*/
        --font-size-lg: 25px;
        --font-size-xl: 31.25px;
    }

    html {
        font-size: var(--font-size-md);
    }

    * {
        text-decoration: none;
        margin: 0;
        padding: 0;
        border: 0;
        box-sizing: border-box;
    }

    body {
        background-color: var(--color-dark);
        font-family: "Anonymous Pro", monospace;
        overflow: hidden;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    p {
        font-size: var(--font-size-sm);
        color: var(--color-dark);
        line-height: 1.4;
    }

    h1 {
        font-size: var(--font-size-xl);
        color: var(--color-dark);
        line-height: 1.2;
    }

    h2 {
        font-size: var(--font-size-lg);
        color: var(--color-dark);
        line-height: 1.2;
    }

    h3 {
        font-size: var(--font-size-md);
        color: var(--color-dark);
        line-height: 1.2;
    }

    /* room construction */
    .viewport-container {
        --corner-size: calc(5vh + 5vw);
        position: relative;
        width: 100vw;
        height: 100vh;
        max-width: 177.78vh;
        max-height: 56.25vw;
        background-color: var(--color-light);
        overflow: hidden;
    }

    @media screen and (max-width: 600px) {
        .viewport-container {
            --corner-size: calc(3vh + 3vw);
            max-width: 100vh;
            max-height: 100vw;
            /* Smol */
        }
    }

    div {
        box-sizing: border-box;
    }

    a:link {
        color: var(--color-dark);
    }

    a:visited {
        color: var(--color-dark);
    }

    .text-link:hover {
        color: var(--color-light);
        background-color: var(--color-medium);
    }

    .center-text {
        position: absolute;
        top: 15%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: var(--color-dark);
        font-size: var(--font-size-lg);
        pointer-events: none;
        z-index: 1;
    }

    .logo {
        position: absolute;
        top: 3%;
        left: 50%;
        transform: translateX(-50%);
        width: 7%;
        aspect-ratio: 1 / 1;
        background-color: #F8F8FF;
        border: 1px solid var(--color-dark);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2vw;
        font-weight: normal;
        color: var(--color-dark);
        z-index: 10;
        transition: transform 1s;
    }

    .logo:hover {
        transform: translateX(-50%) rotate(360deg) scale(1.1);
    }

    .footer {
        font-size: var(--font-size-sm);
        position: absolute;
        bottom: 1vw;
        width: 100%;
        color: var(--color-dark);
        text-align: center;
    }

    .label {
        color: var(--color-dark);
        font-size: var(--font-size-sm);
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 0.1em;
    }

    .side-wall {
        position: absolute;
        width: var(--corner-size);
        height: calc(100% - var(--corner-size));
    }

    .left-wall {
        left: 0;
        top: 0;
    }

    .right-wall {
        right: 0;
        top: 0;
    }

    .back-wall-center {
        position: absolute;
        left: var(--corner-size);
        width: calc(100% - 2 * var(--corner-size));
        height: calc(100% - var(--corner-size));
        border-bottom: 1px solid var(--color-dark);
        border-right: 1px solid var(--color-dark);
        border-left: 1px solid var(--color-dark);
        background-color: var(--color-light);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .back-wall-end {
        position: absolute;
        left: var(--corner-size);
        width: calc(100% - 2 * var(--corner-size));
        height: calc(100% - var(--corner-size));
        border-bottom: 1px solid var(--color-dark);
        border-right: 1px solid var(--color-dark);
        border-left: 1px solid var(--color-dark);
        background-color: var(--color-light);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    }

    .corner {
        width: var(--corner-size);
        height: var(--corner-size);
    }

    .left-corner {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        border-bottom: 1px solid var(--color-dark);
        border-right: 1px solid var(--color-dark);
        transform-origin: left bottom;
        transform: skew(-45deg);
    }

    .right-corner {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        border-bottom: 1px solid var(--color-dark);
        border-right: 1px solid var(--color-dark);
        transform-origin: left bottom;
        transform: skew(45deg);
    }

    /*lobby*/
    .center-doors {
        display: flex;
        gap: 9vw;
        z-index: 5;
        flex-direction: row;
        justify-content: center;
    }

    .door {
        width: 12vw;
        height: 24vw;
        background: #F8F8FF;
        border: solid var(--color-dark);
        border-width: 1px;
        border-bottom: none;
        position: relative;
        cursor: pointer;
        text-decoration: none;
        display: flex;
        align-items: start;
        vertical-align: baseline;
        justify-content: center;
        transition: 0.3s ease-in-out;
    }

    .door:hover {
        transform: skewY(10deg);
        transform-origin: 100% 0%;
    }

    .door::before {
        content: '';
        position: absolute;
        left: 5%;
        top: 50%;
        width: 14%;
        height: 2%;
        background-color: ivory;
        border: 1px solid var(--color-dark);
        transition: 0.3s ease-in-out;
    }

    .door:hover::before {
        transform: rotate(15deg);
        transform-origin: 0% 0%;
    }

    .side-windows {
        position: absolute;
        bottom: 10%;
        width: 100%;
        height: 45%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .window-right {
        width: 60%;
        height: 100%;
        background: #f0f6ff;
        border: solid var(--color-dark);
        border-width: 1px;
        display: flex;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease;
        transform: skewY(45deg);
    }

    .window-right:hover {
        transform: skewY(45deg) scale(1.1);
        transform-origin: center;
    }

    .window-left {
        width: 60%;
        height: 100%;
        background: #f0f6ff;
        border: solid var(--color-dark);
        border-width: 1px;
        display: flex;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease;
        transform: skewY(-45deg);
    }

    .window-left:hover {
        transform: skewY(-45deg) scale(1.1);
        transform-origin: center;
    }

    /*about and contacts windows*/
    .center-window {
        width: 40%;
        height: 60%;
        padding: 1%;
        background: #f0f6ff;
        border: solid var(--color-dark);
        border-width: 1px;
        display: flex;
        text-align: center;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: auto;
    }

    .side-doors {
        position: absolute;
        bottom: calc(0% - var(--corner-size) / 2);
        width: 100%;
        height: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .door-right,
    .door-left {
        width: 60%;
        height: 100%;
        left: 50%;
        background: #F8F8FF;
        border: solid var(--color-dark);
        border-width: 1px;
        border-bottom: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .door-right {
        transform: skewY(45deg);
    }

    .door-left {
        transform: skewY(-45deg);
    }

    /* projects room */
    .picture-frame {
        position: relative;
        width: 60%;
        height: 60%;
        background: #F8F8FF;
        border: 1px solid var(--color-dark);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .picture-frame input[type="radio"] {
        display: none;
    }

    .slides {
        display: flex;
        width: 100%;
        height: 100%;
        position: relative;
    }

    .slide {
        min-width: 100%;
        height: 100%;
        position: absolute;
        opacity: 0;
        overflow-y: auto;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #slide1:checked~.slides .slide:nth-child(1),
    #slide2:checked~.slides .slide:nth-child(2),
    #slide3:checked~.slides .slide:nth-child(3),
    #slide4:checked~.slides .slide:nth-child(4),
    #slide5:checked~.slides .slide:nth-child(5) {
        opacity: 1;
        z-index: 1;
    }

    .navigation {
        position: absolute;
        bottom: 1%;
        z-index: 2;
        display: flex;
        gap: 1vw;
    }

    .navigation label {
        width: 1vw;
        height: 1vw;
        border: 1px solid var(--color-dark);
        border-radius: 50%;
        cursor: pointer;
        background: var(--color-light);
    }

    .navigation label:hover {
        background: var(--color-medium);
    }

    #slide1:checked~.navigation label:nth-child(1),
    #slide2:checked~.navigation label:nth-child(2),
    #slide3:checked~.navigation label:nth-child(3),
    #slide4:checked~.navigation label:nth-child(4),
    #slide5:checked~.navigation label:nth-child(5) {
        background: var(--color-dark);
    }

    .arrow {
        position: absolute;
        top: 50%;
        display: flex;
        width: 1vw;
        height: 1vw;
        cursor: pointer;
        z-index: 2;
        align-items: center;
        font-size: var(--font-size-xl);
    }

    .arrow.prev {
        left: 5%;
    }

    .arrow.next {
        right: 5%;
    }

    /*research library*/
    .shelves {
        position: absolute;
        width: 100%;
        height: 50%;
        display: flex;
        gap: 7vw;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .shelf {
        position: relative;
        width: 80%;
        height: 10px;
        background: #f0f6ff;
        border: 1px solid var(--color-dark);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-content: center;
    }

    .books {
        position: absolute;
        width: 100%;
        bottom: 100%;
        display: flex;
        align-items: flex-end;
        gap: 0.1%;
    }

    .book {
        max-height: 7vw;
        width: fit-content;
        background: #f0f6ff;
        border: 1px solid var(--color-dark);
        display: flex-end;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        font-size: var(--font-size-md);
        transition: all 0.3s ease-in-out;
    }

    .book:hover {
        background-color: #F8F8FF;
    }

    .book-title {
        writing-mode: vertical-rl;
        text-align: center;
        transform: rotate(180deg);
        padding: 4px;
    }

    .overlay {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0.0, 0.0, 0.0, 0.88);
        transition: opacity 500ms;
        visibility: hidden;
        opacity: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .overlay:target {
        visibility: visible;
        opacity: 1;
        z-index: 15;
    }

    .book-popup {
        margin: 5vw auto;
        padding: 1vw;
        background: var(--color-light);
        border-radius: 5px;
        max-height: 20%;
        width: 80%;
        position: relative;
        overflow: auto;
    }

    .book-popup .close {
        position: absolute;
        top: 1vw;
        right: 2vw;
        transition: all 200ms;
        font-size: var(--font-size-xl);
        font-weight: bold;
        text-decoration: none;
        color: var(--color-dark);
    }

    .book-popup .close:hover {
        color: var(--color-medium);
        transform: scale(200%);
    }

    @media screen and (max-width: 600px) {
        .book {
            font-size: var(--font-size-sm);
        }

        .book-popup {
            height: fit-content;
            width: 70%;
        }

        p {
            font-size: var(--font-size-sm);
        }

        h1 {
            font-size: var(--font-size-xl);
        }

        h2 {
            font-size: var(--font-size-md);
        }

    }

    /* interests room */
    .door-frame {
        height: 60%;
        width: 20%;
        border: 1px solid var(--color-dark);
        position: relative;
        perspective: 1000px;
        text-align: center;
        overflow: auto;
    }

    .door-double {
        background-color: #F8F8FF;
        height: 100%;
        width: 50%;
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }

    #left-door {
        top: 0;
        left: 0;
        border-right: 1px solid var(--color-medium);
        transform-origin: left;
        transition: transform 0.5s;
    }

    #right-door {
        top: 0;
        right: 0;
        border-left: 1px solid var(--color-medium);
        transform-origin: right;
        transition: transform 0.5s;
    }

    .shape {
        border: 1px solid var(--color-medium);
        width: 60%;
        height: 40%;
    }

    .knob {
        width: 6%;
        height: 10%;
        background-color: var(--color-dark);
        position: absolute;
    }

    #left-knob {
        top: 50%;
        right: 10%;
    }

    #right-knob {
        top: 50%;
        left: 10%;
    }

    .door-frame:hover #left-door {
        transform: rotateY(-140deg);
    }

    .door-frame:hover #right-door {
        transform: rotateY(140deg);
    }

    .img {
        max-width: 100%;
        height: auto;
        align-items: center;
        justify-content: center;
    }