
* {
    --bg-blur: 3px;
}

body {
    background-size: 1000px;
    background: url(images/family.webp) no-repeat fixed bottom right;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    min-height: 100vh;
}

body > div.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    min-height: 100vh;
    box-sizing: border-box;
    backdrop-filter: blur(var(--bg-blur));
    -webkit-backdrop-filter: blur(var(--bg-blur));
    background: var(--img-hover-gradient);
}

#region-selector {
    text-align: center;
    margin: 10vh auto;
}

#region-selector h1 {
    margin-block: 0;
}

#region-selector h1 img {
    width: 12vw;
    max-width: 200px;
}

#region-selector h2 {
    color: white;
    font-family: var(--default-font);
    font-size: 1.5rem;
    font-weight: normal;
    margin-block: 3rem;
}

#region-selector nav {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 5vw;
}

#region-selector a {
    color: #fff;
    text-decoration: none;
}

#region-selector a:hover figure figcaption {
    text-decoration: underline;
}

#region-selector a figure img {
    width: 30vw;
    max-width: 400px;
}

#region-selector a figure figcaption {
    padding-left: 5vw;
}

@media screen and (max-width: 700px) {
    body {
        background-size: contain;
    }

    #region-selector {
        padding-inline: 4rem;
        margin-block: 5vh 10vh;
    }

    #region-selector h1 img {
        width: 150px;
    }

    #region-selector h2 {
        margin-block: 2rem;
        font-size: 1rem;
    }

    #region-selector nav {
        flex-direction: column;
        gap: 2rem;
    }

    #region-selector a img {
        width: 70vw;
        max-width: 300px;
        min-width: 200px;
    }

    #region-selector a figcaption {
        padding-left: 0;
        padding-top: 0;
    }
}