html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.row>* {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

@font-face {
  font-family: 'Impact';
  src: url('/assets/fonts/impact.woff2') format('woff2'),
    url('/assets/fonts/impact.woff') format('woff'),
    url('/assets/fonts/impact.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  /* Required for absolute positioning of the login card */
  width: 100%;
  height: 100vh;
  /* Ensures the container takes the full height of the viewport */
}

/* .left-form-design{
  height: 65vh;
  margin-top: 132px;
  z-index: 999999;
  margin-left: 17px;
  border-radius: 13px;
  width: 354px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
} */

.left-form-design {
  position: absolute;
  top: 50%;
  right: 5vw; /* relative to viewport width */
  width: 90vw; /* take most of the width, shrinks on small screens */
  max-width: 400px; /* limit size on large screens */
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  padding: 2.5vw;
  border-radius: 13px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.19), 0px 6px 6px rgba(0, 0, 0, 0.23);
  opacity: 0;
  transform: translateY(-50%) scale(0.7);
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1), opacity 1s ease-out;
  animation: zoomInLogin 1s ease-out forwards;
}

@keyframes zoomInLogin {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.7);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

.login-warper-container {
  /* padding: 40px; */
  padding: 0px 31px;
}

.carousel-item .overlay {
  position: absolute;
  top: 0;
  width: 100%;
  color: white;
  text-align: center;
  /* padding: 358px 0;
  height: 200vh; */
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgb(0 0 0 / 25%);
  z-index: 1;
}

/* .carousel-caption{
  position: absolute;
  right: 15%;
  top: -31px;
  bottom: 0.2rem;
  left: 115%;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  color: #fff;
} */

.carousel-caption {
  position: absolute;
  right: 84%;
  top: -18px;
  bottom: 0.2rem;
  left: 8%;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  color: #fff;
}

.carousel-caption-text {
  font-family: 'Impact', sans-serif;
  /* font-weight: 400; */
  font-style: normal;
  font-size: 3vw;
  color: #ffffff;
  text-shadow: 4px 4px 2px rgb(0 0 0 / 97%);
  white-space: nowrap;
}

.carousel-caption-text div {
  display: block;
  line-height: 1.4;
}

.carousel-caption-text div:first-child {
  font-weight: bold;
}

.header-style {
  position: fixed;
  display: flex;
  align-items: center;
  background: #317eb8;
  padding: 16px;
  margin-top: -48px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  text-align: center;
  font-size: 19px;
  color: white;
  text-shadow: 3px 4px 5px rgba(0, 0, 0, 0.31);
  font-weight: 800;
  width: 100%;
}

/* .login-text-img{
  margin-left: -15px;
} */

.log-in-text {
  padding: 16px;
  text-align: center;
  font-size: 25px;
  color: #000000;
  text-shadow: 3px 4px 5px rgba(0, 0, 0, 0.31);
  font-weight: 800;
}

.app-brand-logo .image_logo {
  max-width: 7%;
  height: auto;
  display: block;
}

.carousel-item img {
  object-fit: cover;
  height: 100vh;
  width: 100%;
}

.auth-cover-brand {
  cursor: default;
}

/* Mobile (max-width: 480px) */
@media (min-width: 320px) and (max-width: 480px) {
  body {
    overflow: hidden !important;
  }

  .carousel-inner {
    overflow: hidden !important;
  }

  .app-brand-logo .image_logo {
    max-width: 10vw;
  }

  .carousel-caption {
    left: 13vw;
    top: -5vw;
  }

  .carousel-caption-text {
    font-size: 6.2vw;
  }

  .left-form-design {
    /* position: absolute;
      top: 50%;
      left: 50%; */
    /* transform: translate(-50%, -50%) !important; */
    /* transform: translate(-50%, -50%) !important;
      width: 100%;
      max-width: 354px;
      padding: 20px;
      transition: transform 0.5s ease-out, opacity 0.5s ease-out; */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 354px;
    padding: 20px;
    text-align: center;

    /* Animation */
    opacity: 0;
    /* Initially hidden */
    transform: translate(-50%, -50%) scale(0.7);
    /* Start smaller */
    transition: transform 1.0s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.0s ease-out;

    /* Auto animation when page loads */
    animation: zoomIn 1.0s ease-out forwards;
  }

  /* Keyframes for animation */
  @keyframes zoomIn {
    from {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.7);
    }

    to {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
  }
}