html, body {
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Comfortaa';
    font-size:100%;
    background-color: #333333;
}

body {
    
    overflow-x: hidden;
}

img {
    
    max-width: 100%;
    z-index: 10;
}
.footer {
    color: white;
    line-height:5px;
    font-size: 15px;
}

/* NAV - MENU */
.nav {
    border-bottom: 1px solid #EAEAEB;
    text-align: right;
    background-color: white;
    height: 165px;
}
.menu {
    margin: 0 30px 0 0;
    padding-top: 50px;
}
.menu a {
    clear: right;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    line-height: 70px;
    color: #333333;
    position: relative;
    background-color: white;
}
label {
    margin: 45px 30px 0 0;
    font-size: 52px;
    display: none;
    width: 26px;
    float: right;
    padding-right: 25px;
}

/* Dropdown flags for changing language */
.dropdown {
    
    display: inline-block;
    float: right;
    margin-top: 65px;
    margin-right: 30px;
    margin-left: 15px;
}
.dropdown-content {
    
    display: none;
    position: absolute;
    z-index: 15;
}
.dropdown-content a {
    
    position: relative;
    display: block;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.menu a:hover{
    color: #FCB545;
}
#flagImg1 {
    
    width: 45px;
    height: 36px;
}
#flagImg2 {
    
    width: 45px;
    height: 36px;
    position: relative;
    margin-top: 15px;
}
#logo {
    float: left;
    margin-left:1vw;
    width: 161px;
    height: 165px;
}
#placeholder {
    display: none;
}
#toggle {
    display: none;
}

/* Main Image */
.mainImg {
    width: 100%;
    height: auto;
}
.imgContainer {
    
    background-color: #333333;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.imgContainer img {
    
    opacity: 0.6;
}
.centeredText {
    color: white;
    position: absolute;
    font-size: 35px;
    width: 90%;
    height: auto;
    text-align: center;
    z-index: 100;
}

/* Content */

.whitespace {
    max-width: 100%;
    width: 100%;
    height: auto;
    background-color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.mainText {
    width: 80%;
    height: auto;
    color: #333333;
    position: relative;
    text-align: center;
}
.mainText div {
    width: auto;
    height: auto;
    margin-bottom: 10%;
}
.mainText div h1{
    
    font-size: 2vw;
    line-height: 1vw;
    height: auto;
    color: #333333;
    font-weight: bold;
    position: relative;
    text-align: center;
}
.mainText div h2{
    
    font-size: 1.5vw;
    line-height: 1vw;
    height: auto;
    font-weight: normal;
    color: #333333;
    font-style: italic;
}
.mainText div p {
    font-size: 1.3vw;
    line-height: 1.5vw;
    position: relative;
    margin: 0 auto;
    width: 60%;
    height: auto;
    color: #333333;
}

/* Footer */ 
.footer {
    background-color: #333333;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Align vertically */
    padding: 20px;
}

.prefooter {
    background-color: #4d4d4d;
    height: 50px;
}

.credits {
    text-align: left;
}

.credits p, .credits a {
    color: #f2f2f2;
    text-decoration: none;
    font-size: 0.8vw;
    line-height: 1.5; /* Adjust this value to increase/decrease space between lines */
    margin: 10px 0; /* Add more space between lines */
    
}

.credits a {
    
    font-weight: bold;
}

.disclaimer {
    text-align: right;
}

.disclaimer a {
    color: #f2f2f2;
    text-decoration: none;
    font-size: 1.2vw;
    font-weight: bold;
}

.credits a:hover, .disclaimer a:hover {
    color: #FCB545;
}





/* Mobile */ 
@media only screen and (max-width: 1024px) {

    /* Default */

    /* Menu */
    label {
        display: block;
        cursor: pointer;
    }
    .dropdown-content {
        display: block;
    }
    .menu {
        text-align: center;
        width: 100%;
        display: none;
        z-index: 9999;
        padding: 0px;
        margin: 0px; 
    }
    .dropdown {
        display: none;
    }
    .menu a {
        display: block;
        border-bottom: 1px solid #EAEAEB;
        margin: 0;
        z-index: 9999;
        max-width:100%;
}
    #placeholder {
        display: block;
    }
    #flagImg2 {
        margin: 0px;
    }
    #toggle:checked ~ .menu {
        display: inline-block;
        
    }
    
    /* Content */
    
    .mainText {
        width: 90%;
    }
    .mainText div h1 {
        font-size: 1.3em;
        line-height: 1.1em;
    }
    .mainText div h2 {
        font-size: 1.2em;
        line-height: 1.3em;
    }
    .mainText div p {
        font-size: 1.1em;
        line-height: 1.1em;
        width: 95%;
        margin-bottom: 15%;
    }
    
    .disclaimer {
        padding-right: 15px;
        align-self: center; /* This will vertically center the disclaimer with respect to the footer */
    }
    
    .disclaimer a {
        font-size: 15px;
    }
    
    .credits {
        padding-left: 10px;
       /* flex-direction: column;  Stack the items vertically */
    }
    .credits a, .credits p {
        font-size: 13px;
    }
    .footer {
       /* flex-direction: column;  Stack the items vertically */
        align-items: flex-start; /* Align to the start */
        padding: 10px;
    }
    
}