/* Simple page styles */
/*
* {
    box-sizing: border-box;
    font-family: sans-serif;
    padding: 0;
    margin: 0;
  }
  
  .sample {
    padding: 2rem;
    text-align: center;
  }
  
  p {
    line-height: 1.6;
    margin-top: 1rem;
  }
  
  a {
    color: #000;
    display: block;
    font-weight: 600;
    margin-top: 2rem;
    text-decoration: none;
    text-transform: uppercase;
  }
  
  button {
    background: transparent;
    border: 0;
    color: #666;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    padding: 0 1rem;
    text-transform: uppercase;
  }
  button:hover {
    color: #111;
  }
  button.open-modal {
    background: #000;
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    margin: 1rem 0.5rem;
    padding: 1rem;
  }
  */

  /* Modal styles */
  .modal {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
  }
  .modal .modal-backdrop {
    background: rgba(0, 0, 0, 0.7);
    height: 100%;
    width: 100%;
    position: fixed;
  }
  .modal .modal-content {
    background: #fff;
    border-radius: 5px;
    max-width: 600px;
    position: fixed;
    /*top: -100%;*/
    transition: all 0.6s ease;
    z-index: 1000;

    /*max-height: 60vh;*/
    /* overflow-y: scroll; */
    min-width: 60vw;
  }
  .modal .modal-header {
    display: flex;
    justify-content: space-between;
    /*align-items: center;*/
    border-bottom: 1px solid #ccc;
    padding: 1.5rem;
  }
  .modal .modal-header .close-modal {
    font-size: 2rem;
    padding: 0;
    margin: 0;
    height: 30px;
    width: 30px;
    text-align: center;
    line-height: 0;
  }
  .modal .modal-header .close-modal:hover {
    color: #000;
  }
  .modal .modal-body {
    padding: 1.5rem;
    max-height: 50vh;
    overflow-y: scroll;
  }
  .modal .modal-footer {
    border-top: 1px solid #ccc;
    padding: 1rem;
    text-align: right;
  }
  .modal.visible {
    opacity: 1;
    visibility: visible;
  }
  .modal.visible .modal-content {
    /*top: 25%;*/
  }


  /* EXTRA MESSY STUFF */

  
  .trigger{
    text-align: center;
  padding: 7px 13px;
  background: #3e3e3e;
  color: #fff;
  font-size: 15px;
  outline: none;
  border: none;
  border-radius: 5px;
  font-family: cursive;
}

.modal {
  position: fixed;
  left: 0;
  /*top: 0;*/
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
  z-index: 2300;
  backdrop-filter: blur(3px);
}


@media only screen and (max-width: 600px) {
.modal-content {

        width: calc(100% - 5px);
  /*height: calc(100% - 0px);*/
  border-radius: 0px;
}

.modal-content iframe {
    border-radius: 0px!important;
}

.close-button {
   top: 5px!important;
   right: 20px!important;
}

.modal {
  width: 100vw;
  height: 100vh;
}

}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 1rem 1.5rem;
  /*width: calc(100% - 100px);
  height: calc(100% - 100px);*/
  width: calc(100% - 0px);
  /*height: calc(100% - 0px);*/
  /*border-radius: 30px;*/
  border-radius: 0px;
}

.close-button {
  float: right;
  width: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  cursor: pointer;
  border-radius: 14px;
  background-color: white;
  /*top: -15px;
  right: -15px;*/
  
  top: 10px;
  right: 10px;
  
  position: absolute;
  font-weight: bold;
  font-size: 30px;
}
.close-button:hover {
  background-color: darkgray;
}
.show-modal {
  opacity: 1;
  visibility: visible;
  transform: scale(1.0);
  transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
  z-index: 1000;
}

.modal.active {

  height: 100%;
}