body {
    position: relative;
    margin: 0;
    min-height: 100vh;

    background-image: linear-gradient(to bottom, white, white, rgba(123, 174, 169, 0.25));
    background-size: 100vw 100vh;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

nav {
    position: fixed;
    margin: 0;
    padding: 0;

    width: 100%;
    height: 12vh;

    display: flex;
    justify-content: space-between;

    background-image: linear-gradient(to left, rgba(123, 174, 169, 0.5),  rgba(123, 174, 169, 0), rgba(123, 174, 169, 0), rgba(123, 174, 169, 0.5));
    background-repeat: no-repeat;
    background-size: 100vw 12vh;
}


#mainLogo {
    content: url("/images/s_hex_logo.png");
    height: 11vh;
    width: auto;
    padding: 0.5vh;
}

#mainLogo:hover {
    background-image: linear-gradient(to top, rgba(123, 174, 169, 0.8), rgba(123, 174, 169, 0));
}

main {
    padding-top: 14vh;
    padding-bottom: 25px;
    margin: 0px 10vw 0px;
}

.dark {
    background-color: rgba(45, 85, 80, 1);
}

#navHome {
    margin-left: 30px;
    text-decoration: none;
    align-self: center;
}

h1 {
    color: white;
    font-size: 3vw;

    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bolder;

    align-self: center;
    margin: 0;
}

#navControl {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
}

#navButtonBar {
    justify-content: flex-end;
    align-items: flex-end;
    display: flex;
    height: auto;
}

#dropdownButton {
    display: none;
    content: url("/images/down_arrow.png");
    width: 8vh;
    height: 4vh;

    padding: 4vh 2vh;
    margin: 0;

    border: none;
    border-radius: 2vw;

    background-color: rgba(45, 85, 80, 0.0);
    
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12vh;
}

#dropdownButton:hover {
    background-image: linear-gradient(to top, rgba(123, 174, 169, 0.8), rgba(123, 174, 169, 0));
}

.navButton {
    color: rgba(20, 80, 65, 1);
    font-family: Verdana;
    font-size: 0.8em;
    font-weight: bold;

    background-color: rgba(123, 174, 169, 0.7);
    border: none;
    margin: 0 0.3vw;
    border-top-left-radius: 2vw;
    border-bottom-right-radius: 2vw;

    height: 8vh;
    min-width: 12vw;
}

@keyframes enlargeButton {
    from {
        width: 12vw;
        height: 8vh;
        background-color: rgba(123, 174, 169, 0.7);
        
    }
    to {
        width: 13vw;
        height: 9vh;
        background-color: rgba(123, 174, 169, 1);
    }
}

h2 {
    color: rgba(45, 85, 80, 1);
    font-size: 4em;
    margin: 0;
}

h3 {
    color: rgba(45, 85, 80, 1);
    font-size: 2em;
}

#imgArea {
    display: flex;
    justify-content: space-around;
}

@keyframes makeOpaque {
    from {
        opacity: 0.8;
    }
    to {
        opacity: 1.0;
    }
}

.largeGraphic {
    width: 17vw;
    height: 17vw;
    padding: 0.5vw;

    border-style: solid;
    border-width: 1vw;
    border-radius: 11vw;
    border-color:  rgba(123, 174, 169, 1.0);

    opacity: 0.8;
}

.largeGraphic:hover {
    animation-name: makeOpaque;
    animation-duration: 0.2s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}

.smallGraphic {
    display: inline-block;
    width: 10vh;
    padding: 0.5vw;

    vertical-align: middle;
}

#downloadArea {
    display: flex;
    justify-content: space-evenly;
}

.downloadBtn {
    text-decoration: none;

    text-align: center;
    line-height: 5vh;
    padding: 0.5vw 2vw;
    border-radius: 2vw;

    background-color: rgba(45, 85, 80, 1.0);
    opacity: 0.8;

    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.downloadBtn:hover {
    animation-name: makeOpaque;
    animation-duration: 0.2s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}

#resumeDownload {
    align-self: center;
    margin-top: 2vh;
}

footer {
    position: absolute;
    width: 100%;
    height: 20px;
    bottom: 0;

    text-align: center;
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    opacity: 0.3;
}

@media (min-width: 600px) {
    .navButton:hover {
        animation-name: enlargeButton;
        animation-duration: 0.3s;
        animation-timing-function: ease-out;
        animation-fill-mode: both;
    }
}

@media (max-width: 600px) {
    h1{
        font-size: 5vh;
    }

    h2 {
        font-size: 2em;
        padding-top: 5vh;
    }
    
    h3 {
        font-size: 3vh;
    }

    #imgArea {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .largeGraphic {
        width: 14vh;
        height: 14vh;

        border-width: 1vh;
        border-radius: 9vh;

        margin: 2vh;
    }

    #navButtonBar {
        display: none;
    }

    #dropdownButton {
        display: block;
        justify-self: flex-end;
    }

    #dropdownButton:hover + #navButtonBar, #navButtonBar:hover {
        display: flex;
        flex-direction: column;
    }
 
    .navButton {
        border-radius: 0;
        width: 30vw;
    }

    @keyframes highlight {
        from {
            background-color: rgba(123, 174, 169, 0.7)
        }
        to {
            background-color: rgba(123, 174, 169, 1.0)
        }
    }

    .navButton:hover {
        animation-name: highlight;
        animation-duration: 0.3s;
        animation-timing-function: ease-out;
        animation-fill-mode: both;
    }
}

.centered {
    text-align: center;
}

p {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}