/*
 Theme Name:   Schoolwijzer Nijmegen
 Theme URI:    https://generatepress.com
 Description:  Schoolwijzer Nijmegen
 Author:       Clarq
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* General Settings */
:root {
    --white: #FFFFFF;
    --white-soft: #FEFEFE;
    --sky-blue-light: #EDF8FF;
    --blue-very-light: #E0EEF7;
    --lime-green: #C1CF00;
    --pink-bright: #FE1992;
    --blue-sky: #00A9CC;
    --blue-medium: #0071BD;
    --blue-darkest: #001523;
    --black: #000000;
    --pink-transparent: #FE19921F;
}

.inside-header {
    padding: 40px 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat-400", sans-serif;
    color: var(--blue-darkest);
    background-color: var(--white);
    margin: 0;
    padding: 0;
}

/* Fonts */
@font-face {
    font-family: "Montserrat-200";
    src: url('assets/fonts/Montserrat-ExtraLight.ttf');
}

@font-face {
    font-family: "Montserrat-400";
    src: url('assets/fonts/Montserrat-Regular.ttf');
}

@font-face {
    font-family: "Montserrat-500";
    src: url('assets/fonts/Montserrat-Medium.ttf');
}

@font-face {
    font-family: "Montserrat-600";
    src: url('assets/fonts/Montserrat-SemiBold.ttf');
}

@font-face {
    font-family: "Montserrat-700";
    src: url('assets/fonts/Montserrat-Bold.ttf');
}

@font-face {
    font-family: "Montserrat-800";
    src: url('assets/fonts/Montserrat-ExtraBold.ttf');
}

.boxed {
    padding: 140px 20px;
}

section > .boxed {
    max-width: 1560px;
    margin: 0 auto;
}


/* Basis elementen */

h1, h2 {
    font-family: Montserrat-700, Arial, sans-serif;
    font-size: 48px;
    line-height: normal;
}

p, li, a {
    font-family: "Montserrat-400", sans-serif;
    color: var(--blue-darkest);
    font-size: 24px;
    line-height: normal;
}

.content a {
    color: var(--blue-sky);
}

ul {
    margin-left: 24px;
}

li {
    list-style-image: url("assets/images/list-style.svg");
}

/* Buttons */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.btn {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 89px;
    font-size: 18px;
    line-height: 24px;
}

.btn-primary {
    background-color: var(--blue-medium);
    color: var(--white);
    text-decoration: none;
}

/*.btn-primary:hover {*/
/*    background-color: var(--hover-purple);*/
/*    color: var(--pure-white);*/
/*}*/

.btn-primary::before {
    top: -1px;
    position: relative;
    padding-right: 8px;
    content: url("assets/images/primary-btn.svg");
}

.btn-outline::before, .btn-link::before {
    top: -1px;
    position: relative;
    padding-right: 8px;
    content: url("assets/images/outline-btn.svg");
}

.btn-outline {
    text-decoration: none;
    color: var(--blue-medium);
    border: 2px solid var(--blue-medium);
}


/* Header */
.main-navigation .main-nav ul li {
    list-style: none;
}

.main-navigation .main-nav ul li a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-navigation .main-nav ul li a::before {
    content: "";
    background-image: url("assets/images/menu-item-icon.svg");
    display: block;
    background-repeat: no-repeat;
    width: 10px;
    height: 9px;
}

/* Footer */

.site-footer .site.footer-widgets, .site-info {
    background-color: var(--blue-medium);
}

.site-footer .footer-widgets .inside-footer-widgets {
    display: grid;
    grid-template-columns: minmax(270px, 40%) 1fr 1fr 1fr;
}

.site-footer .footer-widgets .inside-footer-widgets > div aside h2 {
    color: var(--white-soft);
    font-family: Montserrat-700, Arial, sans-serif;
    font-size: 20px;
    line-height: normal;
}

.site-footer .footer-widgets .inside-footer-widgets * {
    color: var(--white-soft);
    font-size: 16px;
    line-height: normal;
    text-decoration: none;
}

.copyright-bar {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.copyright-bar,
.copyright-bar a {
    font-size: 16px;
    line-height: 16px;
}

.copyright-bar .made-by a {
    color: #7AC9FF;
    text-decoration: none;
}

.copyright-bar .made-by span::before {
    padding-right: 10px;
    content: url("assets/images/made-by-icon.svg");
}

.copyright-bar .made-by a:hover, .copyright-bar * {
    color: var(--white);
    text-decoration: none;
}

.site-footer:not(.footer-bar-active) .copyright-bar {
    width: -webkit-fill-available;
    margin: 0 auto;
}

/* single-school.php */
.single-school .site-content {
    display: block;
}

.single-school .site-content article .post .heading {
    background-color: var(--sky-blue-light);
    padding: 100px 20px;
}

.single-school .site-content article .post .info, .single-school .site-content article .post .heading > div {
    max-width: 1520px;
    margin: 0 auto;
}

.single-school .site-content article .post .info #acf-map {
    margin: 0 20px 40px 20px;
    max-width: 1519px;
    height: 717px !important;
}

.single-school .site-content article .post .heading > div {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.single-school .site-content article .post .heading > div img {
    position: absolute;
    right: 20px;
}

.single-school .site-content article .post .info .boxed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
}

.single-school .site-content article .post .info .boxed .featured-image img {
    width: 100%;
    object-fit: contain;
    border-radius: 20px;
}

.single-school .site-content article .post .info .boxed .school-info table,
.single-school .site-content article .post .info .boxed .school-info table th,
.single-school .site-content article .post .info .boxed .school-info table td {
    border: none;
    text-align: start;
    padding: 12px;
}

.single-school .site-content article .post .info .boxed .school-info table th {
    font-family: Montserrat-700, Arial, sans-serif;
    font-weight: normal;
    font-size: 24px;
    line-height: normal;
}

.single-school .site-content article .post .info .boxed .school-info table td * {
    margin-bottom: 0;
}

.single-school .site-content article .post .info .boxed .school-info table td * a {
    margin-bottom: 0;
    color: var(--blue-sky);
}

.single-school .site-content article .post .info .boxed .school-info table td {
    font-size: 24px;
    line-height: normal;
}

.single-school .site-content article .post .info .available-places {
    font-family: Montserrat-700, Arial, sans-serif;
    margin-bottom: 16px;
    margin-left: 20px;
    margin-right: 20px;
}

.single-school .site-content article .post .info .value {
    margin-left: 20px;
    margin-right: 20px;
}

h1, h2 {
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity;
}

@keyframes slide-in-bottom {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.h-inview {
    animation: slide-in-bottom .6s cubic-bezier(.25, .46, .45, .2) both;
}

.animation { /* doel: img.animatie */
    opacity: 0;
    transform: scale(.9);
    will-change: transform, opacity;
}

@keyframes scale-up-center {
    0% {
        transform: scale(.9);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.animation.inview {
    animation: scale-up-center 1s cubic-bezier(.39, .575, .565, 1) both;
    animation-delay: .2s;
}

/* Respecteer ‘reduce motion’ */
@media (prefers-reduced-motion: reduce) {
    h1, h2, .animation {
        opacity: 1;
        transform: none;
    }

    .h-inview, .animation.inview {
        animation: none;
    }
}


@media (max-width: 1400px) {
    .single-school .site-content article .post .info #acf-map {
        margin-left: 20px;
        margin-right: 20px;
        max-width: 1000px;
        height: 525px !important;
    }
}

@media (max-width: 1160px) {
    .site-footer .footer-widgets .inside-footer-widgets {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .single-school .site-content article .post .info .boxed {
        gap: 40px;
    }

    .single-school .site-content article .post .heading > div img {
        max-width: 150px;
        top: 63px;
    }

    .single-school .site-content article .post .info #acf-map {
        max-width: 800px;
        height: 325px !important;
    }
}

@media (max-width: 900px) {
    .single-school .site-content article .post .info .boxed {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 630px) {
    .single-school .site-content article .post .info .boxed .school-info table th, .single-school .site-content article .post .info .boxed .school-info table td, .single-school .site-content article .post .info .boxed .school-info table td * {
        font-size: 18px;
    }

    .single-school .site-content article .post .heading > div img {
        max-width: 100px;
        top: 127px;
    }
}


@media (max-width: 500px) {
    h1, h2 {
        font-size: 36px;
    }

    p, li, a {
        font-size: 18px;
    }

    .site-footer .footer-widgets .inside-footer-widgets {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-widgets-container {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media (max-width: 440px) {
    .single-school .site-content article .post .info .boxed .school-info table th, .single-school .site-content article .post .info .boxed .school-info table td, .single-school .site-content article .post .info .boxed .school-info table td * {
        font-size: 14px;
    }
}