/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100vh; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    align-items: center;
    justify-content: center;
  }

  .modal-background{
    position: fixed; /* Stay in place */
    top: 0;
    left: 0;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    width: 100%;
    height: 100vh; /* Full height */
  }
  
  /* Modal Content */
  .modal-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
  }

  #modal-body{
    display: flex;
    background-color: white;
    padding: 2em 2em 2em 0;
    width: auto;
    border-radius: 15px;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
    z-index: 999;
  }

  #modal_content_container{
    display: flex;
    display: flex;
    background-color: white;
    width: auto;
  }

  .modal-picture{
    width: 21.2em;
  }

  .modal-left{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* The Close Button */
  #close_modal_box {
    position: relative;
    top: -.9em;
    right: 0;
    color: #aaaaaa;
    font-size: 1.75em;
    font-weight: bold;
    z-index: 1000;
    height: 2em;
  }
  
  #close_modal_box:hover,
  #close_modal_box:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }

.modal-right h1{
  margin-block-start: 0;
  margin-block-end: 0;
  padding: 0;
  }


    
@media screen and (max-width: 768px){
  #modal_content_container{
    font-size: 10px;
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  #modal-body{
    padding-right: 0;
  }

  #close_modal_box{
    right: 1rem;
  }

  .modal-right{
    text-align: center;
    padding-left: 1rem;
  }
}

 /* Close.modal-left{
    float:left;
  }

  .modal-right{
    float:right;
  } */