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

nav {
    position: fixed;
    top: 0px;
    height: 7.3rem;
    width: 100%;
    background-color: black;
    z-index: 2;
}

#logo {
    float: left;
    width: auto;
    height: 7.3rem;
    background-color: black;
    padding: 0;
}

#nav-bar-links-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 66.66%;
    height: 7.3rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-bar-link {
    background-color: black;
    text-align: center;
    font-size: 1rem;
    width: 11rem;
    padding: 2.3rem 0;
    color: white;
}

a:link, a:visited {
    color: white;
    text-decoration: none;
}

a:hover, a:active {
    background-color: white;
    color: black;
}

#nav-space {
    height: 7.3rem;
}

/* title */
.title-display {
    position: relative;
    text-align: center;
    width: 100%;   
    color: white;
    background-color: black;
}

#main-title {
    position: absolute;
    top: 3.67rem;
    left: 8%;
    font-size: 4rem;
    border: .25rem solid white;
    padding: 1rem;
}

#subtitle {
    position: absolute;
    top: 22rem;
    left: 58.33%;
    font-size: 1.5rem;
    border: .2rem solid white;
    padding: .5rem;
}

/* content */

#border-space {
    height: 2rem;
    overflow: hidden;
}

.border-stripes-image {
    object-fit: contain;
}

.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-items: flex-start;
    align-content: flex-start;
    
}

.projects-container:hover {
    cursor: pointer;
}

.project-description, .project-image {
    width: 33.33%;
    height: 20rem;
    color: white;
    background-color: black;
    text-align: center;
    object-fit: cover;
}

.empty-project-space {
    width: 33.33%;
    height: 20rem;
    text-align: center;
    object-fit: cover;
    background-color: white;
}

#focus-project-container {
    display: flex;
    height: 30rem;
}

#focus-project-description-container {
    width: 41.66%;
    height: 30rem;
    object-fit: contain;
    text-align: center;
    background-color: black;
    color: white;
    overflow: hidden;
}

#focus-project-heading {
    font-size: 2.5rem;
    padding: .5rem;
}

#focus-project-description {
    font-size: 1.2rem;
    padding: .2rem;
}

#focus-project-image {
    width: 58.33%;
    height: 30rem;
    object-fit: contain;
    text-align: center;
    background-color: white;
}

#focus-project-image:hover {
    cursor: pointer;
}

/* footer */
#border-space {
    height: 2rem;
    overflow: hidden;
}

.border-stripes-image {
    object-fit: contain;
}

footer {
    height: 7rem;
    background-color: black;
    color: white;
    text-align: center;
    padding: 1rem;
}

@media (max-width: 980px) {
    #main-title {
        position: relative;
        left: unset;
    }
    #subtitle {
        position: relative;
        top: 12.5rem;
        left: unset;
    }

    .projects-container {
        flex-direction: column;
        align-items: center;
        align-content: unset;
        justify-content: center;
        background-color: black;
    }

    #focus-project-heading {
        font-size: 2rem;
        padding: .1rem;
    }
    
    #focus-project-description {
        font-size: 1rem;
        padding: .1rem;
    }

    .project-description, .project-image {
        width: 75%;
        height: 20rem;
        color: white;
        background-color: black;
        padding: 1rem 0;
    }

    .empty-project-space {
        height: 0;
        visibility: hidden;
    }
}