.overlay {
  height: 100%;
  width: 100%;
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 70%);

}

.overlay-content {
    position: fixed;
    margin: 0 auto;
    display: flex;
    align-items: center;
    
  text-align: left;
    max-width: 600px;
  
}

.overlay__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: space-between;
    padding-left: 30px;
}

.overlay p {
    font-size: 1rem;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: var(--bs-light);
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #0468d0;
}

.overlay .closebtn {
  position: relative;
  top: -8px;
  right: 0px;
  font-size: 3em;
    line-height: 0.5;
    padding: 5px;
    z-index: 2000;
/*    background-color: rgba(0, 0, 0, 0.45);*/
    border-radius: 10px;
}

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}