@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #000;
    font-weight: 400;
}

input[type=text],
select,
textarea {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    border-radius: 0;
    border: 1px solid #dedede;
    padding: 2px 5px;
    line-height: 1.4;
}

input[type=checkbox] {
    margin-right: 5px;
}

input[type=file] {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

a.button {
    background-color: #c17733;
    border: 1px solid #c17733;
    color: #fff;
    text-decoration: none;
    padding: 5px 20px 5px 20px;
    display: inline-block;
}

a.button:hover,
a.button:active,
a.button:focus {
    background-color: #fff;
    color: #c17733;
}


h1 {
    font-size: 2em;
    line-height: 1.1;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h2 {
    font-size: 1.6em;
    line-height: 1.1;
    font-weight: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h3 {
    font-size: 1.2em;
    line-height: 1.2;
    font-weight: normal;
}

h4 {
    font-size: 1em;
    line-height: 1;
    font-weight: 600;
}

a {
    transition: all 300ms ease-in-out;
}

a:hover,
a:focus,
a:active {
    color: #000;
}

.fredoka {
    font-family: 'Fredoka One', cursive;
    letter-spacing: 1px;
}


@media (min-width: 1200px) {

    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.5em;
    }

    body.contact h1 {
        font-size: 64px;
    }

}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Fredoka One', cursive;
    letter-spacing: 1px;
}

h1 {
    font-size: 86px;
    line-height: 1.2;
}

h2 {
    font-size: 40px;
}

h3 {
    font-size: 35px;
}

h4 {
    font-size: 20px;
    line-height: 1.3;
}

h5 {
    font-size: 18px;
    line-height: 1.3;
}

.tagline {
    font-size: 25px;
    line-height: 1.5;
}

.gap-15 {
    gap: 15px;
}

.gap-20 {
    gap: 20px;
}

.gap-25 {
    gap: 25px;
}

.gap-40 {
    gap: 40px;
}

.normal-weight {
    font-weight: 400;
}

.text-red {
    color: #e21d27;
}

.text-dark {
    color: #000;
}

.text-grey {
    color: #707070;
}

.text-pink {
    color: #f191a4;
}

.text-khaki {
    color: #8ba694;
}

.text-white {
    color: #fff !important;
}

.text-white a {
    color: #fff !important;
}

.text-blue {
    color: #057dc2;
}

.text-orange {
    color: #ef9033;
}

.bg-blue {
    background-color: #057dc2;
}

.bg-white {
    background-color: #fff;
}

.bg-pink {
    background-color: #f191a4;
}

.bg-turquoise {
    background-color: #8bb6a3;
}

.bg-orange {
    background-color: #ef9033;
}

.bg-red {
    background-color: #d8262f;
}

.bg-purple {
    background-color: #4c469c;
}

.bg-khaki {
    background-color: #8ba694;

}

.hidden {
    visibility: hidden;
}

.visible {
    visibility: visible !important;
}

.z1 {
    z-index: 1;
}

.z2 {
    z-index: 2;
}

.z3 {
    z-index: 3;
}

.z4 {
    z-index: 4;
}

.z5 {
    z-index: 5;
}

.z6 {
    z-index: 6;
}

.z7 {
    z-index: 7;
}

.z8 {
    z-index: 8;
}

.z9 {
    z-index: 9;
}

.z10 {
    z-index: 10;
}

.z11 {
    z-index: 11;
}

.z12 {
    z-index: 12;
}

.z13 {
    z-index: 13;
}

.z14 {
    z-index: 14;
}

.z15 {
    z-index: 15;
}

.z16 {
    z-index: 16;
}

.z17 {
    z-index: 17;
}

.z18 {
    z-index: 18;
}

.z19 {
    z-index: 19;
}

.z20 {
    z-index: 20;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
}

.abso-img {
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.full-img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.header-img-blok-default-left {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(80%);
    width: 67vw;
    left: 0;
    right: auto;
    bottom: 0;
    top: 0;
}

.header-img-blok-default-right {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(80%);
    width: 67vw;
    left: auto;
    right: 0;
    bottom: 0;
    top: 0;
}

/************ HEADER **********/
#nav-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
}

#nav-menu-container {
    flex: 1 1 auto;
}

nav .nav .menu-button {
    margin-left: 25px;
}

.menu-button {
    display: none;
}

nav .nav .nav-menu,
nav .nav .socials {
    display: flex;
}

nav ul li,
nav ol li {
    text-transform: uppercase;
    font-size: 14px;
    list-style: none;
}

footer #bottom ul {
    display:flex;
    padding-left: 0;
    flex-direction: column;
    text-align: center;
}

footer #bottom ul li {
    font-size: 14px;
    list-style: none;
    margin-bottom: 3px;
    
}

footer .sitemap ul li {
    font-size: 16px;
    list-style: none;
    margin: 2px 0;
}

nav {
    position: relative;
}

nav ul li a,
nav ol li a {
    text-decoration: none;
}

ul.no-style {
    text-decoration: none;
    list-style-type: none;
    margin-left: 0px;
    padding-left: 0px;
}

#gamma h4 {    
    color: #000;
    margin-bottom: 15px;
}

#gamma * + h4 {    
    margin-top: 20px;
}

#gamma ul {
    margin-top: 0;
    margin-left: 0;
    padding-left: 20px;
    list-style-type: square;
}

#gamma .pricing h4 {
    display:block;
    background-color: white;
    text-align:center;
    text-transform:uppercase;
    padding: 15px;
    margin-bottom: 25px;
}

#gamma.bg-pink .pricing h4 {
    color: #f191a4;
}

#gamma .pricing table {
    margin-bottom: 40px;
    width: 100%;
}

#gamma .pricing table th {
    color: black;
    padding: 3px 6px;
    white-space: nowrap;
}

#gamma .pricing table td {
    padding: 3px;
}

#gamma .pricing table tbody tr:not(:last-child) {
    border-bottom: 1px solid #fff;
}

footer ul li a,
footer ol li a {
    text-decoration: none;
}

.nav-menu ul,
.nav-menu ol {
    padding: 0px;
    margin: 0px;
}

.brand-div {
    flex: 1 1 135px;
    max-width: 135px;
}

.brand-div .brand-img {
}

div.socials .social {
    height: auto;
    cursor: pointer;
    text-align: right;
}

div.socials .social img {
    height: 36px;
    width: auto;
    max-width: none;
}

div.dropdown {
    font-size: 14px;
}

div.dropdown a {
    text-decoration: none;
    font-size: 14px;
}

div.dropdown,
.menu-icon {
    position: relative;
    cursor: pointer;
}

div.dropdown div.dropdown-content {
    position: absolute;
    display: none;
    background: white;
    padding: 0 10px 0 10px;
    left: -10px;
}

.arrow-down {
    width: 20px;
    margin-left: -3px;
    margin-top: -2px;
}

#nav-overlay .nav-menu ul {
    flex-direction: column;
}

#nav-overlay .nav-menu ul li {
    font-size: 1.1em;
    line-height: 1.3;
}

#nav-overlay .socials {
    margin-top: 35px;
    justify-content: center;
    align-items: center;
}

.nav-menu li.nav-link a {
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    font-weight: 500;
}

.nav-menu li.nav-link.text-red.active a {
    font-weight: 700;
    border-bottom: 2px solid #d8262f;
}

.nav-menu li.nav-link.text-grey.active a {
    font-weight: 700;
    border-bottom: 2px solid #707070;
}

.nav-menu li.nav-link.active a:hover {
    border-color: #000;
}

/************ FOOTER **********/

.footer-wave {
    width: 100%;
}

.contactimg {
    object-fit: contain;
    width: 80px;
}

.contactimg-big {
    object-fit: contain;
    width: auto;
    flex: 1 0 auto;
    max-width: 200px;
}

.contactblok a {
    text-decoration: none;
}


/************ HOME **********/

.headerblok-2 {
    min-height: 700px;
}

.maxw375 {
    max-width: 375px;
}

.header-img-blok {
    background-image: url("../images/header-home.jpg");
}

.abso-bg {
    width: 50vw;
    left: 0;
    right: auto;
    bottom: 0;
    top: 0;
}

.abso-bg-2 {
    width: 50vw;
    left: auto;
    right: 0;
    bottom: 0;
    top: 0;
}

.h-100 {
    height: 100% !important;
}

.w-100 {
    width: 100% !important;
}

.maxw620 {
    max-width: 620px;
}

.maxw700 {
    max-width: 700px;
}

.maxw800 {
    max-width: 800px;
}

.maxw1000 {
    max-width: 1000px;
}

.rel {
    position: relative;
}

.abso {
    position: absolute;
}

.abso-right {
    right: 0;
    left: auto;
}

.abso-left {
    left: 0;
    right: auto;
}

.abso-rightbottom {
    right: 0;
    bottom: 0;
    /*top: 75%;*/
    /*calc(100% - 150px);*/
    left: 10%;
}

.flex-stretch {
    flex: 1 1 auto;
}

.shifted-left {
    margin-left: -300px;
}


.big-wave {
    width: auto;
    max-width: 600px;
}

.medium-wave {
    width: auto;
    max-width: 500px;
}

.caps {
    text-transform: uppercase;
}


.big-title {
    font-size: 100px;
    line-height: 1;
}

.scroll-down-arrow-div {
    width: 200px;
    top: auto;
    bottom: 25px;
    left: auto;
    right: auto;
    cursor: pointer;
}

.scroll-down-arrow {
    width: 45px;
}

.wave-below-text {
    width: 250px;
}

.paragraph {
    font-size: 16px;
    color: #707070;
}

.paragraph-small {
    font-size: 14px;
    line-height: 1.5;
    margin: 0px;
    color: #707070;
}

.paragraph-extrasmall {
    font-size: 12px;
    line-height: 1.3;
    margin: 0px;
}

.flex-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.flex-grid-item {
    width: 100%;
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
    aspect-ratio: 1;
}

.flex-half {
    width: 100%;
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
}

.card {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

.card:hover {
    color: white;
}

.card:after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    top: 0;
    content: '';
    transition: all 300ms ease-in-out;
}

.gocarts-card .card-link {
    background-color: rgba(241, 145, 164, 1);
}

/*.gocarts-card:hover .card-link {
    background-color: rgba(241, 145, 164, 0);
}*/

.gocarts-card:after {
    background-color: rgba(241, 145, 164, 0);
}

.gocarts-card:hover:after {
    background-color: rgba(241, 145, 164, 0.4);
}

.fiets-card .card-link {
    background-color: rgba(139, 182, 163, 1);
}

/*.fiets-card:hover .card-link {
    background-color: rgba(139, 182, 163, 0);
}*/

.fiets-card:after {
    background-color: rgba(139, 182, 163, 0);
}

.fiets-card:hover:after {
    background-color: rgba(139, 182, 163, 0.4);
}

.trein-card .card-link {
    background-color: rgba(5, 125, 194, 1);
}

/*.trein-card:hover .card-link {
    background-color: rgba(5, 125, 194, 0);
}*/

.trein-card:after {
    background-color: rgba(5, 125, 194, 0);
}

.trein-card:hover:after {
    background-color: rgba(5, 125, 194, 0.4);
}

.jump-card .card-link {
    background-color: rgba(239, 144, 51, 1);
}

/*.jump-card:hover .card-link {
    background-color: rgba(239, 144, 51, 0);
}*/

.jump-card:after {
    background-color: rgba(239, 144, 51, 0);
}

.jump-card:hover:after {
    background-color: rgba(239, 144, 51, 0.4);
}

.card-link {
    text-decoration: none;
    transition: all 300ms ease-in-out;
    align-items: flex-end;
    justify-content: flex-end;
    align-content: flex-end;
}

.card-link:hover {
    color: inherit;
}

/*.flex-grid-item .card-link:hover {
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}*/

.card-link .arrow-right-circle {
    width: 65px;
}

.card-link .arrow-right-circle-small {
    width: 40px;
}

.card-link h2 {
    font-size: 35px;
    line-height: 1.2;
}

.m-0 {
    margin: 0 0 0 0;
}

.card-link .arrow-right-circle,
.card-link .arrow-right-circle-small {
    /*transition: margin 300ms ease-in-out;*/
    position:relative;
    left: 0;
    transition: all 0.7s ease;
}

.card-link:hover .arrow-right-circle {
    /*margin-left: 15px;*/
    left: 15px;
}

.card-link:hover .arrow-right-circle-small {
    /*margin-left: 10px;*/
    left: 10px;
}

.scroll-down-arrow-div .scroll-down-arrow {
    bottom: 0;
    transition: bottom 300ms ease-in-out;
}

.scroll-down-arrow-div:hover .scroll-down-arrow {
    bottom: -15px;
}



/************ GOCARTS & FIETS & TREINTJE & SPEELPLEIN **********/
.header-img-blok-gocarts {
    background-image: url("../images/gocarts.png");
}

.header-img-blok-fiets {
    background-image: url("../images/fietsheader.png");
}



.shifted-right {
    margin-right: -325px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-auto-rows: 400px;
    -ms-grid-rows: 400px;
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    justify-items: stretch;
    align-items: stretch;
}

.gallery-grid div:nth-child(8n + 1),
.gallery-grid div:nth-child(8n +6) {
    grid-row: 2 span;
    grid-column: 2 span;
}

.gallery-grid div:nth-child(8n + 2),
.gallery-grid div:nth-child(8n + 3),
.gallery-grid div:nth-child(8n + 7),
.gallery-grid div:nth-child(8n) {
    grid-row: 1 span;
    grid-column: 1 span;
}

.gallery-grid div:nth-child(8n + 4),
.gallery-grid div:nth-child(8n + 5) {
    grid-row: 1 span;
    grid-column: 2 span;
}

/************ Over ons **********/


.header-img-blok-overons {
    background-image: url("../images/overheader.png");
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: auto;
    -ms-grid-rows: auto;
    grid-column-gap: 30px;
    grid-row-gap: 60px;
    justify-items: stretch;
    align-items: stretch;
}

.person-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
}

/************ Contact **********/

.contactdetails a {
    text-decoration:none;
}

form .d-input {
    padding: 5px 2px;
    color: #707070;
    border: none;
    border-bottom: 1px solid #d8262f;
    font-size: 14px;
}

form .d-checkbox {
    font-size: 14px;
    color: #707070;
}

form .d-checkbox input {
    width: 14px;
    height: 14px;
}

form .d-label {
    font-size: 14px;
    border: none;
    color: #707070;
    padding: 5px 2px;
}

form .d-select {
    padding-right: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url(../images/selectarrow.png);
    background-position: right 5px center;
    background-repeat: no-repeat;
}

form .d-input::placeholder {
    color: #707070;
}

form .d-textarea {
    padding: 5px 2px;
    color: #707070;
    border: none;
    border-bottom: 1px solid #d8262f;
    font-size: 14px;
    resize: none;

    /*padding: 0;
    line-height: 4ch;
    background-image: linear-gradient(transparent, transparent calc(4ch - 1px), #d8262f 0px);
    background-size: 100% 4ch;*/

}

form button[type="submit"] {
    cursor: pointer;
}

.gap-65 {
    row-gap: 65px;
}

/************ Media queries **********/

@media (min-width: 768px) {

    footer #bottom ul {
        flex-direction: row;
    }

    footer #bottom ul li:after {
        content:'|';
        color: black;
        padding: 0 30px;
    }

    footer #bottom ul li:last-child:after {
        display:none;
    }

}

@media (min-width: 992px) {

    .headerblok-textdiv {
        min-height: 65vh;
    }

    .home .headerblok-textdiv {
        min-height: 85vh;
    }

    body.about .shifted-left h1 {
        text-align:right;
    }

    body.text .shifted-left h1 {
        text-align:right;
    }

}

@media screen and (max-width:1199px) {

    h1 {
        font-size: 64px;
    }

}

@media screen and (max-width:991px) {
    .menu-button {
        display: block;
    }

    nav .nav .nav-menu,
    nav .nav .socials {
        display: none;
    }

    .headerblok .col-33,
    .headerblok .col-66,
    .headerblok-2 .col-33,
    .headerblok-2 .col-66 {
        width: 100%;
    }

    .headerblok .header-img-blok,
    .headerblok .header-img-blok-overons {
        position: static;
        height: 450px;
        width: 100vw;
        margin-left: -25px;
    }

    .headerblok .abso-bg {
        width: 100vw;
        margin-left: -25px;
    }

    .shifted-left,
    .shifted-right {
        margin-left: 0px;
        margin-top: 0px;
        margin-right: 0px;
    }


    .big-title {
        order: 2;
    }

    .big-title br {
        display: none;
    }

    .headerblok-textdiv {
        padding-bottom: 100px;
        padding-left: 0px;
    }

    .big-wave,
    .footer-wave,
    .medium-wave {
        order: 1;
        width: 100vw;
        max-width: 100vw;
        margin-left: -25px;
    }

    .medium-wave,
    .shifted-left .big-wave {
        margin-top: -150px;
    }

    .card-link .arrow-right-circle {
        width: 40px;
    }

    .card-link .arrow-right-circle-small {
        width: 25px;
    }

    .maxw375 {
        max-width: 100%;
    }

    h1 {
        font-size: 54px;
        text-align:center;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 26px;
    }

    .card-link h3 {
        font-size: 24px;
    }

    .tagline {
        font-size: 18px;
        line-height: 1.5;
        text-align:center;
    }

    #body .headerblok .col-66 .header-img-blok-default-right,
    #body .headerblok .col-66 .header-img-blok-default-left {
        height: 400px;
        position: static;
        width: 100vw;
        margin-left: -25px;
    }


    #body .headerblok .col-33 .abso-bg-2 {
        width: 100vw;
        margin-left: -25px;
        left: auto;
        right: auto;
    }

    #gamma .flex-half,
    #gamma .flex-stretch {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
    }

    .flex-md-1 {
        flex: 1;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-auto-rows: 250px;
        -ms-grid-rows: 250px;
        grid-column-gap: 5px;
        grid-row-gap: 5px;
        justify-items: stretch;
        align-items: stretch;
    }

    .headerblok-2 {
        min-height: 500px;
    }

    body.contact h1 {
        text-align: left;
    }
}

@media screen and (max-width:767px) {
    #bottom ul {
        gap: 0px;
    }

    .headerblok .col-33,
    .headerblok .col-66,
    .headerblok-2 .col-33,
    .headerblok-2 .col-66 {
        width: 100%;
    }

    .headerblok .header-img-blok,
    .headerblok .header-img-blok-overons {
        position: static;
        height: 400px;
        width: 100vw;
        margin-left: -25px;
    }

    .headerblok .abso-bg {
        width: 100vw;
        margin-left: -25px;
    }

    .big-title br {
        display: none;
    }

    .headerblok-textdiv {
        padding-bottom: 100px;
        padding-left: 0px;
    }

    .big-wave,
    .footer-wave {
        width: 100vw;
        max-width: 100vw;
        margin-left: -25px;
    }

    .maxw375 {
        max-width: 100%;
    }

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 28px;
    }

    .tagline {
        font-size: 18px;
        line-height: 1.5;
    }

    h4 {
        font-size: 16px;
    }

    .flex-grid-item {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
        aspect-ratio: auto;
        height: 400px;
    }



    .headerblok-2 .col-66 {
        height: 400px;
        width: 100vw;
        margin-left: -25px;
        order: 1;
    }

    .headerblok-2 .col-66 .header-img-blok-2 {
        width: 100%;
    }


    .headerblok-2 .col-33 {
        order: 2;
    }


    .headerblok-2 .col-33 .abso-bg-2 {
        width: 100vw;
        margin-left: -25px;
        top: 0;
        left: auto;
        right: auto;
        bottom: 0;
    }

    .headerblok .col-33 .abso-bg-2 {
        width: 100vw;
        margin-left: -25px;
        top: 0;
        left: auto;
        right: auto;
        bottom: 0;
    }

    .flex-textdiv {
        gap: 50px;
    }

    .flex-half {
        width: 100%;
        max-width: 100%;
    }

    .headerblok-2 .col-66 .header-img-blok-3 {
        width: 100%;
    }

    .headerblok-2 .col-33 .abso-bg {
        width: 100vw;
        margin-left: 0;
        top: 0;
        left: auto;
        right: auto;
        bottom: 0;
    }

    .col-33 .pl-40 {
        padding-left: 0px;
    }

    .col-33 .pr-40 {
        padding-right: 0px;
    }

    .col-33 .pl-20 {
        padding-left: 0px;
    }

    .col-33 .pr-20 {
        padding-right: 0px;
    }


    footer .footer-div .col-33 {
        order: -1;
    }

    footer .contactblok {
        width: 275px;
        max-width: 275px;
        flex: 1 1 275px;
    }

    footer .footer-div .contactbloks {
        justify-content: center;
    }

    footer .footer-wave-div {
        margin-top: 50px;
    }

    .headerblok-2 {
        min-height: auto;
    }

    footer ul {
        text-align: center;
    }

    .flex-grid-big .flex-half {
        justify-content: center;
        align-items: center;
    }

    .flex-grid-big .flex-half .flex-stretch {
        flex: 0 0 auto;
    }

    #summary .flex-half {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
    }

    .flex-sm-1 {
        flex: 1;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-auto-rows: 200px;
        -ms-grid-rows: 200px;
        grid-column-gap: 5px;
        grid-row-gap: 5px;
        justify-items: stretch;
        align-items: stretch;
    }

    .team-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
        -ms-grid-rows: auto;
        grid-column-gap: 30px;
        grid-row-gap: 60px;
        justify-items: stretch;
        align-items: stretch;
    }
}

@media screen and (max-width:575px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    .tagline {
        font-size: 16px;
        line-height: 1.5;
    }

    h4 {
        font-size: 15px;
    }

    .flex-grid-item {
        height: 320px;
    }

    .headerblok-2 .col-66 {
        height: 320px;
    }

    .headerblok .header-img-blok {
        height: 320px;
    }

    .headerblok .header-img-blok-default-right,
    .headerblok .header-img-blok-default-left {
        height: 320px;
    }

    .medium-wave,
    .shifted-left .big-wave {
        margin-top: -120px;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-auto-rows: 125px;
        -ms-grid-rows: 125px;
        grid-column-gap: 5px;
        grid-row-gap: 5px;
        justify-items: stretch;
        align-items: stretch;
    }

    .headerblok .header-img-blok {
        margin-left: -15px;
    }

    .headerblok .abso-bg {
        margin-left: -15px;
    }

    .big-wave,
    .footer-wave,
    .medium-wave {
        margin-left: -15px;
    }

    #body .headerblok .col-66 .header-img-blok-default-right,
    #body .headerblok .col-66 .header-img-blok-default-left {
        margin-left: -15px;
    }

    #body .headerblok .col-33 .abso-bg-2 {
        margin-left: -15px;

    }

    .headerblok-2 .col-66 {
        margin-left: -15px;
    }

    .headerblok-2 .col-33 .abso-bg-2 {
        margin-left: -15px;
    }

    .headerblok-2 .col-33 .abso-bg {
        margin-left: 0;
    }

    .team-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        -ms-grid-rows: auto;
        grid-column-gap: 30px;
        grid-row-gap: 60px;
        justify-items: stretch;
        align-items: stretch;
    }

    .person-img {
        max-width: 320px;
        width: 100%;
        aspect-ratio: 1;
        border-radius: 50%;
        overflow: hidden;
    }
}

@media (min-width: 1200px) {
    .col-xl-75 .header-img-blok-default-left {
        width: 75vw;
    }
    .col-xl-75 .header-img-blok-default-right {
        width: 75vw;
    }

}

/************ animation **********/

.to-fade-in {
    opacity: 0;
}

.fade-in {
    animation: fade-in 1s forwards;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/****** MODAL *****/
.popup {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.popup-content {
    position: relative;
    background-color: #d8262f;
    color: white;
    margin: auto;
    padding: 0;
    max-width: 515px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.4s;
}

.popup-header {
    /*background-color: black;*/
    height: 42px;
}

.popup-close {
    float: right;
    font-size: 28px;
    line-height: 28px;
    margin: 6px 12px;
    cursor:pointer;
}

.popup-title {    
}

.popup-body {
    padding: 0 30px 35px 30px;
    font-size: 1.1em;
    line-height: 1.6em;
}

.popup-body-title {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 2.9em;
    line-height: 1.2;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.popup-body-title span {
    color: white;
}

.popup-body-text {
    font-weight: 500;
}

.popup-body-text p:last-child {
    margin-bottom: 0;
}

.popup-body-text a {
    color: white;
    text-decoration: underline;
}

.popup-body-text a:hover {
    color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
    .popup {
        padding-top: 150px;
    }
}