header {
    background-color: #000;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
	box-shadow: 0 0 10px rgba(255, 255, 255, .5);
}
header > div {
    max-width: 800px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}
header > div > h1 {
    color: #fff;
    display: inline-flex;
    z-index: 1100;
    position: relative;
}
/*------------- Menu Toggle -------------*/
.menu-toggle {
    display: inline-flex;
    cursor: pointer;
    z-index: 1200;
    transition: transform 0.1s ease;
    margin: 5px 0 0 0;
}
.menu-toggle:hover {
    transform: scale(1.1);
}
.menu-icon {
    position: relative;
    width: 35px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}
.menu-icon span {
    display: block;
    height: 4px;
    width: 100%;
    background-color: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-icon.icon-x span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 10px);
}
.menu-icon.icon-x span:nth-child(2) {
    opacity: 0;
}
.menu-icon.icon-x span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -10px);
}
#menu {
    position: fixed;
    top: 0;
    right: -80%;
    width: 80%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
}
#menu.open {
    right: 0;
}
#menu ul {
    list-style: none;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    line-height: 2;
}
@media only screen and (max-width: 500px) {
    #menu ul {
        font-size: 1.25rem;
    }
}
#menu > ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
@media only screen and (max-width: 900px) {
	.flag-link img {
		right: 100px;
	}
}
#menu > ul > li:first-child {
    background-color: rgba(250, 240, 230, 1);
    border-radius: 5px;
    color: #000;
    transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}
#menu > ul > li:first-child:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 1);
    transform: scale(1.1);
}
#menu li {
    transition: transform 0.1s ease;
    list-style: none;
    padding: 0 20px;
}
#menu ul li:hover:not(:first-child) {
    transform: scale(1.1);
}
#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 900;
}
#menu-overlay.visible {
    display: block;
}
@media (max-width: 850px) {
    header > nav > div > ul {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
}
