* {
  box-sizing: border-box;
}

body {
  background: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: 'Montserrat', sans-serif;
  height: 100vh;
  margin: -20px 0 50px;

  background-image: url('images/bg4.jpg');
  /* Replace with your image path */
  background-size: cover;
  /* Scale the image to cover the entire area */
  background-position: center;
  /* Center the image */
  background-repeat: no-repeat;
  /* Prevent the image from repeating */
  background-attachment: fixed;
  /* Optional: Fix the background while scrolling */
}


h1 {
  font-weight: bold;
  margin: 0;
}

h2 {
  text-align: center;
}

p {
  font-size: 14px;
  font-weight: 100;
  line-height: 20px;
  letter-spacing: 0.5px;
  margin: 20px 0 30px;
}

/* Make typography responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 24px;
    /* Adjust font size for tablets and medium screens */
  }

  h2 {
    font-size: 20px;
    /* Adjust font size for better visibility on tablets */
  }

  p {
    font-size: 8px;
    /* Slightly larger text for readability on smaller screens */
    line-height: 10px;
    /* Increase line height for readability */
    margin: 10px 0 30px;
    /* Adjust margins to avoid clutter */
  }
}


span {
  font-size: 12px;
}

a {
  color: #333;
  font-size: 14px;
  text-decoration: none;
  margin: 5px;
}

/* Make the span and a elements responsive */
@media (max-width: 768px) {
  span {
    font-size: 8px;
    /* Slightly larger font size for better readability on medium screens */
    margin-bottom: 5px;
  }

  a {
    font-size: 10px;
    /* Increase font size for links on medium screens */
    margin: 10px 0;
    /* Adjust margin to avoid excess space */
  }
}

button {
  border-radius: 5px;
  border: 1px solid #5222a0;
  background-color: #5222a0;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: bold;
  padding: 10px 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 80ms ease-in;
  margin-top: 10px;
}

button:active {
  transform: scale(0.95);
}

button:focus {
  outline: none;
}

button.ghost {
  background-color: transparent;
  border-color: #FFFFFF;
  border-radius: 10px;
}
button.ghost2 {
  background-color: transparent;
  border-color: #FFFFFF;
  border-radius: 10px;
}

button.ghost:hover {
  background-color: #6d13ff;
  border-color: #ffffff;
}

button.ghost2:hover {
  background-color: #be3c00;
  border-color: #ffffff;
}

.custom-btn {
  width: 130px;
  height: 40px;
  color: #fff;
  border-radius: 5px;
  padding: 10px 25px;
  /* font-family: 'Lato', sans-serif; */
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  /*   box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5),
    7px 7px 20px 0px rgba(0, 0, 0, .1),
    4px 4px 5px 0px rgba(0, 0, 0, .1); */
  outline: none;
}

/* ----- Responsive Overrides ----- */
@media screen and (max-width: 600px) {
  .custom-btn {
    width: 100px;      /* Reduced width for smaller screens */
    height: 30px;      /* Reduced height for better proportion on mobile */
    padding: 8px 20px; /* Adjusted padding to maintain balance and touch area */
    font-size: 0.9rem; /* Slightly smaller font size for mobile devices */
  }
}


/* 7 */
.btn-7 {
  background: linear-gradient(0deg, #5222a0, #5222a0);
  line-height: 42px;
  padding: 0;
  border: none;
}

.btn-7 span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.btn-7:before,
.btn-7:after {
  position: absolute;
  content: "";
  right: 0;
  bottom: 0;
  background: #5222a0;
  border-radius: 5px;
  /*   box-shadow:
    -7px -7px 20px 0px rgba(255, 255, 255, .9),
    -4px -4px 5px 0px rgba(255, 255, 255, .9),
    7px 7px 20px 0px rgba(0, 0, 0, .2),
    4px 4px 5px 0px rgba(0, 0, 0, .3); */
  transition: all 0.3s ease;
}

.btn-7:before {
  height: 0%;
  width: 2px;
}

.btn-7:after {
  width: 0%;
  height: 2px;
}

.btn-7:hover {
  color: #5222a0;
  background: transparent;
  border-radius: 5px;
}

.btn-7:hover:before {
  height: 100%;
}

.btn-7:hover:after {
  width: 100%;
}

.btn-7 span:before,
.btn-7 span:after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  background: #5222a0;
  border-radius: 5px;
  /*   box-shadow:
    -7px -7px 20px 0px rgba(255, 255, 255, .9),
    -4px -4px 5px 0px rgba(255, 255, 255, .9),
    7px 7px 20px 0px rgba(0, 0, 0, .2),
    4px 4px 5px 0px rgba(0, 0, 0, .3); */
  transition: all 0.3s ease;
}

.btn-7 span:before {
  width: 2px;
  height: 0%;
}

.btn-7 span:after {
  height: 2px;
  width: 0%;
}

.btn-7 span:hover:before {
  height: 100%;
}

.btn-7 span:hover:after {
  width: 100%;
}

/* ----- Additional Overrides (Do not remove any original code) ----- */

/* Mobile Responsiveness Adjustments */
@media screen and (max-width: 600px) {
  .btn-7 {
    line-height: 20px;
    /* Adjust line-height for mobile */
    padding: 5px;
    /* Add padding for easier touch interaction */
    width: 70px;
    /* Let the button size naturally */
    margin: 0 auto;
    /* Center the button */
  }

  .btn-7 span:before,
  .btn-7 span:after {
    content: "";
    left: 10;
    top: 10;
    background: #5222a0;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  .btn-7 span:before {
    width: 2px;
    height: 0%;
  }
  
  .btn-7 span:after {
    height: 2px;
    width: 0%;
  }
  .btn-7 span:hover:before,
  .btn-7 span:hover:after {
    height: 100%;
    width: 100%;
  }
}

/* Disable span hover effects on devices that do not support hover */
@media (hover: none) {

  .btn-7 span:hover:before,
  .btn-7 span:hover:after {
    height: 0% !important;
    width: 0% !important;
  }
}


@media (max-width: 720px) {
  button {
    font-size: 8.5px;
    /* Larger font size for small screens */
    padding: 6px 12px;
    /* Adjust padding for small screens */
    margin-top: 2px;
  }
}

form {
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 50px;
  height: 100%;
  text-align: center;
}

input {
  border-radius: 5px;
  background-color: #eee;
  border: none;
  padding: 12px 15px;
  margin-bottom : 1000px;
  margin: 8px 0;
  width: 100%;
}

/* Make the form responsive */
@media (max-width: 768px) {
  form {
    padding: 0 20px;
    /* Reduce padding on medium screens */
  }

  input {
    padding: 10px 10px;
    /* Slightly smaller padding for medium screens */
    font-size: 9px;
    /* Adjust font size for better readability */
    margin: 3px 0;
    width: 160px;
  }
}

.container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
  width: 768px;
  max-width: 100%;
  min-height: 480px;
}


/* Media Queries for further responsiveness */
@media (max-width: 768px) {
  .container {
    width: 95%;
    /* Increase width for smaller screens */
    min-height: 50vh;
    /* Adjust min-height for smaller screens */
  }
}

.form-container {
  position: absolute;
  top: 0;
  height: 100%;
  transition: all 0.6s ease-in-out;
  width: 100%;
}

.sign-in-container {
  left: 0;
  width: 50%;
  z-index: 2;
}

.container.right-panel-active .sign-in-container {
  transform: translateX(100%);
}

.sign-up-container {
  left: 0;
  width: 50%;
  opacity: 0;
  z-index: 1;
}

.container.right-panel-active .sign-up-container {
  transform: translateX(100%);
  opacity: 1;
  z-index: 5;
  animation: show 0.6s;
}

@keyframes show {

  0%,
  49.99% {
    opacity: 0;
    z-index: 1;
  }

  50%,
  100% {
    opacity: 1;
    z-index: 5;
  }
}

.overlay-container {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: transform 0.6s ease-in-out;
  z-index: 100;
}

.container.right-panel-active .overlay-container {
  transform: translateX(-100%);
}

.overlay {
  background: #5222a0;
  background: -webkit-linear-gradient(to right, #FF4B2B, #5222a0);
  background: linear-gradient(to right, rgb(255, 170, 43), #5222a0);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  color: #FFFFFF;
  position: relative;
  left: -100%;
  height: 100%;
  width: 200%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
}

.container.right-panel-active .overlay {
  transform: translateX(50%);
}

.overlay-panel {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  top: 0;
  height: 100%;
  width: 50%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
}

.overlay-left {
  transform: translateX(-20%);
}

.container.right-panel-active .overlay-left {
  transform: translateX(0);
}

.overlay-right {
  right: 0;
  transform: translateX(0);
}

.container.right-panel-active .overlay-right {
  transform: translateX(20%);
}

.social-container {
  margin: 20px 0;
}

.social-container a {
  border: 1px solid #DDDDDD;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  height: 40px;
  width: 40px;
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
  .social-container {
    margin: 3% 0;
    /* Increase margin for smaller screens */
  }

  .social-container a {
    height: 35px;
    /* Slightly smaller size for tablets */
    width: 35px;
    margin: 5px 2px;
    /* Adjust margin */
  }
}

footer {
  background-color: #222;
  color: #fff;
  font-size: 14px;
  bottom: 0;
  position: fixed;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 999;
}

footer p {
  margin: 10px 0;
}

footer i {
  color: red;
}

footer a {
  color: #3c97bf;
  text-decoration: none;
}

/* .spac {
  margin-bottom: 30px;
} */

/* General styling for the logo container */
.logo.spac {
  display: flex;
  justify-content: center;
  /* Center horizontally */
  align-items: center;
  /* Center vertically */
  padding: 20px;
  background-color: #f4f4f4;
  /* Light gray background */
  border-radius: 10px;
  /* Rounded corners */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Subtle shadow */
}

/* Styling for the image inside the logo */
.logo .standard-logo {
  max-width: 250px;
  /* Adjust size of the logo */
  height: auto;
  /* Maintain aspect ratio */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Animation */
  margin-bottom: 25px;
}

/* Hover effect for the logo */
.logo .standard-logo:hover {
  transform: scale(1.1);
  /* Slight zoom effect */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
  /* Enhanced shadow */
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
  .logo.spac {
    padding: 10px;
    /* Reduce padding for smaller screens */
    width: 80%;
    /* Increase width for smaller screens */
  }

  .logo .standard-logo {
    width: 150px;
    /* Adjust logo size for smaller screens */
    margin-bottom: 10px;
    /* Adjust margin */
  }
}

.text-center {
  text-align: center;
}

.text-danger {
  color: #641010;
  font-size: 14px;
  /* background-color: #843534; 
  padding-inline: 10px;*/
  margin-top: 15px;
}

.text-success {
  color: #10641b;
  font-size: 14px;
  /* background-color: #843534; 
  padding-inline: 10px;*/
  margin-top: 15px;
  font-weight: bold;
}

/* .text-ani {
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(90deg, #677caa, #fff, #b4b4b4);
  letter-spacing: 5px;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-repeat: no-repeat;
  background-size: 80%;
  animation: shine 5s linear infinite;
  position: relative;
}
 */

.text-ani {
  font-weight: 700;
  text-align: center;
  font-size: 24px;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  /* Modern neon blue gradient */
  background: linear-gradient(90deg, #e8c3ec, #9333ac, #eacfee);
  letter-spacing: 5px;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-repeat: no-repeat;
  /* Increase background size to allow a smooth shift */
  background-size: 200%;
  /* Faster animation: 2s cycle instead of 5s */
  animation: shine 8s linear infinite;
  position: relative;
}

.text-ani-log {
  text-align: center;
  font-size: 28px;
  /* Modern neon blue gradient */
  background: linear-gradient(90deg, #e8c3ec, #9333ac, #eacfee);
  letter-spacing: 5px;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-repeat: no-repeat;
  /* Increase background size to allow a smooth shift */
  background-size: 200%;
  /* Faster animation: 2s cycle instead of 5s */
  animation: shine 5s linear infinite;
}

@media (max-width: 768px) {
  .text-ani-log {
    font-size: 20px;
  }
}

@keyframes shine {
  0% {
    background-position: 200% 0;
  }

  50% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@media (max-width: 768px) {
  .text-danger {
    font-size: 10px;
  }

  .text-success {
    font-size: 10px;
  }
}

.radio-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 1px;
  border: 1px solid #7a4bd8;
  border-radius: 8px;
  background: rgba(122, 75, 216, 0.1);
  backdrop-filter: blur(8px);
  /*   box-shadow: 0 4px 8px rgba(122, 75, 216, 0.2); */
  margin-bottom: 30px;
}

.radio-container input {
  display: none;
}

.radio-container label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  padding: 2px 1px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  color: #5a2ea6;
  background: linear-gradient(135deg, #ffffff, #ffffff);
  font-weight: 500;
  text-align: center;
  flex: 1;
  min-width: 70px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.radio-container label:hover {
  background: linear-gradient(135deg, #d1b8ff, #c09cff);
  color: #3a1c75;
  /*   box-shadow: 0 2px 4px rgba(58, 28, 117, 0.2); */
}

.radio-container input:checked+label {
  background: linear-gradient(135deg, #7a4bd8, #5a2ea6);
  color: #fff;
  font-weight: 600;
  /*   box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); */
}

/* Responsive Design */
@media (max-width: 768px) {
  .radio-container {
    justify-content: center;
  }

  .radio-container label {
    font-size: 9px;
    min-width: 50px;
    padding: 1px 0.5px;
  }
}






/* Responsive design changes */
@media only screen and (max-width: 10px) {
  body {
    height: auto;
    margin: 0;
    flex-direction: column;
    justify-content: flex-start;
  }

  .container {
    width: 90%;
    min-height: auto;
    margin: 20px;
  }

  .form-container {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }

  .sign-in-container,
  .sign-up-container {
    width: 90%;
    position: relative;
    transform: none !important;
  }

  .overlay-container {
    display: none;
    /* Hide overlay for smaller screens */
  }

  /*   button {
    padding: 10px 35px;
    font-size: 12px;
  } */

  input {
    padding: 10px;
  }

  p,
  a {
    font-size: 12px;
  }

  h1 {
    font-size: 1.5rem;
  }

  footer {
    font-size: 12px;
  }

  /* Ensure sign-up button is visible */
  .button {
    width: 100%;
    text-align: center;
    margin-top: 15px;
  }

  .container .sign-up-container,
  .container .sign-in-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}


.animation-container {
  position: absolute;
  top: 0vh;
  left: 0;
  right: 0;
  bottom: 0vh;
  z-index: 1;
  /*     background: #440e4b; */
}

.animation-container span {
  position: absolute;
  color: whitesmoke;
  display: block;
  font-size: 18px;
  font-family: 'Helvetica';
  text-shadow: 0 0 1px white;
  user-select: none;
  pointer-events: none;
  cursor: default;
  z-index: 1;
  opacity: 0;
  top: 0;
  will-change: transform, opacity;
  animation-timing-function: ease-out;
  animation-name: move;
}

@keyframes move {
  0% {
    opacity: 0;
    top: 100%;
  }

  25% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  75% {
    opacity: 0;
  }

  100% {
    opacity: 0;
    transform: none;
  }
}
