html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}
.overlay-container {
  background-image: url(../static/Assets/Images/Background.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

.overlay-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 0.5 = 50% opacity */
  z-index: 2;
}

/* Ensure your content appears above the overlay */
.overlay-container > * {
  position: relative;
  z-index: 3;
}

.card-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  z-index: 3;
}
.card-img-wrapper {
  position: absolute;
  width: 280px;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background-image: linear-gradient(195deg, #af013b 0%, #d81b60 100%);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4;
}

.card-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.custom-card {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-height: 450px;
}

.Link {
  text-decoration: none;
}
.card-container a {
  font-size: 0.7vw;
}
.Login {
  background-image: linear-gradient(195deg, #af013b 0%, #d81b60 100%);
  color: white;
}
/* Responsive Styling */
@media (max-width: 768px) {
  body {
    overflow: auto;
  }

  .circle {
    display: none;
  }

  .position-relative {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
  }

  .circle-image {
    position: static;
    width: 120px;
    margin-bottom: 20px;
    transform: none;
  }

  .card-container {
    position: static;
    transform: none;
    width: 90%;
    max-width: 350px;
  }

  .custom-card {
    min-height: auto;
    padding: 30px;
  }
}
