* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0e141b;
    color: #ecf0f1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
}

main {
    font-family: 'Playfair Display', fallback-fonts, sans-serif;
}

header {
    display: flex;
    justify-content: center;
    background-color: #0a283b;
    padding: 12px;
    min-height: 65px;
}

nav {
    display: flex;
    align-items: center;
    font-family: 'Oswald', fallback-fonts, sans-serif;
    font-size: 28px;
}

.nav-item {
    display: flex;
    margin: 0 30px;
}

@media (max-width: 700px) {
    nav {
        justify-content: space-around;
        font-size: 24px;
        font-size: clamp(16px, 5.5vw, 28px);
        width: 96%;
    }

    .nav-item {
        display: flex;
        margin: 0 2vw;
    }

    header {
        padding: 2vw;
        min-height: 50px;
    }
}

.nav-logo {
    display: flex;
}

.nav-current a:link,
.nav-current a:hover,
.nav-current a:visited {
    color: #e0c0f0
}

#backId {
    background-image: repeating-linear-gradient(135deg,
            #0e141b 0 500px,
            #101822 500px 580px,
            #0e141b 580px 680px,
            #101822 680px 740px);
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 700px) {
    #backId {
        background-image: repeating-linear-gradient(135deg,
                #0e141b 0 300px,
                #101822 300px 380px,
                #0e141b 380px 480px,
                #101822 480px 540px);
        background-repeat: no-repeat;
        background-size: cover;
    }
}

p {
    font-size: 1.0625rem;
    font-weight: normal;
    font-size: clamp(8px, 1.0625rem, 22px);
}

.content-gallery {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px 24px;
    margin: 0px auto;
}

@media (max-width: 480px) {
    .content-gallery {
        padding: 10px 16px;
    }
}

.main-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;

}

.main-column figure {
    position: relative;
    margin: 10px 0;
}

@media (max-width: 480px) {
    .main-column figure {
        margin: 7px 0;
    }
}

.main-column .content-image,
.main-column .content-video,
.main-column .content-gallery-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
    max-width: 100%;
    max-height: 100%;
}


.main-column .content-video {
    cursor: pointer;
    max-width: 960px;
    object-fit: contain;
}

.main-column .content-image:hover {
    transform: scale(1.05);
}

.main-column .content-image:hover+figcaption,
.main-column .content-video:hover+figcaption,
.main-column .content-gallery-image:hover+figcaption {
    opacity: 1;
}

.main-column figcaption {
    position: absolute;
    bottom: 0;
    color: #ecf0f1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    text-shadow: -1px 0 4px rgb(30, 6, 0), 0 1px 4px rgb(30, 6, 0), 1px 0 4px rgb(30, 6, 0), 0 -1px 4px rgb(30, 6, 0);
    font-size: 1rem;
}

.main-column .gallery-note {
    align-self: center;
    margin: 5px 0 20px;
}

.caption-video,
.caption-gallery {
    top: 10px;
    left: 12px;
}

.caption-image {
    top: 0;
    left: 0;
}

.youtube-video {
    width: 960px;
    max-width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    flex-shrink: 0;
    align-self: flex-start;
    max-height: calc(960px * 9 / 16);
}

footer {
    background-color: #091822;
    padding: 10px;
    text-align: center;
    font-family: 'Oswald', fallback-fonts, sans-serif;
    margin-top: auto;
    min-height: 45px;
}

footer p {
    font-size: 17px;
}

.non-selectable {
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a:link,
a:hover,
a:visited {
    text-decoration: none;
    color: #ffffff;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('Content/Fonts/PlayfairDisplay-Regular.woff2') format('woff2'),
        url('Content/Fonts/PlayfairDisplay-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Oswald';
    src: url('Content/Fonts/Oswald-Regular.woff2') format('woff2'),
        url('Content/Fonts/Oswald-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MonteCarlo';
    src:
        url('Content/Fonts/MonteCarlo-Regular.woff2') format('woff2'),
        url('Content/Fonts/MonteCarlo-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TurretRoad';
    src:
        url('Content/Fonts/TurretRoad-Regular.woff2') format('woff2'),
        url('Content/Fonts/TurretRoad-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}