html, body {
    margin: 0;
    padding: 0;
    background-color: #eae0d5;
    font-family: "Poppins";
    overflow-x: hidden;
}

.topnav {
    overflow: hidden;
    background-color: #c6ac8f;
    position: relative;
    margin: 0;
    padding: 0;
}

/*Hide nav links except for logo*/
.topnav #myLinks {
    display: none;
}

/*Style nav menu links*/
.topnav a {
    color: #22333b;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
}

/*Style hamburger menu*/
.topnav a.icon {
    background: #5e503f;
    color: #eae0d5;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
}

/*add grey background on mouse over*/
.topnav a:hover {
    background-color: #eae0d5;
    color: #0a0908
}

/*styling picture behind title*/
.container {
    position: relative;
    text-align: center;
    
}

.container img {
    width: 100%;
    border-bottom: 5px solid #0a0908;
    opacity: 0.7;
}

.title {
    position: absolute;
    top: 30%;
    left: 80%;
    transform: translate(-50%, -50%);
    font-size: 6vw;
    color: black;
}

#home {
    top: 35%;
}

.photo-credit {
    position: absolute;
    bottom: 8px;
    right: 16px;
    font-size: 2vw;
}

.photo-credit a {
    color:#333
}

sup a {
    color: #5e503f;
}

/*special formatting for VULNERABILITIES page header*/

#vulnerabilities {
    position: absolute;
    top: 30%;
    left: 27%;
}

#vuln {
    color: white;
}

#vuln a {
    color:cornsilk
}

/*special formatting for IMPACTS page header*/

#impacts {
    top: 55%;
}

#imp {
    color: white;
}

#imp a {
    color:cornsilk;
}

/*special formatting for CASE STUDIES page header*/

#case-studies {
    position: absolute;
    top: 30%;
    left: 21%;
}

/*special formatting for ACTION page header*/

#action {
    position: absolute;
    left: 50%;
    top: 5%;
    padding-top: 10px;
}

/*setting up grid for article formatting*/

.article {
    display: grid;
    grid-template-columns: 15% 70% 15%;
    grid-template-areas: "side-left main-article side-right";
}

#side-left {
    grid-area: side-left;
}

#side-right {
    grid-area: side-right;
}

#main-article {
    grid-area: main-article;
    font-size: 3.5vw;
}

#main-article h3 {
    font-size: 4.5vw;
}

#main-article img {
    width: 100%;
}

.infographic {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

figure {
    text-align: center;
    font-style: italic;
    font-size: smaller;
    border: solid 1px gray;
    margin: auto;
    padding: 0.5em;
    background-color: white;
}

/* Styling citations */

.citations li {
    font-size: 2.5vw;
}

/* Styling footer */

footer {
    background-color: #5e503f;
    color: #eae0d5;
    padding: 20px;
    padding-top: 10px;
    margin-top: 20px;
}

.disclaimer {
    text-align: center;
    margin-top: 2px;
}

.creators {
    padding-top: 5px;
    font-size: 1.7vh;
}

.webmaster {
    font-size: 1.7vh;
}

.sections {
    text-align: center;
    display: none;
}

.sections a {
    color: black;
    text-decoration: none;
}

.sections a:hover {
    color: grey;
}

.subsection {
    padding: 0px 10px;
}

.privacy {
    display: flex;
    justify-content: space-between;
    font-size: 1.7vh;
    margin-top: 0;
}

.privacy a {
    color:#c6ac8f;
}

@media screen and (min-width: 700px){
    #main-article {
        font-size: 3vw;
    }

    #main-article h3 {
        font-size: 3vw;
    }

    .citations li {
        font-size: 2vw;
    }

    .sections {
        padding: 0px 100px;
        font-size: 2.5vw;
        display: flex;
        margin: 10px 10px;
        width: 100%;
    }

    .sections h1 {
        font-size: 6vw;
    }

    .subsection:not(:first-child){
        border-left: 1px solid grey;
    }
}

@media screen and (min-width: 1000px){
    .article {
        grid-template-columns: 20% 60% 20%;
    }

    #main-article {
        grid-area: main-article;
        font-size: 1.5vw;
    }

    .photo-credit {
        font-size: 1vw;
    }

    .title {
        top: 25%;
    }

    .citations li {
        font-size: 1.2vw;
    }

    .sections {
        padding: 0px 325px;
        font-size: 2vw;
        display: flex;
        margin: 10px 10px;
        width: 100%;
    }

    .sections h1 {
        font-size: 4.5vw;
    }

    .subsection:not(:first-child){
        border-left: 1px solid grey;
    }

    figure {
        width: 70%;
    }
}