/* ---------- MENU (for every page except for index page) ---------- */


/* ---------- MENU (open) ---------- */

.menu-fullscreen {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100vh;
    padding: var(--margin);

    display: flex;
    gap: var(--half-margin);

    transform: translateY(-100vh);
    transition: transform 1s ease;

    font-size: var(--topbar-font-size);

    z-index: 999;
}

.menu-bg-img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: cover;

    filter: brightness(0.6);

    z-index: -1;
}

body.menu-aberto .menu-fullscreen {
    transform: translateY(0);
}

.menu-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.menu-bottom {
    margin-top: auto;
}


/* -- left column -- */

.menu-col.left-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    flex: 1;

    width: 100%;
    height: 100%;
}

/* top */

.menu-left img {
    width: 100%;
    height: auto;
    display: block;
}

.menu-top img {
    width: 100%;
}

/* bottom */

.menu-left a {
    white-space: nowrap;
    text-decoration: none;

    font-size: var(--topbar-font-size);
    color: white;

    transition: opacity 0.3s ease;
}

body.menu-aberto .menu-left a {
    opacity: var(--opacity-value);
}

body.menu-aberto .menu-left a:hover {
    opacity: 1;
}


/* -- center column -- */

.menu-col.center-col {
    justify-content: flex-end;
    text-align: right;
}

/* top */

.menu-col .lang-selector {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.menu-col .lang-selector a {
    text-decoration: none;
    margin: 0 5px;

    font-size: var(--topbar-font-size);
    color: white;

    opacity: var(--opacity-value);

    cursor: pointer;
}

.menu-col .lang-selector .separator {
    font-size: var(--topbar-font-size);
    color: white;

    opacity: var(--opacity-value);

    margin: 0 5px;
}

/* bottom */

.menu-links {
    display: flex;
    flex-direction: column;

    cursor: pointer;
}

.menu-links a {
    display: inline-block;
    text-decoration: none;

    font-size: var(--menu-a-font-size);
    color: white;

    transform-origin: right center;
    transition: transform 0.3s ease, opacity 0.3s ease;

    font-family: 'Switzer-Medium';
}

body.menu-aberto .menu-links:hover a {
    opacity: var(--opacity-value);
}

body.menu-aberto .menu-links a:hover {
    opacity: 1;
    transform: scale(1.3);
}


/* -- right column -- */

.menu-col.right-col {
    justify-content: flex-end;
    text-align: right;
}

/* top */

.menu-top button {
    background: none;
    border: none;

    font-family: 'Switzer-Medium';
    font-size: var(--topbar-font-size);
    color: white;

    cursor: pointer;
}

/* bottom */

.menu-socials {
    display: flex;
    flex-direction: column;

    cursor: pointer;
}

.menu-socials a {
    text-decoration: none;
    display: inline-block;

    font-size: var(--topbar-font-size);
    color: white;

    transform-origin: right center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

body.menu-aberto .menu-socials a {
    opacity: var(--opacity-value);
}

body.menu-aberto .menu-socials a:hover {
    opacity: 1;
    transform: scale(1.3);
}