html {
    scroll-behavior: smooth;
}

* {
    --swiper-theme-color: white;
}

@font-face {
    font-family: "Raleway";
    font-style: normal;
    font-weight: 100 900;
    src: local(''), url('/fonts/Raleway-VariableFont_wght.ttf');
    font-display: block;
}

@font-face {
    font-family: "EduVICWANTBeginner";
    font-style: normal;
    font-weight: 100 900;
    src: local(''), url('/fonts/EduVICWANTBeginner-VariableFont_wght.ttf');
    font-display: block;
}

@font-face {
    font-family: "DancingScript";
    font-style: normal;
    font-weight: 100 900;
    src: local(''), url("/fonts/DancingScript-VariableFont_wght.ttf");
    font-display: block;
}

h1 {
    font-family: "DancingScript", sans-serif;
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
    font-weight: bold;
}

h3 {
    font-size: 1.5rem;
}

.blog-content p {
    padding-top: 0.2em;
    margin-bottom: 0.8em;
}

.blog-content a {
    color: hsl(var(--p)/1);
}

.blog-content figure.image-style-side {
    float: right;
}

.blog-content figure .imgage {
    clear: both;
}

li {
    list-style: disc;
    margin-left: 20px;
}

.mapboxgl-map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.mapboxgl-map canvas {
    width: 100%;
    height: 100%;
}

.heading-grid {
    grid-column: 1;
}

@media only screen and (min-width: 768px) {
    .heading-grid {
        grid-column: 2 / span 2;
    }
}

.map-popup.mapboxgl-popup .mapboxgl-popup-content {
    padding: 0;
    border-radius: 100%;
}

.hover-border-primary:hover {
    border-color: #66CC8A;
}

.nav li {
    list-style: none;
    margin: 0;
}

.nav__toggler {
    display: none;
}

.nav__menu {
    gap: 2rem;
    z-index: 999;
    background-color: rgb(51, 60, 77);
}

@media screen and (max-width: 768px) {
    .nav__toggler {
        display: inline-grid;
        cursor: pointer;
    }

    .nav__menu {
        padding: 30px 0;
        position: fixed;
        top: 68px;
        right: 0;
        height: calc(100vh - 68px);
        width: 100vw;
        flex-direction: column;
        justify-content: flex-start;
        transform: translateX(100%);
        transition: 0.5s ease-in;
        font-size: 1.5rem;
    }
}

.nav__active {
    transform: translateX(0%);
}


@media (hover: hover) {
    .media-container:hover > * {
        opacity: 0.4;
    }
    
    .media-container > * {
        transition: all 0.2s;
    }
    
    .media-container  > *:hover {
        opacity: 1;
    }
}
