@font-face {
  font-family: 'Monts';
  src: url('../fonts/Montserrat/static/Montserrat-Medium.ttf') format('woff2'),
    url('../fonts/Montserrat/static/Montserrat-Medium.ttf') format('woff');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Monts', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}


.main-container {
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 100vh;
}

.main-container::before {
  content: '';
  position: absolute;
  left: 0px;
  bottom: 0px;
  top: 0px;
  width: 50%;
  background-color: #444;
  z-index: -1;
}

.main-container::after {
  content: '';
  position: absolute;
  right: 0px;
  bottom: 0px;
  top: 0px;
  width: 50%;
  background-color: #333;
  z-index: -1;
}


.form-container {
  width: 100%;
  max-width: 1500px;
  height: 100vh;
  max-height: 800px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.form {
  display: flex;
  position: relative;
  z-index: 10;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 0px 20px 20px 20px;
  background-color: #333;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-width: none;
}

.form-title {
  width: 100%;
  max-width: 350px;
  font-size: 30px;
  text-align: center;
  font-weight: bold;
  color: #8e8e8e;
  margin-bottom: 30px;
  margin-top: 60px;
}

.form .input-label {
  width: 100%;
  max-width: 350px;
  font-size: 13px;
  text-align: left;
  margin-top: 30px;
  color: #9a9a9a;
}

.form .input-box {
  width: 100%;
  max-width: 350px;
  padding: 10px;
  margin-top: 12px;
  border-radius: 5px;
  border: solid rgba(255, 255, 255, 0.4) 1.5px;
  background-color: transparent;
  color: whitesmoke;
  outline: solid rgba(102, 51, 153, 0) 1.5px;
  transition: 0.3s ease;
  font-size: 12px;
  display: flex;
  align-items: center;
}

.form .input-box:focus {
  outline: solid rgba(153, 151, 51, 0.829) 1.5px;
}


.password-container {
  width: 100%;
  max-width: 350px;
  display: flex;
  align-items: center;
  position: relative;
}

.show-password-button {
  position: absolute;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  padding: 5px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  margin-bottom: -12px;
}

.show-password-button img {
  height: 18px;
  width: 18px;
  object-fit: contain;
  filter: invert(1);
}

.hide-line {
  border-top: solid rgb(226, 226, 226) 1.5px;
  border-bottom: solid rgb(229, 229, 229) 1.5px;
  width: 24px;
  transform: rotateZ(45deg);
  position: absolute;
  border-radius: 2px;
  transition: 0.15s ease;
}


.hide-line.visible {
  width: 0px;
}

.remember-me {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 14px;
  gap: 10px;
  width: 100%;
  max-width: 350px;
  font-size: 13px;
  text-align: left;
  margin-top: 20px;
  color: #989898;
  cursor: pointer;
}

.submit-button {
  max-width: 350px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 50px;
  border: solid rgba(0, 0, 0, 0) 1px;
  color: #333;
  cursor: pointer;
  margin-top: 7vh;
  background-color: #e2e2b0;
  transition: 0.3s ease;
}

.submit-button:hover {
  box-shadow: 0px 0px 10px rgba(255, 255, 193, 0.3),
  0px 0px 20px rgba(255, 255, 193, 0.3),
  0px 0px 40px rgba(255, 255, 193, 0.3),
  0px 0px 80px rgba(255, 255, 193, 0.3) ;
}

.registration-link-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 350px;
  font-size: 12px;
  color: rgb(209, 209, 209);
}

.registration-link {
  color: rgb(225, 225, 225);
  text-decoration: none;
}

.registration-link:hover {
  text-decoration: underline;
}



.form-image-container {
  height: 100%;
  background-color: #444;
  position: relative;
  transition: 0.3s ease;
}

.form-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(40%);
}

.form-side-text {
  width: 100%;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  text-align: center;
  padding: 3vw;
  background: url("../images/bg.gif");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.7;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.578);
}

.gender-container {
  width: 100%;
  max-width: 350px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.gender-group {
  color: rgb(214, 214, 214);
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
}

.gender-group label {
  display: flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}

.message-container {
  position: sticky;
  top: 0px;
  width: 115%;
  z-index: 199;
  font-size: 12px;
  padding: 20px;
  text-align: center;
  color: white;
  margin-bottom: -40px;
  transition: 0.3s ease;
}

.success {
  background-color: rgb(98, 205, 98);
}

.error {
  background-color: rgb(255, 74, 74);
}




@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


@media (max-width: 768px) {

  .form {
    width: 100%;
  }

  .form-image-container {
    width: 0%;
  }
}

@media (min-width: 768px) {
  .form {
    width: 38%;
  }

  .form-image-container {
    width: 62%;
  }
}


.input-box:-webkit-autofill,
.input-box:-webkit-autofill:hover,
.input-box:-webkit-autofill:focus,
.input-box:-webkit-autofill:active {
    box-shadow: inset 300px 500px 0px #333;
    -webkit-text-fill-color: whitesmoke;
    border: solid rgba(255, 255, 255, 0.4) 1.5px !important;
}