.alertbox {
    position: fixed;
    top: 150px;
    left: 47%;
    transform: translateX(-50%);
    background: yellow;
    padding: 30px 50px;
    margin: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    text-align: center;
    border-radius: 30px;
    box-shadow: 0 5px 15px black;
    outline: 6px dashed black; /* Fake inner border */
    outline-offset: -15px ; /* Moves outline inside */
   
    width: 500px;
    max-width: 75%;
    min-height: 300px;
    max-height: 800px;

   @media (max-width: 768px) {
     top: 0;
     h1 {
       font-size:20px
     };
 }
}
 
 /* Close button */
.alertbox button {
    margin-top: 10px;
    padding: 12px 20px;
    background: rgb(1, 182, 1);
    border-radius: 10px;
    
    border: none;
    cursor: pointer;
    font-family: 'Roboto Slab';
   font-size: 20px;
    color: white;

    @media (max-width: 768px) {  
        font-size:18px
    } 
  }

  .alertbox p, 
  .alertbox h1 {
    text-align: center;
    color: black;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  