
/**************/
/* CSS REMEDY */
/**************/
*, *::after, *::before {
    box-sizing:border-box; 

  }
  
  


  
  
  /*********************/
  /* CUSTOM PROPERTIES */
  /*********************/
  :root {

    --color-background-pag2-pink:#E9C3B0;
    --color-background-pag2-darkyellow:#E7B956;
    --color-background-pag2-lightgreen:#D8DED7;
    --color-background-pag2-lightbrown:#DFBC9C;
    --color-background-pag2-lightyellow:#F3DAA5;

    --color-background-yellow:#FFDB05;
    --color-background-red:#CB500A;
    --color-background-blue:#057BC0;
    --color-background-green:#06853E;

    --color-background-white:#FFFFFF;
    --color-background-black:#000000;
    --color-background-darkgray:#4D4D4D;
    --color-background-lightgray:#F5F4F4;

  --color-background-sb:#F5F4F4;
--color-background-hover-sb-btn:#DFDFDF;
--color-background-hover-link: #F5F4F4;

--color-text-darkgray:#4D4D4D;
--color-text-black:#000000;
--color-text-white:#FFFFFF;

--font-size-normaal:0.7em;
--font-size-h2:0.9em;
--font-size-h3:0.9em;
--font-size-h1:1.2em;
--font-size-links:10px;


  }






  

  body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: white;
    color: black;
    font-family:"Ikea font";
  }
  
  
  @media (prefers-color-scheme: dark) {
    body {
        background-color: black;
        color: white; /* Witte tekst in dark mode */
    }
  }
    
  @media (prefers-color-scheme: dark) {
    ul li svg path {
        fill: white; 
    }
  }
  
  @media (prefers-color-scheme: dark) {
  ul button {
    fill: white;
  
  }
  }
  
  @media (prefers-color-scheme: dark) {
  button svg path {
      fill: white; 
  }
  }


  @media (prefers-color-scheme: dark) {
    summary {
        color: var(--color-text-black); 
    }
}
@media (prefers-color-scheme: dark) {
  h4 {
      color: var(--color-text-black); 
  }
}



  
  
  @font-face {
    font-family: "ikea font";
    src: url("../fonts/noto-ikea-700.woff2");
    font-weight: 700;
  }
  
  @font-face {
    font-family: "Ikea font";
    src: url("../fonts/noto-ikea-400.woff2");
    font-weight: 400;
  }


  /****************/
/* JOUW STYLING */
/****************/

/* jouw code */

/* header stuk */

h1{
  font-size:clamp(1.4em, 3.5vw, 2em); 
margin-top: 1em;
}

h2{
  font-size:clamp(0.7em, 3.5vw, 1.2em); 
  margin-bottom: 3em;
}





@media (min-width: 48em) {
  h1 h2 {
    font-size: 36px;  
   
  }
}




p{
  font-size: var(--font-size-normaal);
}

h3{
  font-size: var(--font-size-h3);
}

a {
  font-size: var(--font-size-links);
}



header section:nth-of-type(1) ul li:nth-of-type(1){
  margin-right: auto;
  fill: white;
}


header section:nth-of-type(1){
  text-align: right;
}

header section:nth-of-type(1) svg {
  width: 2em;
  height: auto;
  fill: white;
}


header section:nth-of-type(1) ul{
  list-style: none;
  padding: 0.3em;
  margin: 0;
  gap: 10px;
  display: flex;
  justify-content: space-between;
}

header section:nth-of-type(1) li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: var(--font-size-links);

}

header section:nth-of-type(1) {
background: var(--color-background-black);
  padding: 4px;
color: var(--color-text-white);
}


header section:nth-of-type(1) li:first-child svg path {
  fill: white;
}


header section:nth-of-type(2) { 
  display: grid;
  grid-template-columns: (1fr, 1fr, 1fr, 1fr, 1fr, 1fr,);
  grid-template-rows: (1fr, 1fr,);
align-items: center;
margin-top: 5px;
}



button {
    display: block; 
}

@media (min-width: 62em) { 
    button {
        display: none; 
    }
}





 header section:nth-of-type(2) ul svg{
  width: 20px;
  fill: rgb(0, 0, 0);
  margin: 0;
 }

  header section:nth-of-type(2) ul button{
    background-color: transparent;
    border: none;
  }
header section:nth-of-type(2) img {
width: 5em;
}

  header section:nth-of-type(2) ul {
    grid-column-start: 6;
    grid-row-start: 1;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
   gap: .8em;
}






header section:nth-of-type(2),
header section:nth-of-type(3),
header section:nth-of-type(4) {
  margin-inline: auto;
width:min( 85em, 100% - 4em );
}

header section:nth-of-type(3) ul{
  display: none;
  list-style: none; 
  display: flex;
gap: 20px;
margin-left: -2em;
}




header section:nth-of-type(3) ul li {
  display: inline;
}

header section:nth-of-type(3) ul li a {
  text-decoration: none;
  color: gray;
  font-weight: bold;
  font-size: 11px;
}

header section:nth-of-type(3) ul li a:hover {
  color: var(--color-text-black);
}



@media (max-width: 62em) {
  header section:nth-of-type(3) {
    display: none;
  }
}



header section:nth-of-type(4) {
  display: none;
}


@media (min-width: 62em) {
  header section:nth-of-type(4) {
    display: block; 
  }
}

header section:nth-of-type(4)  ul {
  display: flex;
  gap: 20px; 
  overflow-x: scroll; 
  list-style: none; 
  padding: 0;
  margin-right: 3em;
  margin-top: 4em;
}

header section:nth-of-type(4)  ul li {
flex: 0 0 auto;
text-align: center;
}


header section:nth-of-type(4) ul li img {
width: 80px; 
height: auto; 
display: block; 
margin: 0 auto; 
}

header section:nth-of-type(4) ul li p {
margin-top: 0.5em;
font-size: 0.7em;
color: #333;
align-items: center;
}




/* gedeelte van de menu button */
/* gedeelte samen gedaan met ali, die heeft mij er bij geholpen. Dus bron Ali */


header {
  position: relative;
}

header nav div button span:nth-of-type(1)
{
transform: rotate(45deg);
}


header nav div button span:nth-of-type(2){
  transform: rotate(-45deg);
}


header nav div button span{
display: block;
position: absolute;
width: 100%;
height: 2px;
background-color: var(--color-background-black);

}



header nav div button{
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 2rem;
  aspect-ratio: 1/1;
  background: transparent;
  border: none;
  width: 15px;
}

header nav div {
  display: flex;
  position: fixed;
  top: 0;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 2em;
  margin-top: 1.5em;
}

header nav div input {
  width: 80%;
  padding: 0.8em;
  border-radius: 5em;
  border: none;
  background-color: #eee;
font-size: 1m;
}


header nav.active {
  transform: translateX(0);
}

header nav {
transition: .2s;
position: fixed;
z-index: 10;
background-color: var(--color-background-white);
top: 0;
bottom: 0;
height: 100vh;
overflow-y: scroll;
left: 0;
width: 100%;
transform: translateX(-100vw);

}

header nav ul {
  padding-top: 2rem;
  list-style:none;
color: var(--color-text-black);
}


header nav ul:nth-of-type(1){
  font-size: 20px;
  font-weight: bold;
  line-height: 2em;
cursor: pointer;
padding-top: 3.5em;
}



header nav ul:nth-of-type(2){
  font-weight: bold;
  line-height: 3em;
  margin-top: -3em;
  cursor: pointer;
font-size: var(--font-size-normaal);
}


header nav ul:nth-of-type(3){
margin-top: -2em;
  line-height: 2.5em;
  cursor: pointer;
font-size: var(--font-size-normaal);

}

header nav li:hover{
  text-decoration: underline;
}

  header section:nth-of-type(2) ul svg:hover{
   background-color: var(--color-background-hover-link);
    border-radius: 10em;
    box-shadow: 0 0 0 .5em #e8e8e8 ;
  }




@media (width < 60em){
  header section:nth-of-type(2) form {
    grid-column:  span 6 /  7;
    grid-row-start:3;
  }
}


@media (min-width: 60em) {
  header section:nth-of-type(2) form {
    grid-column: 2 / 3; }

}



form {
    display: flex;
    align-items: center;
  background-color: var(--color-background-sb);
    padding: 10px;
    border-radius: 5em;
    margin-left: 1em;
    margin-right: 1em;
  
  }
  
  
form svg {
    width: 40px;
    height: auto;
    padding-left: 10px;
    padding-right: 10px;
  }
  
form input{
    flex: 1;
    padding: 3px;
    border: none;
    outline: none;
    margin: 0 10px;
    background: none;
    font-size: 14px;
    color: var(--color-text-darkgray);
    font-weight: 500;
  }


  form:hover{
    background-color: var(--color-background-hover-sb-btn);
    transition: 0.3s;
  }






@media (min-width: 48em){
  footer section {
    grid-template-columns: 1fr 1fr 1fr;
  }
}





/* footer gedeelte hier onder */

footer {
  margin: 0;
  padding-top: 2em;
  font-family: "Ikea font";
background-color: var(--color-background-lightgray);
}

footer article{
  margin: 1em;
}

footer details{
  margin-left: 1em;
  margin-right: 1em;
}

footer h4 { font-size: 13px;
}


footer p {
color: var(--color-text-black);
  font-size: 11px;
  margin: 0;
}



footer a {
  color: var(--color-text-black);
}

footer section article a:nth-of-type(2) {
background-color: var(--color-background-black);
  color: white; 
  font-weight: bold; 
  padding: 10px 20px; 
  text-decoration: none; 
  display: inline-block;
  border-radius: 30px; 
  text-align: center; 
  width: fit-content;
  font-size: 11px;
  margin-top: 1em;
}



footer ul {
margin-top: -0.3em;
}
footer section:nth-of-type(1) article {
display: flex;
flex-direction: column;
}

footer li {
list-style-type: none;
font-size: 11.5px;
line-height: 3.3em;
color: var(--color-text-darkgray);
cursor: pointer;
margin-left: -3.5em;
}

details summary{
line-height: 6em;
font-weight: 700;
font-size: 12px;
list-style-type: none;
cursor: pointer;

 }

 footer summary{
  border-top: 1px solid #d3d3d3;
}
footer summary:nth-of-type(4){
  border-bottom: 1px solid #d3d3d3;
}

footer details:nth-of-type(1){
  padding-top: 1em;
}

footer section:nth-of-type(3) article:nth-of-type(1) ul {
  display: flex;
  list-style: none; 
  margin: 0; 
  gap: 50px; 
}



footer section:nth-of-type(3) article:nth-of-type(2) ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  list-style: none; 
  margin: 0; 
  gap: 70px; 
  row-gap: 0;
}




footer section:nth-of-type(3) article:nth-of-type(2) img {
width: 45px;
border-radius: 0.3em;
}



footer section:nth-of-type(3) article:nth-of-type(3) a {
  text-decoration: none;
font-size: var(--font-size-normaal);
  align-items: center;
  border: solid 1px;
display: flex;
gap: 10px;
width: fit-content;
padding: 10px 20px;
border-radius: 2em;
font-weight: bold;
}


footer section:nth-of-type(3) article:nth-of-type(3) img {
  width: 15px;
} 




footer section:nth-of-type(4) article {
  text-align: center;
  justify-content: flex-start;
  list-style: none;
  }


  footer section:nth-of-type(4) ul {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    list-style: none;
  column-gap: 60px;
  }




  footer section:nth-of-type(4) a {
text-decoration: none;
  }