:root{
    /*color palette of the site*/
    --color-01: #242038;
    --color-02: #BFC0D9;
    --color-03: #E2E4F6;
    --color-04: #CBA135;
    --color-05: #CBA135;
}

@font-face {
    font-family: MainFont;
    src: url(../fonts/BRITANIC.TTF);
  }

@font-face {
    font-family: SecondFont;
    src: url(../fonts/JosefinSans-SemiBold.ttf);
}

html{
    font-size: 62.5%;
}

body{
    background-color: var(--color-01);
    z-index: -1000;
}

.wrapper-main{
    width: 1400px;
    margin: 0 auto;
}

h1{
    font-size: 5rem;
    line-height: 1.25rem;
    color: var(--color-02);
    font-family: MainFont;
    font-weight: bold;
}

h2{
    font-family: MainFont;
    font-size: 5rem;
    font-weight: bold;
    line-height: 1.3;
    color: var(--color-01);
}

h3{
    font-family: SecondFont;
    font-size: 3rem;
    font-weight: 100;
    line-height: 1.5;
    color: var(--color-03);
}

p{
    font-size: 3rem;
    line-height: 1.5;
    color: var(--color-02);
    font-family:SecondFont;
}

a {
    font-size: 2.3rem;
    line-height: 1.5;
    color: var(--color-03);
    font-family: SecondFont;
    cursor: pointer;
    text-transform: uppercase;
}

.header-main{
    position: fixed;
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: space-between;
    background-color: var(--color-01);
    z-index: 1000;
}

.header-main-logo{
    width: fit-content;
    height: 100%;
    padding-left: 60px;
}

.header-main-logo a {
    font-family: SecondFont;
    font-size: 2.3rem;
    line-height: 120px;
    display: block;
    height: 100%;
    color: var(--color-03);
}

.header-main-logo a:hover{
    color: var(--color-05);
}

/* language selector */

.select-container{
    display: flex;
    justify-content: center;
    position: relative;
    min-width: 25px;
    height: 25px;
    align-self: center;
    padding: 0 60px 0 0;
}

.select-box{
    padding: 0 30px 0 15px;
    width: 100%;
    color: var(--color-03);
    font-family: SecondFont;
    font-size: 2.3rem;
    text-transform: uppercase;
    cursor: pointer;
}

.select-box:hover{
    color: var(--color-05);
}

.select-box option{
    background-color: var(--color-02);
    color: var(--color-01);
}



/* navigation */
.header-main-nav{
    width: fit-content;
    height: 100%;
}

.header-main-nav ul li {
    display: inline;
    float: left; /*remove the weird space between list elements*/
    padding: 0 60px 0 0;
}
.header-main-nav ul li a{
    font-family: SecondFont;
    font-size: 2.3rem;
    line-height: 120px;
    display: block;
    height: 100%;
    color: var(--color-03);
}

.header-main-nav ul li a:hover{
    color: var(--color-05);
}

/*MOBILE VERSION*/

@media (max-width: 600px) {

    .wrapper-main{
        width: 80%;
        min-width: 80%;
        margin: 0 auto;
    }

    .header-main{
        height: 30px;
        justify-content: center;

    }

    .header-main-logo{
        padding: 0;
    }

    .header-main-logo a {
        font-size: 2.3rem;
        line-height: 60px;
    }

    .header-main-nav{
        display: none;
    }

    .select-container{
        position: absolute;
        right: 0px;
        padding: 0;
        margin-top: 20px
    }

    h2{
        font-size: 3.5rem;
    }

    p{
        font-size: 2rem;
    }
}

@media (min-width: 900px) and (max-width: 1500px) {

    .wrapper-main{
        width: 800px;
    }


}

@media (min-width: 600px) and (max-width: 900px) {

    .wrapper-main{
        width: 500px;      
    }
    .header-main{
        width: 100vw;
        height: 30px;
        justify-content: center;

    }

    .header-main-logo{
        padding: 0;
    }

    .header-main-logo a {
        font-size: 2.3rem;
        line-height: 60px;
    }

    .header-main-nav{
        display: none;
    }

    .select-container{
        position: absolute;
        right: 0px;
        padding: 0;
        margin-top: 20px
    }

}