:root {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  background: #f6f9ff;
  color: #444444;
}

a {
  color: #4154f1;
  text-decoration: none;
}

a:hover {
  color: #717ff5;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Nunito", sans-serif;
}

/* Container for the login page */
.login-main {
  background-color: #22182d;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  position: relative;
}

/* Card styling */
#card-login {
  background-color: #30243c;
  border: none;
  border-radius: 15px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
  max-width: 500px;
  width: 100%;
  padding: 20px;
  right: 350px;
  z-index: 2;
  margin-right: auto;
  
}

/* Image positioning */
.login-main img {
  max-width: 100%;
  width: 60%;
  height: 95%;
  border-radius: 15px;
  overflow: hidden;
  position: absolute;
  right: 1%;
  top: 50%;
  transform: translateY(-50%);
  object-fit: cover;
}
.separator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0; /* Spacing around the separator */
}

.separator hr {
  flex-grow: 1;
  height: 1px;
  border: none;
  background-color: white;
}

.separator .left {
  margin-right: 10px;
}

.separator .right {
  margin-left: 10px;
}

.separator span {
  color: white;
  padding: 0 10px;
  font-weight: bold;
}

.card-header,
.card-footer {
  border-color: #ebeef4;
  background-color: #fff;
  color: #798eb3;
  padding: 15px;
}

.card-title {
  padding: 20px 0 15px 0;
  font-size: 18px;
  font-weight: 500;
  color: white;
  font-family: "Poppins", sans-serif;
}

.card-title span {
  color: white;
  font-size: 14px;
  font-weight: 400;
}

.card-body p {
  color: white;
}

.card-body {
  padding: 0 20px 20px 20px;

}

.logo {
  line-height: 1;
}

.credits {
  text-align: left;
  margin-left: -300px;
  font-size: 14px;
  width: 100%;
}
.logo img {
  max-height: 26px;
  margin-right: 6px;
}

.logo span {
  font-size: 26px;
  font-weight: 700;
  color: #012970;
  font-family: "Nunito", sans-serif;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .login-main {
    flex-direction: column;
  }

  .login-main img {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 20px;
    transform: none;
  }

  #card-login {
    margin-top: -200px;
    position: static;
    width: 100%;
    height: auto;
  }
  .text-login {
    font-size: 12px;
  }
  .fb-login,
  .google-login {
    /* width: 100%; */
    margin: auto;
  }
  .row.g-3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .credits {
    margin: 0 auto;
    font-size: 12px;
    width: 100%;
    align-items: center;
    text-align: center;
  }
}

@media (min-width: 1200px) {
  .logo {
    width: 280px;
  }
}
