/*
copyright Evert van Dijk 2026
This is the layout for this site
using Flexbox and Grid
*/

body {
    min-height: 100dvh; 
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #479bb6;
    display: flex;
    flex-direction: column;
}

a {
	font-family: Arial, sans-serif;
	font-size: 22px;
	font-weight: bold;
}

.container {
/*  display: flex;
  align-items: center; */
  vertical-align: text-top;
  padding-top: 50px;
  padding-left: 200px;
  padding-right: 200px; 
  display: flex; 
  flex-grow: 1;
}
.container > div {
  flex: 1; /* each column grows equally */
}

.containerhead {
  display: grid;
  gap: 0rem;
  width: 100%;
  border-bottom-style: solid;
  border-bottom-width: 5px;
  border-bottom-color: #333333;
  grid-template-columns: 1fr 5fr 1fr;
}

.content {
  display: flex;
  align-items: flex-start;
  gap: 1rem   
}

/* this is the layout for the block that uses the imported OpenDyslexic font  */
.ODcontent {
  display: flex;
  align-items: flex-start;
  gap: 1rem   
}

.header {
    padding: 0rem;
    margin-bottom: 0rem;
    align-items: center;
}

.content, .footer {
    padding: 1rem;
    margin-bottom: 1rem;
}

  * {
    box-sizing: border-box;
  }

  nav {
    background-color: #333333;
  }

  nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
  }

  nav ul li {
    position: relative;
  }

  nav ul li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    font-family: Arial, sans-serif;
  }

  nav ul li a:hover {
    background-color: #34495e;
  }

  /* Dropdown menu */
  nav ul li ul.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #34495e;
    min-width: 160px;
    z-index: 10;
  }

  nav ul li:hover ul.dropdown {
    display: block;
  }

  nav ul li ul.dropdown li a {
    padding: 12px 20px;
    white-space: nowrap;
  }

  nav ul li ul.dropdown li a:hover {
    background-color: #4a637d;
  }