* {
    box-sizing: border-box;
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 40px;
    z-index: 1000;
    background-color: #fff;

    padding: 0px 2rem;

    transition: all 0.25s ease-in-out;

    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

.menu .main-nav {
    padding: 0 2rem;

    flex: 1 1 auto;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.menu .user-nav {
    flex: 1 1 auto;
    width: 40%;
    margin: 0px 20px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.menu .material-symbols-outlined {
    font-size: 2rem;
    cursor: pointer;
}

.menu .logo {
    opacity: 0;
    /* width: 100px; */
    height: 60px;
    transition: all 0.25s ease-in-out;
    cursor: pointer;
}

.menu.menu-top .logo {
    opacity: 1;
}

.menu a {
    white-space: nowrap;
    margin: 0 0px;
    text-decoration: none;
    color: inherit;
    font-weight: 500;

    transition: all 0.25s ease-in-out;
}

.menu a:hover {
    transform: scale(1.2);
    color: inherit;
}

@media not screen and (max-width: 650px) {
    .mobile:not(.monitor) {
        display: none;
    }

    .menu.menu-top {
        height: 80px;
        background-color: #fff;
    }

    .menu.menu-top:hover {
        background-color: #fff;
    }
}

@media screen and (max-width: 650px) {
    .monitor:not(.mobile) {
        display: none;
    }

    .menu {
        overflow: hidden;
        width: 100vw;
        height: 40px;
        background-color: #eab7fc00;

        padding: 0;

        transition: all 0.25s ease-in-out;

        display: flex;
        flex-flow: column nowrap;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
    }

    .menu:has(label > input:checked) {
        color: #ffff;
        background-color: #d0102c;
        width: 100vw;
        height: 100vh;
    }

    .menu > label > input {
        display: none;
    }

    .menu .main-nav {
        padding: 0;

        margin-top: 40px;
        width: 100%;
        display: flex;
        flex-flow: column nowrap;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
    }

    .menu .user-nav {
        width: 100%;
        margin: 0px 0px;
        display: flex;
        flex-flow: column nowrap;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
    }
}
