@import url("https://fonts.googleapis.com/css?family=DM Sans");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,700;0,800;0,900;1,600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins";
}

body {
  font-family: "Poppins" !important;
  width: 100%;
  background-color: #000 !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 21px;
}
.portal-button {
  position: relative;
  background-color: #d71920;
  border: none;
  color: white;
  width: 128px;
  height: 41px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tooltiptext {
  visibility: hidden;
  width: max-content;
  background-color: #121212;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  top: 90%; /* Position the tooltip above the button */
  right: 0%;
  opacity: 0;
  transition: opacity 0.3s;
}

.portal-button:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.header {
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999999;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #121212;
  padding: 0 70px;
  margin: 0;
  box-shadow: 0px 4px 16px 0px #ffffff1a;
}
.main-container {
  padding-top: 120px;
}
.logo {
  width: 90px;
  height: auto;
}

button {
  background-color: #d71920;
  border: none;
  color: white;
  width: 128px;
  height: 41px;
  border-radius: 4px;
}
a {
  color: inherit !important;
  text-decoration: inherit !important;
}
.main {
  background-color: #121212;
  width: 97.3%;
  /* height: 762px; */
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px;
  gap: 4rem;
  border-radius: 20px;
}
.main-img {
  width: 500px;
  height: 350px;
  object-fit: contain;
}

.left h1 {
  color: #d71920;
  margin-bottom: 10px;
  font-size: 32px;
  font-weight: 700;
}

.left p {
  color: white;
  font-weight: 400;
  font-size: 16px;
}
form {
  background-color: #fff;
  padding: 50px;
  padding-bottom: 70px;
  /* height: 490px; */
  height: auto;
  border-radius: 50px;
  width: 475px;
}

.login-form h2 {
  margin-bottom: 34px;
  color: #d71920;
  font-size: 24px;
  line-height: 36px;
  font-weight: 700;
}

.form-text {
  display: flex !important;
  flex-direction: column;
  justify-content: space-around;
  gap: 1.6rem;
}

.text {
  display: flex;
  flex-direction: column;
  border: 1px solid #808080db;
  border-radius: 6px;
  padding: 8px 16px;
  height: 58px;
}

.text label {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}
.text input {
  border: none;
  outline: none;
}
.text input::placeholder {
  color: #abafb1;
  letter-spacing: 0.1px;
  font-size: 16px;
  font-weight: 400;
}

.form-text .login-btn {
  font-size: 20px;
  font-weight: 400;
  height: 48px;
  width: 100%;
  text-align: center;
  border-radius: 4px;
  background-color: #d71920;
  border: none;
  color: white;
  cursor: pointer;
}
footer {
  width: 100%;
  height: 100px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  color: white;
  background-color: #121212;
}
footer a {
  text-decoration: none;
  color: #fff;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f6f6f6;
  border-radius: 14px;
}
::-webkit-scrollbar-thumb {
  background: var(--heading_color);
  border-radius: 14px;
}

@media only screen and (max-width: 1024px) {
  .main {
    flex-direction: column;
    height: auto;
    align-items: center;
    width: 96%;
  }
  .left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .left h1,
  p {
    text-align: center;
    width: 98%;
  }
  .right {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  form {
    width: 90%;
    height: auto;
    /* height: 500px; */
  }
}
@media only screen and (max-width: 768px) {
  .header {
    padding: 0 20px;
  }
  /* .logo {
    width: 164px;
    height: 58px;
  } */
  .main {
    flex-direction: column;
    align-items: center;
    width: 94%;
    padding: 40px;
    gap: 0;
  }
  .main-img {
    width: 90%;
  }
}
@media only screen and (max-width: 576px) {
  body {
    gap: 15px;
  }
  .main {
    padding: 45px 5px;
  }
  form {
    border-radius: 35px;
    height: auto;
    padding: 40px 30px;
    padding-bottom: 50px;
  }
}
@media only screen and (max-width: 480px) {
  .logo {
    width: 80px;
  }
  .main-container {
    padding-top: 115px;
  }
  .main {
    gap: 0;
  }
  .header {
    padding: 0 20px;
  }
  .left {
    width: auto;
    height: auto;
  }
  .left h1 {
    font-size: 22px;
  }
  form {
    padding: 30px 25px;
    padding-bottom: 40px;
    border-radius: 30px;
  }
  .main-img {
    width: 100%;
  }
  footer a {
    font-size: 11px;
  }
}
