:root {
    --hero-top: -300px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.hero {
    position: sticky;
    top: var(--hero-top);

    z-index: 100;

    min-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;
}

.page-content {
    position: relative;
    z-index: 10;

    background: #ffffff;

    /*
      Deliberately long for the first scrolling test.
    */
    min-height: 1800px;
}

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

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

@media (max-width: 700px) {
    .hero {
        min-height: 500px;
    }

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

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