/* ============== */
/* Body and color of the webpage */
/* ============== */
*{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

:root{
    --body-color: #E4E9F7;
    --altbody-color: #e1e5f0;
    --bodyalt-color: #dae0e7;
    --nav-color: #4070F4;
    --side-nav: #010718;
    --text-color: #FFF;
    --search-bar: #F2F2F2;
    --search-text: #000000;
    --outline-color: #18191A;
    --text-title: #000000;
    --card-color: #FFFFFF;
    --about-icon: #4070F4;
}

body{
    height: 100vh;
    background-color: var(--body-color);
}

body.dark{
    --body-color: #18191A;
    --altbody-color: #1e2021;
    --bodyalt-color: #191b1b;
    --nav-color: #242526;
    --side-nav: #242526;
    --text-color: #CCC;
    --search-bar: #242526;
    --outline-color: #E4E9F7;
    --text-title: #FFFFFF;
    --card-color: #000000;
    --about-icon: #FFFFFF;
}

/* ============== */
/* Header Section */
/* ============== */
section{
    min-height: 50vh;
}

.galleryContainer .bgimg{
    background-image: url("images/imagecollage.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    max-height: 50%;
    width: 100%;
    height: 100vh;
    z-index: 1;
    position: absolute;
    filter: brightness(60%);
} 

body.dark .galleryContainer .bgimg{
    filter: brightness(50%);
}

.galleryContainer .galleryHead{
    color: white;
    z-index: 2;
    font-size: 50px;
    font-style: italic;
    font-family: cursive;
    letter-spacing: 3px;
}


/* ============== */
/* Gallery Section */
/* ============== */
#contentContainer{
    padding: 1.5rem;
}

section .flexContainer{
    overflow: hidden;
    width: 100%;
}


section .flexContainer .content{
    flex: 4;
    display: flex;
    overflow: hidden;
    min-height: 400px;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.flexContainer .content .cards{
    color: var(--text-title);
    width: 300px;
    padding: 0.5rem 0.5rem 0 0.5rem;
    font-size: 15px;
}

.flexContainer .content .cards img{
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 10px;
}