/* General body styling */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-image: url('../images/Activity Design _Desktop-02.png'); /* Default background image for desktop */
}

/* Different backgrounds for desktop and mobile */
@media (min-width: 769px) {
  body {
      background-image: url('../images/Activity Design _Desktop-02.png'); /* Path to your desktop background image */
  }
}

@media (max-width: 768px) {
  body {
      background-image: url('../images/Activity Design_Mobile 2-03.jpg'); /* Path to your mobile background image */
  }
}
@media (max-width: 700px) {
  .container{
    align-items: center;
    width: 100%;
    padding: 5%;
    display: inline-flex;
    justify-content: center;
  }
}

/* Glassmorphism container styling */
.form-container {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 5%;
  max-width: 250px;
  height: 50%;
  width: 100%;
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
@media (min-width:769px) {
  .form-container{
      min-width: 400px;
      width: 100%;
      padding: 20px;
      height: 80%;
      align-items: center;
  }
  
}


/* Form element styling */
form {
  display: flex;
  flex-direction: column;
  /* padding: 10px; */
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
}
@media (max-width: 768px){
  h2{
      padding-top: -10%;
  }
}

.form-group {
  margin-bottom: 25px;
}

label {
  margin-bottom: 5px;
  font-weight: bold;
}

input, select {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 15px;
  box-sizing: border-box;
  background-color: #1D417B;
  color: #b6b3b3;
  font-size: 18px;
  text-align: center;
}

input::placeholder,
select option {
  color: rgba(255, 255, 255, 0.5); /* Adjust the opacity (0.5 for 50% opacity) */
}


.warning {
  color: rgb(238, 215, 9);
  font-size: 18px;
  margin-top: 10px;
  text-align: center;
  margin-bottom: -2px;
}
.message {
  color: rgb(188, 236, 16);
  font-size: 18px;
  margin-top: 10px;
  text-align: center;
  margin-bottom: -2px;
}
@media (min-width: 768px) {
  .warning {
      color: rgb(238, 215, 9);
      font-size: 18px;
      margin-top: 10px;
      text-align: center;
      margin-bottom: -5px;
  }
  .message {
      color: rgb(188, 236, 16);
      font-size: 18px;
      margin-top: 10px;
      text-align: center;
      margin-bottom: -10px;
  }
}

.submit-btn {
  background-color: #FFD315;
  color: rgb(14, 14, 14);
  padding: 10px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 22px;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #0056b3;
}
.logo-container {
  position: fixed;
  top: 4%;
  left: 12%;
  align-items: center;
}
@media (min-width: 768px) {
  .logo-container {
      position: absolute;
      top: 10px;
      left: 10px;
      align-items: center;
  }
}

.logo-container img {
  width: 250px;

} 
@media (max-width: 768px) {
  .logo-container img {
      width: 90%;
      /* margin-top: 10px; */
      /* text-align: center; */
      position: relative;
  }
}
/* .popup {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 10px;
  z-index: 1000;
}
.popup .close-btn {
  float: right;
  cursor: pointer;
  font-size: 20px;
}
.form-group.error {
border: 1px solid red;
}

.error-message {
color: red;
font-size: 0.8rem;
margin-top: 5px;
} */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border: 1px solid #ccc;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  width: 100%;
  text-align: center;
  border-radius: 20px;
  display: none; /* Initially hide pop-up */
  z-index: 1000; /* Ensure pop-up is above other elements */
}
@media (max-width: 768px) {
  .popup {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color: white;
      border: 1px solid #ccc;
      padding: 20px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      max-width: 250px;
      width: 100%;
      text-align: center;
      border-radius: 20px;
      display: none; /* Initially hide pop-up */
      z-index: 1000; /* Ensure pop-up is above other elements */
  }  
}

.popup p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 18px;
  color: #000000;
}

.popup-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  display: none; /* Initially hide background overlay */
  z-index: 999; /* Ensure overlay is below pop-up */
}

/* code for modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  backdrop-filter: blur(5px); /* Blur effect */
  z-index: 1; /* Ensure it's above other content */
  display: none; /* Initially hidden */
}

.modal {
display: none; 
position: fixed; 
z-index: 1; 
left: 0; 
top: 0; 
width: 100%; 
height: 100%; 
overflow: auto; 
background-color: rgba(0,0,0,0.4); 
/* padding-top: 10%;  */
border-radius: 20px;

}

.modal-content {
background-color: #fefefe;
margin: 5% auto; 
padding: 20px;
border: 1px solid #888;
/* width: 80%; */
max-width: 600px; 
border-radius: 20px;
}


.modal-content h1 {
text-align: center;
font-size : 45px;
color: red;
}
.modal-content p{
font-size : 28px;
}
@media (max-width: 768px){
.modal-content h1{
font-size: 42px;
}
.modal-content p{

  font-size: 22px;
  text-align: center;
}
.modal{
padding-top: 50%;
}
.modal-content {
  padding: 5%;
}
}
.btn-container {
display: flex;
justify-content: center;
width: 100%;
gap: 10px;
}

.modal .btn {
background-color: #FFD315;
color: rgb(14, 14, 14);
padding: 10px 20px; /* Adjust padding for better look */
border: none;
border-radius: 25px;
cursor: pointer;
font-size: 22px;
/* margin-top: 20%;  */
transition: background-color 0.3s ease;
text-decoration: none;
}

.modal .btn:hover {
background-color: #0056b3;
}
