* {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    font-weight: normal;
}

html {
    height: 100%;
}

body {
    height: 100%;
    display: grid;
    grid-template-rows: 50px 1fr 50px;
    grid-template-columns: 100%;
    grid-template-areas: "header"
                         "main"
                         "footer";
    background-color: #eee;
}

header, footer {
    background-color: #222A68;
}

header {
    grid-area: header;
}

p {
    text-align: justify;
    margin-top: 1em;
}

footer p {
    margin: 0;
}

a {
    text-decoration: none;
}

.logo {
    height: 50px;
    display: flex;
    align-items: center;
    grid-area: left;
}

.logo img {
    display: inline-block;
    height: 30px;
}

.logo h1 {
    font-size: 30px;
    margin-left: 10px;
    color: #fff;
}

.fw700 {
    font-weight: 700;
}

.orange {
    color: #F0803C;
}

.desktop-menu {
    visibility: hidden;
    height: 0;
    width: 0;
}

.mobile-menu {
    width: 90%;
    height: 100%;
    margin: 0 auto 0 auto;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 35px;
    grid-template-areas: "left right";
    align-items: center;
}

.menu-button {
    grid-area: right;
    height: 23px;
    width: 35px;
    display: grid;
    grid-gap: 4px;
    z-index: 3;
}

.menu-button div {
    width: 35px;
    height: 5px;
    background-color: #fff;
    transition: all .2s ease;
}

.menu-line-1.active {
    transform: translateY(9px) translateX(4px) rotate(-45deg);
    width: 27px;
}

.menu-line-2.active {
    opacity: 0;
    transform: translateX(25px);
}

.menu-line-3.active {
    transform: translateY(-9px) translateX(4px) rotate(45deg);
    width: 27px;
}

.menu-list {
    position: fixed;
    top: 0px;
    height: 100%;
    background-color: rgba(102, 102, 102, 0.95);
    padding-top: 55px;
    right: -85vw;
    width: 85vw;
    transition: all .2s;
    font-size: 1.8em;
    z-index: 2;
    text-align: center;
}

.menu-list.active {
    transform: translateX(-85vw);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.mobile-menu-list {
    position: absolute;
    top: 60px;
    width: 100%;
}

.mobile-language-selector {
    position: absolute;
    bottom: 60px;
    width: 100%;
}

.menu-list ul {
    list-style: none;
}

.menu-list ul li {
    font-size: 1.2em;
    margin-top: 5px;
    color: #fff;
}

.menu-list ul li a {
    text-decoration: none;
    color: #fff;
}

li.active a {
    color: #F0803C !important;
}

main {
    grid-area: main;
}

footer {
    grid-area: footer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer a {
    color: #F0803C;
    transition: color .2s;
}

footer a:hover {
    color: #3777FF;
}

.desktop-language-selector {
    display: none;
}

@media only screen and (max-height: 400px) {
    .menu-list ul li {
        font-size: 0.8em;
    }
}

@media only screen and (min-width: 1000px) {
    .mobile-menu {
        visibility: hidden;
        width: 0;
        height: 0;
    }

    .desktop-menu {
        visibility: visible;
        height: 100%;
        width: 90%;
        margin: 0 auto 0 auto;
        display: grid;
        grid-template-rows: 1fr;
        grid-template-columns: 2fr 1fr 3fr;
        grid-template-areas: "left middle right";
        align-items: center;
    }

    .desktop-menu ul {
        grid-area: right;
        text-align: right;
    }

    .desktop-menu ul li {
        display: inline;
        margin-left: 7px;
    }

    .desktop-menu ul li a {
        text-decoration: none;
        color: #fff;
        transition: color .2s;
        font-size: 20px;
    }

    .desktop-menu ul li a:hover {
        color: #3777FF;
    }

    .desktop-language-selector {
        display: inline;
    }
}
