html {
    scroll-behavior: smooth;
    font-family: "Josefin Sans", sans-serif;

}
body.home {
    margin: 0
}
body.gallery {
    margin: 0 auto;
}
body.gallery .head {
    height: 30rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
body.gallery .title {
    color: white;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 4.2rem;
    text-transform: uppercase;
    text-align: center;
    line-height: 4rem;
    margin-bottom: 2rem
}
body.gallery .date {
    color: white;
    font-weight: 500;
    font-size: 1.8rem;
    text-transform: uppercase;
    text-align: center;
}
body.gallery .home {
    color: white;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
    text-transform: uppercase;
    position: absolute;
    top: 2rem;
    right: 2rem;
    cursor: pointer;
}
body.gallery .home:hover {
    color: deeppink
}
body.gallery .home .fa-house {
    font-size: 1.4rem
}
body.gallery .g_art {
    border-bottom: .8rem solid #3CAAB0;
}
body.gallery .g_science {
    border-bottom: .8rem solid #AABAC5;
}
body.gallery .g_trees {
    border-bottom: .8rem solid #99C146;
}
body.gallery .g_bridges {
    border-bottom: .8rem solid #82A4BD;
}
body.gallery .g_math {
    border-bottom: .8rem solid #86CFC7;
}
body.gallery .g_reading {
    border-bottom: .8rem solid #E0F3B2;
}
body.gallery .g_writing {
    border-bottom: .8rem solid #8FBFB9;
}
body.gallery .g_dance {
    border-bottom: .8rem solid #CD98AB;
}
body.gallery .g_poetry {
    border-bottom: .8rem solid #A2C1D3;
}
body.gallery .g_comics {
    border-bottom: .8rem solid #C66F98;
}
body.gallery .g_music {
    border-bottom: .8rem solid #030306;
}
body.gallery .g_else {
    border-bottom: .8rem solid #B4A5ED;
}
body.gallery div.content {
    margin: 2rem
}
body.gallery .excerpt {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 2.7rem;
    margin: 0 0 2rem
}
body.gallery .gall {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    flex-direction: row;
    align-items: center;
    justify-content: center;

}
body.gallery ul {
    list-style-type: none; /* Remove bullets */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margins */
}
body.gallery li {
    height: 15rem;
    flex-grow: 1
}
body.gallery li:last-child {
    flex-grow: 10;
}
body.gallery .gall img {
    max-height: 100%;
    min-height: 100%;
    min-width: 100%;
    object-fit: cover !important;
    vertical-align: bottom;
    border-radius: .6rem;
    cursor: pointer;
    border: 2px white solid
}
body.gallery .gall img:hover {
    border: 2px deeppink solid
}
.darken {
    position: absolute;
    width: 100%; height: 100%;
    background: rgba(0,0,0,.3);
    top: 0; left: 0
}

/* overlay */
#overlay {
position: fixed;
overflow: hidden;
height: 100%; width: 100%;
background: rgba(0,0,0,.9);
left: 0; top: 0;
display: flex;
align-items: center;
justify-content: center;
z-index: 20
}
#light-box {
height: 100%; width: 100%;
color: white;;
padding: 2rem
}
.slider-l {
    font-family: sans-serif;
    scroll-snap-type: x mandatory;
    display: flex;
    -webkit-overflow-scrolling: touch;
    overflow-x: scroll;
    height: 100%;
}
section.l {
    padding: 0rem 0rem 2rem;
    min-width: 100%;
    height: 96%;
    scroll-snap-align: start;
    text-align: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative
}
.slider-l section.l img {
    max-width: 96%;
    max-height: 94%;
}
.butts {
    color: white;
    position: absolute;
    bottom: 0;
    display: flex;
    gap: 10rem;
    font-size: 1.6rem
}
a.butt {
    color: white;
    padding: 1rem
}
#close {
position: fixed;
top: 2rem; right: 2rem;
color: white;
font-size: 2rem;
cursor: pointer
}
#close:hover, .butts *:hover {
color: deeppink
}

/* Hide scrollbar for Chrome, Safari and Opera */
.slider-l::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
#overlay {
-ms-overflow-style: none;  /* IE and Edge */
scrollbar-width: none;  /* Firefox */
}

.proc_gall {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem
}
.proc_gall li {
    list-style-type: none;
    text-align: center
}
.proc_gall img {
    max-width: 8rem
}

/* HEADER */
#home_head {
background: #FFCC00;
padding: 2.5rem 8%;
}
#head_top {
display: flex;
margin-bottom: 3rem;
align-items: center
}
#head_top div {
flex: 1
}
#head_top #left {
margin-top: 2rem
}
#head_top #left #head_logo img {
max-width: 10rem
}
#ga_av img {
max-height: 18rem;
width: auto;
}
#ga {
font-size: 2rem;
font-weight: 600
}
#hello {
color: white;
font-family: "Poppins", sans-serif;
font-size: 4.2rem;
font-weight: 700;
text-transform: uppercase;
line-height: 4rem;
margin-top: 1rem
}
#menu {
display: flex;
gap: 1rem;
font-size: 1.3rem;
text-transform: uppercase;
font-weight: 500;
margin: 0 0 0 -1rem
}
#menu div, .text_butt {
background: rgba(56,256,256,0);
padding: .9rem 1rem .7rem;
border-radius: .5rem;
cursor: pointer
}
#menu div:hover, .text_butt:hover {
background: white;
}
.text_butt {
    background: rgba(256,256,256,.3);
    display: inline-block
}

/* HOME SECTIONS */
.h_section {
    min-height: 5rem;
    padding: 2rem 8% 4rem
}
.section_title {
    font-family: "Poppins", sans-serif;
    font-size: 3.7rem;
    font-weight: 700;
    line-height: 4rem;
    margin: 1rem 0 1.5rem
}
.non_title, label.dis_label, .d_any label {
    font-family: "Josefin Sans", sans-serif !important;
    font-weight: normal;
    font-size: 1.7rem;
    line-height: 2.3rem;
    margin: 2rem 0 0
}
.non_title a {
    text-decoration: none;
    color: inherit;
    padding: .6rem 1rem .3rem;
    border-radius: .8rem;
    background: rgba(256,256,256,.6);
}
.non_title a:hover {
    background: white;
}
#h_photos, #allgall {
background: #3CAAB0
}
#h_pass, #h_soon {
background: #faffa4
}
#h_calendar {
background: rgba(143, 191, 185, 1)
}
#h_dismiss,
#h_curric {
background: #DAD2F6
}
#h_families {
background: #B4A5ED
}
#h_books {
background: #A2C1D3
}
#h_zoom {
background: #E0F3B2
}
#h_galleries {
display: flex;
flex-wrap: wrap;
width: 100%;
justify-content: flex-start;
gap: 1.5rem;
align-items: flex-start;
margin-bottom: 1rem
}
#h_galleries a {
text-decoration: none;
color: inherit;
flex: 1;
min-width: 18rem !important;
}
#h_photos #h_galleries a div.g_bub, #allgall a .g_bub {
padding: 1rem;
border-radius: .5rem;
background: rgba(256,256,256,.4);
}
#h_photos #h_galleries a div.g_bub:hover, #allgall a .g_bub:hover {
background: rgba(256,256,256,.7);
}
.g_bub .gb_head {
    margin: 0 0 .5rem;
    height: 18rem;
    margin-bottom: 1.5rem
}
.g_bub .gb_head img {
    border: white solid 2px;
    max-height: 100%;
    min-height: 100%;
    object-fit: cover !important;
    vertical-align: bottom;
    width: 100%
}
.gb_date {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.2rem
}
.gb_title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    text-align: center;
    font-size: 2rem;
    line-height: 2.5rem;
    margin: 1rem 0
}
.gb_excerpt {
    font-size: 1.4rem;
    line-height: 1.8rem;
    margin: 0 .9rem 1rem
}

/* BOOKS */
.b_gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem
}
.book_bub {
    width: 15rem;
    background: rgba(256,256,256,.6);
    padding: 1rem;
    border-radius: .5rem;
    text-align: center
}
.book_bub img {
    width: auto;
    border: 2px solid white;
    max-height: 15rem;
    max-width: 100%
}
.b_date {
    text-transform: uppercase;
    margin: .8rem 0;
    font-size: 1.2rem
}
.b_title {
    font-size: 1.5rem;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    margin: 0 0 1rem
}
.b_links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem
}
.b_links a {
    text-decoration: none;
    color: inherit;
}
.b_links a div {
    border-radius: .5rem;
    background: pink;
    padding: .7rem 0 .5rem;
    width: 5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: .8rem
}
.b_links div:hover {
    background: deeppink;
    color: white
}

/* DISMISSAL */
#kid_sel option {
font-size: 1.2rem
}
select#kid_sel, .dis_days select {
    border: none;
    font-size: 1.5rem;
    font-weight: 600;
    padding: .5rem 1rem;
    background: white
}
label.dis_label, .d_any label {
    font-weight: bold
}
label.dis_day_label, .d_any label {
    display: block
}
.dis_days {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 2rem 0 0
}
.dis_days div {
    width: 13rem;
    margin-right: 2rem
}
.dis_days select {
    font-size: 1.2rem !important;
}
.d_who input {
    font-size: 1.1rem;
    border: none;
    border-bottom: 1px solid black;
    margin-top: .5rem;
    padding: .5rem 1rem;
    background: none;
    width: 11rem;
}
.d_who {
    display: none
}
.d_any input {
    width: 100%;
    font-size: 1.1rem;
    border: none;
    padding: .5rem 1rem;
}
input.save_dis {
    margin-top: 1rem;
    border: none;
    border-radius: .5rem;
    padding: .8rem .8rem .4rem;
    font-size: 1.3rem;
    font-family: "Josefin Sans", sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    cursor: pointer
}
input.save_dis:hover {
    background: deeppink
}

/* ZOOM */
.zoom_head {
    display: flex;
    gap: 2rem
}
.zoom_head div img {
    max-width: 10rem
}

/* FOOTER */
#foot {
background: #666262;
display: flex;
justify-content: center;
align-items: center;
color: white;
padding: 3rem
}
.foot_title {
    font-family: "Poppins", sans-serif;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 500
}
.foot_logo {
    text-align: center;
    margin: 1rem 0 0
}
.foot_logo img {
    width: 9rem
}
.admin_box {
    text-align: center;
    display: none;
    gap: 1rem;
    justify-content: center
}
.admin_box input[type=password] {
    border: none;
    width: 5rem
}
/* CALENDAR */
.c_min {
    display: none
}
.c_full {
    border-radius: .5rem;
}

/* ALL GALLERIES */
#allgall {
min-height: 40rem;
display: flex;
gap: 1rem;
padding: 2rem;
flex-wrap: wrap;
justify-content: center
}
#allgall .g_bub {
width: 18rem;
}
#allgall a {
color: inherit;
text-decoration: none
}
#allgall .gb_title {
font-size: 1.6rem;
line-height: 2rem
}
#allgall  .gb_excerpt {
display: none
}
#allgall a .g_bub {
height: 21rem;
min-height: 21rem
}
#allgall .g_bub .gb_head {
margin: 0 0 .5rem;
height: 12rem !important;
margin-bottom: 1.5rem
}
/* FAMILIES */
.fam_title {
    font-size: 1.5rem;
    padding: .7rem 1rem .5rem;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    font-weight: 600
}
.fam_title:hover {
    color: white
}
.fam_content {
    display: none;
    background: white;
    padding: 2rem;
    font-size: 1.5rem;
    line-height: 2rem;
}
.fam_content p {
    margin: 0 0 1rem
}
.fam_content li {
    margin-bottom: 1rem
}
.fam_content li > ul > li {
    margin-bottom: 0
}

/* password section */
#h_pass div {
font-size: 1.5rem
}
.pass_head {
    margin-bottom: 1rem;
    margin-top: 2rem
}
.pass_form input, #emailpass {
    font-size: 1.3rem;
    padding: .3rem 1rem
}
.pass_form input[type="submit"],
#sendemail {
border: none;
background: deeppink;
border-radius: 2rem;
color: white;
font-family: "Poppins", sans-serif;
font-weight: 600;
text-transform: uppercase;
padding: 0 1rem;
font-size: 1.5rem !important;
}
#notright {
margin-top: 2rem;
color: red
}
#forgotpass {
margin-top: 1rem;
color: purple;
font-size: 1.3rem !important;
cursor: pointer;
}
#forgotpass:hover {
color: deeppink
}
#sendpass {
align-items: flex-start;
color: purple;
font-size: 1.3rem !important;
border: 1px solid black;
padding: 1rem;
border-radius: .5rem;
margin-top: 1rem
}
#sendpass p {
margin: 0
}
#emailpass {
margin: 0 !important
}
.sendemail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0 0;
    flex-wrap: wrap
}
.emailsent {
    display: flex;
    width: 90%;
    height: 100vh;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    line-height: 2rem;
    padding: 0 5%
}

/*  GALLERY EXTRA */
.extra_bub {
    margin: 3rem 0;
    background: #D5E3ED;
    border: 10px solid #AABAC5;
    padding: 1rem 2rem;
    border-radius: 1rem
}
h2 {
    font-family: "Poppins", sans-serif;
    font-size: 2.5rem;
    margin-top: .5rem
}
.extra_innard {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem
}
.extra_innard div {
    flex: 1
}
.extra_innard div img {
    width: 100%;
    border: white solid 3px;
    min-width: 15rem
}
.extra_innard p {
    font-size: 1.7rem;
    line-height: 2.5rem
}
.extra_vids {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem
}
.extra_vids * {
    flex: 1;
    margin-top: 0;
    height: 20rem
}
.extra_vid {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* This creates a 16:9 aspect ratio (height / width * 100). Adjust for other ratios. */
    height: 0; /* Set height to 0 to allow padding-top to control height */
    overflow: visible/* Hide any overflow */
}
.extra_vid iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%
}

.extra_vid2 {
    margin-bottom: 1rem
}
.extra_vid2 * {
    width: 1000px;
    height: 564px;
}

/* Small screen devices (600px and above) */
@media only screen and (max-width: 900px) {
    .c_full {
        display: none
    }
    .c_min {
        display: block
    }
    #menu {
    display: none
    }
    #head_top {
    display: block;
    text-align: center
    }
    #head_top #ga_av {
    max-width: 18rem;
    margin: 0 auto
    }
    #head_top #ga_av img {
    width: 100%;
    }
    #head_top #ga {
    margin: 1rem 0 2rem
    }
    #head_top #hello {
    font-size: 3.8rem;
    margin: 0 0 2rem
    }
    #head_top {
    margin-bottom: 1rem
    }
    .gall img {
        max-width: 100%
    }
    #light-box {
    padding: 0
    }
    .left-butt, .right-butt {
        display: none
    }
    .butts {
        position: absolute;
        right: 1rem;
        bottom: 1rem;
        padding: 0;
        margin: 0
    }
    .down-butt {
        position: absolute !important;
        bottom: 0 !important;
        right: 0 !important;
        padding: 0 !important;
        margin: 0 !important
    }
    section.l {
        height: 100%;
        padding: 0
    }
    .slider-l section.l img {
        max-width: 98%;
        max-height: 98%;
    }
    #close {
    top: 1rem;
    right: 1rem
    }
    .zoom_head {
        display: flex;
        gap: 2rem;
        flex-wrap: wrap
    }

    body.gallery .title {
        text-align: center
    }
    div.g_bub {
        height: fit-content !important;
        min-height: 0 !important
    }
    .pass_form input[type="submit"] {
        margin-top: 1rem;
    }
    .extra_vids {
        display: block;
        margin-bottom: 1rem
    }
    .extra_vid {
        margin-bottom: 2rem;
        padding-top: 57%; /* This creates a 16:9 aspect ratio (height / width * 100). Adjust for other ratios. */
        padding-bottom: 20%
    }
    .extra_vid iframe {
        height: 100%;
    }


    .extra_vid2 * {
        width: 100%;
        height: 20rem;
    }

}
.admin_links {
    margin: 2rem
}
.admin_links {
}
.flexy {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.admin_links .flexy div,
body.new .cont .flexy div {
    width: 12rem !important;
    background: lightgray;
    padding: .8rem 1rem;
    text-align: center;
    font-size: 1.2rem;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    cursor: pointer;
    align-items: center;
    display: flex;
    justify-content: center
}
.admin_links .flexy div:hover {
    background: deeppink
}
.admin_links a,
body.new .cont .flexy a {
    text-decoration: none;
    color: inherit
}
.admin_links .xtra-large div {
    width: 16rem !important
}

/* NEW GALLERY */
body.new {
    display: flex;;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    margin: 0
}
body.new div.cont {
    width: 75%;
    min-width: 10rem
}
.new_head {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 2.2rem;
    margin-bottom: 1rem
}
.new_head i.new_btt {
    background: darkgray;
    color: white;
    border-radius: 5rem
}
.new_head i.new_btt:hover {
    background: deeppink
}
body.new div label {
    display: block;
    margin-top: 1rem
}
body.new div textarea,
body.new div input,
body.new div select {
    width: 100%;
    font-size: 1rem;
    padding: .5rem;
    background: none;
    border: 1px solid black
}
body.new div input#date{
    width: auto !important;
}
body.new div input[type="submit"] {
    margin-top: 2rem;
    width: fit-content;
    padding: .5rem 1rem;
    text-transform: uppercase;
    font-weight: 600
}
img.thumb_load {
    width: 3.5rem;
    height: 3.5rem;
    visibility: hidden;
}

/* LIST OF GALLERIES */
.entry {
    background: lightgray;
    margin-bottom: .2rem;
    .entry_flex {
        display: flex;
        gap: 1rem;
        padding: .5rem;
        align-items: center;
        width: fit-content
    }
    .entry_flex .g_date {
        width: 8rem;
        border: none
    }
    .entry_flex .g_title input {
        width: 18rem
    }
    .entry_flex input,
    .entry_flex select {
        border: none;
        padding: .3rem .5rem
    }
    .entry_flex i {
        font-size: 1.2rem;
        color: white;
        display: flex;
        cursor: pointer
    }
    .entry_flex i:hover {
        color: deeppink
    }
    .entry_flex a {
        text-decoration: none
    }
    textarea {
        width: 65rem;
        height: 1.2rem;
        font-size: .9rem;
        margin: 0 .5rem .5rem;
        padding: .4rem .5rem;
        border: none
    }
    .thbutt img {
        width: 1.2rem;
        height: 1.2rem
    }
    .new_btt {
        color: pink
    }
    /* Small screen devices (600px and above) */
    @media only screen and (max-width: 900px) {
        .entry {
            display: block
        }
        .entry div {
            margin-bottom: .2rem
        }
        .entry div * {
            width: 97% !important
        }
        .extra_vids * {
            min-width: 40rem
        }
        .extra_vid iframe,
        .curr_vid iframe {
            width: 100%;
            min-width: 30rem;
            min-height: 480px
        }
    }
