@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html,
body,
.main {
    width: 100%;
    height: 100%;
}

body {
    background-color: black;
}

.background {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: 0;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.logo {
    background: none;
    filter: invert(100%);
    width: 15rem;
    height: 15rem;
}

.links {
    display: flex;
    flex-direction: row;
}

.links a,
p {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
}

.links a:hover {
    text-shadow: 0 0 10px white;
}

.links .sep {
    margin: 0 1.5rem 0 1.5rem;
}

.logo,
.links {
    z-index: inherit;
}

@media (max-width: 768px) {
    .logo {
        width: 10rem;
        height: 10rem;
    }

    .links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        padding: 0 1rem;
        text-align: center;
    }

    .links .sep {
        display: none;
        /* Hide separators on mobile for cleaner vertical/wrapped stack */
    }

    .links a,
    p {
        font-size: 1.2rem;
    }

    /* Ensure nice stacking and visual separation */
    .links a {
        padding: 0.8rem 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 99px;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px);
        margin: 0.2rem;
        transition: background 0.3s ease;
    }

    .links a:hover,
    .links a:active {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.8);
        text-shadow: none;
        /* remove standard hover glow for cleaner button look */
    }
}