@font-face {
    font-family: ns-sans;
    src: url(/fonts/nssans__-webfont.ttf);
    font-family: ns-sans-bold;
    src: url(/fonts/nssanbol-webfont.ttf);
}

* {
    margin: 0;
    padding: 0;
}

/* BODY */

body {
    overflow-x: hidden;
    font-family: ns-sans, Arial, Helvetica, sans-serif;
    background: #e6e6e9;
    color: #000000;
    font-size: 1rem;
    line-height: 1.5625rem;
}

/* https://codepen.io/rouws/pen/dgZXNE */

h1 {
    display: grid;
    grid-template-columns: fit-content(100%) auto fit-content(100%);
    font-weight: 700;
    font-size: 2.375rem;
    line-height: 2.8125rem;
    color: white;
    background: rgba(0, 48, 130, 0.8);
    width: 50%;
    margin: 0 auto;
    justify-content: center;
    padding: 4rem;
}

h2 {
    color: #003082;
    font-size: 1.5rem;
    line-height: 1.875rem;
    font-weight: 400;
    margin: 0.625rem 1rem;
}

h3 {
    margin: 0.625rem 1rem;
}

h4 {
    margin: 1rem 1rem;
    text-align: center;
}

/* DEZE CODE HEB IK VAN SMASHING CONFERENCE OM VISUALITEIT
 TE VERHOGEN VOOR UNIVERSELE SELECTOREN */

a:focus-visible {
    outline: 2px solid #003082;
}

a {
    cursor: pointer;
}

p {
    margin: 0.625rem 1rem;
    ;
    color: #000000;
    font-size: 1rem;
    line-height: 1.5625rem;
}

/* NAVIGATIE VAN OVERZICHTSPAGINA */

nav {
    background-color: white;
    box-shadow: 0 1rem 1rem -1rem gray;
    height: 3.75rem;
}

nav ul {
    max-width: 1190px;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

nav li {
    margin: 1rem;
}

header li:first-of-type {
    margin-right: auto;
}

nav li:first-child {
    justify-self: start;
}

nav li:first-of-type img {
    width: 3.5rem;
}

nav li:nth-of-type(2) img {
    width: 1.4rem;
}

nav li:nth-of-type(3) img {
    width: 1.4rem;
}

/* OPMAAK VAN OVERZICHTSPAGINA */

#home {
    background: url(../img/lezen.jpg) no-repeat;
    background-size: 1410px 450px;
    padding: 3em 0;
}

section {
    padding-top: 4rem;
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(auto, 23.625rem));
    grid-gap: 2rem;
    justify-content: center;
}

article {
    background-color: white;
    box-shadow: 0 4px 2px -2px gray;
    color: #000000;
}

article img {
    display: block;
    margin: 0 auto;
}

article h2 {
    margin: 0.625rem 1rem;
    font-weight: 700;
}

article a {
    margin: 0.625rem 1rem;
    text-decoration: none;
    color: #0079d3;
}

article a:hover {
    color: #003082;
}

.lijntje {
    border-bottom: 2px solid lightgray;
    padding: 2rem 0 2rem 0;
}

#lijntjegeel {
    border-bottom: 2px solid #cfa317;
    padding: 0 0 2rem 0;
}

.bestevdweek {
    grid-column: 1 / -1;
    background: none;
}

.bestevdweek .omschrijving {
    background: linear-gradient(180deg, rgba(255, 201, 23, .9) 0, #ffc917 60px, #ffc917);
}

.omschrijving {
    position: relative;
    padding: 2rem;
    color: #003082;
}

.klikken {
    cursor: pointer;
}

.fotoomschrijving {
    cursor: pointer;
}

/* BOOKMARK */

button {
    cursor: pointer;
    background: #ffc917;
    padding: 1rem;
    border-style: none;
    position: absolute;
    right: 2rem;
    top: -1rem;
    box-shadow: 0 0.125rem 0.1rem 0 #cfa317;
    transition: .9s ease-in-out;
}

button img {
    width: 3rem;
}

.opslaan {
    top: -18.5rem;
}

/* LIKE/HEART/HARTJE/WOW IK VIND DIT ECHT LEUK HAHA */

/* .like {
    color: #003082;
    top: 1.5rem;
    background: none;
    border-style: none;
    box-shadow: none;
}

.like img {
    width: 2.5em;
}

.like:hover{
    transform: scale(2.2, 2.2);
    transition: .9s ease-in-out ;
} */

/* REAGERENKNOP/REACTIE/IETS ACHTERLATEN */

.reactie {
    top: 1.5rem;
    right: 6rem;
    background: none;
    border-style: none;
    box-shadow: none;
}

.reactie img {
    width: 1.8rem;
}

#sorteer {
    padding: 2rem 0;
    background: #ffc917;
}

#sorteer h2 {
    Text-align: center;
    Padding: 0.625rem;
    margin: 0.5rem 2rem;
    color: #003082;
    font-weight: 900;
}

#filter {
    font-size: 0.9rem;
    color: #fff;
    padding: 3.5rem 2rem;
    background: #003082;
}

#filter h2 {
    padding-bottom: 1rem;
    color: #ffffff;
    font-weight: 900;
    margin: 0 1rem;
}

#filter ul {
    text-align: center;
    padding: 1rem 0.5rem;
}

#filter li {
    list-style: none;
    display: inline;
    padding: 0.625rem;
}

fieldset {
    border-style: none;
    text-align: center;
}

input[type=radio] {
    display: inline-block;
    margin: 0.625rem;
}

select {
    margin: 0.5rem 1rem;
    padding: 0.5rem 2rem 0.5rem 0;
    border-radius: 0;
    border-style: none;
}

#zoekbalk {
    width: 275px;
    height: 30px;
    margin: 0 0 0 2rem;
    padding: 0 0 0 1.5rem;
}

#zoeken {
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    width: 7rem;
    color: #003082;
    background: #ffc917;
    text-align: center;
    padding: 0.5rem;
    margin: 1rem 0 0 5.5rem;
    transition: box-shadow .3s ease-in-out, -webkit-box-shadow .3s ease-in-out;
}

#zoeken:hover {
    color: #fff;
    box-shadow: 0 -3.125rem 0 #cfa317 inset;
    /* DIT STUKJE CODE HEB IK VAN CSS VAN DE NS WEBSITE */
    transition: box-shadow .3s ease-in-out, -webkit-box-shadow .3s ease-in-out;
}

footer {
    text-align: center;
    background-color: #ffffff;
    height: 3.75rem;
    margin-top: 3rem;
}

footer p {
    padding: 0.9375rem;
    max-width: 1200px;
}

/* OPMAAK VAN LOGIN PAGINA */

#login {
    box-shadow: 0 1rem 1rem -1rem gray;
}

#login:first-of-type img {
    max-width: 1190px;
    margin-left: 3.8rem;
    width: 3.5rem;
    display: flex;
}

#login2 {
    width: 3rem;
    padding: 1.2rem 0 0 0;
}

#login3 {
    width: 100%;
    max-width: 1200px;
    background-image: none;
    margin: 0 auto;
    height: 505px;
}

#login3 label {
    margin: 0;
    padding: 0;
}

form {
    margin: 3rem auto;
    width: 57.26495726495726%;
    padding: 5rem;
    margin-bottom: 1rem;
    background: #ffc917;
    color: #003082;
}

label {
    font-size: 1rem;
    color: #003082;
}

form input {
    display: block;
    padding: 0.6rem;
    width: 18rem;
    border: none;
    margin-bottom: 0.4rem;
}

form fieldset {
    border: none;
    text-align: left;
}

legend {
    font-size: 1.5rem;
    color: #003082;
    margin-bottom: 1rem;
}

input:focus {
    border: 2px solid #003082;
}

#inloggen {
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    width: 7rem;
    color: #ffffff;
    margin-top: 1rem;
    background: #0079d3;
    text-align: center;
    padding: 0.5rem;
    transition: box-shadow .3s ease-in-out, -webkit-box-shadow .3s ease-in-out
}

#inloggen:hover {
    color: #fff;
    box-shadow: 0 -3.125rem 0 #005ca0 inset;
    transition: box-shadow .3s ease-in-out, -webkit-box-shadow .3s ease-in-out
}

#vergeten {
    width: 7rem;
    font-size: 1rem;
    text-decoration: none;
    color: #003082;
    margin-top: 1rem;
    margin-left: 0.9rem;
    padding: 0.7rem 0.1rem;
    border-bottom: 3px solid #e5b518;
    transition: .6s ease-in-out;
}

#vergeten:hover {
    border-bottom: 3px solid #005ca0;
    transition: .6s ease-in-out;
}

/* ZOEKRESULTATEN OPMAAK */

#zoekresultaten {
    background-image: none;
    padding: 3em 0;
    overflow-x: hidden;
}

/* VERHAAL OPMAAK */

#verhaal {
    background: url(../img/DESKTOP.jpg) center center no-repeat;
    background-size: contain;
    height: 1130px;
}

/* werkt niet idk why sos send help */

@media (min-width: 481px) and (max-width: 1024px) {
    #verhaal {
        background: url(../img/TABLET.jpg) center center no-repeat;
        background-size: contain;
        height: 1200px;
    }
}

@media (min-width: 320px) and (max-width: 480px) {
    #verhaal {
        background: url(../img/MOBIEL.jpg) center center no-repeat;
        background-size: contain;
        height: 1200px;
    }
    form {
        margin: 1rem 0;
        padding: 5rem 2rem;
        width: 100%;
    }
    #login:first-of-type img {
        margin-left: 0.625rem;
    }
    #login3 label {
        margin: 0;
        padding: 0;
        width: 16rem;
    }
    #login3 input {
        width: 16rem;
    }
    #inloggen {
        width: 16rem;
    }
    #vergeten {
        width: 16rem;
        display: block;
        text-align: center;
        margin: 1rem 0 0 0;
        padding: 0.5rem;
    }
    /* https://developers.google.com/web/updates/2017/03/performant-expand-and-collapse */
    /* FILTER EN SORTEERBLOK OPMAAK */
    .filterandsort {
        cursor: pointer;
        overflow: hidden;
        max-height: 140px;
        transition: max-height 0.7s ease-in-out;
    }
    .filterandsortbig {
        transition: max-height 1.2s ease-in-out;
        max-height: 800px;
    }
}

.groei {
    background: #003082;
    transform: scale(1.1, 1.15);
    transition: .9s ease-in-out;
    box-shadow: 0 0.3rem 0.5rem 0 #003082;
}

input[type="radio"] {
    text-align: center;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
}

input[type="radio"]+label {
    text-align: center;
    font-weight: 100;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.3);
    padding: 0 0.6rem 0.6rem 0;
    display: inline-block;
    margin: 0 0.6rem 0 0;
}

input[type="radio"]:checked+label {
    color: #fff;
    border-bottom-color: #fff;
}

input[type="checkbox"] {
    margin-left: 3rem;
}

input[type="checkbox"]:hover {
    box-shadow: 0px 0px 20px #000000;
}

#reactie {
    background: none;
    padding: 1rem;
    margin: 0;
}

#reactie input[type="submit"]{
    background: #lightgray;
    cursor: pointer;
    margin: 0 auto;
    padding: 1rem 0;
    transition: box-shadow .3s ease-in-out, -webkit-box-shadow .3s ease-in-out;
}

#reactie input[type="submit"]:hover {
    box-shadow: 0 -3.125rem 0 darkgrey inset;
    /* DIT STUKJE CODE HEB IK VAN CSS VAN DE NS WEBSITE */
    transition: box-shadow .3s ease-in-out, -webkit-box-shadow .3s ease-in-out;
}

#reactie input[type="text"] {
    border: 2px solid lightgray;
    padding: 1.5rem 0;
}

.line {
    border-bottom: 2px solid lightgray;
    padding: 2rem 0 2rem 0;
}