﻿body, html {
  height: 100%;
  margin: 0;
  background-color: maroon;
}

.bgimg {
  background-image: url('/beelden/achtergrond-water-koken-op-het-fornuis.jpg');
  background-color: lightgrey;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.fotogerecht {
  width: 450px;
  height: 600px;
}

.fotogerechtkl {
  width: 225px;
  height: 300px;
}

.pb-header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  background-color: #f1f1f1;
}

.progress-container {
  width: 100%;
  height: 8px;
  background: #ccc;
}

.progress-bar {
  height: 8px;
  background: #4caf50;
  width: 0%;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #555;
}

@media print {
  .nietprinten { display: none; }
  .fotogerecht {
    width: 225px;
    height: 300px;
  }
}

div.popup { 
  display: none; 
}
       
div.popup:target {
  display: flex; 
  justify-content: center;
  align-items: center;
  position: fixed; 
  top: 0; 
  left: 0; 
  z-index: 999; 
  width: 100%;
  max-width: 100%;
  height: 100%; 
  text-align: center; 
  background: rgba(0,0,0,0.9); 
}
  
div.popup a.sluiten {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 3em;
  z-index: 20;
  color: grey;
  text-decoration: none;
}
    
div.popup a.sluiten:hover {
  color: red;
}
        
div.popup img { 
  max-width: 90%;
  max-height: 90vh;
}       

section.fiches {
  gap: 8px;
  grid-template-columns:repeat(auto-fit,minmax(400px,1fr));
}
