
@media only screen and (max-width: 767px){
	.modal {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.4rem;
    max-width: 750px;
    padding: 1.3rem;
    min-height: 250px;
    position: absolute;
    z-index: 2;
    top: 10%;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 15px;
  }
  
  .modal .flex {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  
  .modal input {
    padding: 0.7rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9em;
  }
  
  .modal p {
    font-size: 0.9rem;
    color: #777;
    margin: 0.4rem 0 0.2rem;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
  }
  
  
  .modal-btn {
    display: inline-block;
    padding: 0.8rem 1.4rem;
    font-weight: 700;
    background-color: black;
    color: white;
    border-radius: 5px;
    text-align: center;
    font-size: 1em;
  }
  
  .modal-btn-close {
    transform: translate(10px, -20px);
    padding: 0.5rem 0.7rem;
    background: #eee;
    border-radius: 50%;
  }
  
  .overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1;
  }

  
.hidden {
  display: none;
}
}
@media only screen and (min-width: 768px){.modal {
     display: flex;
    flex-direction: column;
    float: none;
    justify-content: flex-start;
    gap: 0.4rem;
    width: 750px;
    padding: 1.3rem;
    max-height: 700px;
    top: -500px;
    position: relative;
    z-index: 2;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 15px;
    margin: 0 0 0 -110px;
}

.modal .flex {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.modal input {
  padding: 0.7rem 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.9em;
}

.modal p {
  font-size: 0.9rem;
  color: #777;
  margin: 0.4rem 0 0.2rem;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}


.modal-btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  font-weight: 700;
  background-color: black;
  color: white;
  border-radius: 5px;
  text-align: center;
  font-size: 1em;
}

.modal-btn-close {
  transform: translate(10px, -20px);
  padding: 0.5rem 0.7rem;
  background: #eee;
  border-radius: 50%;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.hidden {
  display: none;
}


}


@media only screen and (max-width: 767px){
	.modal2 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.4rem;
    max-width: 750px;
    padding: 1.3rem;
    min-height: 250px;
    position: absolute;
    z-index: 2;
    top: 10%;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 15px;
  }
  
  .modal2 .flex {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  
  .modal2 input {
    padding: 0.7rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9em;
  }
  
  .modal2 p {
    font-size: 0.9rem;
    color: #777;
    margin: 0.4rem 0 0.2rem;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
  }
  
  
  .modal-btn2 {
    display: inline-block;
    padding: 0.8rem 1.4rem;
    font-weight: 700;
    background-color: black;
    color: white;
    border-radius: 5px;
    text-align: center;
    font-size: 1em;
  }
  
  .modal-btn-close2 {
    transform: translate(10px, -20px);
    padding: 0.5rem 0.7rem;
    background: #eee;
    border-radius: 50%;
  }
  
  .overlay2 {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1;
  }

  
.hidden2 {
  display: none;
}
}
@media only screen and (min-width: 768px){.modal2 {
     display: flex;
    flex-direction: column;
    float: none;
    justify-content: flex-start;
    gap: 0.4rem;
    width: 750px;
    padding: 1.3rem;
    max-height: 700px;
    top: -500px;
    position: relative;
    z-index: 2;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 15px;
    margin: 0 0 0 -110px;
}

.modal2 .flex {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.modal2 input {
  padding: 0.7rem 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.9em;
}

.modal2 p {
  font-size: 0.9rem;
  color: #777;
  margin: 0.4rem 0 0.2rem;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}


.modal-btn2 {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  font-weight: 700;
  background-color: black;
  color: white;
  border-radius: 5px;
  text-align: center;
  font-size: 1em;
}

.modal-btn-close2 {
  transform: translate(10px, -20px);
  padding: 0.5rem 0.7rem;
  background: #eee;
  border-radius: 50%;
}

.overlay2 {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.hidden2 {
  display: none;
}


}