/* gelijk aan popup-tekst.html */
.overlay{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--clr-popup-bground-overlay);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
}

.overlay:target{
    visibility: visible;
    opacity: 1;
}

.popup{
    margin: 5rem auto;
    padding: 0.8rem;
    background-color: var(--clr-popup-bground-popup);
    border-radius: 0.5rem;
    width: 85%;
    position: relative;
    transition: all 5s ease-in-out;
}

.popup h2{
    margin-top: 0;
    color: var(--clr-popup-color-hr);
    font-family: Tahoma, Geneva, Verdana, sans-serif; 
}

.popup .close{
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    transition: all 200ms;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--clr-popup-close);
}

.popup .close:hover{
    color: hsl(80, 77%, 31%);
}

.popup .content{
    display: flex;
    justify-content: center;
    overflow: hidden;
}

#iframepdf{
    display: flex;
    min-height: 40rem;
    width: 95%;
   xmargin: -4.8rem; 
    width:1000;
    height: 700;
    /* scrolling: ;
    frameborder:; */
}

@media screen and (min-width: 32rem){
    .popup{
        width: 90%;
    }
    #iframepdf{
        min-height: 60rem;
        width: 100%;
    }
}

/* Popup Kevin Powell video: https://www.youtube.com/watch?v=TAB_v6yBXIE&t=230s */
.modal {
    padding: 1em;
    max-width: 50ch;
    border: 0;
    box-shadow: 0 0 1em rgb(0 0 0 / .3);
  
    /* & > * {
      margin: 0 0 0.5rem 0;
    } */
  }
  
  .modal::backdrop {
    background: rgb(0 0 0 / 0.4);
  }
  
  /* extra styling 
  
  body {
    min-height: 100vh;
    margin: 2rem;
    font-family: system-ui;
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--gray-8);
  }
  
  h1 em {
    color: var(--cyan-9);
    text-decoration: underline;
    text-underline-offset: 0.25em;
  }*/
  
  .button {
    border: 0;
    cursor: pointer;
    background: var(--gray-8);
    color: var(--gray-2);
    font-weight: 700;
    padding: var(--size-2) var(--size-4);
  }
  
  .button:hover,
  .button:focus {
    background: var(--cyan-9);
  }
  
  form {
    display: grid;
    gap: 1em;
  }
  