* {
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

.background {
    position: absolute;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.background img {
    transform: translate(200vw, -100vh) rotate(120deg);
    transition: 2.4s;
}

.body {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 5fr 1fr;
    justify-content: space-around;
    align-items: center;
    background-color: var(--scarlet);
    overflow: hidden;
    transition: 2s;
}

h1 {
    font-family: "Smooch Sans";
    font-size: 3em;
    font-weight: 200;
    color: var(--white);
    transition: 2s;
}

a {
    font-size: 3em;
    color: var(--white);
    font-family: "Smooch Sans";
    text-decoration: none;
    transition: 2s;
}

.shaker:hover {
    animation: effect 1s infinite;
}

.shaker2:hover {
    animation: effect2 1s infinite;
    cursor: pointer;
}

.lefthand {
    height: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-right: 2px solid var(--white);
}

.foreground {
    display: none;
}

.username {
    margin-top: 50%;
    display: flex;
    flex-direction: column;
    transition: 2s;
    justify-content: center;
    align-items: center;
    text-wrap: balance;
    font-size: 0.8em;
    line-height: 2.5em;
}

.centerpiece img {
    object-fit: cover;
    height: 80vh;
    max-width: auto;
    transition: 2s;
    transform: translate(10vw, 20vh);
    padding: 0px;
    z-index: 30;
}

.word {
    display: flex;
    flex-direction: row;
}

.letter-top {
    transition: 2s;
    opacity: 0;
    transform: translateY(-100px);
    padding: none;
    margin: none;
    border: none;
    overflow: hidden;
}

.letter-bot {
    transition: 2s;
    opacity: 0;
    transform: translateY(100px);
    padding: none;
    margin: none;
    border: none;
    overflow: hidden;
}

.name {
    height: 40%;
    position: relative;
    left: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    font-family: "Smooch Sans";
    color: var(--lapis);
    font-size: 6em;
    line-height: 0.7em;
    font-weight: 800;
}

.centerpiece {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sidebar {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: var(--lapis);
    border-left: 2px inset var(--black);
    z-index: 5;
    transition: 2s;
    z-index: 40;
    border-right: 2px outset var(--black);
}

.icon {
    margin-top: 50%;
}

.menu {
    margin-bottom: 30%;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    transition: 2s;
}

/* WORK */

.work-body {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 5fr 1fr;
    justify-content: space-around;
    align-items: center;
    background-color: var(--scarlet);
    overflow: hidden;
    transition: 2s;
}

.work {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: top;
    text-align: left;
    height: 100vh;
}

.work h1 {
    font-family: "Special Gothic Expanded One";
}

.work h2 {
    font-family: "Smooch Sans";
    color: var(--white);
    font-weight: 600;
    font-size: 3em;
    line-height: 0.8em;
}

.partition {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 5%;
    height: 100%;
}

.panel {
    display: flex;
    flex-direction: column;
    justify-content: top;
    align-items: center;
    width: 70%;
    height: 100%;
}

.panel-content {
    display: none;
    flex-direction: column;
    align-items: left;
    padding: 2%;
    overflow: scroll;
    transition: 2s;
}

.panel-content iframe {
    width: 90%;
    height: 45vh;
    border-radius: 10px;
    padding: 8px;
    border-radius: 6px;
}

.panel a {
    font-size: 1.6em;
    text-decoration: underline;
}

.panel-content img {
    height: 30vh;
    border-radius: 10px;
    max-width: 90%;
    object-fit: scale-down;
    padding: 8px;
}

li a {
    font-size: 1.6em;
    text-decoration: underline;
}

#twitch {
    color: var(--white);
    font-family: "Smooch Sans";
    font-weight: 300;
    font-size: 1em;
    width: 90%;
    text-wrap: balance;
    margin-top: 5px;
}

.panel-content p {
    color: var(--white);
    font-family: "Smooch Sans";
    font-weight: 300;
    font-size: 1.6em;
    width: 90%;
    text-wrap: balance;
    margin-top: 5px;
}

.directory {
    display: flex;
    flex-direction: column;
    align-items: left;
    width: 20%;
    height: 100%;
    border-left: 2px solid var(--white);
    padding: 2%;
}

.directory h2 {
    border-bottom: 2px solid var(--white);
    padding: 0px;
    line-height: 0.8em;
}

#menubtn {
    text-align: center;
    flex-direction: row;
    justify-content: center;
    display: none;
    font-family: "Smooch Sans";
    color: var(--white);
    border: 2px solid var(--black);
    padding: 2%;
    background-color: var(--lapis);
}

.directory-links {
    margin-top: 5px;
}

.directory-links h3 {
    font-family: "Smooch Sans";
    display: flex;
    flex-direction: column;
    align-items: left;
    text-wrap: balance;
    font-size: 2em;
    line-height: 0.8em;
}

#post50 {
    display: flex;
}

.link1 {
    color: var(--white);
    font-weight: 200;
}

.link2 {
    color: var(--lapis);
    font-weight: 600;
}

/* ABOUT */

.about-body {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 5fr 1fr;
    justify-content: space-around;
    align-items: left;
    background-color: var(--scarlet);
    overflow: hidden;
    transition: 2s;
}

.about {
    padding: 5%;
    transition: 2s;
}

.image-gallery {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.about img {
    height: 23vw;
    border-radius: 5px;
}

.col {
    display: flex;
    flex-direction: column;
    justify-content: top;
    align-items: center;
    text-align: center;
    text-wrap: balance;
}

.col p {
    font-family: "Smooch Sans";
    color: var(--white);
    width: 100%;
}

.about h1 {
    font-size: 3.2em;
    text-align: left;
    margin: none;
    padding: none;
    font-family: "Special Gothic Expanded One";
}

.about-body h2 {
    font-family: "Smooch Sans";
    color: var(--white);
    font-size: 2em;
    font-weight: 300;
}

.about-body h3 {
    font-family: "Smooch Sans";
    color: var(--white);
    font-size: 1.4em;
    font-weight: 300;
}



/* CONTACT */

.contact-body {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 5fr 1fr;
    justify-content: space-around;
    align-items: center;
    background-color: var(--scarlet);
    overflow: hidden;
    transition: 2s;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: left;
    padding: 5%;
    justify-content: space-evenly;
    text-align: left;
    text-wrap: balance;
}

.contact-links {
    display: flex;
    flex-direction: column;
    justify-content: left;
    width: 100%;
}

.contact h1 {
    font-family: "Special Gothic Expanded One";
    font-size: 5em;
    font-weight: 600;
    line-height: 0.8em;
}

.contact h2 {
    font-family: "Special Gothic Expanded One";
    font-size: 3em;
    font-weight: 200;
    line-height: 0.8em;
    color: var(--lapis);
}

#contact-links {
    margin-top: 20px;
    border-top: 2px solid var(--white);
    padding-top: 2%;
    opacity: 0;
    transform: translateY(30vh);
    transition: 2s;
}

.contact h3 {
    font-family: "Smooch Sans";
    color: var(--white);
    font-size: 1.6em;
    font-weight: 500;
    margin-top: 10px;
}

.contact a {
    font-family: "Smooch Sans";
    color: var(--white);
    font-size: 1.6em;
    font-weight: 500;
    text-decoration: underline;
}

/* ANIMATION */

#headline {
    opacity: 0;
    transform: translateX(-20vw);
}

#fadein {
    opacity: 0;
    transition: 2s;
}

#fadein2 {
    opacity: 0;
    transition: 2s;
}

#next {
    opacity: 0;
    transform: translateX(-20vw);
    transition: 2s;
}

#next2 {
    opacity: 0;
    transform: translateX(-20vw);
    transition: 2s;
}

#next3 {
    opacity: 0;
    transform: translateX(-20vw);
    transition: 2s;
}

#next4 {
    opacity: 0;
    transform: translateY(20vh);
    transition: 2s;
}

#one {
    transform: translateX(50px);
    opacity: 0;
}

#two {
    transform: translateX(50px);
    opacity: 0;
}

#three {
    transform: translateX(50px);
    opacity: 0;
}

#four {
    transform: translateX(50px);
    opacity: 0;
}

@keyframes effect {
    from {
        transform: rotate(3deg);
        color: var(--white);
    }
    5% {
        transform: rotate(-2deg);
        color: var(--scarlet);
    }
    15% {
        transform: rotate(3deg);
    }
    25% {
        transform: rotate(-4deg);
    }
    35% {
        transform: rotate(3deg);
    }
    45% {
        transform: rotate(-3deg);
    }
    55% {
        transform: rotate(4deg);
    }
    to {
        transform: rotate(-4deg);
        color: var(--white);
    }
}

@keyframes effect2 {
    from {
        transform: rotate(3deg);
    }
    5% {
        transform: rotate(-2deg);
    }
    15% {
        transform: rotate(3deg);
    }
    25% {
        transform: rotate(-4deg);
    }
    35% {
        transform: rotate(3deg);
    }
    45% {
        transform: rotate(-3deg);
    }
    55% {
        transform: rotate(4deg);
    }
    to {
        transform: rotate(-4deg);
        box-shadow: none;
    }
}

/* VARIABLES */

:root {
    --lapis: #29339B;
    --white: #F7F7FF;
    --black: #131112;
    --scarlet: #FF3A20;
    --gray: #7F7F7F;
}

/* MOBILE */

@media all and (width <= 950px) {
    .body {
        overflow: scroll;
        grid-template-columns: 2fr 1fr;
    }

    .work-body {
        overflow: scroll;
    }

    .contact-body {
        grid-template-columns: 2fr 2fr;
    }

    .contact-body h1 {
        font-size: 3em;
    }

    .contact-body h2 {
        font-size: 1.875em;
    }

    .contact-links a, h3 {
        font-size: 1.875em;
    }

    .image-gallery {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .col p {
        font-size: 0.8em;
    }

    .about-body {
        overflow: scroll;
    }

    .sidebar a {
        font-size: 1.6em;
    }

    .icon img {
        width: 20vw;
    }

    .directory {
        display: none;
        background-color: var(--scarlet);
        width: 100%;
        border-left: 0px;
    }

    .panel {
        width: 100%;
    }

    .partition {
        flex-direction: column;
    }

    .lefthand {
        display: none;
    }

    #menubtn {
        display: flex;
    }

    .foreground {
        z-index: 10;
        background-color: transparent;
        width: 100vw;
        height: 100vh;
        position: absolute;
        overflow: hidden;
        display: block;
    }

    #name {
        display: flex;
        transform: translate(-55vw, -5vh);
        font-size: 12em;
    }

    .letter-top {
        color: var(--white);
    }

    .letter-bot {
        color: var(--white);
    }

}