@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Comfortaa', cursive;
}
header {
    background-color: transparent;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0
  }

  .site-logo {
    
    margin-left: 40px; /* Adjust margin as needed */
    margin-top: 20px;
  }
  nav  {
    padding-right: 50px;
  }

  nav ul {
    list-style-type: none;
    display: flex;
  }

  nav li {
    margin-right: 20px;
  }

  nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
  }
body{
  min-height: 100vh; /* Ensures it covers the viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background-image: url('../images/Slicing-01.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.container{
  min-height: calc(100vh - 80px); /* Adjust for header height */
  max-width: 700px;
  width: 100%;
  background-color: #fff;
  padding: 25px 30px;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
  margin-top: 80px; /* Adjust this value to the header's height */
}
.container-signin{
  max-width: 700px;
  width: 100%;
  background-color: #fff;
  padding: 25px 30px;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
  margin-top: 80px; /* Adjust this value to the header's height */
}
.container .title{
  font-size: 25px;
  font-weight: 500;
  position: relative;
}
.container .title::before{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 30px;
  border-radius: 5px;
  background: linear-gradient(135deg, #040F12, #1B3035);
}
.content form .user-details{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px 0 12px 0;
}
.content form .sign-in-details{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px 0 12px 0;
}
form .user-details .input-box{
  margin-bottom: 15px;
  width: calc(100% / 2 - 20px);
}
form .user-details .card-input-box{
  margin-bottom: 15px;
  width: 100%;
}
form .sign-in-details .input-box{
  margin-bottom: 15px;
  width: 100%;
}
form .input-box span.details{
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
}
.user-details .input-box input{
  height: 45px;
  width: 100%;
  outline: none;
  font-size: 16px;
  border-radius: 5px;
  padding-left: 15px;
  border: 1px solid #ccc;
  border-bottom-width: 2px;
  transition: all 0.3s ease;
}
.user-details .input-box input:focus,
.user-details .input-box input:valid{
  border-color: #040F12;
}
.user-details .card-input-box div{
  height: 45px;
  width: 100%;
  outline: none;
  font-size: 16px;
  border-radius: 5px;
  padding-left: 15px;
  border: 1px solid #ccc;
  border-bottom-width: 2px;
  transition: all 0.3s ease;
}
.user-details .card-input-box div:focus,
.user-details .card-input-box div:valid{
  border-color: #040F12;
}
.sign-in-details .input-box input{
  height: 45px;
  width: 100%;
  outline: none;
  font-size: 16px;
  border-radius: 5px;
  padding-left: 15px;
  border: 1px solid #ccc;
  border-bottom-width: 2px;
  transition: all 0.3s ease;
}
.sign-in-details .input-box input:focus,
.sign-in-details .input-box input:valid{
  border-color: #040F12;
}
.user-details .input-box select{
    height: 45px;
    width: 100%;
    outline: none;
    font-size: 16px;
    border-radius: 5px;
    padding-left: 15px;
    border: 1px solid #ccc;
    border-bottom-width: 2px;
    transition: all 0.3s ease;
}

.user-details .input-box select:focus,
.user-details .input-box select:valid{
  border-color: #040F12;
}
.user-details .card-input-box select{
  height: 45px;
  width: 100%;
  outline: none;
  font-size: 16px;
  border-radius: 5px;
  padding-left: 15px;
  border: 1px solid #ccc;
  border-bottom-width: 2px;
  transition: all 0.3s ease;
}

.user-details .card-input-box select:focus,
.user-details .card-input-box select:valid{
border-color: #040F12;
}


 form .gender-details .gender-title{
  font-size: 15px;
  font-weight: 500;
 }
 form .category{
   display: flex;
   width: 40%;
   margin: 14px 0 ;
   justify-content: space-between;
 }
 form .category label{
   display: flex;
   align-items: center;
   cursor: pointer;
   margin-right: 10px;
 }
 form .category label .dot{
  height: 18px;
  width: 18px;
  border-radius: 50%;
  margin-right: 10px;
  background: #d9d9d9;
  border: 5px solid transparent;
  transition: all 0.3s ease;
}
 #dot-1:checked ~ .category label .one,
 #dot-2:checked ~ .category label .two,
 #dot-3:checked ~ .category label .three,
 #dot-4:checked ~ .category label .four {
   background: #040F12;
   border-color: #d9d9d9;
 }
 form input[type="radio"]{
   display: none;
 }
 form .button{
   height: 45px;
   margin: 35px 0
 }
 form .button button{
   height: 100%;
   width: 100%;
   border-radius: 5px;
   border: none;
   color: #fff;
   font-size: 18px;
   font-weight: 500;
   letter-spacing: 1px;
   cursor: pointer;
   transition: all 0.3s ease;
   background: #040F12
 }
 form .button button:hover{
  /* transform: scale(0.99); */
  background: linear-gradient(-135deg, #1B3035, #040F12);
  }
  @media screen and (max-width: 768px) {
    header {
        padding: 10px;
    }

    .container {
        margin-top: 60px; /* Adjust for smaller screens */
        padding: 15px;
        margin-top: 60px; /* Header height adjustment */
        min-height: calc(100vh - 60px); /* Match header height */
    }
    .container-signin {
        margin-top: 60px; /* Adjust for smaller screens */
        padding: 15px;
        margin-top: 60px; /* Header height adjustment */
    }
    body {
        background-size: cover;
        background-attachment: fixed; /* Keeps the image in place during scrolling */
    }
}
  
 @media(max-width: 584px){
 

form .user-details .input-box{
    margin-bottom: 15px;
    width: 100%;
  }
  form .user-details .card-input-box{
    margin-bottom: 15px;
    width: 100%;
  }
  form .sign-in-details .input-box{
    margin-bottom: 15px;
    width: 100%;
  }
  form .category{
    width: 100%;
  }

  
  .user-details::-webkit-scrollbar{
    width: 5px;
  }
  .sign-in-details::-webkit-scrollbar{
    width: 5px;
  }
  header {
        display: block;
    }
    nav  {
      padding-left: 50px;
    }
  }


  @media(max-width: 459px){
  .container .content .category{
    flex-direction: column;
  }
  /* Adjusting the main content position */
.container {
  margin-top: 100px;
}

}




/* If the header is not visible on smaller screens, this ensures visibility */
@media screen and (max-width: 768px) {
    header {
        display: block;
    }
    nav  {
      padding-left: 50px;
    }
    .popup-content {
        width: 80%; /* Adjust the width as needed */
        padding: 10px; /* Adjust the padding as needed */
    }
}









/* Add this CSS code to your existing stylesheet */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

/* Center the popup vertically and horizontally */
.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 1004; /* Adjust z-index to appear above close icon and overlay */
}

.popup-text {
  font-size: 18px;
  margin-bottom: 10px;
  margin-top: 10px;
  line-height: 2;
}

.notify-button {
  background: #1D093E;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.notify-button:hover {
  background: #9b59b6;
}

/* Style the close icon */
.popup-content .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  z-index: 1003; /* Adjust z-index to appear above overlay */
}

/* Style the background overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1002; /* Adjust z-index to appear below close icon */
}

/* Adjust the styles to show the popup and overlay when needed */
.popup.show-popup {
  display: block;
  z-index: 1003; /* Adjust z-index to appear above overlay */
}