/* Resuable Vals */
:root {
    --background-color: rgb(255, 188, 100);
    --image-backing-color: rgb(255, 194, 114);
    --default-text-color:rgb(250, 250, 223);
}

body {
    background: var(--background-color);
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
}

/* The Container for the entire page */
div.container {
    width: 100vw;
    height: 100vh;
    display: -webkit-flex;
    display: flex;
}

/* Navigation - all contained in the header */
/* header {} */

.nav-bar {
    justify-self: flex-start;
}

ul.nav-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

li.nav-item {
    padding: 1rem;
    display: block;
    flex-wrap: nowrap;
}

a.nav-item {
    text-decoration: none; 
    font-size: 1.5rem;
    color: var(--default-text-color);
    transition: color 150ms;
    flex-wrap: nowrap;
}

a.nav-item:hover {
    cursor: pointer;
    padding-top: 8px;
    color: rgb(255, 0, 0);
    transition: 150ms;
}

/* The Main Section */
#main-content {
    overflow: hidden;
    display: -webkit-flex;
    display: flex;
    flex: 1;
}

/* The Home-Page Slideshow */
.slideshow {
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    -webkit-align-content: flex-end;
    align-content: flex-end;
    display: -webkit-flex;
    display: flex;
    -webkit-flex: 1;
    flex: 1;
}

.slideshow-item {
    margin: 1rem;
    display: flex;
    justify-content: flex-end;
}

.slideshow-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100vh;
    display: block;
    object-fit: contain;
    object-position: right center;
}

.fade {
    animation-name: fade;
    animation-duration: 1.4s;
}

@keyframes fade {
    from {opacity: 0.45}
    to {opacity: 1.0}
}

.slideshow-item:hover {
    cursor: pointer;
}

/* Contact Page */
.contact-body {
    color: var(--default-text-color);
    padding: 1rem;
    font-size: 1.5rem;
    margin: 0;
}

/* Gallery Page */
.gallery-container {
    width: 100%;
    overflow-y: scroll;
    padding: 1rem;
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: repeat(auto-fit, minmax(375px, 1fr));
    grid-gap: 1rem;
}

.gallery-item {
    background-color: var(--image-backing-color);
    aspect-ratio: 1 / 1;
    /* outline: red solid 5px; */
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Media Queries */
@media all and (max-width: 600px) {
    div.container {
        flex-direction: column;
    }
    .slideshow {
        flex-direction: column;
    }
    .gallery-container {
        grid-template-columns: 1fr;
    }
}

