:root{
    --primary: #d5bfae;
    --secondary: #f4C2C2;
    --light: #f7f7f7;
    --dark: #222222;
    --shadow: #cccccc 2px 2px 4px;
    --shadow-small:#cccccc 1px 1px 4px;
    --shadow-bruinSmall:#a08674 1px 1px 4px;
    --shadow-Ssmall:#cccccc 0px 1px 3px;
    --shadowContact:#a08674 2px 2px 4px;
    --lightHover: rgb(232, 232, 232);
    --background: url(../content/media/backgroundTexture.webp);
}

body{
    background-color: rgb(250, 248, 248);
    background-image: var(--background);
    background-repeat: repeat;
    background-size: 8em 8em;
    z-index: 1;
    margin: 0;
    padding: 0;
}

/*------------ TEKST ------------ */
@font-face {
    font-family: 'headerFont';
    src: url(../content/lettertypes/KGSecondChancesSketch.ttf);
    font-weight: normal;
}

@font-face {
    font-family: 'headerFont';
    src: url(../content/lettertypes/KGSecondChancesSolid.ttf);
    font-weight: bold;
}

@font-face {
font-family: 'textFont';
src: url(../content/lettertypes/ebrima.ttf);
font-weight: normal;
}

@font-face {
    font-family: 'textFont';
    src: url(../content/lettertypes/ebrima-bold.ttf);
    font-weight: bold;
}

h1,h2,h3{
    font-family: 'headerFont';
}

p,a,li,ul{
    font-family: 'textfont';
}

h1{
    font-size: 40px;
    margin: 0;
    padding: 0;
}
h2{
    font-size: 25px;
    margin: 0.3em 0;
}
h3{
    font-size: 20px;
    margin: 0.3em 0;
}
p{
    font-size: 16px;
    margin: 0.1em;
}
a, li{
    color: var(--dark);
    font-size: 16px;
    text-decoration: none;
    margin: 0.1em 0.3em;
}

/*------------ DEFAULT ------------ */
button{
    text-decoration: none;
    border: none;
    background-color: var(--light);
    cursor: pointer;
}

a:hover{
    cursor: pointer;
    text-decoration: underline;
}
a li:hover{
    text-decoration: underline;
}

.section {
    scroll-margin-top: 120px;
}


/*------------ NAVIGATIE ------------ */
nav{
    background-color: rgba(255, 255, 255, 0.612);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(3px);
    position: fixed;
    width: 94vw;
    z-index: 4;
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 3vw;
}

nav ul{
    display: flex;
    flex-direction: row;
    text-decoration: none;
    list-style: none;
    justify-content: right;
    padding: 0 1em;
}
.divider{
    background-color: var(--primary);
    padding: 0 0.1em;
    border-radius: 3px;
}

nav a:hover{
    text-decoration: underline;
}

nav li a{
    display: flex;
    flex-direction: row;
    gap: 0.3em;
    align-items: center;
    justify-content: center;
}
nav img{
    width: 2em;
}

.hamburger{
    display: none;
    background-color: rgba(255, 255, 255, 0);
}
.hamburger img{
    width: 2.3em;
    margin: 0.2em 0 0 0;
}

.active{
    font-weight: bold;
    text-decoration: underline;
}

/*------------ ANIMATIE ------------ */
.animatieknop{
    display: flex;
    flex-direction: row;
    gap: 0.5em;
    align-items: center;
    background-color: rgba(255, 255, 255, 0);
}
.animatieToggleAchtergrond{
    height: 1.4em;
    width: 2.5em;
    border-radius: 10px;
    background-color: var(--primary);
}
.animatieToggle{
    height: 1em;
    width: 1em;
    border-radius: 1em;
    background-color: var(--light);
    margin: 0.2em;
    margin-left: 1.3em;
}
.animatieToggleUit{
    margin-left: 0.2em;
}
.animatieToggleUitAchtergrond{
    background-color: grey;
}

.animatieToggleAan{
    margin-left: 1.3em;
    background-color: var(--light);
}
.animatieToggleUitAchtergrond{
    background-color: grey;
}

/*------------ HEADER ------------ */
header{
    height: 80vh;
    margin-top: 17vh;
}


.carousel{
    display: flex;
    flex-direction: row;
    overflow: scroll;
    gap: 0.3em;
    scrollbar-width: none;
}
.carouselGroup{
    display: flex;
    flex-direction: row;
    gap: 0.3em;
    animation: carouselGroupAnimatie 30s linear infinite;
}
.carouselGroupWerk{
    display: flex;
    flex-direction: row;
    gap: 0.3em;
    animation: carouselGroupAnimatie 120s linear infinite;
}

.carousel:hover{
    animation-play-state: paused;
}

:root{
    --headerIframeHeight: 22em;
}
.carousel video, .carousel iframe, .carousel img{
    box-shadow: var(--shadow);
    height: var(--headerIframeHeight);
}
.carousel video, .carousel iframe{
     width: calc(var(--headerIframeHeight) * 1.7778);
}

#eersteAfbeelding{
    display: block;
}
#tweedeAfbeelding{
    display: none;
}
#titel{
    display: grid;
    grid-template-columns: 65% max-content auto;
    gap: 1em;
    margin-top: 5em;
    text-align: left;
}
#showcase{
    font-weight: normal;
    font-size: 23px;
    
}
.lijn{
    background-color: var(--primary);
    height: 0.7em;
    margin-top: 1.5rem;
    align-self: center;
    box-shadow: var(--shadow-Ssmall) inset;
}

/*------------ BREAK ------------ */
#break{
    width: 100%;
    background-color: var(--primary);
    color: var(--light);
    overflow: hidden;
    margin: 3em auto 3em auto;
    box-shadow: var(--shadow-Ssmall) inset;
    font-size: 18px;
}


#break p{
    white-space: nowrap;
    overflow: hidden;
    font-size: 1.1em;
    font-family: 'centurary gothic';
    padding: 0.5em 0;
}



/*------------ CONTACT ------------ */
footer{
    margin: 0;
    background-color: var(--primary);
    padding: 3em;
    position: relative;
    z-index: 0;
}

.contact{
    position: relative;
    margin: auto;
    margin-top: 1em;
    width: 40%;
    height: 30em;
}

.beweging{
    position: absolute;
    top: 0;
    padding: 2em;
    background-color: var(--light);
    box-shadow: var(--shadowContact);
    width: 100%;
    height: max-content;
    opacity: 1;
}

#contactTitel{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 0.5em;
}
#contactTitel img{
    width: 1.7em;
    animation: shake 2s infinite;
    margin-left: 0.5em;
}

#groeten{
    margin-top: 1em;
}
#mail{
    text-decoration: underline;
    font-style: italic;
    margin: 1em 0;
}

#contactKnoppen{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: auto;
    align-items: baseline;
}

#contactKnoppen a{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2em;
    text-align: center;
}

.contactIMGDiv img{
    height: 2.7em;
}

/* ------------------------ ANIMATIES ----------------------------*/

@media (prefers-reduced-motion: no-preference){
    @keyframes carouselGroupAnimatie{
        0% {transform: translateX(0);}
        100% {transform: translateX(-100%);}
    }

    @keyframes shake{
        0% { 
            transform: rotate(3deg); 
        } 
        30% {
            transform: rotate(18deg);
        }   
        50% { 
            transform: rotate(10deg); 
        }
        80% {
            transform: rotate(20deg);
        }
        100% { 
            transform: rotate(3deg); 
        }    
    }
}


.stoppen{
    animation-play-state: paused !important;
    transition: all 0s !important;
    transform: none !important;
}



