
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    padding-top: 10vh; /* Location of the box */
    padding-bottom: 10vh;
    width: 100%; /* Full width */
    height: 100vh; /* Full height */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  /* Modal Content */
  .modal-content {
    height: 80vh;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    overflow-y: auto;
  }

  .line-1{
    margin: 6px 0px 0px 0px; border-top: 1px solid red;
  }
  .line-2{
    margin: 4px 0px 0px 0px ; border-top: 1px solid red;
  }
  
  /* The Close Button */
  .close {
    color: #aaaaaa;
    float: right;
    top: 0;
    font-size: 28px;
    font-weight: bold;
  }

  .blog-header{
    text-align: left;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }

  @media screen and (min-width:768px){
    .modal-content{
      height: fit-content;
      padding: 32px;
      width: 60%;
      display: inline-block;
  text-align: left;
  vertical-align: middle;
    }
    
    .modal {
      text-align: center;
      padding: 0!important;
    }
    .modal:before {
      content: '';
      display: inline-block;
      height: 100%;
      vertical-align: middle;
      margin-right: -4px;
    }
}


  @media screen and (min-width:1024px){
    .modal-content{
      width: 50%;
    }
  
  }

  @media screen and (min-width:1400px){
    .modal-content{
      width: 40%;
    }
    
  }