body,
html {
    height: 100%;
    margin: 0;
    color: hsl(0, 0%, 47%);
}

.bgimg-1,
.bgimg-2,
.bgimg-3 {
    position: relative;
    overflow: hidden;
}

.bgimg-media {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: opacity 1.6s ease;
}

.bgimg-media.is-visible {
    opacity: 0.65;
}

.bgimg-1 {
    min-height: 100%;
}

.bgimg-2 {
    min-height: 400px;
}

.bgimg-3 {
    min-height: 400px;
}

.caption {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    text-align: center;
    color: #000;
    z-index: 2;
}

.caption span.border {
    background-color: #111;
    color: #fff;
    padding: 18px;
    font-size: 25px;
    letter-spacing: 10px;
}

h2.intro {
    text-align: center;
    font-size: 25px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
}

h3 {
    letter-spacing: 5px;
    text-transform: uppercase;
    font: 20px "Lato", sans-serif;
    color: #111;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.social-icons a {
    color: #f7f7f7;
    font-size: 30px;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-icons a:hover,
.social-icons a:focus-visible {
    color: #ffffff;
}

@media only screen and (max-width: 1024px) {
    .bgimg-media {
        background-attachment: scroll;
    }

    .caption span.border {
        display: inline-block;
        width: min(88vw, 420px);
        box-sizing: border-box;
        padding: 14px 12px;
        letter-spacing: 6px;
    }

    .mobile-break-word {
        display: block;
        margin-top: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bgimg-media {
        transition: none;
    }
}