/* Layout */
/* ======================================================================================= */

/* General */
/* --------------------------------------------------------------------------------------- */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.header, .content, .footer {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.content > div {
    text-align: center;
}

/* Header */
/* --------------------------------------------------------------------------------------- */
.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

.header > nav > ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;    
}

.logoimg {
    text-align: left; 
    width: 500px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Header menu */

.header ul {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.header li a, .header .dropbtn {
    display: inline-block;    
    text-align: center;
    padding: 14px 16px;
}

.header li.dropdown {
    display: inline-block;
}

.header .dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    z-index: 1;
}

.header .dropdown-content a {
    padding: 12px 16px;
    display: block;
    text-align: left;
}

.header .dropdown:hover .dropdown-content {
    display: block;
}


/* Main */
/* --------------------------------------------------------------------------------------- */
main {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.content {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 20px;
    padding-bottom: 60px;
}

.content p {
    margin-top: 0px;
}

/* Footer */
/* --------------------------------------------------------------------------------------- */
.footer {
    padding: 10px;
    display: flex;
    flex-direction: column-reverse;
}

.footer > div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer > div > div {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.footer > div > div > div {
    margin-left: 0.5em;
    margin-right: 0.5em;
}

.footer img {
    width: 40px;
}



/* Responsive design */
/* ======================================================================================= */
@media (max-width: 1000px) {

    .header, .content, .footer {
        width: auto;
        margin-left: auto;
        margin-right: auto;
    }

    .header {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .footer > div {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    }
}


/* Decoration */
/* ======================================================================================= */

/* Fonts */
/* --------------------------------------------------------------------------------------- */
body {
    font-family: 'Open Sans', sans-serif;
}

/* Backgrounds */
/* --------------------------------------------------------------------------------------- */
header {
    background-color: #FFF;
}

.wrapper2 {
    background-color: #DDDF;
    color: #000;
}

.wrapper3 {
    background-color: #FFFF;
    color: #000;
}

.wrapper1 {
    background-color: #333F;
    color: #fff;
}

.wrapper1 a, .wrapper1 a:visited {
    color: orange;
}

.wrapper2 a, .wrapper2 a:visited {
    color: black;
}

.footer {
    background-color: #FFF;
}

/* Items/Menus */
/* --------------------------------------------------------------------------------------- */
header ul {
    list-style-type: none;
}

.header nav a, .footer a {
    color: #222;
    text-decoration: none;
}

.header nav a:visited, .footer a:visited {
    color: #222;
}

.header nav a:hover {
    color: #ff8000;
    background-color: #f0f0f0;
}

.footer a:hover {
    color: #ff8000;
}

.dropdown:hover .dropbtn {
    background-color: #f0f0f0;
}

.header nav a:active, .footer nav a:active {
    color: #000;
}

.header ul {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.dropdown-content {
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
    color: black;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Buttons */
/* --------------------------------------------------------------------------------------- */
.button {
    background-color: orange;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}


/* Video */
/* --------------------------------------------------------------------------------------- */
.container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}