/** {
    box-sizing: border-box;
  }*/
  
body {
    background-image: url("../../opmaak/achtergrond/dark_wood.png");
}

header {
    position: fixed;
    width: 100%;
    /*height: 3.5rem;*/
    top: 0;
    left: 0;
    background-image: url("../../opmaak/achtergrond/dark_wood_hoofding.png");
    /*background-color: rgba(252, 249, 249, 0.18);*/
    border-bottom: 0.1rem solid rgba(252, 249, 249, 0.9);
    display: grid;
    grid-template-columns: 20% 1fr 10%;
    justify-content: space-between;
    z-index: 10;
}

.logo {
    margin-left: 3rem;
    opacity: 0.7;
    transition: opacity 0.5s;
    grid-column: 1/2;
}

.logo:hover,
.logo:active {
    cursor: pointer;
    opacity: 1;
}

nav {
    display: flex;
    grid-column: 2/3;
    margin: 0 auto;
}

nav:hover,
nav:active {
    cursor: pointer;
    opacity: 1;
}

.social {
    display: none;
}

.social:hover,
.social:active {
    cursor: pointer;
    opacity: 1;
}

main {
    margin-top: 6rem;
}

.wrapper{
    /*background-color: rgba(252, 249, 249, 0.9);*/
    display: flex;
    justify-content: space-around;
}

@media (max-width: 1040px) {

	.mobile-nav-toggle {
		cursor: pointer;
		display: block;
		position: absolute;
		z-index: 2000;
		right: 1rem;
		top: 1.5rem;
		background: hsl( var(--clr-dark)/.1);
		border: 0;
		background-image: url("../../opmaak/logo/icon-hamburger.svg");
		background-repeat: no-repeat;
		background-size: 1.8rem;
		background-position: center;
		width: 2.2rem;
		aspect-ratio: 1;
	}

	.mobile-nav-toggle[aria-expanded="true"] {
		background-image: url("../../opmaak/logo/icon-close.svg");
	}

	
	.navigatie {
        display: flex;
		justify-content: flex-start;
		background-color: hsl( var(--clr-red)/1);
		backdrop-filter: blur(2rem);
		--underline-gap: 0rem;
		position: fixed;
		z-index: 1500;
		inset: 0 0 0 25%;
		list-style: none;
		padding: min(20rem, 15vh) 2rem;
		margin: 0;
		flex-direction: column;
		transform: translateX(100%);
		transition: transform ease-in 300ms;
	}

	.navigatie[data-visible="true"] {
		transform: translateX(0);
	}
        
    nav ul {
        margin: auto 0;
    }

    nav ul li {
        display: inline-block;
    }

    nav ul li a {
        font-family: 'Kalam', cursive;
        display: block;
        padding: 0.5rem 1rem;
        font-size: 1.1rem;
        line-height: 2rem;
        color: white;
        font-weight: 700;
        opacity: 0.7;
        transition: opacity 500ms;
    }

    nav ul li a:hover {
        opacity: 1;
    }
}

@media (min-width: 1040px) {
    
    .mobile-nav-toggle {
        display: none;
    }
    
    nav ul {
        margin: auto 0;
    }

    nav ul li {
        display: inline-block;
    }

    nav ul li a {
        font-family: 'Kalam', cursive;
        display: block;
        padding: 0.5rem 1rem;
        font-size: 1.1rem;
        line-height: 3.5rem;
        color: white;
        font-weight: 700;
        opacity: 0.7;
        transition: opacity 500ms;
    }

    nav ul li a:hover {
        opacity: 1;
    }

    .lijn::before {
        content:"";
        margin: auto 0;
        border-left: 0.1rem solid rgba(252, 249, 249, 0.6);
        line-height: 1.5rem;
    }

    .social {
        grid-column: 3/4;
        display: flex;
        column-gap: 1.5rem;
        margin: auto 3rem auto 0.1rem;
        justify-content: flex-end;
    }
    
    .social img {
        width: 2.3rem;
        opacity: 0.7;
    }

    .social img:hover {
        opacity: 1;
        transition: opacity 500ms;
    }
}

@media (min-width: 1210px) {
    header {
        grid-template-columns: 20% 1fr 20%;
    }
}
