@import url('https://fonts.cdnfonts.com/css/nickainley');

html {
    background: #fff;
    font-size: 20px;
    line-height: 130%;
    font-family: 'Playfair Display', sans-serif;
}

body {
    margin: 0;
}

main h1,
main h2,
main h3,
main h4 {
    font-family: "Nickainley", sans-serif;
    color: #2f4aa6;
    letter-spacing: normal;
}

main h1 {
    font-size: 6em;
    line-height: 100%;
    text-align: center;
}

main h2 {
    font-size: 2.5em;
}

main h3 {
    font-size: 1.75em;
}

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1em;
    margin: 2em 0;
}

section.hero {
    min-height: 100svh;
    margin: 0;
    align-items: center;
    background: url(/banner.png);
    background-size: cover;
    background-position-x: center;
    background-position-y: top;
    background-repeat: no-repeat;
}

main h1 span {
    color: black;
    font-size: 60px;
    font-family: 'Playfair Display', sans-serif;
    font-weight: normal;
    letter-spacing: 10px;
}

div.white-square {
    background: white;
    aspect-ratio: 1 / 1;
    color: black;
    /* padding: 1em; */
    border-radius: 5px;
    box-shadow: 0px 0px 20px 10px #2f4aa659;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

div.flexbox {
    display: flex;
}

div.wrapper {
    max-width: 600px;
    margin: auto;
    width: -webkit-fill-available;
    width: -moz-available;
    width: fill-available;
}

a.button {
    border-radius: 5px;
    padding: 0.5em 1em;
    color: white;
    text-decoration: none;
    background: #2f4aa6;
    width: fit-content;
    display: block;
    margin: 1em 0;
}

img.separator {
    display: block;
    height: 1.5em;
    margin: auto;
}

div.grid {
    display: grid;
    width: 100%;
    grid-gap: 1em;
    grid-template-columns: repeat(auto-fill, minmax(min(7rem, 100%), 1fr));
}

div.grid a {
    display: block;
    padding: 1em;
    border-radius: 5px;
    background: #fafafa;
    text-decoration: none;
    color: initial
}

footer {
    color: white;
    background: #2f4aa6;
    min-height: 5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 767px) {
    main h1 {
        font-size: 4em;
    }

    main h1 span {
        font-size: 30px;
    }
}