/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* BODY */
html, body {
    height: 100%;
    margin: 0;
} 

body {
    margin: 0;
    font-family: "Courier New", Courier, monospace;
    background: #14364f; /* donkerblauw */
}

/*.flex-container { display:flex; height:100vh; }*/
/*.flex-containerleft { width:360px; }*/
/*.flex-containerright { flex:1; display:flex; flex-direction:column; }*/



.flex-container {
  flex: 1;	
  display: flex;
  flex-template-columns: 360px 1fr; 
  height: 100vh; /* volledige schermhoogte */  
}
.flex-containerleft {
  display: grid;
  padding: 20px;
  background: #14364f; /* donkerblauw */
}

.flex-containerright {
	flex: 1;
	display: flex;
	flex-direction: column; /* Verticaal uitlijnen */
    /*height: 100vh;*/ /* volledige schermhoogte */
    margin-left: 80px;   /* schuift naar rechts */
    margin-top: 40px;    /* schuift naar beneden */
	justify-items: center;
    padding: 6px;
	background: #14364f; /* donkerblauw */
} 


.content {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

/* LINKS: MENU */ 
.menu-title {
  text-align: center;
  color: #caced9;
  margin: 10px 0;
  border-top: 1px solid #7fa3bf;
  padding-top: 8px;
  font-weight: normal;
}

.menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-content: start;
  justify-items: center;
  padding: 10px;
  background: #ebeff2 /* Blauw lichter */;
}

.menu-group1 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  border: 1px solid #ccc;
  background: #ebeff2/* Blauw lichter */;
}

/* KNOPPEN */
.menu-btn {
  display: flex;
  flex-direction: column;     /* afbeelding boven, tekst onder */
  align-items: center;
  justify-content: flex-start;

  width: 80px;
  height: 60px;
  padding: 6px;

  text-decoration: none;
  color: #ffffff;
  background:#2b597a;
  border-radius: 6px;
  transition: background 0.2s ease,
              transform 0.15s ease,
              box-shadow 0.2s ease;
  gap: 6px;
}

/* mini-afbeelding in knop */

.btn-img {
  width: 50px;
  height: 36px;
  object-fit: contain;        /* beter voor icon-achtig gebruik */
  opacity: 0.85;
}
.btn-text {
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.1;
}

/* HOVER */
.menu-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.menu-btn:hover .btn-img {
  opacity: 1;
}

/* ACTIEVE PAGINA */
.menu-btn.active {
  background: #1f6fb2; /* rustiger historisch blauw */
  box-shadow: inset 0 0 0 2px #caced9;
}
.menu-btn {
  transition: background 0.2s ease, transform 0.1s ease;
}

/* rechts */

.foto-box {
  width: 800px;
  height: 320px;
  overflow: auto;
  /*overflow-y: scroll;*/ /* of auto */
 /* border: 1px solid #ccc;*/
}

.foto-box img {
  width: 100%;
}

.top-image {
    /*height: 250px;*/
    flex-shrink: 0;
}

.top-image img {
    height: 88%;
    width: 88%;
    object-fit: contain;
}

.text-content {
    flex: 1;
    overflow-y: auto;
}

.reference {
    flex: 0;
}


/* =========================
   TEKST STIJLEN
   ========================= */

h1, h2, h3, h4, h5, p {
    color: #ffffff;
    margin: 0;
	margin-bottom: 0.4em;
}

p {
  margin-bottom: 0.8em;
}

