/* style.css */

/* fonts/migra-extralight.woff2 must live at ./fonts/migra-extralight.woff2 */
@font-face {
    font-family: 'Migra';
    src: url('fonts/migra-extralight.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

body {
    font-family: 'Migra', 'Playfair Display', serif;
    background-color: #f8f5ef;
    color: #405164;

    /* fade-in on load */
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Navigation links */
.nav-link {
    position: relative;
    padding-bottom: 6px;
    font-size: 30px;
    transition: color 0.3s;
    text-decoration: none;
    color: inherit;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -5px;
    right: -5px;
    height: 2px;
    background-color: #405164;
    transition: transform 0.3s ease;
    transform: scaleX(0);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1.1);
}

/* Language toggle */
.lang-toggle {
    font-size: 14px;
    cursor: pointer;
    color: #405164;
}

/* Intro & sub‐text sizes */
.intro-text { font-size: 23px; }
.sub-text   { font-size: 16px; }

/* Disclaimer */
.disclaimer {
    font-size: 11px;
    color: #04194d;
}

/* fade‐out on link click */
.is-exiting {
    opacity: 0;
    transition: opacity 0.4s ease;
}
