/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
@import url('https://fonts.cdnfonts.com/css/inter?styles=169530,29139,29142,29132,29135,29136,29137,29140,29128,29130,29126,29127');
@import url("https://use.typekit.net/xwb7zke.css");
@import url('https://fonts.cdnfonts.com/css/archivo-black');
@import url('https://fonts.cdnfonts.com/css/space-grotesk');

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
--main-bg: #3500ba;
	--secondary-bg: #f8f4f1;
	--font-colour: #45D179;
}

body {
    background-color: var(--main-bg);
    height: 100%; 
    min-height: calc(var(--lvh) * 90);

}

nav{
    font-family: 'inter', sans-serif;
    color: #342F2F;

}
 a{
 font-family: 'Space Grotesk', sans-serif;
letter-spacing: 0.09em;
                               text-decoration: none;                 
    color: white;
    font-weight: bold;
}
p{
    font-family: 'Space Grotesk', sans-serif;
    color: white;
    letter-spacing: 0.08em;
}
a{
    text-decoration: none;
    color: white;
}

h1, h2 ,h3,h4,h5{
    font-family: 'Archivo Black', sans-serif;
    color:#53CF55;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

	nav > div {
		display: flex;
		border: 2px solid black;
		background: rgba(0, 0, 0, 0.387);
		border-radius: 16px;
		box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
		backdrop-filter: blur(5px);
		-webkit-backdrop-filter: blur(5px);
		border: 1px solid rgba(0, 0, 0, 0.546);
		padding: 1em;
		border-radius: 5em;
        gap: .5em;
	}
	nav {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
        padding-top: 1em;
	}
div > a{
    font-weight: bolder;
    font-size: 1em;
    
}
.name {
  display: flex;
  justify-content: center;
}

.logo {
  display: grid;
  place-items: center; /* horizontaal + verticaal centreren */
  padding-top: 2.5em;
}

.logo img {
  grid-area: 1 / 1;
  width: 100%;
height: 13em;
}

.logo h1 {
  grid-area: 1 / 1;
  margin: 0;
  text-align: center;
  font-size: 3em;

}

/*--------------------------------------------------------------
# projecten
--------------------------------------------------------------*/


.projecten header {
    text-align: center;
    margin-bottom: 40px;
}

.project-grid {
    list-style: none; /* verwijdert bullets */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 1em;
}
.project:nth-child(1) {
    grid-area: 3/1/1;

}

.project {
    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
}

.project a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.project a p {
    margin: 0;
    text-align: center;
}

.projecten-titel{
padding-bottom: 1em;
}

.project h3 {
    font-size: 1.2rem;
}

/* Achtergrondkleuren */

li{
    border: 2px solid black;
		background: rgba(0, 0, 0, 0.387);
		box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
		backdrop-filter: blur(5px);
		-webkit-backdrop-filter: blur(5px);
		border: 1px solid rgba(0, 0, 0, 0.546);
}
a[href="/about"]::after {
    content: " /";
}

.label{
    font-size: .8em;
    font-weight: regular;
    position: absolute;
    top: 16px;
    left: 16px;
border: 1px solid white;
    padding: .5em;
    border-radius: 2em;
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.projecten
{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1em;
    padding-right: 1em;
}

footer{

    display: flex;
    flex-direction: row;
    justify-content: end;
    gap: 2em;
    padding-top: 3.5em;
    padding-right: 1em;
        max-width: 1200px;
          margin-left: auto;
    margin-right: auto;
    padding-left: 1em;
    padding-right: 1em;
    

}





/*--------------------------------------------------------------
# shauri section
--------------------------------------------------------------*/

.shauri {
  display: flex;
  justify-content: center;
  align-items: center;
padding: 0 1.5em;
padding-top: 2.5em;
}

.shauri figure {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 2.5em;
}

.shauri img{
    max-width: 100%;
    width: 36.9em;
    height: auto;

}

.shauri figcaption .info {
  display: flex;
  flex-direction: column;
  overflow: auto;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
}
 .shauri dd{
max-width: 35em;
line-height: 1.3em;
    letter-spacing: 0.08em;
 }

 .shauri dt{
    font-weight: bold;

 }
  .info :nth-child(2){
    margin-bottom: 1.5em;
  }


/*--------------------------------------------------------------
# media querys
--------------------------------------------------------------*/

@media (max-width: 1024px) {
    .shauri figure {
        flex-direction: column;
    }
    footer {
    flex-direction: column;
    justify-content: left;
    align-items: center;
    padding-left: 2em;
    text-align:start;


}
.project-grid {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(6, 200px);
}
}

@media (max-width: 768px){

.project-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 180px);
}
.logo h1 {
font-size: 2em;

}
}

@media (min-width: 1920px) {

	.projecten {
		max-width: 1800px;
	}
	
	footer {
		max-width: 1800px;
	}
	
	.project-grid {
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(2, 280px);
		gap: 2em;

	}
	
	.logo > img {
		height: 22em;
	}
	
	.name > h1 {
		font-size: 4.5em;
	}
	
	.shauri img {
		width: 50em;
	}
	
	div > a {
		font-size: 1.2em;
	}
}

@media (min-width: 2560px) {

	.projecten {
		max-width: 1800px;
	}
	
	
	.project-grid {
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(2, 380px);
		gap: 2em;
	}

}

/*--------------------------------------------------------------
# animations
--------------------------------------------------------------*/

/* Alleen actief tijdens load */
.is-loading header,
.is-loading .projecten-titel,
.is-loading .project,
.is-loading footer {
  opacity: 0;
  transform: translateY(40px);
}

/* H1 animatie */
.logo h1 {
  opacity: 0;
  transform: scale(0.95);
  animation: fadeInCenter 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}



/* Logo */
.is-loading .logo img {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.3s;
}

/* Zodra zichtbaar */
.fade-in {
  animation: fadeUp 0.8s ease forwards;
}

/* Keyframes */
@keyframes fadeInCenter {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

