*{  
    margin: 0;
    padding: 0;
    font-family: 'Jost', sans-serif;
}

@font-face {
    font-family: bro;
    src: url(/shared-resources/old/fonts/BrolinkDemo-VGyMZ.otf);
}


@font-face {
    font-family: against;
    src: url(/shared-resources/old/fonts/againstregular.ttf);
}

@font-face {
    font-family: cfour;
    src: url(/shared-resources/fonts/Cfour.otf);
}

@font-face {
    font-family: cap;
    src: url(/GAME_PROJECTS/HiveGrind/Capuche\ Trial.otf);
}

body {
    margin-bottom: 1.5rem;
}

.main img {
    width: 400px;
    min-width: 100%;
    max-width: 100%;
    padding-top: 6.5rem;
    align-self: center;
}

h1 {
    font-family: against;
    font-style: bold;
}

body{
    background-color: #FAF9F6;
}

html {
    scroll-behavior: smooth !important;
}

nav {
    position: fixed;
    top: 0;
    width: 98%;
    padding-top: 1rem;
    z-index: 9999;
    background-color: #FAF9F6;
    padding-bottom: 1rem;
}

nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 1rem;
}

nav li {
    height: 70px;
}

nav li:first-child{
    margin-right: auto;
    margin-left: 1rem;
}

nav #first-element {
    margin-right: auto;
    font-weight: bolder;
    color: #000000;
    font-family: cfour; 
    font-size: 2rem;
    background-color: #FF5677;
    border-radius: 5px;
}

nav a {
    height: 100%;
    padding: 0 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    border-radius: 5px;
    color: #94ADD7;
    background-color: #4C3F91;
    border-radius: 5px;
    margin: 0 5px;
}

.sidebar {
    position: fixed;
    top: -100vh;
    min-width: 100vw;  
    min-height: 50vh;
    z-index: 9999;
    background-color: #4d3f91;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in-out;
}

.sidebar li {
    height: 4rem;
}

.sidebar li:first-child {
    margin-left: 0;
}

.menuButton {
    display: none;
}

@media(max-width: 800px) {
    .hideOnMobile {
        display: none;
    }
    .menuButton{
        display: block;
    }
}

@media(max-width: 400px) {
    .sidebar {
        width: 100%;
    }
}

.sidebar li:first-child {
    margin-right: 0;
}

.section_header {
    padding-top: 0%;
    height: 100%;
    background-color: #FAF9F6;
    text-align: center;
}

.section_header h1 {
    font-size: 1.5rem;
}

.partial_header {
    padding-top: 2%;
    background-color: #FAF9F6;
    text-align: center;
}

.partial_header h1{
    font-family: bro; 
    font-size: 2rem;
    text-decoration: underline; 
    margin: auto;
    padding-bottom: 2%;
}

.partial_header h2{
    color: #7C73C0;
    margin: 0px;
    padding-bottom: 0;
    margin-top: 0%;
    font-size: 6rem;
}

.section_header h1{
    margin: 0px;
    padding-bottom: 2%;
}

.section_header h2{
    color: #7C73C0;
    margin: 0px;
    padding-bottom: 0;
    margin-top: 0%;
    font-size: 6rem;
}

.projects_grid {
    z-index: 0;
    width: 1800px;
    max-width: 98vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: center;
    margin: 0 auto;
}

.projects_grid img{
    max-width: 100%;
    min-width: 100%;
}

.projects_grid video {
    min-width: 100%;
    max-width: 100%;
    align-self: center;
    margin: 0 auto;
}

.quarter_thumbnail img {
    min-width: 25%;
    max-width: 50%;
    width: 1800px;
}

.quarter_thumbnail {
    min-width: 90vw;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.thumbnail {
    z-index: 0;
    width: 1800px;
    max-width: 98vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: center;
    margin: 0 auto;
}

.thumbnail img{
    min-width: 50%;
    max-width: 50%;
}

.projects_item {
    width: 275px;
    min-width: 25%;
    max-width: 100%;
    background-color: #7C73C0;
    border-radius: 5%;
    padding: 20px;
    margin: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.15s ease-in-out;
}

.projects_item img {
    width: 400px;
    min-width: 100%;
    max-width: 100%;
    align-self: center;
    margin: 0 auto;
}

.projects_item video {
    width: 400px;
    min-width: 100%;
    max-width: 100%;
    align-self: center;
    margin: 0 auto;
}

.projects_item p{
    color: #000000;
    font-weight: bolder;
    font-size: 1.75em;
    text-align: center;
}

.overlay_text {
    width: 100%;
    height: 100%;
    top: -100%;
    right: 0;
    border-radius: 0 0 2% 2%;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(7px);
    display: flex;                   /* defines flexbox */
    align-items: flex-end;           /* bottom of the box */
    justify-content: center;
    transition: all 0.4s ease-in-out;
}

.overlay_text h2 {
    margin-bottom: 10px;
    color: #000000;
}

@media (hover: hover) {
    .projects_item:hover .overlay_text{
        top: -65%;
        transition: all 0.4s ease-in-out;
    }

    nav a:hover{
        background-color: #ACFADF;
        color: #000000;
        transition: all 0.5s ease-in-out;
    }
}

.icon_list {
    list-style: none;
    margin: 10px 20px;
    display: inline-block;
    font-size: 75%;
    padding: 1%;
    color: #4C3F91;
    border: 3px solid #4C3F91;
    border-radius: 50%;
    transition: .5s;
}

.icon_list:hover {
    color: #FF5677;
    border: 3px solid #FF5677;
    transition: .25s;
}

.social_media_container {
    width: 100%;
    text-align: center;
    padding-top: 0.75%;
    margin: auto;
}

.siderlay_text {
    width: 30%;
    height: 30%;
    top: 6%;
    left: 4%;
    border-radius: 15px;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(7px);
    opacity: 0%;
    transition: all 0.4s ease-in-out;
}

.siderlay_text p{
    margin: 0;
    font-size: larger;
}

.siderlay_text li{
    color: #000000;
}

.art_header {
    padding-top: 7.5rem;
    text-align: center;
    margin: auto 0;
    font-size: 1.25rem; 
    font-weight: bolder;
}

.art_description {
    text-align: center;
    width: 70rem;
    max-width: 70%;
    margin: auto;
    padding-top: 1.25rem;
}

.art_item .overlay_text {
    display: none;
}

.art_item h1 {
    font-size: 1.5rem;
}

.art_item {
    width: 400px;
    min-width: 50%;
    max-width: 100%;
    text-align: center;
}

.thumbnail_item {
    width: 400px;
    min-width: 33%;
    max-width: 50%;
    text-align: center;
}


