

/* general display styles */

html {
  margin: 0;
}

body {
  background-color: skyblue;
  font-family: "Times New Roman", Times, serif;
  box-sizing: border-box;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}


/* header */

h1 {
  margin: 0;
  color: white;
  text-align: center;
}
header #display_name,
header #tech-display_name {
  grid-column: 3;
  grid-row: 1;
  justify-self: center;
}

#display_name,
#tech-display_name {
  display: flex;
  margin: 0;
  color: white;
  text-align: center;
  padding: 20px;
  border-radius: 20px;
  border: 2px solid black;
  background-color: royalblue;
 
}
#input_name .name-field,
#tech-input_name .tech-name-field {
  position: relative;
 
}

#input_name,
#tech-input_name {
 
  box-sizing: border-box;
 
}
#label_name,
#tech-label_name{
  color: white;
}

#input_name #name,
#tech-input_name #tech-name {
  box-sizing: border-box;
  width: 175;
  height: 45px;
  padding: 10px;
  border-radius: 20px;
  border: 2px solid black;
  background-color: skyblue;
  outline: none;
}
#input_name #label_name,
#tech-input_name #tech-label_name {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 150ms ease;
}
#input_name .name-field:hover #label_name,
#input_name .name-field:focus-within #label_name,
#input_name #name:not(:placeholder-shown) + #label_name,
#tech-input_name .tech-name-field:hover #tech-label_name,
#tech-input_name .tech-name-field:focus-within #tech-label_name,
#tech-input_name #tech-name:not(:placeholder-shown) + #tech-label_name {
  opacity: 0;
}

header h1 {
  grid-column: 2;
} 
header #accessibility,
header #tech-accessibility {
    grid-column: 3;
    grid-row: 1;
    justify-self: right;
  }
.wapen-image,
.tech-wapen-image {
  width: auto;
  height: 50px;
}

header .wapen-image,
header .tech-wapen-image {
  grid-column: 1;
  grid-row: 1;
}
header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  margin: 20px 20px 0px 20px;
  align-items: center;
  padding: 10px;
  background-color: navy;
  border-radius: 20px 20px 0px 0px;
  border-top: 2px solid black;
  border-left: 2px solid black;
  border-right: 2px solid black;
}


/* dyslexia button */

header #dyslexie,
header #tech-dyslexie {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
}

#dyslexie,
#tech-dyslexie {
  display: block;
  width: 175px;
  height: 45px;
  background-color: skyblue;
  color: white;
  border-radius: 20px;
  border: 2px solid black;
  text-align: center;
  cursor: pointer;
  align-self: center;
}
#dyslexie:hover,
#tech-dyslexie:hover {
  box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.25);
  
}


/*accessibility menu*/

#accessibility,
#tech-accessibility {
    outline: 2px solid black;
    width: 55px;
    height: 55px;
    background-color: skyblue;
    text-decoration: none;
    border-radius:20px;
    object-fit: fill;
    border: none;
    cursor: pointer;
    transition: opacity 150ms ease, box-shadow 150ms ease;
  }
#accessibility_menu *,
#tech-accessibility_menu * {
  transition: opacity 150ms ease, box-shadow 150ms ease;
}
#accessibility_menu > * + *,
#tech-accessibility_menu > * + * {
  margin-top: 8px;
}

  #accessibility:hover,
  #tech-accessibility:hover {
     box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.25);
  }
#accessibility img,
#tech-accessibility img {
   object-fit: fill;
   height: 80%;
   cursor: pointer;
}
.accessibility_dropdown,
.tech-accessibility_dropdown {
  position: relative;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

#accessibility_menu,
#tech-accessibility_menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: none;
  padding: 8px;
  z-index: 10;
  padding: 8px;
  cursor: pointer;
}

#accessibility_menu:not([hidden]),
#tech-accessibility_menu:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background-color: royalblue;
  border-radius: 20px;
  margin: 10px;
  border: 2px solid black;
}


/* dark mode button */

#dark_mode,
#tech-dark_mode {
  display: block;
  width: 175px;
  height: 45px;
  background-color: skyblue;
  color: white;
  border-radius: 20px;
  border: 2px solid black;
  text-align: center;
  cursor: pointer;
  align-self: center;
}
#dark_mode:hover,
#tech-dark_mode:hover {
   box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.25);
}


/* contact button */

.contact-button,
.tech-contact-button {
  display: block;
  box-sizing: border-box;
  text-decoration: none;
  color: white;
  background-color: skyblue;
  width: 175px;
  height: 45px;
  border-radius: 20px;
  border: 2px solid black;
  transition: opacity 150ms ease;
}
.contact-content a,
.tech-contact-content a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  background-color: skyblue;
  text-align: center;
}

#contact_left,
#tech-contact_left {
  flex: 1;
  border-radius: 20px 0px 0px 20px;
  text-align: center;
  border-left: 2px solid black ;
  border-right: 1px solid black;
  border-top:  2px solid black;
  border-bottom: 2px solid black;
  text-decoration: none;
}
#contact_right,
#tech-contact_right {
  flex: 1;
  border-radius: 0px 20px 20px 0px;
  text-align: center;
  border-left: 1px solid black ;
  border-right: 2px solid black;
  border-top:  2px solid black;
  border-bottom: 2px solid black;
  text-decoration: none;
}

#contact_left,
#contact_right,
#tech-contact_left,
#tech-contact_right {
  opacity: 0;
  visibility: hidden;
  transition: opacity 150ms ease, visibility 0s linear 150ms;
}

.dropdown:hover #contact_left,
.dropdown:hover #contact_right,
.tech-dropdown:hover #tech-contact_left,
.tech-dropdown:hover #tech-contact_right {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}


/*despite the main tag being dropdown the following lines of code are still only conected to the contact buttons*/

header .dropdown,
header .tech-dropdown {
  grid-column: 3;
  grid-row: 1;
  place-content: center;
  justify-self: center;
}
.dropdown,
.tech-dropdown {
  position: relative;
  display: flex;
}
.dropdown:hover .contact-content,
.tech-dropdown:hover .tech-contact-content {
  display: flex;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  filter: drop-shadow(5px 5px 0 rgba(0, 0, 0, 0.25));
}
.contact-content:hover,
.tech-contact-content:hover {
  display: flex;
}
.dropdown:hover .contact-button,
.tech-dropdown:hover .tech-contact-button {
  opacity: 0;
  pointer-events: none;
}

.dropdown,
.tech-dropdown {
  color: white;
  background: none;
  float: right;
  display: block;
  align-self: center;
  text-align: center;
}
.contact-content,
.tech-contact-content {
  display: flex;
  position: absolute;
  box-sizing: border-box;
  transition: filter 150ms ease;
  width: 175px;
  height: 45px;
  top: 0;
  left: 0;
  text-align: center
 ;
}


/* navigation bar */

nav {
  background-color: navy;
  display: block;
  flex-direction: column;
  border-radius: 0px 0px 20px 20px;
  overflow: hidden;
  margin: 0px 20px 20px 20px;
  border-left: 2px solid black;
  border-right: 2px solid black;
  border-bottom: 2px solid black;
}

ul{
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  list-style-type: none;
  margin: 0;
  padding: 25px !important;
  background-color: navy;
  border-radius: 0px 0px 20px 20px;
  text-align: center;
  overflow: hidden;
}
ul li {
  flex: 0 0 100px;
}

nav a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px;
  text-align: center;
}

nav a.active,
nav a.tech-active {
  background-color: royalblue !important;
  padding: 10px !important;
 box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.25);
border-radius: 8px;
border: 2px solid black;
}

nav a:hover{
background-color: skyblue;
padding: 10px;
border-radius: 8px;
box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.25);
border: 2px solid black;
}


/* page index */

.indexpage-p {
background-color: white;
  display: flex;
  height: 400px !important;
  width: 600px !important;
  box-sizing: border-box;
  margin-top:  0;
  padding: 10px;
  outline: 2px solid black;
  float: left;
  border-radius: 20px;
  font-size: 16;
}
.indeximages{
  display: flex;
 width: 600px ;
 height: 400px;
  object-fit: cover;
 margin-left:  20px;
 border-radius: 20px;
 border: 2px solid black;
}

.index-content{
  display: flex;
  align-items: stretch;
  margin: 0px 20px 0px 20px;
}

.index-content .paragraph {
  display: flex;
}


/* page eten */

.etenpagina-p{
  background-color: white;
  display: block;
  margin-top:  0;
  width: 500px;
  height: 300px;
  box-sizing: border-box;
  padding: 20px;
  outline: 2px solid black;
  float: left;
  border-radius: 20px;
  font-size: 16px;
  margin: 20px;
  overflow: auto;
}

.etenimages{
  display: block;
  width: 500px;
  height: 300px;
  box-sizing: border-box;
  outline: 2px solid black;
  border-radius: 20px;
  margin: 20px;
  object-fit: cover;
}

.eten-content{
  display: flex;
  flex-direction: column;
}

.eten-item {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.eten-item .paragraph {
  display: flex;
}

.eten-item:nth-of-type(even) {
  flex-direction: row-reverse;
}

.titles-eten{
  padding: 10px;
  border-radius: 20px;
  border: 2px solid black;
  color: white;
  background-color: navy;
  margin: 0px 20px 0px 20px;
  text-align: center;
}



  /* page sporten */

.sportenimage{
  display: block;
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: 380px;
  margin: 20px;
  object-fit: cover;
  border-radius: 20px;
  outline: 2px solid black;
}

.sportenpagina-p{
  box-sizing: border-box;
  padding: 20px;
  margin: 0;
  border-radius: 20px;
  outline: 2px solid black;
  background-color: white;
  width: 100%;
  height: 380px;
}

.titles-sporten{
  padding: 10px;
  border-radius: 20px;
  border: 2px solid black;
  color: white;
  background-color: navy;
  margin: 0px 20px 0px 20px;
  text-align: center;
}
.sporten-item{
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 1000px;
  height: auto;
  margin: 0 auto;
}

.sporten-item .paragraph {
  display: flex;
  flex: 1;
  min-width: 0;
  margin: 20px;
}

.sporten-content:nth-of-type(even) .sporten-item {
  flex-direction: row-reverse;
}

/* page toerist */
.titles-toerist,
.tech-titles-toerist {
  padding: 10px;
  border-radius: 20px;
  border: 2px solid black;
  color: white;
  background-color: navy;
  margin: 0px 20px 0px 20px;
  text-align: center;
}
.toeristpagina-p,
.tech-toeristpagina-p {
  display: flex;
  box-sizing: border-box;
  padding: 20px;
  margin: 20px;
  border-radius: 20px;
  outline: 2px solid black;
  background-color: white;
  height: 340px;
  flex: 1;
  min-width: 0;
}
.toeristimage,
.tech-toeristimage {
  display: block;
  height: 340px;
  flex-shrink: 0;
  object-fit: cover;
  margin: 20px;
  border-radius: 20px;
  outline: 2px solid black;
}

#toerist_image{
  width: 480px;
}

#toerist_image_2{
  width: 420px;
}

#toerist_image_3{
  width: 500px;
}

#toerist_image_4{
  width: 380px;
}

#tech-danone-image,
#tech-nabuurs-image,
#tech-kremers-image {
  width: 380px;
  height: 285px;
  align-self: center;
}

.tech-toeristpagina-p {
  height: auto;
  min-height: 380px;
}

.toerist-item,
.tech-toerist-item {
  display: flex;
  align-items: stretch;
  justify-content: center;
  box-sizing: border-box;
  width: 1100px;
  height: auto;
  margin: 0 auto;
}

.tech-toerist-item {
  width: 1160px;
  max-width: 100%;
}

.toerist-item .paragraph,
.tech-toerist-item .tech-paragraph {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
}

.toerist-content:nth-of-type(even) .toerist-item,
.tech-toerist-content:nth-of-type(even) .tech-toerist-item {
  flex-direction: row-reverse;
}







/*easter egg don't look*/

#hatsune_miku,
#tech-hatsune_miku {
  display: none;
  z-index: 1000;
  inset: 0;
  border: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
}

/* footer */
#footer,
#tech-footer {
  background: none;
  border: none;
  color: black;
  align-self: flex-start;
 
}