body, html {
    background-color: lime;
    color: #212121;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}





* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    touch-action: manipulation;
}

#moetnog {display: none;}

.menu {
  width: 100vw;
  height: 30px;
  border-bottom: 2px #212121;
  z-index: 100;
  position: fixed;
  top: 0;
  left: 0;
  background-color: lime;
}

#start {
  width: auto;
  height: auto;
  padding: 5px;
  border: none;
  position: fixed;
  top: 0;
  left: 0;
  margin: 0px;
  font-size: 14px;
  z-index: 110;
}

#start:hover {color: red; text-decoration: underline;}

#lijst {
  width: auto;
  height: auto;
  padding: 5px;
  border: none;
  position: fixed;
  top: 0;
  left: 0;
  margin-left: 70px;
  margin-top: 0px;
  font-size: 14px;
  z-index: 110;
}

#lijst:hover {color: red; text-decoration: underline;}

a {
    text-decoration: none;
    font-family: 'Courier New', Courier, monospace;
    color: #212121;
    font-weight: bold;
}

a:visited a:active {
    text-decoration: none;
    font-family: 'Courier New', Courier, monospace;
    color: #212121;
}

.container {
    width: 100vw;
    height: auto;
    overflow-x: hidden;
    overflow-y: scroll;
    margin-top: 20px;
}

.grid { 
    display: flex; 
    flex-wrap: wrap; 
    width: 100%;
    row-gap: 12px;
    column-gap: 7px;
    padding-bottom: 50px;
    margin-top: 25px;
    padding: 20px;
    
}
.grid-item { 
    flex: 1 0 15%; 
    margin: 10px; 
    padding: 0;
    background-color: transparent;
    box-sizing: border-box; 
    width: 14%;
    max-width: 14%;
    height: 100px;
    border: 5px solid transparent;
    text-decoration: none;
    align-items:center;
    object-fit: cover;
}

.grid-item:hover {
    border: 5px solid deeppink;
    /*transform: scale(1.1);*/
}

.grid-item img, .grid-item video { 
    width: 100%; 
    height: auto; 
    max-height: 100%;
    display: block; 
    object-fit:cover;
    padding: 0px;
    margin: 0;
}
.caption { 
    text-align: center; 
    font-size: 0.9em; 
    color: #212121;
    padding: 0px;
    margin: 0;
    margin-top: 6px;
    text-decoration: none;
    
    z-index: 2000;
}

a .caption:hover {
  color: red;
  text-decoration: underline;

}

@media only screen and (max-width: 500px) and (orientation:portrait) {


  #moetnog {
    display: block;
    font-size: 20px;
    background-color: darkblue;
    color: turquoise;
    margin: 50px;
    padding: 12px;
    border: 3px solid whitesmoke;
    text-align: center;

  }
   
  .grid {
    display: none;
    padding: 5px;
    column-gap: 5px;
    row-gap: 5px;
  }
  .grid-item {
    flex: 1 0 35%;   /* 2 per rij, met wat marge */
    width: 35%;
    max-width: 35%;
    height: 90px;    /* pas eventueel aan voor mobiel */
    margin: 1%;
  }
  .grid-item img, .grid-item video {
    max-height: 70px; /* kleiner plaatje/video op mobiel */
    padding: 5px;
  }
  .caption {
    font-size: 0.85em;
  }
}

@media only screen and (max-width: 800px) and (orientation: landscape) {
  
  .grid {display: none;}

  #moetnog {
    display: block;
    font-size: 20px;
    background-color: darkblue;
    color: turquoise;
    margin: 50px;
    padding: 12px;
    border: 3px solid whitesmoke;
    text-align: center;

  }
}
