@import url('https://fonts.googleapis.com/css?family=Lato|Lobster&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@600&display=swap');
html {
    box-sizing:border-box;
    font-size:22px;
}
*, *::before, *::after {
    box-sizing:inherit;
}
header {
    position: sticky;
    top: 0;
}
h1,h2, h3 {
    text-align: center;
    color: #5B3F20;
    font-family: Lobster, cursive;
    display: block;
    font-size: 1.6em;
    font-weight: bold;
    margin-top: 1.5em;
    padding: 1em 0 1em;
}
/*h2 {*/
/*    background-color: #DBD8AE;*/
/*}*/
/*container*/
.header-container {
    background: white;
    margin: 0 auto;
    max-width:1500px;
    text-align:center;
}
#footer div {
    text-align: center;
    font-size: 0.75em;
}
.header-container {
    display: flex;
}

.body-container {
    margin: 2em;
    background-color:#EEEEEE;
    max-width:1800px;
}
.body-content-container {
    background-color:#EEEEEE;
    max-width:1500px;
    margin:auto;
}

#logo, #menu {
    flex:  1 0 0;
}
#logo, #menu {
    margin-top: 1em;
}
#menu {
    margin-top: 2em;
}
#logoLink {
    font-size: 2em;
    margin-right: 0.5em;
    font-family: 'Work Sans', sans-serif;
}
#slogan {
    font-size: 0.8em;
    transform: translateY(-25%);
    color: #5B3F20;
}
#about-me {
    padding: 1em;
}
.dropbtn {
    background-color: white;
    color: #5B3F20;
    border: none;
    font-size: 1.1em;
    margin-bottom: 0.5em;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #5B3F20;
    color: white;
    text-align: center;
    width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.dropdown-content a:link,
.dropdown-content a:visited {
    color: white;
    text-decoration:none;
}
.dropdown-content a:hover,
.dropdown-content a:active {
    color: lightsteelblue;
}
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #5B3F20;
    color: white;
}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {
    border-bottom: solid;
}

a:link,
a:visited {
    color: #5B3F20;
    text-decoration:none;
    /* font-weight: bold; */
}
a:hover,
a:active {
}

.content-flex-box {
    display: flex;
    flex-flow: row wrap;
    margin: 1.5em;
}
.hidden {
    display: none;
}
/*Project Description*/
.projectText {
    flex: 1 0 0;
}
/*readmore btn*/
.readMore {
    color: #007fff;
}
.readMore:hover {
    text-decoration: underline;
    cursor: pointer;
}
.h2Container {
    cursor: pointer;
    padding: 0;
}
.projectText div {
    margin-bottom: 1em;
}
.projectImgVid {
    flex: 1 0 0;
}
.projectImgSrc {
    width: 100%;
    padding-right: 1em;
}
video {
    width: 800px;
    margin-left: 1em;
}
.contact-info {
    font-weight: bold;
    color: #5B3F20;
}
.contact-info:hover {
    color: rosybrown;
}
@media screen and (max-width: 1024px) {
    html {
        font-size: 18px;
    }
    #slogan {
        display: none;
    }
    .projectVidContainer {
        flex-direction: column;
    }
}
@media screen and (max-width: 768px) {
    html {
        font-size: 18px;
    }
    #slogan {
        display: none;
    }
    .content-flex-box, .header-container {
        flex-direction: column;
    }
    video {
        width: 100%;
        padding-right: 3em;
    }
}
@media screen and (max-width: 411px) {
    html {
        font-size: 16px;
    }
    #slogan {
        display: none;
    }
    .content-flex-box, .header-container {
        flex-direction: column;
    }
    #menu {
        margin: 1em;
        font-size: 1.1em;
        flex: 1 0 100%;
        text-align: center;
    }
    .dropdown-content {
        width: 130px;
        font-size: 0.75em;
    }
    .dropdown-content a {
        padding: 10px 8px;
    }
    .projectImgVid {
        order: 0;
        margin-bottom: 1em;
    }
    .projectText {
        order: 1;
    }
    video {
        width: 100%;
        margin: 0;
        padding:0;
    }
}
@media screen and (max-width: 360px) {
    html {
        font-size: 14px;
    }

}