html{
    scroll-behavior: smooth;
}

body{
    background-color: red;
    cursor: default;
    height: 100%;
    background-image: linear-gradient(100deg,  red 55%, black 45%);
    overflow-x: hidden;
    display: flex;
    flex-flow: column nowrap;
    height: 100%;
    margin: 0;
}

#page-container {
    flex-flow: row;
    display: flex;
    height: 100vh;
}

#left-container {
    margin-top: 60vh;
    flex-flow: column;
    width: 50vw;
}

#right-container {
    width: 40%;
    margin-left: calc(40% - 500px);
}

.white-box {
    background-color: white;
    
}

#links-container{
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    max-height: 53px;
}

#links-box{
    padding: 0 50px;
    margin-left: 5%;
    margin-bottom: -5px;
    font-size: 50px;
    width: 49.5%;
    transform: rotate(3deg);
    text-align: center;
    position: relative;
    z-index: 1;
}

#links-box a{
    margin: 0 7.5%;
}

.project-link:link{
    text-decoration: underline;
}

#links-black-backing{
    position: absolute;
    background-color: black;
    top: 0;
    left: 30px;
    padding: 0 50px;
    font-size: 50px;
    width: 49.5%;
    transform: scale(1.1,1.5) rotate(3.5deg);
    z-index: -2;
}

#name{
    padding: 1vw 1vw;
    text-shadow: 3px 3px 1px lightgray;
    text-align: center;
    font-family: "Rowdies";
    font-size:4vw;
    transform: skew(-5deg,-3deg);
    margin: 25px;
    box-shadow: 0 0 0 1vw black;
}

#roles-container{
    position: relative;
    margin-bottom: 7px;
    font-family: "Bebas Neue";
}

#roles{
    font-size: 30px;
    margin-right: 30px;
    transform: rotate(-2deg);
    position: relative;
    text-align: center;
    z-index: 2;
    min-width: 460px;
}

#roles-black-backing{
    position: absolute;
    top: 0;
    left: 5px;
    font-size: 30px;
    background-color: black;
    transform: scale(1.1,1.5) rotate(-2deg);
    z-index: -4;
    width: 70%;
}

ul{
    list-style-type: none;
}

ul.options-dropdown{
    padding: 0;
    transform: rotate(-1deg);
    margin-left: 2vw;
}

ul.options-dropdown li{
    padding-left: 2vw;
    margin: -1px 0;
}

ul.options-dropdown li:nth-child(1) {margin-left: 67px; width: 15vw;}
ul.options-dropdown li:nth-child(2) {margin-left: 52px; width: 17vw;}
ul.options-dropdown li:nth-child(3) {margin-left: 33px; width: 16vw;}
ul.options-dropdown li:nth-child(4) {margin-left: 20px; width: 14vw;}
ul.options-dropdown li:nth-child(5) {margin-left: 0px; width: calc(20vw - 10%);}

.options-dropdown li:hover{
    background-color: red;
}

ul.options-dropdown li a{
    display: block;
    width: 100%;
    height: 100%;
}

a{
    text-decoration: none;
    color: white;
}

.link-icons{
    color: black;
}

.link-icons:hover{
    color: red;
}

.black-box {
    position: relative;
    background-color: black;
    color: white;
    padding: 10px 0px 10px 20px;
    font-size: 20px;
    font-family: "Darumadrop One";
    z-index: 0;
    letter-spacing: calc(0.50vw - 5.5px);
}

#white-backing{
    position: absolute;
    width:100%;
    top: 0px;
    left: 1.25vw;
    z-index: -1;
    font-size: 20px;
    color: black;
    transform: scale(1.1,1.25) rotate(1.5deg);
}

.white-box-backing{
    background-color: white;
    color: white;
    padding: 10px 0px 10px 20px;
    box-shadow: 0 0 0 1px white;
}

#black-backing{
    position: absolute;
    width: 100%;
    top: -20px;
    left: 4vw;
    z-index: -2;
    font-size: 20px;
    color:white;
    transform: scale(1.3,1.2) rotate(-.5deg);

}

.black-box-backing{
    background-color: black;
    padding: 5px 0px 13px 20px;
    box-shadow: 0 0 0 1px black;
}

.bottom-black-backing-shadow{
    background-color: black;
    padding: 10px 0px 10px 20px;
    box-shadow: 
    0 30px 0 black,
    0 -5px 0 black;
    transform: rotate(1.5deg);
    width: 20%;
}

#options-container{
    position: relative;
}

#description{
    color: white;
    background-color: black;
    box-shadow: 0 0 0 10px white;
    margin-left: 15%;
    transform: rotate(-1deg) skew(2deg, 0deg);
    padding: 20px;
    font-family: "Darumadrop One";
    font-size: 20px;
}

h1{
    text-align: center;
}

#name-container{
    display: flex;
    flex-flow: column;
    align-items: center;
    font-family: "Darumadrop One";
    font-size: 50px;
    margin-top: -70px;
    position: relative;
    z-index: 1;
}

#first-name, #last-name{
    display: flex;
    flex-flow: row nowrap;
    margin: -60px 0;
}

#showcase-container{
    display: flex;
    justify-content: center;
    flex-flow: column;
    align-items: center;
    background-color: black;
    width: 100vw;
}

.showcase-item{
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 90%;
    color: white;
    margin: 5vh 0;
}

h2{
    display: inline-block;
    font-family: "Rowdies";
    font-size: 40px;
    color: black;
    background-color: white;
    width:auto;
    text-align: center;
    padding: 0 10vw;
    box-shadow: 0 0 0 10px black;
}

#game-development-container h2{
    transform: rotate(1deg);
}

#web-development-container h2{
    transform: rotate(-2deg);
}

.project{
    display: flex;
    flex-direction: row;
}

.project-info{
    width: 25%;
    text-align: center;
}

.project-info p{
    font-family: "Rowdies";
    font-size: 1.15rem
}

.project-description{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 1.4em;
    width: 50%;

    padding: 1vw;
    box-shadow: 0 0 0 10px white;
}

.project-img{
    width: 25%;
    min-width: 0;
    max-width: 100%;
    flex-shrink: 1;
    display: flex;
    justify-content: center;
    align-items: center;

}

.project-img img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.project-grid{
    display:flex;
    flex-flow: row nowrap;
    width: 100%;
    column-gap: 1vw;
    margin: 2vh 0;
    height: 100%;
}

.right-lean-proj{
    display: flex;
    flex-flow: row-reverse nowrap;
}

h3{
    text-align: center;
    font-size: 3vw;
    font-family: "Bebas Neue";
}

.project-description, .work-time{
    font-family: "Darumadrop One";
}

#writings-list li{
    background-color: black;
}

.image{
    border: 10px;
    border-color: white;
}

#writing-grid{
    display: grid;
    gap: 2vw;
    background-color: black;
    padding: 1vw;
    box-shadow: 0 0 0 10px white, 0 0 0 15px black;
    font-family: "Darumadrop One";
    font-size: 1.5rem;
}

.writing-name{
    grid-column: 1;
}

.published{
    grid-column: 2;
}

.writing-link{
    grid-column: 3;
}

.employer{
    font-family: "Rowdies"
}

.employee-role{
    font-family: "Bebas Neue";
}

#work-experience-container{
    font-size: 1.4rem;
}

br + br{
    margin-top: 1em;
}

footer{
    background-color: white;
    margin: -10px;
    text-align: center;
    font-family: "Darumadrop One";
    height: auto;
    font-size: 4vh;
    width: 100VW;
}

#footer-art-link{
    color: black;
}

#footer-art-link:link{
    text-decoration: underline;
}

@media (max-width: 1350px) {
    .options-dropdown{
        width: 50%;
    }
    #page-container{
        display: grid;
        grid-template-areas: 
        'top top'
        'left bottom';
    }

    #name{
        font-size:7vw;
    }

    #left-container{
        grid-area: bottom;
        margin-top: -250px;
        width: 100%;
    }

    #name-container{
        display: none;
    }

    #description{
        margin-left: 0;
    }

    #right-container{
        grid-area: top;
        width: 100vw;
        margin-left:0;
    }

    #links-black-backing{
        left:6vw;
        transform: scale(1.1,1.5) rotate(3deg);
    }

    #roles{
        margin-left:2vw;
    }

    #links-box, #links-black-backing{
        width:65%;
    }

    #roles-black-backing{
        width:92%;
        transform: scale(1.1,1.5) rotate(-1.5deg); ;
    }

    .options-dropdown{
        width: 100%;
    }

    #options-container{
        width:80%;
    }

    .black-box{
        letter-spacing: 0.4vw;
    }

    #white-backing{
        left: 2vw;
    }

    #black-backing{
        left: 7vw;
        transform: scale(1.3,1.3) rotate(-0.5deg);
    }

    ul.options-dropdown li:nth-child(1) {margin-left: 67px; width: 30%;}
    ul.options-dropdown li:nth-child(2) {margin-left: 52px; width: 39%;}
    ul.options-dropdown li:nth-child(3) {margin-left: 33px; width: 36%;}
    ul.options-dropdown li:nth-child(4) {margin-left: 20px; width: 34%;}
    ul.options-dropdown li:nth-child(5) {margin-left: 0px; width:  37%;}

    #left-container{
        z-index: 1;
    }

    .project-grid{
        flex-flow: column nowrap;
        align-items: center;
    }

    .project-info{
        width: 100%;
    }

    .project-info h3{
        font-size: 3rem;
    } 

    .project-description{
        width: 80%;
    }

    .project-img{
        width: 80%;
    }
}


@media (max-width: 830px) {
    .options-dropdown{
        width: 100%;
    }

    #page-container{
        display: grid;
        grid-template-areas: 
        'top top'
        'bottom bottom';
    }

    #left-container{
        margin-top: 0px;
    }

    #options-container{
        text-align: center;
        margin-left: 15vw;
        width: 90%;
    }

    ul.options-dropdown li:nth-child(1) {margin-left: 67px; width: 55%;}
    ul.options-dropdown li:nth-child(2) {margin-left: 52px; width: 60%;}
    ul.options-dropdown li:nth-child(3) {margin-left: 33px; width: 60%;}
    ul.options-dropdown li:nth-child(4) {margin-left: 20px; width: 59%;}
    ul.options-dropdown li:nth-child(5) {margin-left: 0px ; width: 66%;} 

    .project-description{
        width: 90%;
    }

    .project-img{
        width: 90%;
    }
}


@media (max-width: 430px) {
    html{
        overflow-x: hidden;
    }

    #name{
        font-size: 15vw;
    }

    #roles{
        margin-left: 1vw;
        font-size: 5.5vw;
    }

    #roles-black-backing{
        width: 100%;
    }

    #links-box a{
        font-size: 10vw;
    }
}