.bento_box > div, nav > div {
    background-color: var(--green_darker);
}












/*                                                                     _                                                */
/*                                                                    | |    ___   __ _  ___                            */
/*                                                                    | |   / _ \ / _` |/ _ \                           */
/*                                                                    | |__| (_) | (_| | (_) |                          */
/*                                                                    |_____\___/ \__, |\___/                           */
/*                                                                                |___/                                 */

/* ----------------------------------------------------------------------- Logo section ------------------------------- */
#logo {
    grid-column: 1/4;
    grid-row: 1/2;
}

#logo > div {
    background: transparent;
}


















/*                                                                      ___        __                                */
/*                                                                     |_ _|_ __  / _| ___                           */
/*                                                                      | || '_ \| |_ / _ \                          */
/*                                                                      | || | | |  _| (_) |                         */
/*                                                                     |___|_| |_|_|  \___/                          */

/* ----------------------------------------------------------------------- Info section ---------------------------- */
#information {
    grid-row: 2/4;
    grid-column: 1/4;
}

#information > div {
    position: relative;

    overflow: hidden;
}

#information .foto {
    width: 140%;
    margin-left: -20%;
}

#information .gradient {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;

    background-image: linear-gradient(to top, var(--green) max(20vh, 220px), transparent);
}

.info_about_school {
    position: absolute;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 0 25px 30px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    border-radius: 40px;

    /* border: 2px solid red; */
}

#information p {
    color: var(--white);
    font-size: var(--font_m);
    letter-spacing: 1px;
    line-height: 140%;
}

#information h2 {
    color: var(--white);
    margin-bottom: 20px;
}

#information .play {
    margin: 20px;

    animation-delay: 1s;
}

#information .play_more {
    animation-delay: 1s;
}






















/*                                                                      _   _                                        */
/*                                                                     | \ | | _____      _____                      */
/*                                                                     |  \| |/ _ \ \ /\ / / __|                     */
/*                                                                     | |\  |  __/\ V  V /\__ \                     */
/*                                                                     |_| \_|\___| \_/\_/ |___/                     */

/* ----------------------------------------------------------------------- News section ---------------------------- */
#news {
    grid-row: 1/3;
    grid-column: 4/5;
}

#news > div {
    padding: 20px;

    overflow: auto;
    background-color: var(--green);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.385);
}

#news h2 {
    color: var(--white);
    letter-spacing: 8px;

    width: calc(100% - 100px);
    margin-bottom: max(1.5vh, 15px);
}

.news_box {
    position: relative;
    width: 100%;
    height: max(35vh, 300px);
    /* margin-bottom: calc(15% - 10px); */

    overflow: hidden;

    border-radius: calc(40px - 20px);

    /* border: 2px solid black; */
}

.news_box .foto {
    border-radius: 20px;
    height: 60%;

    overflow: hidden;
}

.news_box .foto img {
    min-width: 100%;
    margin-left: 0%;
}

#news .blur {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;

    background-image: linear-gradient(to top, var(--green) 50%, transparent);
}
@supports ((-webkit-backdrop-filter: blur(2px)) or (backdrop-filter: blur(2px))) {
    #news .blur {
        background: none;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);

        background-image: linear-gradient(to top, var(--green) 50%, transparent);

        mask-image: linear-gradient(to top, black 40%, transparent);
        -webkit-mask-image: linear-gradient(to top, black 40%, transparent);
    }
}

.news_text {
    position: absolute;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 0 15px 15px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    border-radius: 20px;

    /* border: 2px solid red; */
}

.news_text h3 {
    color: var(--green_light);
    font-size: var(--font_l);

    margin-bottom: 5px;
}

.news_text p {
    color: var(--white);
    line-height: 120%;
}

#news .play, #news .play_more {
    animation-delay: 4s;

    background-color: var(--green_light);
    color: var(--green);
}

#news .play path {
    fill: var(--green) !important;
}






                          









/*                                                                   ____                      _                     */
/*                                                                  | __ )  ___   __ _ _ __ __| |                    */
/*                                                                  |  _ \ / _ \ / _` | '__/ _` |                    */
/*                                                                  | |_) | (_) | (_| | | | (_| |                    */
/*                                                                  |____/ \___/ \__,_|_|  \__,_|                    */

/* ----------------------------------------------------------------------- Board section --------------------------- */
#bulletin_board {
    grid-row: 3/4;
    grid-column: 4/5;
}

#bulletin_board > div {
    padding: 20px;

    overflow: auto;
    background-color: var(--green_light);
    box-shadow: inset 0 0 20px rgba(75, 75, 75, 0.406);
}

#bulletin_board h2 {
    color: var(--green_darker);
    letter-spacing: 6px;

    width: calc(100% - 100px);
    margin-bottom: max(1.5vh, 15px);
}

#bulletin_board .notifi {
    display: flex;
    align-items: center;
    padding: 5px;

    margin-bottom: 20px;
    max-height: 80px;

    background-color: var(--green);
    border-radius: 20px;
    cursor: pointer;
}

#bulletin_board .notifi div:first-child {
    width: 15%;
}

#bulletin_board .notifi div:last-child {
    width: 85%;
}


#bulletin_board .notifi h3 {
    line-height: 120%;
    color: var(--white);
}

#bulletin_board .play, #bulletin_board .play_more {
    animation-delay: 7s;
}



















/*                                                                   ____       _                                   */
/*                                                                  / ___| __ _| | ___ _ __ _   _                   */
/*                                                                 | |  _ / _` | |/ _ \ '__| | | |                  */
/*                                                                 | |_| | (_| | |  __/ |  | |_| |                  */
/*                                                                  \____|\__,_|_|\___|_|   \__, |                  */
/*                                                                                          |___/                   */

/* -------------------------------------------------------------------- Galery text section ----------------------- */
#galery_text {
    grid-row: 4/5;
    grid-column: 1/2;

    text-orientation: upright;
    writing-mode: vertical-lr;

    display: flex;
    justify-content: center;
    align-items: end;
}

#galery_text h2 {
    color: var(--green);
    font-size: min(3vh, var(--font_xl));
    font-weight: 500;
}











/* ----------------------------------------------------------------------- Galery section ------------------------- */
#galery {
    grid-row: 4/5;
    grid-column: 2/3;
}

#galery div {
    max-height: calc(10px + 10px +  7 * (3px + 7px + var(--font_s) + 8px)); /* counting elements of calendar to be same height */
    overflow: hidden;

    box-shadow: 0 0 25px rgba(0, 0, 0, 0.385);
}

#galery .gallery_img {
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-height: 100%;
    min-width: 100%;
}














/*                                                           ____      _                _                           */
/*                                                          / ___|__ _| | ___ _ __   __| | __ _ _ __                */
/*                                                         | |   / _` | |/ _ \ '_ \ / _` |/ _` | '__|               */
/*                                                         | |__| (_| | |  __/ | | | (_| | (_| | |                  */
/*                                                          \____\__,_|_|\___|_| |_|\__,_|\__,_|_|                  */

/* -------------------------------------------------------------------- Calendar section -------------------------- */
#calendar {
    grid-row: 4/5;
    grid-column: 3/5;

}

#calendar > div {
    padding: 10px 10px 20px 20px;

    display: flex;
}

.calendar_display {
    width: max(35%, 400px);
    height: auto;

    display: grid;
    grid-template-rows: auto auto;
}

.calendar_display div {
    border-radius: 10px;
    overflow: hidden;
}

.month {
    position: relative;

    padding: 3px 5px 7px;
    margin: auto;
    text-align: center;

    /* border: 2px solid yellow; */
}

.month ul {
    display: grid;
    grid-template-columns: auto auto auto;
}
  
.month ul li {
    color: var(--white);
    font-size: var(--font_s);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.month svg {
    height: 15px;
}

/* .day_holder {
    border: 2px solid red;
} */

/* .weekdays, */
.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(6, 1fr);
}


.days.long {
    grid-template-rows: repeat(7, 1fr);
}

/* .weekdays {
    background-color: var(--green_light);
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
} */

.weeks {
    background-color: var(--green_light);
}

.days {
    background: var(--white);
    border-radius: 10px;
    height: 100%;
}

/* .weekdays li,  */
.days li {
    text-align: center;
    padding: 6px 0;
}

.days li .active, .days li .happening {
    border-radius: 4px;
    padding: 3px 4px;
}

.days li .active {
    background: var(--green);
    color: var(--white);
}

.days li .happening {
    background: var(--green_light);
    color: var(--green_darker);
}





.calendar_events {
    /* max-height: 212px; */
    height: auto;
    width: 75%;
    padding: 5px 20px;

    overflow: auto;

    border-radius: 30px;

    /* border: 2px solid red; */
}

#calendar h2 {
    color: var(--white);
    letter-spacing: 6px;

    margin-bottom: max(1.5vh, 15px);
}

.event_box {
    display: flex;

    width: 100%;
    margin-bottom: max(3vh, 30px);
}

.event {
    width: 80px;
    height: 90px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: var(--green_light);
    border-radius: 20px;
}

.event span {
    font-weight: 400;
    font-size: var(--font_m);
    color: var(--green_darker);
}

.event span:first-child {
    font-weight: 800;
    font-size: var(--font_l);

    margin-left: -4px;
}

.event_box .text {
    padding-left: 15px;
}

.event_box h3 {
    color: var(--green_light);
    font-size: var(--font_l);

    margin-bottom: 5px;
}

.event_box p {
    color: var(--white);
}

.event_box .text p:first-of-type {
    margin-bottom: 5px;
}

#calendar .play {
    animation: none;
    top: 0;
    right: -10px;
}

#calendar .play, #calendar .play_more {
    background-color: var(--green_light);
}

#calendar .play path {
    fill: var(--green) !important;
}