:root {
    --gold: goldenrod;
    --red: #cf2e2e;
    --white: #fff;
    --black: #252324;
}

.gold {
    color: var(--gold);
}

@font-face {
    font-family: myFirstFont;
    src: url(../fonts/segoesc.ttf);
}


body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: #252324;
}

/* .top-header {
    height: 12px;
    background-color: var(--black);

} */

header {
    background-color: var(--red);
    color: var(--white);
    width: 100%;
    height: 180px;
    font-family: myFirstFont;
    z-index: 999;
}

.header-container {
    /* display: grid;
    grid-template-columns: 1fr 2fr 1fr; */
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.19rem;
    padding-right: 1.19rem;
}


.header-container p {
    margin: 0;
}

.title-container {
    text-align: center;
    grid-column-start: 2;
    padding: 8px;
    margin-bottom: 25px;
}

.subtitle {
    color: var(--black);
    font-weight: bolder;
    text-transform: uppercase;
}


nav.main-navigation {
    /* grid-column-start: 2; */
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--black);
    padding-top: 9px;

}

.header-container nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    width: 35%;
    justify-content: space-around;
}

.header-container nav li {
    list-style-type: none;
    font-weight: 500;

}

nav.main-navigation ul li {
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-size: inherit;
    text-rendering: auto;
    letter-spacing: 3px;
}

.display-6 a {
    text-decoration: none;
    color: var(--white);
}

nav.main-navigation ul li a {
    text-decoration: none;
    color: var(--white);
    text-transform: uppercase;
    font-weight: 700;
    display: block;
}

nav.main-navigation ul li:hover a {
    color: var(--gold);

}

/* NAVIGATION */

nav ul li a,
nav ul li a:after,
nav ul li a:before {
    transition: all .5s;
}


/* stroke */
nav.main-navigation ul li a {
    position: relative;
}

nav.main-navigation ul li a:after {
    position: absolute;
    top: 25px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 0%;
    content: '.';
    color: transparent;
    background: var(--gold);
    height: 5px;
}

nav.main-navigation ul li a:hover:after {
    width: 100%;
}

nav.main-navigation ul li a {
    transition: all 2s;
}

nav.main-navigation ul li a:after {
    text-align: left;
    content: '.';
    margin: 0;
    opacity: 0;
}

nav.main-navigation ul li a:hover {
    color: var(--black);
    z-index: 1;
}

nav.main-navigation ul li a:hover:after {
    z-index: -10;
    animation: fill 1s forwards;
    -webkit-animation: fill 1s forwards;
    -moz-animation: fill 1s forwards;
    opacity: 1;
}

main {}

.grid {
    display: grid;
    grid-gap: 1em;
    /* [1] Add some gap between rows and columns */
    grid-template-columns: repeat(3, 1fr);
}


img {
    object-fit: cover;
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .7s ease;
    backface-visibility: hidden;
    /* transform: rotate(deg); */
}

figure img {
    width: 100%;
    height: auto;

    min-height: 411px;
}

.card img {
    min-width: 200px;
}

figure .middle {
    transition: .7s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

figure:hover {
    cursor: pointer;

}

figure:hover .image {
    opacity: 0.4;
}

figure:hover .middle {
    opacity: 1;
}

.text {
    background-color: var(--gold);
    color: var(--white);
    font-size: 15px;
    padding: 5% 5%;
    width: 100%;
}

.text .afmeting {
    display: block;
    font-size: 12px;
}

.grid-item {
    width: 200px;
}

.grid-item--width2 {
    width: 400px;
}

figure {
    background: none;
    color: var(--red);
    font-size: inherit;
    font-weight: 700;
    position: relative;
    border: 0;
    box-sizing: border-box;
    /* box-shadow: inset 0 0 0 2px #000000; */
    vertical-align: middle;
}

figure::before,
figure::after {
    width: 100%;
    height: 100%;
    content: '';
    position: absolute;
    box-sizing: inherit;
}


@media only screen and (min-width: 900px) {


    .draw {
        transition: color 0.25s;
    }

    .draw::before,
    .draw::after {
        border: 8px solid transparent;
        width: 0;
        height: 0;
    }

    .draw::before {
        top: 0;
        left: 0;
    }

    .draw::after {
        bottom: 0;
        right: 0;
    }

    .draw:hover {
        color: var(--red);
    }

    .draw:hover::before,
    .draw:hover::after {
        width: 100%;
        height: 100%;
    }

    .draw:hover::before {
        border-top-color: var(--red);
        border-right-color: var(--red);
        transition: width 0.25s ease-out, height 0.25s ease-out 0.25s;
    }

    .draw:hover::after {
        border-bottom-color: var(--red);
        border-left-color: var(--red);
        transition: border-color 0s ease-out 0.5s, width 0.25s ease-out 0.5s, height 0.25s ease-out 0.75s;
    }

    .meet:hover {
        color: var(--red);
    }

    .meet::after {
        top: 0;
        left: 0;
    }

    .meet:hover::before {
        border-top-color: var(--red);
        border-right-color: var(--red);
    }

    .meet:hover::after {
        border-bottom-color: var(--red);
        border-left-color: var(--red);
        transition: height 0.25s ease-out, width 0.25s ease-out 0.25s;
    }
}

.modal-title {
    text-transform: uppercase;
}

#hideAll {
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-color: var(--red);
    z-index: 99;
    /* Higher than anything else in the document */
    display: flex;
    justify-content: center;
    align-items: center;

}

/* SPINNER */
.lds-spinner {
    color: official;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 37px;
    width: 6px;
    height: 18px;
    border-radius: 20%;
    background: var(--white);
}

.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}


.card {
    display: flex;
    flex-direction: row;
}

@media only screen and (max-width: 900px) {
    .title-container {
        margin-bottom: 0px;
    }

    .header {
        height: 150px;
    }
}

@media only screen and (max-width: 600px) {
    .grid {
        display: grid;
        grid-gap: 1em;
        /* [1] Add some gap between rows and columns */
        grid-template-columns: repeat(1, 1fr);
    }




}

@media only screen and (max-width: 900px) {
    .header-container nav ul {
        width: 100%;
        justify-content: space-around;
    }
}

@media only screen and (max-width: 800px) {
    .card {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 3%;
    }

    .card img {
        width: 20%;
    }

    .card-img-top {
        border-bottom-left-radius: calc(0.375rem - 1px);
        border-bottom-right-radius: calc(0.375rem - 1px);
    }
}

.card-title {
    color: var(--red);
}

.contact-container {
    display: flex;
    justify-content: center;
}

.contact {
    width: 50%;
    background-color: var(--red);
}

.contact * {
    color: var(--white);
}

.contact .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact .card-address {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contactdata li {
    list-style-type: none;
}

.contactdata a {
    text-decoration: none;
}

.contactdata .list-item {
    display: flex;
    margin-bottom: 15px;
}

.contactdata .list-item>span {
    margin-right: 15px;
}

.mail-part {
    margin-left: -6px;
}

/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
    position: fixed;
    top: 0;
    width: 100%
}

/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky+.content {
    padding-top: 102px;
}

.text-center {
    text-align: center;
}