/* Fonts are Special Elite and Didot, chosen from Google Fonts and with @font-face from Font Squirrel. The didot files are stored in the Styles sub-folder.*/

@font-face {
    font-family: 'theano_didotregular';
    src: url('theanodidot-regular-webfont.woff2') format('woff2'),
         url('theanodidot-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html {
    background-color: white;
}
body { -webkit-text-size-adjust: none;
    background-color: white;
    }

body,p {
            font-size: 1em;
            font-weight: normal;
            font-family: 'theano_didotregular',Georgia,sans-serif;
            color: #1a1a1a;
            text-align: left;
            line-height: 1.75;
        }
        h1,h2,h3,h4 {
            font-weight: 700;
            font-family: 'Special Elite',Arial,sans-serif;
            color: #1a1a1a;
            text-align: left;
        }
        h5,h6 {
            font-weight: 700;
            font-family: 'theano_didotregular',Arial,sans-serif;
            color: #1a1a1a;
            text-align: left;
}
        h1 {
            font-size: 6em;
        }
        h2 {
            font-size: 1.5em;
        }
        h3 {
            font-size: 1em;
        }
        h4 {
            font-size: 1.5em;
        }
        h5 {
            font-size: 2em;
            text-decoration: underline;
        }
        h6 {
            font-size: 1em;
        }

/* On to margins, paddings and spacings.*/

body {
    margin-left: 10%;
    margin-right: 10%;
    width: 90%;
    min-width: 720px;
    margin: 0 auto;
    padding-top: 300px;
}
main p {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}
main {
    width: 70%;
    padding-top: 10em;
    margin-bottom: 10em;
    clear: left;
    background-color: white;
}

/* Web banner. */

h1 {
    display: inline-block;
    max-width: 100%;
}

#logo {
    max-height: 140px;
    max-width: 400px;
    display: inline-block;
    float: right;
    padding-top: 4.5em;
}

/* Formatting the navigational menu. */

.contact-button {
    font-family: 'Special Elite', Arial, sans-serif;
    font-size: 1.5em;
    padding-left: 0.25em;
}


nav ul li {
    list-style: none;
    font-family: 'Special Elite',Arial,sans-serif;
    font-size: 1.5em;
    display: inline-block;
}

#navigation-bar {
    background-color: #1a1a1a;
}

nav ul {
    margin: 0;
}

.contact-button a {
    color: #ffffff;
    text-decoration: none;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.25em 1em;
}

.contact-button a:hover, .contact-button a:focus{
    color:black;
    background-color: white;
    padding: 0.25em;
}

nav a:hover, nav ul li:focus {
    color: black;
    background-color: white;
}

.what-dropdown-content a:hover {
    color: black;
    background-color: white;
    border: 1px solid white;
}

/* Dropdown Button */
.dropbtn {
    font-family: 'Special Elite',Arial,sans-serif;
    font-size: 1em;
    color: #ffffff;
    border: none;
    padding: 0.25em 1em;
    display: inline-block;
    cursor: pointer;
    background-color: #1a1a1a;
}


/* Dropdown container */
.what-dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown content */
.what-dropdown-content {
    display: none;
    position: absolute;
    min-width: 100%;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba (0,0,0,0.2);
}

.what-dropdown-content a {
    font-family: 'Special Elite',Arial,sans-serif;
    font-size: 0.5em;
    color: white;
    background-color: black;
    text-decoration: none;
    display: block;
    padding: 1em 1em;
}

/* Show dropdown menu */
.what-dropdown:hover .what-dropdown-content {
    display: block;
}

.navigation-menu {
    background-color: white;
    z-index: 150;
    margin-bottom: -1.5em;
}
.contact-button {
    display: inline-block;
}
.menu-container {
    display: inline-block;
    float: right;
}

/* Making the sticky nav bar. */
header {
    position: fixed;
    top: 0;
    width: 90%;
}
.navigation-menu, #main {
    position: relative;
}

.navigation-menu-scrolled {
    position: fixed;
    top: 0;
    width: 90%;
}

/* Footer formatting.*/

footer {
    margin:auto;
}
footer p {
    font-size: 0.8125rem;
    line-height: 0.35em;
    color: #68686899;
    text-align: center;
    padding-top: none;
    padding-bottom: none;
}

/* If... formatting */

#thoughtpieces p {
    padding-top: 0;
    margin-top: 0;
}
#thoughtpieces h5 {
    margin-bottom: 0;
    margin-top: 3em;
}
#thoughtpieces a {
    color: black
}

/* Thought-piece image formatting */
.ifimages {
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
#credit p {
    color: white;
    padding-bottom: 0;
    padding-right: 0.25em;
    margin: 0;
}

/* Pull quote formatting */
.right p {
    display: inline-flex;
    float: right;
    font-family: 'Special Elite',Arial,sans-serif;
    color: white;
    background-color: black;
    max-width: 25%;
    padding: 2em 0.25em 2em 2em;
    margin-right: 2em;
}
.left p {
    display: inline-flex;
    float: left;
    font-family: 'Special Elite',Arial,sans-serif;
    color: white;
    background-color: black;
    max-width: 25%;
    padding: 2em 2em 2em 0.25em;
    margin-right: 2em;
}