@font-face {
    font-family: 'Distro Bats';
    src: url(fonts/DISTROBT.ttf) format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Hershey Noailles Futura Triplex Light';
    src: url(fonts/Hershey-Noailles-Futura-Triplex-Light.woff) format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Hershey Noailles Futura Triplex Regular';
    src: url(fonts/Hershey-Noailles-Futura-Triplex-Regular.woff) format('woff');
    font-weight: 300;
    font-style: normal;
}

html {
    background-color: white;
}

body {
    font-family: 'Hershey Noailles Futura Triplex Light';
    background-color: white;
    transition: all 0.3s ease;
}

a {
    color: #800080;
}

button {
    font-family: 'Hershey Noailles Futura Triplex Light';
    font-size: 18px;
    color: black;
    cursor: pointer;
}

.nav {
    position: fixed;
    top: 5vh;
    left: 5vw;
    z-index: 1000;
}

.nav a {
    text-decoration: none;
    color: black;
    font-family: 'Distro Bats';
    font-weight: 400;
    font-size: 40px;
}

.navButtons {
    display: flex;
    flex-direction: column;
}

.navButtons button {
    margin-bottom: 20%;
}

.index {
    margin: 5%;
}

#index-email {
    position: fixed;
    bottom: 10%;
}

#server-blurb {
    position: fixed;
    bottom: 10%;
    right: 5%;
    text-align: right;
}

.modeButton {
    position: fixed;
    right: 5%;
}

.easy {
    filter: brightness(90%) contrast(80%) sepia(20%);
    font-size: 160%;
}

.easy body {
    font-family: 'Hershey Noailles Futura Triplex Regular';
}

.inverted {
    filter: invert(1) hue-rotate(180deg);
}

.inverted.easy {
  filter: invert(1) hue-rotate(180deg) brightness(90%) contrast(80%) sepia(20%);
}

.inverted img,
.inverted.easy img,
.inverted #backgroundPattern,
.inverted.easy #backgroundPattern {
  filter: invert(1) hue-rotate(180deg) brightness(111%) contrast(125%) sepia(0%);
}

.work {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 500px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 3%;
    max-width: 80%;
}

.grid img {
    max-width: 400px;
}

.fig {
    padding: 3%;
}

.fig img:hover {
    cursor: pointer;
}

#ambient-gen img {
    filter: invert(1);
}

#backgroundPattern {
    position: fixed;
    top: 0;
    left:0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
    background-size: 620px;
    display: none;
}

#clearBackgroundBtn {
    position: fixed;
    bottom: 5vh;
    left: 3%;
    z-index: 1;
    display: none;
}

#list-container {
    margin: auto;
    padding: 15px;
    max-width: 500px;
    min-height: 100px;
}

#about-list {
    list-style-type: none;
    min-height: 50px;
    margin: 0;
    padding: 0;
}

#about-image {
    padding-top: 5%;
}

.about-slidePointer {
    cursor: pointer;
    font-family: 'Distro Bats';
    font-size: 20px;
    border: none;
    color: black;
    background-color: white;
}

@media only screen and (max-width: 800px) {
    .grid {
    display: flex;
    flex-direction: column;
    margin-top: 25%;
}

.grid img {
    width: 100%;
}

.work {
    padding-bottom: 20%;
}
}

@media only screen and (max-width: 500px) {

    .nav {
        position: fixed;
        top: 3vh;
        left: 5vw;
        z-index: 1000;
    }

    .navButtons, .modeButton {
        position: fixed;
        top: 5vh;
        right: 15%;
        display: flex;
        flex-direction: row;
    }

    .navButtons button,
    .modeButton button {
        margin-left: 15%;
    }

    .index-content {
        padding-top: 15%;
    }
    
    #index-email {
        position: relative;
    }
    
    #server-blurb {
        position: fixed;
        width: 80%;
        bottom: 2%;
        left: 50%;
        right: 0;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .easy #server-blurb {
        font-size: 70%;
    }

    #list-container {
       margin-top: 20%;
    }

    #about-image {
        max-height: 380px;
    }
}