* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Manrope", sans-serif;
}
:root {
  /* type */
  --ff: "Manrope", sans-serif;
  --h1: 700 1.5rem/1.2em var(--ff);
  --h2: 700 1.25rem/1.4em var(--ff);
  --h3: 700 1.125rem/1.4em var(--ff);
  --h4: 700 1rem/1.4em var(--ff);
  --p: 400 1rem/1.6em var(--ff);
  --small: 400 0.75rem/1.6em var(--ff);
}
:root/*body.light*/ {
  /* colors */
  --bg-dark: oklch(0.1 0 264);/*#00283D;/*achtergrond donker blauw*/     
    --bg-dark1: green;
  --bg: oklch(0.2 0 264);/*brown;/*kleur button*/
  --bg-light: oklch(0.3 0 264);
    --bg-lightside: oklch(0.3 0 264);
  --text: oklch(0.96 0 264);
    --stip: /*aquamarine;*/oklch(0.7 0.05 160);
  --text-muted: oklch(0.76 0 264);
  --hyperlink-muted: white;
  --primary: oklch(0.9 0.17 100);
    --primary2: yellow;/*oklch(0.9 0.17 100);*/
  --secondary: oklch(0.65 0.15 264);
    /*START extra1*/
    --bg-blew-900:#00283D;
    --bg-mark-1:blue;/*blue;*/
   --bg-mark-2:oklch(0.448 0.119 151.328);
    --bg-mark-3:red;
     --bg-mark-5:white;
    /*--base-variant:#e8e9ed;*/--base-variant:#101425;
    /*Stop extra1*/
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  /* shadows */
    
    
  --shadow-s: inset 0 1px 2px #ffffff30, 0 1px 2px #00000030,
    0 2px 4px #00000015;
  --shadow-m: inset 0 1px 2px #ffffff50, 0 2px 4px #00000030,
    0 4px 8px #00000015;
  --transition: all 0.3s ease-in-out;
}
body.light /*:root*/{
  /* colors */
  --bg-dark:/*#00283D; */oklch(0.92 0 264);
    --bg-dark1: var(--primary);/*soort blauw*/
  --bg: green;/*oklch(0.96 0 264);*/
  --bg-light: oklch(1 0 264);
     --bg-lightside: oklch(1 0 264);/*navbar achtergrondkleur*//*wit*/
  --text: oklch(0.15 0 264);
    --stip: blue;
    --bg-mark-5:red;
    --bg-mark-2:yellow;
  --text-muted: oklch(0.4 0 264);
    --hyperlink-muted: green;
  --primary: oklch(0.65 0.15 264);
    --primary2:white;/*oklch(0.65 0.15 264);*/
  --secondary: oklch(0.9 0.17 100);
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    /*--base-variant:#101425;*/--base-variant:#e8e9ed;
}

/* global style */
/* this is not important, actual code below */
body {
  margin: 10px auto;
  /*max-width: min(90vw, 1800px);*/
  background: var(--bg-dark);
  color: var(--text-muted);
    
}
      /*START EXTRACODE*/
.Dirk{
   color:/*var(--stip);*/var(--text-muted); margin-left:120px;
   text-decoration:none;
}

      main li a{
      color:var(--stip);
      }
      main ul li{
      margin-bottom:10px;
      }
      ul li::marker{
          color: var(--stip);}
 main .grid img {
  max-width: 100%;
  border-radius:15px;vertical-align:middle;
        background-repeat:no-repeat;background-size:cover;shape-margin:0.75rem;
} 
main .grid .button-D {
    background-color:grey;
    border: 0px solid red;
    margin:5px 5px;
    padding:  2px 10px;cursor:pointer;
    width: auto;     
      }
      main .grid button:hover {
   background: Blue;box-shadow: 5px 15px 30px rgba(0, 0, 0, 0.6);   
      }
    /*color:aquamarine;*/
    /*STOP EXTRACODE*/
 /* bereken medstart */
.calc{
      display:flex;margin-top:8px;
      }
      span{
      color:red;font-weight:bold;
      }
mark1{
    /*background-color:var(--bg-mark-1);
    border-radius:2px;
    margin:2px;
    padding-left:4px;
    padding-right:4px;*/
    color:blue;
}
  mark,mark2{
    background-color:var(--bg-mark-2);
    border-radius:2px;
    margin:2px;
    padding-left:4px;
    padding-right:4px;
    color:var(--text);/*black;*/
}
 mark3{
    color:var(--bg-mark-3); background-color:white; 
}
mark4{
    color:blue;    
}
mark5{
    color:var(--bg-mark-5); /*font-weight: bold;*/
    
}
/* bereken medstop */
hr{
      margin:4px;
      }
i1{
    color:var(--hyperlink-muted)/*green;*/
}  
h1 {
  font: var(--h1);
  margin-bottom: 0.5rem;
  color: var(--text);
}
h2 {
  font: var(--h2);
  margin-bottom: 0.4rem;
  color: var(--text);
}
h3 {
  font: var(--h3);
  margin-bottom: 0.25rem;
  color: var(--text);
    /*background: var(--bg-dark1);
    display: block;    
    padding: 3px 20px 2px;*/
}
h4 {
  font: var(--h4);
  color: var(--text);
    
}
p {
  font: var(--p);
  color: var(--text-muted);
  max-width: 80ch;
}
.small,
small {
  font: var(--small);
  letter-spacing: 0.1rem;
}
ul {
  padding-left: 20px;/*2rem*/
}
/*start test button nav*/
 #theme-switch{    
    /*height:40px;
    width:40px;   border-radius:50%;  padding:0;  
    
    /*background-color:var(--base-variant);*/
    display:flex;
    justify-content:center;
    align-items:center;
    position:absolute;/*fixed;*/
    top:10px;
    left:10px;
}  
/*stop tet button nav*/
button,
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg);
  border: none;
  border-radius: 0.5rem;
  margin-top: 5px;margin-right: 5px;
  padding:/*5px 10px;*/0.5rem 1rem;
  box-shadow: var(--shadow-s);
  cursor: pointer;
  font: var(--p);
  color: /*var(--text);*/white;
  transition: var(--transition);
}
button:focus {
  outline: none;
}
button:hover,
.btn:hover,
.card:hover {
  background: grey;/*var(--bg-light);*/
  box-shadow: var(--shadow-m);
  transition: var(--transition);
}

.grid {
  display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(368px,100%), 1fr));
  /*grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));*/
  gap: 1rem;/*align-items: stretch;*/
}

.grid-items {
  background: var(--bg-light);
  padding: 1rem 1.25rem;/*1rem 1.25rem;*/
  border-radius: 1rem;
  box-shadow: var(--shadow-s);
}

section {
  margin: 0.5rem 0;
}

/* global style end here */
/* the actual code starts here */
/* intro section */

/* intro-effects */

.yellow-block{
  width: 2rem;
  aspect-ratio: 16/9;
  background-color: var(--primary);
  margin: 1rem 0 0.5rem 0;
  border-radius: 0.25rem;
}
/* 

*/
/* translation */
.translation {
  animation: translation 2s ease-in-out infinite;
}
@keyframes translation {
  0%,
  100% {
    translate: 0;
  }
  50% {
    translate: 2rem;
  }
}

/* rotation */
.rotation {
  animation: rotation 2s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*start search*/
form{
    padding:5px 10px;
    
}
.search{
    --padding: 5px;
    
    width:max-content;
    display:flex;
    align-items:center;
    padding:var(--padding);
    border-radius:5px;
    background:#f6f6f6;
    transition:box-shadow 0.20s;
}
.search-input:hover{
    cursor:pointer;
}
.search:focus-within{
    box-shadow:0 0 3px rgba(0, 0, 0, 0.75);
}
.search-input{
    font-size:16px;
    font-family: 'Lexend', sans-serif;
    color:#333333;
    margin-left:var(--padding);
    outline:none;
    border:none;
    background:tranparant;
    width:auto;
}
.search-input::placeholder,
.search-icon{
    color:rgba(0, 0, 0, 0.5)
}


/*stop search*/
/*.calc{
      display:flex;margin-top:8px;
      }
      span{
      color:red;font-weight:bold;
      }*/
/*start extra grid pictures*/
.pictures {
  margin: 0 auto;
  display: grid;
  grid-template-columns:repeat(auto-fit, minmax(100px,1fr));    
  grid-gap: 0.3em;
}
.pictures1 {
  margin: 0 auto;padding-left: 10px;
  display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(min(368px,100%), 1fr));*/
  grid-template-columns:repeat(auto-fit, minmax(min(50px,100%), 1fr));    
  grid-gap: 0;
}

.pictures1 figcaption{    
    /*border:1px solid black;*/
  line-height: 1.3;
}
      ol.d{
      list-style-type:upper-alpha;
      }
.pictures img {
  object-fit: cover;
  width: auto;
  height:100%;
  height: 70px;
  transition: transform 0.2s ease;
}

figure2{border:1px solid black;border-radius:15px;}
      
figure{border:1px solid black;text-align:center;border-radius:15px;}
      .pictures h4{text-align:center;}
.pictures a {
  margin-bottom: 4px;
  text-decoration: none;
  color: black;
}
.pictures1 ol{
   text-align:left;/*border:1px solid red;*/
   
}
strong {
  font-weight: 700;
}

.pictures a:hover figure {
  transform: scale(1.05) rotate(0deg);
  box-shadow: 5px 15px 30px rgba(0, 0, 0, 0.6);
}
.pictures1 h4 {
  font-size: 14px;
  line-height: 1;
  text-align: left;
  font-weight: 700;
  margin-right: 3px;
}
.pictures h4 {
  font-size: 14px;
  line-height: 1;
  text-align: center;
  font-weight: 700;
  margin-right: 3px;
}

figcaption {
  margin: 2px;
  line-height: 1.3;
}    
/*stop extra grid pictures*/
/* card flip */
.card-flip-container {
  margin-top: 1rem;
  width: /*18rem;*/300px;
  aspect-ratio: 4/5;
  position: relative;
  perspective: 800px;
  cursor: pointer;
}
.card-flip {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(0.3, 0.8, 0.2, 1.3);
  border-radius: 1rem;
  z-index: 1;
}

.card-flip-front,
.card-flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 0.5rem;
  background: var(--bg-dark);
  box-shadow: var(--shadow-m);
  border-radius: 1rem;
  overflow: hidden;
}
.card-flip-back {
  transform: rotateY(180deg);
}
.card-flip.flipped {
  transform: rotateY(180deg);
}

.card-flip-front {
   background-image: url("../picture/hazmat/eerste_benadering.gif"); 
  /*background-image: url("https://m.media-amazon.com/images/M/MV5BMTU2NjA1ODgzMF5BMl5BanBnXkFtZTgwMTM2MTI4MjE@._V1_.jpg");*/
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.cff-content {
  background: linear-gradient(
    180deg,
    color-mix(in oklch, var(--bg) 50%, transparent),
    transparent
  );
  backdrop-filter: blur(4px);
  padding: 1rem;
}
.cfb-content {
  background: linear-gradient(color-mix(in oklch, var(--bg) 90%, transparent)),
    url("https://m.media-amazon.com/images/M/MV5BMTU2NjA1ODgzMF5BMl5BanBnXkFtZTgwMTM2MTI4MjE@._V1_.jpg");
  background-size: cover;
  height: 100%;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-m);
}

.card-flip-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  pointer-events: none;
}

.footer {
    position:notfixed;
    left:0;
    margin-top:5px;
    bottom:0;
    width:100%;text-align:center;
    background-color:red;
    }
.footer p{
    color:white;
    width:auto;
    
}