/* Two-column layout for forms */
.two-column {
  display: block;
}

.form-column {
  margin-bottom: 2rem;
}

form p {
  margin: 10px 0;
  color: whitesmoke;
}

form label {
  display: block;
  margin-bottom: 5px;
  color: whitesmoke;
}

form input[type="text"],
form input[type="password"],
form input[type="email"] {
  width: 90%;
  padding: 10px 15px;
  font-size: 0.9rem;
  border: 1px solid #CDA38B;
  border-radius: 5px;
}

form input[type="submit"] {
  margin-top: 10px;
  padding: 8px 15px;
  font-size: 0.9rem;
  background-color: #CDA38B;
  border: none;
  border-radius: 5px;
  color: #47200b;
  cursor: pointer;
}

form input[type="submit"]:hover {
  background-color: #47200b;
  color: whitesmoke;
}

legend {
  color: whitesmoke;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}


.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
  }
  
  .overlay:target {
    visibility: visible;
    opacity: 1;
    z-index: 9;
  }
  
  .popup {
    margin: 5rem auto;
    padding: 1.5rem;
    background: #47200b;
    border-radius: 5px;
    width: 60%;
    position: relative;
    transition: all 0.3s ease-in-out; 
  }
  
.popup h2{
  font-family: cursive;
}

  form p {
    margin: 10px 0;
    color: whitesmoke;
    padding-left: 15px;
  }
  
  form label {
    display: block; 
    margin-bottom: 5px; 
    color: b;
  }
  
  form input[type="text"],
  form input[type="password"]{
    width: 75%; 
    padding: 10px 15px; 
    font-size: 1rem;
    border: 1px solid #CDA38B;
    border-radius: 5px;
    height: 1rem;
  }
  
  .popup h2 {
    font-size: 2rem;
    text-align: center;
    margin-top: 0;
    color: whitesmoke;
  }
  
  .popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 3rem;
    font-weight: bold;
    text-decoration: none;
    color: whitesmoke;
  }
  
  .popup .close:hover {
    color: whitesmoke;
  }
  
  .popup .content {
    max-height: 30%;
    overflow: auto;
  }

  legend {
    color: whitesmoke; 
    font-size: 1.5rem; 
    font-weight: bold; 
  }
  
  @media screen and (min-width: 700px) {
    .popup {
      width: 80%;
    }

    .two-column {
      display: flex;
      justify-content: space-between;
      gap: 2rem; 
    }

    .form-column {
      flex: 1; 
      margin-bottom: 0; 
  }
    

  }



  