* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

html {
    position: relative;
}

body {
    background: url("/img/side-background.svg");
    
    font-family: Franklin, cursive;

    background-attachment: fixed;
    background-size: cover;   
}

.box {
    background: rgb(38,169,224);
    background: -o-linear-gradient(left, rgba(38,169,224,1) 0%, rgba(38,78,138,1) 48%, rgba(38,34,97,1) 100%);
    background: -webkit-gradient(linear, left top, right top, from(rgba(38,169,224,1)), color-stop(48%, rgba(38,78,138,1)), to(rgba(38,34,97,1)));
    background: linear-gradient(90deg, rgba(38,169,224,1) 0%, rgba(38,78,138,1) 48%, rgba(38,34,97,1) 100%);

}

a, a:hover {
    color: white;
    text-decoration: none;
}

li {
    list-style: none;
}

.box { 
    width: 1025px;
    min-height: 100vh;
    border-collapse: collapse;

    margin-inline: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;

    color: white;
} 

.button-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    width: 100%;
    height: 100px;

    -ms-flex-wrap: nowrap;

        flex-wrap: nowrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

main {    
    margin: 0em 0 2em 0;
    min-height: 100%;

    -webkit-box-flex: 1;

        -ms-flex: 1 0 auto;

            flex: 1 0 auto;
}

.content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;

    -webkit-box-pack: center;

        -ms-flex-pack: center;

            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.nav-logo {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-left: 2em;
}

.nav-logo img {
    height: 60%;
    width: 350px;
    margin-left: 2em;
}

.button-nav ul{
    width: 625px;    
    background: rgb(67,101,174);
    background: -o-linear-gradient(left, rgba(67,101,174,1) 0%, rgba(70,130,195,1) 46%, rgba(70,167,223,1) 100%);
    background: -webkit-gradient(linear, left top, right top, from(rgba(67,101,174,1)), color-stop(46%, rgba(70,130,195,1)), to(rgba(70,167,223,1)));
    background: linear-gradient(90deg, rgba(67,101,174,1) 0%, rgba(70,130,195,1) 46%, rgba(70,167,223,1) 100%);
    padding: 1.5em 0; 
    display: -webkit-box; 
    display: -ms-flexbox; 
    display: flex;

    -ms-flex-wrap: nowrap;

        flex-wrap: nowrap;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.button-nav ul li a{
    font-size: 1.45rem;
    padding: 0.2em 1.5em;
}

.header-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: flex-start;
        -ms-flex-pack: flex-start;
            justify-content: flex-start;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
    padding: 1em 0;
    text-align: center;
}

.main-header {
    background: rgb(67,101,174);
    background: -o-linear-gradient(left, rgba(67,101,174,1) 0%, rgba(70,130,195,1) 46%, rgba(70,167,223,1) 100%);
    background: -webkit-gradient(linear, left top, right top, from(rgba(67,101,174,1)), color-stop(46%, rgba(70,130,195,1)), to(rgba(70,167,223,1)));
    background: linear-gradient(90deg, rgba(67,101,174,1) 0%, rgba(70,130,195,1) 46%, rgba(70,167,223,1) 100%);
}

.header-img {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    width: 100%;
}

.contact-box {
    color: white;
    font-size: 1.75rem;
}

.hamburger-nav {
    display: none;
}

.language-selector {
    text-align: right;
    margin: 1em 1em 0 0;
}

.language-name {
    display: inline;
}

.language-name a {
    font-size: 1.25rem;
    padding: 0 0.25em;
}

.nav-border {
    border-right: 2px solid white;
}

.uppercase {
    text-transform: uppercase;
}


.nav-logo {
    margin-left: 0em;
}

.button-nav ul{
    width: 525px;
    padding: 1em 0; 
}

.contact-box {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media only screen and (max-width: 1100px){
    .background {
        padding-bottom: 0;
    }

    .box {
        width: 93%;
    }
}

@media only screen and (min-width: 1001px) and (max-width: 1100px){
    .nav-logo img {
        width: 325px;
    }

}

@media only screen and (min-width: 876px) and (max-width: 1000px) {
    .nav-logo img {
        width: 300px;
    }

    .button-nav ul{
        width: 475px;
        padding: 1em 0; 
    }

    .button-nav ul li a{
        padding: 0 1em;
    }
}

@media only screen and (min-width: 768px) and (max-width: 876px) {
    .nav-logo img {
        width: 275px;
    }

    .button-nav ul{
        width: 375px;
        padding: 1em 0; 
    }

    .button-nav ul li a{
        font-size: 1.15rem; 
        padding: 0 1em;
    }

}

@media only screen and (max-width: 768px) {

    .background {
        background: transparent;
    }

    .header-container {
        font-size: 1.25rem;
    }

    .button-nav {
        display: none;
    }

    .nav-logo img {
        width: 250px;
        margin: 0.4em 0 0 0.5em;
    }

    .nav-menu li {
        background: rgb(67,101,174);
        background: -o-linear-gradient(left, rgba(67,101,174,1) 0%, rgba(70,130,195,1) 46%, rgba(70,167,223,1) 100%);
        background: -webkit-gradient(linear, left top, right top, from(rgba(67,101,174,1)), color-stop(46%, rgba(70,130,195,1)), to(rgba(70,167,223,1)));
        background: linear-gradient(90deg, rgba(67,101,174,1) 0%, rgba(70,130,195,1) 46%, rgba(70,167,223,1) 100%);    
    }

    .hamburger-nav {   
        display: block;

        width: 100%;

        font-size: 1.75em;     
    }

    .logo {
        float: left;
        margin: 0 40px;        
        line-height: 70px;
    }

    .toggle-icon {
        float: right;

        margin: 19px 40px 0px 40px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        width: 25px;
        height: 21px;
        cursor: pointer;
    }

    .bar {        
        position: relative;

        height: 3px;
        width: 100%;

        margin-top: 9px;

        background: white;
        border-radius: 10px;

        -webkit-transition: background .2s ease-out;

        -o-transition: background .2s ease-out;

        transition: background .2s ease-out;
    }    
    
    .bar::before {
        content: "";
        height: 100%;
        width: 100%;

        position: absolute;
        top: -7px;

        -webkit-transition: all .2s ease-out;

        -o-transition: all .2s ease-out;

        transition: all .2s ease-out;

        background-color: white;
        border-radius: 10px;
    }

    .bar::after {
        content: "";
        height: 100%;
        width: 100%;

        position: absolute;
        top: 7px;

        -webkit-transition: all .2s ease-out;

        -o-transition: all .2s ease-out;

        transition: all .2s ease-out;

        background-color: white;
        border-radius: 10px;
    }

    .toggle-btn {
        display: none;
    }

    .nav-menu {
        clear: both;
        overflow: hidden;
        width: 100%;
        max-height: 0;

        text-align: center;
        -webkit-transition: max-height .2s ease-out;
        -o-transition: max-height .2s ease-out;
        transition: max-height .2s ease-out;
    }

    .hamburger-nav-item {
        display: block;
        padding: 0.2em 0;

        padding-top: 5px;
        border-top: rgba(255, 255, 255) solid 2px;
    }

    .hamburger-nav-item:hover, .hamburger-nav-item:active {
        color:rgba(255, 255, 255, 0.808);
    }

    .toggle-btn:checked .header-text {
        top: 370px;
    }

    .toggle-btn:checked ~ .nav-menu {      
        max-height: 272px;
    }

    .toggle-btn:checked ~ .toggle-icon .bar {      
        background: transparent;
    }

    .toggle-btn:checked ~ .toggle-icon .bar::before {      
        top: 0;
        -webkit-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
                transform: rotate(45deg);
    }

    .toggle-btn:checked ~ .toggle-icon .bar::after {      
        top: 0;
        -webkit-transform: rotate(-45deg);
            -ms-transform: rotate(-45deg);
                transform: rotate(-45deg);
    }
}

@media only screen and (max-width: 520px) {
    .nav-logo img {
        margin-top: 0.7em;
        width: 200px;
        
    }

    .toggle-icon {
        margin: 23px 40px 0px 40px;
    }
} 

@media only screen and (max-width: 375px) {
    .nav-logo img {
        margin-top: 0.66em;
        width: 150px;
    }

    .toggle-icon {
        margin-top: 11px;
    }

    .nav-logo img {
        margin-top: 0.5em;
    }
} 