@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

:root {
  --background-color-opacity: rgba(0, 0, 0, 0.5);
  --background-color: #000000;
  --background-gray: #5c585800;
  --default-color: #ebe9e2;
  --primary-color: #ef1c23;
  --secondary-color: #f9faed;
  --light-primary-color: #7d1e1e;
  --contrast-color: #ebe9e2;
  --font-family: Arial, sans-serif;
}

body {
  position: relative;
  font-family: "Arial", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  z-index: 0;
  color: var(--default-color);
  overflow-x: hidden;
  padding: 0;
}

.bg {
  position: fixed;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  background: radial-gradient(
      circle at 25% 35%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 75% 65%,
      rgba(255, 255, 255, 0.06) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 50% 20%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 60% 40%,
      rgba(255, 0, 0, 0.25) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 40% 75%,
      rgba(200, 0, 0, 0.25) 0%,
      transparent 45%
    ),
    radial-gradient(circle at 20% 60%, rgba(139, 0, 0, 0.2) 0%, transparent 40%),
    linear-gradient(135deg, #000000 0%, #0c0c0c 100%);
  background-blend-mode: screen;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.458);
  z-index: -1;
}

/*------------ Login container ------------*/
.box-area {
  width: 60%;
  height: 450px;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 30px;
  padding: 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/*------------ Left box ------------*/
.left-box {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 100%;
}

.left-box img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
}

/*------------ Right box ------------*/
.right-box {
  width: 50%;
  padding: 40px;
  background-color: transparent;
}

/*------------ For small screens ------------*/
@media only screen and (max-width: 768px) {
  .box-area {
    width: 90%;

    margin: 0 auto;

    flex-direction: column;
  }

  .left-box,
  .right-box {
    width: 100%;
  }
}

/*------------ Custom Placeholder ------------*/

::placeholder {
  font-size: 16px;
}

.rounded-4 {
  border-radius: 20px;
}

.rounded-5 {
  border-radius: 30px;
}

.btn-primary {
  background-color: var(--primary-color);

  border-color: var(--primary-color);
}

.btn-primary:active {
  background-color: var(--light-primary-color);
  border-color: var(--light-primary-color);
}

#button-login:hover {
  background-color: var(--light-primary-color);
  border-color: var(--light-primary-color);
}

.input-group .btn {
  margin-top: 10px;
}

#email:focus,
#password:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(239, 28, 35, 0.25) !important;
}
