* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
    background: #ffffff;
    color: #17324d;
}


/* LARGE HERO */

.hero {
    position: relative;

    height: 620px;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(255,255,255,0.82),
            rgba(255,255,255,0.82)
        ),
        url("assets/resources-banner.png");

    background-size: cover;
    background-position: center;
}


.hero-content {
    width: min(900px, 90%);
    padding: 50px 20px;
}


.hero h1 {
    margin: 0;

    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.28;

    font-weight: 700;
    color: #0c4788;
}


.hero p {
    max-width: 760px;
    margin: 28px auto 0;

    font-size: clamp(15px, 1.6vw, 19px);
    line-height: 1.55;

    color: #6258e8;
}


/* COMPACT HEADER */

.compact-header {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    height: 110px;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 1000;

    font-size: 26px;
    font-weight: 700;

    color: #0c4788;
    background: rgba(255,255,255,0.96);

    box-shadow:
        0 2px 8px rgba(0,0,0,0.12);

    opacity: 0;
    transform: translateY(-100%);

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}


.compact-header.is-visible {
    opacity: 1;
    transform: translateY(0);

    pointer-events: auto;
}


/* TEST PAGE CONTENT */

.page-content {
    min-height: 1800px;
    background: #ffffff;
}


.page-content section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 30px;
}


.page-content h2 {
    font-size: 36px;
    color: #0c4788;
}


/* MOBILE */

@media (max-width: 700px) {

    .hero {
        height: 500px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 15px;
    }

    .compact-header {
        height: 90px;
        font-size: 21px;
    }
}
