:root {
    --background-color: var(--white2-color);
    --text-color: var(--black-color);
}

body {
    background-color: var(--background-color);
    height: 100vh;
}

.kmmx {
    position: absolute;
    top: 0;
    width: 90px;
    margin: 14px;
}

.landing-page {
    display: flex;
    flex-direction: column;
    max-height: 100svh;
    padding: 0;

    .logo {
        --space: 200px;
        width: 100%;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        padding-right: 50px;
        overflow: hidden;
        margin-bottom: calc(var(--space) * -1);
        z-index: 1;

        svg {
            max-height: 700px;
            min-width: 500px;
            view-transition-name: aa-logo;
            padding-bottom: var(--space);
        }
    }

    .boot-menu {
        flex-grow: 1;
        justify-content: space-evenly;
        min-height: 450px;
        width: 100%;
        align-items: start;
        text-align: left;
        padding: 0 1em;

        .version {
            text-align: end;
            width: 100%;
            font-weight: normal;
        }

        .header-container {
            width: 100%;

            .header {
                width: 100%;
                padding: 4px 10px 4px;
                margin-bottom: 7px;
                color: var(--white-color);
                background-color: var(--black-color);
                /* font-size: 30px; */
            }
        }

        /* Yes/No */
        .option-container {
            display: inline-flex;
            position: relative;
            margin: 22px 0;

            .option {
                padding: 10px 20px;
                font-size: clamp(3rem, 5vw, 4rem);
                line-height: 0.9;
                cursor: pointer;
                position: relative;
                z-index: 1;
                color: black;
                transition: color 0.3s ease;

                &:hover {
                    color: white;
                }
            }

            .hover-box {
                position: absolute;
                top: 0;
                bottom: 0;
                width: 0;
                background-color: black;
                transition: all 0.3s ease;
                z-index: 0;
                opacity: 0;
            }

        }

        .backbtn-container {
            margin-bottom: 5%;

            a {
                position: relative;
                color: #333;
                text-decoration: none;
                font-size: 24px;
                font-weight: bold;
                padding-bottom: 1px;

                &::after {
                    content: '';
                    position: absolute;
                    width: 100%;
                    height: 4px;
                    bottom: 0;
                    left: 0;
                    background-color: var(--primary-color);
                    /* Modern vibrant color */
                    transform: scaleX(0);
                    transform-origin: bottom right;
                    transition: transform 0.3s ease-out;
                }

                &:hover::after {
                    transform: scaleX(1);
                    transform-origin: bottom left;
                }
            }
        }

        * {
            font-weight: 200;
        }
    }

}

.log {
    position: absolute;
    bottom: 10px;
    right: 10px;
    text-align: left;
    margin: 0;

    .line {
        padding-left: 20px;
        overflow: hidden;
        white-space: nowrap;
    }

    .typing {
        border-right: .15em solid orange;
        animation: blink .75s step-end infinite;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Navigation Menu Popup */
.navigation-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1000;
    font-family: 'Montserrat', sans-serif;
}

.menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.menu-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 100;
    z-index: 10;
}

.close-btn:hover {
    color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.menu-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 600px;
}

.menu-option {
    display: block;
    padding: 1rem 2rem;
    text-decoration: none;
    color: rgba(0, 0, 0, 0.6);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 2.5rem;
    font-weight: 100;
    text-align: center;
    letter-spacing: 3px;
    text-transform: lowercase;
    position: relative;
    width: 100%;
    border: none;
    background: transparent;
}

.menu-option::before {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.menu-option:hover {
    color: rgba(0, 0, 0, 0.9);
    letter-spacing: 6px;
    transform: scale(1.05);
}

.menu-option:hover::before {
    width: 60px;
}

/* Animation for menu appearance */
.navigation-menu.show {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.navigation-menu.show .menu-content {
    animation: slideIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translate(-50%, -60%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .boot-menu {
        padding: 0 1em;
    }

    .close-btn {
        top: 1.5rem;
        right: 1.5rem;
        font-size: 1.3rem;
    }

    .menu-options {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .menu-option {
        font-size: 2rem;
        letter-spacing: 2px;
        padding: 0.8rem 1.5rem;
    }

    .menu-option:hover {
        letter-spacing: 4px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .landing-page {
        flex-direction: row;
        align-items: center;
        height: 100%;

        .logo {
            width: 50%;
            padding-right: 0;
            margin-bottom: 0;

            svg {
                padding-bottom: 0;
            }
        }
    }
}