.header-logo {
    top: 0;
    padding: 25px;
    position: absolute;
    z-index: 1110;
}

.lang {
    background-color: transparent;
    border: none;
    cursor: pointer;
    right: 75px;
    top: -10px;
    height: 50px;
    outline: none;
    padding: 50px;
    pointer-events: initial;
    position: fixed;
    vertical-align: middle;
    width: 50px;
    z-index: 1111;
}

.lang img {
    width: 2.5rem;
}

.text-menu {
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    right: 1.6rem;
    top: 3.5rem;
    z-index: 9999999;
    display: block;
    cursor: pointer;
}

.text-menu h1 {
    font-size: .9rem;
    color: #1a251b;
    font-weight: 200;
    text-transform: uppercase;
}

#menu {
    background: rgba(255, 255, 255, 0.99);
    height: 100%;
    left: 0;
    opacity: 0;
    overflow: hidden;
    position: fixed;
    text-align: center;
    top: 0;
    transition: all 0.7s ease-in-out;
    visibility: hidden;
    width: 100%;
    z-index: 1100;
    font-weight: 200;
}

#menu.open {
    opacity: 0.9;
    visibility: visible;
}

#menu.open li:nth-child(1) {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

#menu.open li:nth-child(2) {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

#menu.open li:nth-child(3) {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

#menu.open li:nth-child(4) {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

#menu.open li:nth-child(5) {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

#menu.open li:nth-child(6) {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

#menu.open li:nth-child(7) {
    -webkit-animation-delay: 0.7s;
    animation-delay: 0.7s;
}

#menu.open li:nth-child(8) {
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

#menu.open li:nth-child(9) {
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s;
}

#menu.open li:nth-child(10) {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

#menu.open li {
    -webkit-animation-duration: 1.0s;
    animation-duration: 1.0s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

#menu ul a {
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    transition: color 0.3s;
}

#menu ul a:hover {
    opacity: 1;
    color: #446078;
}

#menu .main-nav {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

#menu .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu .main-nav a {
    color: #000000;
    display: block;
    font-size: 2.5rem;
    padding: 1rem 1rem;
    text-decoration: none;
    text-transform: uppercase;
}

#menu .main-nav a:first {
    padding-top: 0;
}

#menu .menu-footer {
    padding-top: 3rem;
    padding-bottom: 1rem;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
}

#menu .menu-footer ul {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu .menu-footer ul li {
    display: inline;
    margin: 0 1rem;
}

#menu .menu-footer a {
    font-size: 1.3rem;
    color: #1a251b;
    text-decoration: none;
    text-transform: uppercase;
}

.toggle-menu {
    background-color: transparent;
    border: none;
    cursor: pointer;
    right: 0;
    top: 0;
    height: 50px;
    outline: none;
    padding: 50px;
    pointer-events: initial;
    position: fixed;
    vertical-align: middle;
    width: 50px;
    z-index: 1111;
}

.toggle-menu span {
    background-color: #1a251b;
    content: "";
    display: block;
    height: 2px;
    left: calc(50% - 13px);
    position: absolute;
    top: calc(50% - 1px);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out, -webkit-transform 0.2s linear;
    transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out, transform 0.2s linear;
    transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out, transform 0.2s linear, -webkit-transform 0.2s linear;
    width: 40px;
}

.toggle-menu span:before,
.toggle-menu span:after {
    background-color: #1a251b;
    content: "";
    display: block;
    height: 2px;
    position: absolute;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out, -webkit-transform 0.2s linear;
    transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out, transform 0.2s linear;
    transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out, transform 0.2s linear, -webkit-transform 0.2s linear;
    width: 40px;
}

.toggle-menu span:before {
    top: 7px;
}

.toggle-menu span:after {
    top: -7px;
}

.toggle-menu.active span {
    background-color: transparent;
    transition: background 0.2s ease-out;
}

.toggle-menu.active span:before,
.toggle-menu.active span:after {
    transition: top 0.2s ease-out, -webkit-transform 0.2s 0.2s ease-out;
    transition: top 0.2s ease-out, transform 0.2s 0.2s ease-out;
    transition: top 0.2s ease-out, transform 0.2s 0.2s ease-out, -webkit-transform 0.2s 0.2s ease-out;
}

.toggle-menu.active span:before {
    top: 0;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
}

.toggle-menu.active span:after {
    top: 0;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
}

nav a:hover,
nav a:focus {
    outline: none;
}


/* Effect 13: three circles */

#menu ul li a {
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    transition: color 0.3s;
}

#menu ul li a::before {
    position: absolute;
    top: 50%;
    left: 50%;
    color: transparent;
    content: '. ';
    text-shadow: 0 0 transparent;
    font-size: 1.2em;
    -webkit-transition: text-shadow 0.3s, color 0.3s;
    -moz-transition: text-shadow 0.3s, color 0.3s;
    transition: text-shadow 0.3s, color 0.3s;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    transform: translateX(-50%);
    pointer-events: none;
}

#menu ul li a:hover::before,
#menu ul li a:focus::before {
    color: #f6b319;
    text-shadow: 10px 0 #f6b319, -10px 0 #f6b319;
}

@media only screen and (max-width: 500px) {
    .header-logo {
        left: 0;
    }
}

@media only screen and (max-width: 896px) {
    #menu .main-nav a {
        font-size: 1.3rem;
    }
}

@media only screen and (max-width: 1024px) and (orientation: portrait) {
    #menu .main-nav a {
        font-size: 2rem;
    }
}