/* GENERAL SETTINGS */
html {
  box-sizing: border-box;
}

*, ::before, ::after {
  box-sizing: inherit;
}

/* Whole page */
body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 0;
  background-color: #F2F3F5;
}

/* Navigation menu */
nav a {
  color: black;
  text-decoration: none;
  justify-self: center;
  align-self: center;
}
nav a:hover {
  text-decoration: underline;
}
nav a.active {
  text-decoration: underline;
}
nav a.active:hover {
  text-decoration: none;
}
nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
nav a {
  display: block;
  padding: 0.3rem 0.5rem;
  margin-left: 2rem;
  margin-right: 2rem;
}
nav a.ul{
  text-align: center;
}

/* Main element */
main {
  padding-left: 1rem;
  padding-right: 1rem;
  background-color: #F2F3F5;
}

/* Images */
img {
  max-width: 100%;
}

.multimedia{
  max-width: 375px;
}

/* ----------------------------------------------------- */
/* MOBILE FIRST */

/* Hamburger menu */
nav div#menu-mobile img#hamburger-icon {
  cursor: pointer;
}
nav div#menu-mobile ul {
  display: none;
}
nav div#menu-mobile #menu-checkbox:checked ~ ul {
  display: block;
}
nav div#menu-mobile #menu-checkbox {
  display: none;
}

/* Grid-containers */
div.txt-img {
  display: block grid;
  grid-template-areas: 
    "img"
    "txt";
}
div.txt-img div.img {
  grid-area: img;
  justify-self: center;
}
div.txt-img div.txt {
  grid-area: txt;
  text-align: justify;
  text-justify: inter-word;
}

/* Hide computer menu */
div#menu-computer {
  display: none;
}

/* ----------------------------------------------------- */
/* COMPUTER VIEW */
@media (min-width: 825px) {
  /* Hide mobile menu */
  div#menu-mobile{
    display: none;
  }

  /* Show computer menu */
  div#menu-computer{
    display: contents;
    justify-self: center;
    text-align: center;
  }
  
  /* Hide logo */
  img#schoollogo{
    display: none;
  }
  

  /* Change properties list-items in navigation list */
  ul#lijst{
    display: inline-flex;
    font-size: 1.5rem;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    justify-self: center;
    text-align: center;
  }

  
  /* Change grid layout txt-img */
  div.txt-img {
    display: block grid;
    grid-template-areas: 
     "txt img";
    grid-template-columns: 6fr 4fr;
  }

  div.txt-img div.txt {
    grid-area: txt;
    text-align: justify;
    text-justify: inter-word;
  }

  div.txt-img div.img {
    grid-area: img;
    justify-self: center;  
    border-image-width: 100px;
  }

  
  
  /* Change header layout */
  header {
    background-color: gray;
    background-size: contain;  
    background-repeat: no-repeat;
    aspect-ratio: 7.5 / 1;
    display: block grid;
    grid-template-rows: 1fr;
  }
  header h1 {
    justify-self: center;
    align-self: center;
  }
}

/* ----------------------------------------------------- */
/* BIG SCREENS */

@media (min-width: 1024px) {
  /* Main */
  main{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Show logo */
  div img#schoollogo{
    display: block;
  }

  /* Navigation bar */
  nav img {
    height: 100%;
  }
  div#menu-computer {
    display: block grid;
    grid-template-columns: 1fr;
    grid-template-rows: 80px;
  }


footer {
  background-color: grey;
  color: white;
  text-align: center;
  padding: 50px;
  width: 100%;
  bottom: 0;
  }

}
