* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
    /* background: black; */
    /* background: hsl(0, 3%, 15%); */
    /* background: #DFBA89; */
    /* border: 100px;
    border-image: url(../images/border.png); */
    /* border-left: 10px solid transparent; */
    /* border-right: 10px solid transparent;
    border-image: url(../images/border.jpg) 20%; */
    font-family: 'Unna', serif;
    /* background-color: #696969; */
}

/* Nav section */

nav,
.nav {
    top: 0;
    display: flex;
    justify-content: space-between;
    /* height: 10vh; */
    width: 100%;
    padding-left: 1em;
    /* Choice Colors
    #166AC5
    #1C85F6
    #4483C7 */
}

nav {
    z-index: 300;
    position: fixed;
    background: #4483C7;
}

/* links class describes the div containing our section links */

.links {
    display: flex;
    width: 500px;
    /* border-left: 1px dashed black; */
}

/* link class describes the qualities of the links and how they will be altered on hover */

.link {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 2em;
    color: white;
}

.link:hover {
    color: black;
    background: #166AC5;
}

/* logo class describes the qualities of the logo and how it will be altered on hover */

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 4em;
    color: black;
}

.logo:hover {
    color: white;
}

.nav .logo {
    color: transparent;
}

i {
    
    cursor: pointer;
    color: white;
}

.dropdown {
    display: none;
    position: static;
    /* display: inline-block; */
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    background: grey;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 400;
    right: 0;
    top: 100%;
}

.visible { display: block; }

/* end of nav section -- start of body section */
/* Reusable css classes */
.container {
    height: auto;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(1, 1, 1, 0.877) 100%, rgba(0, 0, 0, 0.651) 100%);
    padding: 10px;
    border-radius: 15px;
}

.pContainer {
    position: relative;
    height: auto;
    width: 60vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #444242;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

.pContainer::after {
    content: "Click to learn more!";
    font-size: 2em;
    z-index: 200;
    position: absolute;
    display: grid;
    place-items: center;
    inset: 0;
    opacity: 0;
    transition: opacity 0.2s;
    background-color: #4448;
    border-radius: inherit;
}

.pContainer:hover:after {
    opacity: 1;
}

hr {
    margin: 0 2em;
}

.title {
    text-align: center;
    align-self: center;
    margin: 1em;
}

/* below describes the sections for the page. 
These will be about screen height and will hold content using flex box a majority of the time. */

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2em;
    /* border-top: 1px solid transparent; */
}

/* This is the main content for the sections (they will be separated by comments) */
/* Main section content */

 main > img {
    width: 1100px;
    height: auto;
    border: 1px solid black;
    /* border-radius: 2px; */
    margin: 1em;
}
 
/* Preview Sections */

.section {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 5em 0;
}

.sHeader,
.sContent {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Section Header */
.sHeader {
    font-size: 3em;
}

/* Section Links */
.sContent a {
    text-decoration: none;
    color: white;
}

/* Our preview images */
.pre {
    width: 100%;
    border: 1px solid grey;
    border-radius: 15px;
}

.sContent p {
    font-size: 2em;
}

/* Footer Section */
footer {
    padding: 5px 0 0 5px;
    background: #4483C7;
    font-size: 1.5em;
}

/* Separation for all media queries */
@media only screen and (max-width: 1139px) {
    main > img {
        width: 800px;
    }
}

@media only screen and (max-width: 901px) {
    /* .icon {
        display: grid;
        place-self: center;
    } */

    .dropdown {
        display: grid;
        place-items: center;
        padding: 0 1em;
    }

    .links {
        display: none;
        flex-direction: column;
    }
}

@media only screen and (max-width: 810px) {
    .logo {
        font-size: 2em;
    }

    /* .dropdown-content {
        top: 2em;
    } */

    main > img {
        width: 500px;
    }

    .pre {
        width: 300px;
    }

    footer {
        font-size: 1em;
    }
}

@media only screen and (max-width: 515px) {
    main > img {
        width: 250px;
    }
    
    .pre {
        width: 100%;
    }

    .sContent p {
        font-size: 1.25em;
    }
}
