:root {
    --green: #198754;
    --white: #fff;
    --mulish: 'Mulish', sans-serif;
    --playfair-display: 'Playfair Display', serif;
}

body {
    font-family: var(--mulish);
    overflow-x: hidden;
}

.sr-only {
    position: absolute;
    left: -99rem;
    top: -99rem;
}

p,
a,
ul {
    font-size: 1.125rem;
    font-family: var(--mulish);
    color: rgba(0, 0, 0, 0.7);
}

nav {
    z-index: 100;
}

nav .dropdown-toggle::after {
    display: none !important;
}

.nav-link {
    color: rgba(0, 0, 0, .7) !important;
}

.nav-link.active,
.nav-link:hover {
    color: var(--green) !important;
}

header .jumbotron {
    color: white;
    background: url("../img/background.webp") 0% 70% / cover fixed no-repeat;
    height: 85vh;
}

.caption {
    background-color: #fafaf863;
}

h1,
h2,
h3,
h4 {
    font-family: var(--playfair-display);
    font-weight: 500 !important;
}

h1 span {
    font-size: 6.5rem;
}

.font-cursive {
    font-family: 'Euphoria Script', cursive;
}

.subtitle {
    margin-top: -1.25rem;
}

/* About */
.more-link {
    color: var(--green);
}

.more-link:hover {
    color: #12683f;
}

.more-link svg {
    transition: 300ms ease-in;
}

.more-link:hover svg {
    margin-left: 0.2rem;
}

section {
    padding: 5rem 0;
}

/* Facilities */
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 70vw !important;
    }
}

/* Facilities Section */
.facilities .card-group .card {
    height: 15rem;
}

.facilities .card-group .card:hover {
    cursor: pointer;
}

.facilities .card .featured-bg {
    height: 100%;
    transition: all ease-in 700ms;
}

.group-1 .card:nth-child(1) .featured-bg {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6)), url("../img/beiseker-school.webp") top / cover no-repeat;
}

.group-1 .card:nth-child(2) .featured-bg {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7)), url("../img/playground.webp") top / cover no-repeat;
}

.group-1 .card:nth-child(3) .featured-bg {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6)), url("../img/establishments.webp") top / cover no-repeat;
}

.facilities .card .featured-bg:hover {
    transform: scale(1.1);
}

.facilities .card .card-img-overlay {
    position: relative;
    background-color: transparent !important;
}

.facilities .card .card-title {
    font-family: 'Playfair Display', serif;
    position: absolute;
    bottom: 1rem;
    left: 1.25rem;
    right: 1.25rem;
}

.facilities .card .card-title a {
    font-family: 'Playfair Display', serif;
}

/* Featured Article */
.featured-article img {
    object-fit: cover;
    object-position: right;
}

.featured-article img.featured {
    height: 25rem;
    width: 100%;
}

.featured-article .img-container {
    height: 20rem;
    overflow: hidden;
}

.featured-article .new img {
    height: 20rem;
    width: 100%;
    transition: all 0.75s ease-in-out;
}

.featured-article .new img:hover {
    transform: scale(1.1);
}

.featured-article h3 {
    max-width: 28ch;
}


/* Events */
.events h4 {
    font-family: var(--mulish);
}

.events .ad-banner-2 {
    order: -1;
    justify-content: center;
}

/* Location */
.location iframe {
    width: 100%;
}

.location>div:nth-child(2) {
    padding: 5rem 0;
}

.location img {
    width: 2.6rem;
}

.location .ms-auto svg path {
    fill: var(--green);
}

/* Code for the Cookie Compliance popover window */
.cookiePopup {
    position: absolute;
    left: 5%;
    bottom: 0;
    width: 90%;
    transition: all 0.5s ease-in-out;
}

.cookiePopup a {
    color: var(--green);
}

.hide {
    visibility: hidden;
}

.show {
    visibility: visible;
}

.ad-banner img {
    width: 100%;
}

/* FOOTER */
footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: 200ms ease-in;
}

footer a:hover {
    color: var(--white);
}

footer p:hover {
    color: var(--white);
    cursor: pointer;
}

footer .border-light {
    border-color: #f8f9fa5c !important;
}

@media screen and (min-width: 992px) {
    .events .ad-banner-2 {
        order: 1;
        justify-content: end;
    }
}

@media screen and (min-width: 1200px) {
    .featured-article img.featured {
        height: 55rem;
        width: 100%;
    }

    .facilities .card-group .card {
        height: 23rem;
    }

    .ad-banner img {
        width: 728px;
        height: 90px;
    }
}