/*--------------------HEADER-------------*/
header{
    background-color: #f1d4dda1;
    box-shadow:  #cbbdc1 5px 5px 5px;
    justify-self: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 90%;
    margin: 28% auto 6em auto;
    text-align: center;
    padding: 6% 0;
}

header > h1{
    font-size: 30px;
    border-bottom: 5px solid #ffffff;
    margin: 0 auto;
}
header > h3{
    margin-top: 0.4em;
    font-size: 18px;
}

/*------------CV---------------*/
main{
    display: grid;
    grid-template-rows: auto auto;
    text-align: left !important;
    width: 97%;
    margin: auto;
}

/*---korte informatie over mij---*/
#mainLeft{
    display: grid;
    grid-template-rows: max-content max-content max-content max-content;
    gap: 1.5em;
    margin-left: 10%;
    margin-bottom: 3em;
}
.onderdeel1 > p, .koppel{
    margin: 0;
}
.koppel > h4{ /*titel engels en nederlands */
    margin: 0.4em 0 0.3em 0;
}

.onderdeel1 > h3{
    margin: auto auto 0.1em auto;
}
.bolletjes{
    display: flex;
    flex-direction: row;
    gap: 1em;
}
.bolletjes > div{
    width: 1em;
    height: 1em;
    background-color: #cbbdc1;
    /* border: solid #F1D4DD 5px; */
    border-radius: 20px;
}
.vol{
    background-color: #F1D4DD !important;
}

/*--- ervaring ---*/
#mainRight{
    display: grid;
    grid-template-rows: auto auto auto auto auto;
    margin-left: 5%;
}

.onderdeel2{
    margin: 1em 0;
}
.onderdeel2 > h3{
    margin: 0;
}
.onderdeel2 > div{
    border-left: solid black 3px;
    padding-left: 1em;
    margin-top: 0.3em;
}
.naam{
    margin: 0;
}
.context{
    margin-top: 0;
}

/*--- dikgedrukt, animatie van eerder stoppen ---*/
span{
    animation: none;
    font-weight: bold;
}



/*---------------------------RESPONSIVE-----------------------------*/
@media screen and (min-width: 680px){
    header{
        margin-top: 5em;
        padding: 2% 0;
    }
    main{ /*twee colommen*/
        display: grid;
        grid-template-rows: 1fr;
        grid-template-columns: auto auto;
    }
}
@media screen and (min-width: 1150px){ /*vier colommen*/
    #mainLeft{
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: max-content max-content;
        gap: 3em;
    }
    #mainRight{
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto;
    }
}

/*----------PRINTEN----------*/
/*----- twee pagina's is niet te voorkomen, alle opties geprobeerd*/
@media print {
    nav{
        display: none;
    }
    header{
        margin: 1em auto 2em auto;
        padding-top: 1em;
        padding-bottom: 1em;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact; 
    }
    main{
        display: grid;
        grid-template-rows: 1fr;
        grid-template-columns: auto auto;
        -webkit-print-color-adjust: exact; 
        print-color-adjust: exact; 
    }

}