:root {
    --vid-height-desk: 900px;
    --vid-height-mobile: 80vh;
}

html {
    padding: 0;
    margin: 0;
    font-family: Verdana;
    color: white;
}

body {
    box-sizing: border-box;
/*    height: 100vh;*/
    display: flex;
    flex-direction: column;
    margin: 0;
    background-color: gray;
}

h1, h2, h3, h4 {
    line-height: 0;
}

img {
    width: 100%;
/*    min-height: 100%;*/
    max-height: var(--vid-height-desk);
    object-fit: cover;
}

#topDiv{
    box-sizing: border-box;
    position: relative;
    height: var(--vid-height-desk);
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: space-between;
}

#navDiv {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex: 0 0 65px;
    padding: 40px;
/*    background: url(images/enigma.mp4);
    background-repeat: no-repeat;*/
}

#enigmaVideo {
    box-sizing: border-box;
    z-index: -100;
    position: absolute;
/*    aspect-ratio: 6 / 9;*/
    height: var(--vid-height-desk);
    width: 100vw;
    object-fit: cover;
    border: solid 1px white;
}

#noelTitle {
    font-weight: 600;
    font-size: 1.5rem;
/*    font-size: clamp(1rem, 4vw, 40px);*/
    margin: 0;
}

#nav {
    font-weight: 600;
    font-size: 1.5rem;
/*    font-size: clamp(1rem, 4vw, 40px);*/
}

#enigmaDiv {
    box-sizing: border-box;  
    padding: 10px;
    background-color: rgb(0, 0, 0, 0.5);
    visibility: visible;
/*    border: 3px solid blue;*/
}

#enigmaTitle {
    text-align: center;
    font-family: calibri;
    font-size: 100px;
    font-weight: 100;
    letter-spacing: 6vw;
    margin: 0;
    padding: 0;
}

.content {
    position: relative;
    width: 100%;
    height: var(--vid-height-desk);
    padding: 0;
    margin: 0;
}

.contentText {
    position: absolute;
    top: 30%;
    left: 14%;
    width: 40%;
    max-width: 430px;
    font-size: 1.2em;
    color: lightgray;
}

#galleryContainer {
    position: relative;
/*    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    flex: 1 1 auto;*/
}

#imgContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.desktop {
    width: 33.333%;
}

.mobile {
    width: 100%;
}

.sq {
    width: 100%;
}

#footer {
    display: flex;
    box-sizing: border-box;
    border: 2px solid black;
/*    background-color: skyblue;*/
    padding: 10px;
    flex: 0 0 65px;
}


@media screen and (orientation: portrait) {
    
    img {
        max-height: var(--vid-height-mobile);
    }
    #topDiv {
        height: 80vh;
    }
    #enigmaVideo {
        height: 80vh;
/*        height: calc((100vw - 1280px) * -2.5);*/
}
    
    #enigmaTitle {
        font-size: 10vw;
    }
    .content {
        height: var(--vid-height-mobile);

    }
    
/*    .content {
        visibility: hidden;
        height: 20vw;
        padding: 20px;
        text-overflow: ellipsis;
        overflow: hidden;
    }*/
}


/*@media screen and (max-width: 1280px) {
    #enigmaVideo{
        min-height: var(--vidHeight);
        height: calc((100vw - 1280px) * -2);
}
    
    .content {
        visibility: hidden;
}*/