/*----- */
/* FONT */
/*----- */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
}

/*----- */
/* GENERAL */
/*----- */

:root {
  /* colors */
  --primary-color: #2a3647;
  --hover-color: #29abe2;
  --active-color: #091931;
  --white-color: #ffffff;
  --black-color: #000000;
  --outline-color: #d1d1d1;
  /* transitions */
  --transition: all 175ms ease-in-out;
}

* {
  margin: 0;
  box-sizing: border-box;
  padding: 0;
}

html,
body {
  font-family: "Inter", sans-serif;
  background-color: #f6f7f8;
  display: flex;
  flex-direction: column;
  overflow: auto;
  height: 100dvh;
}

.header-div {
  display: flex;
  justify-content: space-between;
}

.mb-12 {
  margin-bottom: 12px;
}

/*----- */
/* LOADINGSCREEN */
/*----- */

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

#logo {
  height: 122px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 1s ease, top 1s ease, left 1s ease;
  z-index: 10000;
}

#loader.hidden {
  opacity: 0;
  pointer-events: none;
}

/*----- */
/* ASSETS */
/*----- */

.loginBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  bottom: 100px;
  padding: 40px;
  border-radius: 16px;
  background-color: var(--white-color);
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
  min-width: 500px;
  min-height: auto;

  div {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  button {
    margin-top: 32px;
  }
}

.singUpBtn {
  border: none;
  background-color: var(--primary-color);
  padding: 12px 12px;
  color: white;
  cursor: pointer;
  border-radius: 6px;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.singUpBtn:hover {
  background-color: var(--hover-color);
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.loginBtn {
  border: none;
  font-weight: bold;
  background-color: var(--primary-color);
  padding: 8px 16px;
  color: var(--white-color);
  cursor: pointer;
  border-radius: 6px;
  font-size: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-right: 30px;
}

.loginBtn:hover {
  background-color: var(--hover-color);
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.guestLoginBtn {
  border: 0.5px solid var(--primary-color);
  font-weight: bold;
  background-color: var(--white-color);
  padding: 8px 16px;
  color: var(--primary-color);
  cursor: pointer;
  border-radius: 6px;
  font-size: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guestLoginBtn:hover {
  border: 0.5px solid var(--hover-color);
  color: #29abe2;
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.inputWrapper {
  position: relative;
  margin-bottom: 16px;
  width: 422px;
}

.inputWrapper img {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.inputWrapper input {
  padding: 10px 10px 10px 10px;
  width: 100%;
  box-sizing: border-box;
  font-size: 16px;
}

input:focus {
  border: 2px solid var(--hover-color);
  outline: none;
}

.d-none {
  display: none !important;
}
.mobileLoginheader {
  display: none;
}
.buttons-div {
  margin-top: 24px;
}

@media (max-width: 900px) {
  #loader {
    background: var(--primary-color);
  }
  #logo {
    content: url("../assets/img/join_logo_white.svg");
    height: 122px;
  }
  .mobileLoginheader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 16px;
  }

  header {
    div {
      display: none;
    }
  }
  .loginBox {
    div {
      flex-direction: column;
    }

    button {
      margin-top: 16px;
    }
  }
  .loginBtn {
    margin-right: 0;
    width: 142px;
  }

  .buttons-div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 400px) {
  .buttons-div {
    flex-direction: column;
  }
}

@media (min-width: 900px) {
  .buttons-div button {
    font-size: 24px;
    padding: 15px 24px 15px 24px;
    border-radius: 10px;
  }
}
