/* All pages will have these, so style can import all of these */
@import url(header.css);
@import url(footer.css);

* {
    box-sizing: border-box;
    font-family: var(--font-family);
}

html, body {
    height: 100%;
    margin: 0;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

:root {
    --lnu-yellow: rgb(255, 224, 0);
    --lnu-gray: #333333;
    --lnu-black: #120d26;
    --lnu-background-shade: #f7f7f7;
    --font-family: "Poppins", sans-serif;
}

.centered {
    max-width: 75em;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 22px;
    border-radius: 10px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out, opacity 0.2s ease-in-out;
    text-decoration: none;
    cursor: pointer;
}

.primary-button {
    background-color: var(--lnu-black);
    color: #fff;
}

.secondary-button {
    background-color: transparent;
    color: var(--lnu-black);
    border: 2px solid var(--lnu-black);
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    opacity: 0.9;
}

@media (max-width: 1100px) {
    .centered {
        padding-left: clamp(1rem, 5vw, 2rem);
        padding-right: clamp(1rem, 5vw, 2rem);
    }
}

body [data-lang] {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

body.is-language-switching [data-lang] {
    opacity: 0;
    transform: translateY(6px);
}

@media (prefers-reduced-motion: reduce) {
    body [data-lang] {
        transition: none;
    }
}
