@import url('https://fonts.googleapis.com/css2?family=Racing+Sans+One&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css";

/*voorbeeld van een import google fonts*/
* {
    padding: 0;
    margin: 0;
}

root {
    /*zet hier alle variabele, dan kan je ze in alle delen van css gebruiken*/

    /*
    --variabele_met_eigenschap: red;
    */

    /*variabele gebruiken door var(--naam variabele)*/
}


html {
    font-size: 16px;
    /*in de html tab moet size in pixels zijn, dit zorgt dat rem kan gebruikt worden
    rem schaalt op de aantal pixels dat hier staat*/

    min-height: 100vh;
    /*vh staat voor viewheight kan ook vw zijn voor viewwidh
       viewheigt and with schalen met de grootte van de monitor, gsm scherm, afdrukvoorbeeld, etc...
       */


}

/*4A4A4A dit is al een mooie kleur grey*/
body {

    font-family: Verdana, Geneva, sans-serif;
    line-height: 1.6;
    background-color: #19191a;
    color: white;
}

nav {
    font-family: "Anton";
}

h2, h3 {
    font-family: "racing sans one", sans-serif; /*dit stukje gebruikt dwe geimporte google font bovenaan de css*/
    font-size: 2rem; /*gemaakt met emmet fz2rem -> tab*/
}

h1 {
    font-family: "racing sans one", sans-serif;
    font-size: 3rem;
    margin: 1rem;
    text-align: center;
    border: white 2px solid;
    border-radius: 2.5rem .5rem;
}


/*all image css is in here*/
img {
    max-width: 400px;
    height: 500px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    object-fit: cover;
}

.bannerimg {
    width: 100vw;
    height: 200px;
    background-image: url("../assets/pictures/race-track-6114976_1920.webp");
    background-position: center;
    margin-bottom: 1rem;

}

#eventpic {
    width: 30vw;
    height: 700px;
    margin-left: 2rem;
}

.background {
    background-image: url("../assets/pictures/background404.webp");
    height: 91vh;
    width: 110%;
    background-size: cover;
    background-position: center top;
    filter: blur(4px);
}

.img2 {
    object-fit: contain;
    transition: 1s;
}

.img2:hover {
    transform: scale(150%);

}



/*here stops the image css*/
.active {
    font-weight: bold;
}

table {
    text-align: center;

    td, th {
        border: 1px solid grey;
    }
}

.lijst_fietsen {
    list-style-image: url("../assets/icons/ic--round-arrow-right-alt(1).svg");
    list-style-position: inside;
}


.footer {
    a {
        text-decoration: none;
    }
}

.footpadding{
    border-top: lightgray solid 1px;
    padding: 10px;
}

.footerlist {
    list-style-image: url("../assets/icons/ic--round-local-post-office.svg");
}

thead{
    display: none;
}

.postitioning404 {
    display: flex;
    position: relative;
    justify-content: center;

    .container404 {

        position: absolute;
        text-align: center;
        margin-top: calc(40vh);
        border: red 2px solid;
        border-radius: 1rem;
        background-color: rgba(180, 180, 180, .2);

        h1 {
            color: black;
            border: none;
            font-size: 6rem;
            font-style: italic;

        }

        .text404 {
            color: black;
            font-weight: bold;
            text-align: center;
            font-size: 1.5rem;

        }

        @media screen and (max-width: 992px) {
            .text404 {
                color: white;
            }

            h1 {
                color: white;
            }

        }
    }
}

/*alles tussen @media print zal enkel gebruikt worden als je de pagina wilt afprinten,
steeds onderaan de css file zetten.
*/
@media screen and (max-width: 992px) {
    #eventpic {
        visibility: hidden;
    }
}

@media print {
    background-color: white;
    border: none;
    background: none;
    color: black;
    .row{ gap: 0 !important;}
        .bannerimg{
            display: none;
        }
        .collapse{
            display: none;
        }
        img{
            page-break-before: always;
            break-before: page;
        }


}

p {
    text-align: justify;
    width: calc(100% - 2rem); /*calc zorgt ervoor dat 2rem van de kanten gaat blijven, zonder calc zit de text tegen de kanten*/
    color: white;

}

a {
    color: green;
    text-decoration: none;

}

