@import "reset.css";
@import url("./font/pretendard.css");

html {
  font-family: "Pretendard", sans-serif;
}

.navigation {
  position: relative;
}

.main {
  padding: 15.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.signin-title>h2 {
  color: #111;
  font-family: Pretendard;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 100px;
}

.label-with-input {
  position: relative;
}

.form-group__username,
.form-group__password {
  position: absolute;
  right: 30rem;
  top: 1rem;
  width: 5rem;
  color: #333;
  text-align: left;
  font-family: Pretendard;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
}

.form-control__username {
}

.form-control::placeholder {
  color: transparent;
}

.siginin-button:disabled {
  border-radius: 0.25rem;
  background: #D4A3A4;
}

.signin-form {
  position: relative;
  display: inline-block;
  height: 40vh;
}

.signin-form h2 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 50px;

  font-size: 35px;
}

.col-xs-8 {
  margin-bottom: 20px;
}

.col-xs-8 input {
  padding: 13px;
  background-color: #f3f0f0;
  border: transparent;

  width: 450px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 5px;
  border: 1px solid #E7E7E7;
  background: #FFF;
}


.search__button {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.4rem;
}

.search__button--id {
  margin-left: 10px;
  color: #555;
  font-family: Pretendard;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.search__button--password {
  margin-left: 50px;
  color: #555;
  font-family: Pretendard;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}


.btn-lg {
  width: 450px;
  height: 60px;
  margin: 20px 0 20px 0;
  border-radius: 7px;
  border: transparent;
  background-color: #a21c20;
  color: white;
  font-size: 15px;
  font-weight: bold;
}

.btn-lg:hover {
  background: #D4A3A4;
  color: white;
  font-weight: bold;
}



@media screen and (min-width: 350px) and (max-width: 700px) {

  .form-group__username,
  .form-group__password {
    display: none;
  }

  .form-control::placeholder {
    color: #777;
    font-family: Pretendard;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }

  .main {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
    height: auto;
    margin-bottom: 20rem;
  }

  .signin-title>h2 {
    color: #111;
    font-family: Pretendard;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    margin-top: 5rem;
  }

  .signin-form {
    width: 85%;
    margin: 0 auto;
    margin-top:2rem;
    height: auto;
  }


  .form-control__username {
    margin: 0;
    margin-top: 8vh;
  }

  .label-with-input {
    display: flex;
    justify-content: center;
  }


  .col-xs-8 input {
    width: 100%;
    max-width: 360px;
  }

  .btn-lg {
    width: 100%;
    max-width: 360px;
  }

  .siginin-button {
    margin-top: 8vh;
  }

  .siginin-button:disabled {
    border-radius: 0.25rem;
    background: #D4A3A4;
  }

  .search__button {
    display: flex;
    justify-content: center;

  }

}