/* basic */
* {
  margin: 0;
  padding: 0;
  font-family: "Pretendard", sans-serif;
  word-break: keep-all;
  background-repeat: no-repeat;
  background-size: cover;
}

html {
  font-size: 62.5%;
}

img {
  display: block;
}

/* 시작 */
#content {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 100vh;
}

#content .logo {
  padding-bottom: 60px;
  border-bottom: 5px solid #1c1c1c;
}

#content .logo img {
  width: 200px;
  margin: auto;
}

#content .text_box p {
  font-size: 2rem;
  line-height: 2.4rem;
  font-weight: 800;
  text-align: center;
  margin-top: 10px;
  color: #333;
  margin-bottom: 10px;
}

#content .text_box {
  text-align: center;
  color: #888;
  font-size: 1.4rem;
}

.content_box {
  box-sizing: border-box;
  width: 500px;
  max-width: 600px;
  margin: auto;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -40%);
}

#content .login_box {
  padding-top: 50px;
  margin: auto;
  position: relative;
}

#content .login_box h1 {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 50px;
  background-color: #fff;
  color: #1c1c1c;
  font-size: 1.6rem;
  text-align: center;
  color: #1c1c1c;
  font-weight: bold;
}

#content .login_box .idpw {
  display: flex;
  justify-content: space-between;
  width: 100%;
  overflow: hidden;
  margin: auto;
  margin-bottom: 5px;
}

#content .login_box .idpw .loginBox_idpw {
  flex: auto;
}

#content .login_box .idpw .id {
  background-image: url('../img/id_icon.png');
  background-size: auto;
  background-position: 18px 50%;
  width: 100%;
}

#content .login_box .idpw .pw {
  background-image: url('../img/pw_icon.png');
  background-size: auto;
  background-position: 18px 50%;
  width: 100%;
}

input::placeholder {
  font-size: 14px;
  color: #999;
  font-weight: 600;
}

#content .login_box .idpw .login_btn {
  background-color: #333;
  width: 120px;
  height: 110px;
  margin: auto;
  border: none;
  color: #fff;
  /* padding: 15px; */
  margin-left: 10px;
  font-size: 1.8rem;
  font-weight: 600;
  border-radius: 5px;
  align-items: center;
}

#content .login_box .idpw .login_btn a {
  display: block;
  width: 100%;
  line-height: 110px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-align: center;
}

#content .sub_text {
  width: 100%;
  overflow: hidden;
  padding-bottom: 10px;
}

#content .sub_text {
  margin: 20px 0;
  font-size: 1.4rem;
  line-height: 2rem;
  color: #888;
  text-align: center;
}

#content .sub_text p {
  line-height: unset;
}

#content .sub_text .sub_boxes {
  background-color: #f7f7f7;
  border-radius: 5px;
  text-align: left;
  padding: 10px 50px;
  margin-top: 20px;
}

#content .login_box .idpw input {
  background-color: #333;
  width: 87%;
  height: 50px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: none;
  background-color: #f4f4f4;
  padding-left: 45px;
}

#content .login_box .idpw input:focus {
  outline: none;
}

/* autologin btn */
.autologin {
  cursor: pointer;
  /* border-bottom: 1px solid #ccc; */
  padding-bottom: 30px;
}

.autologin input[type="checkbox"] {
  width: 20px;
  height: 20px;
  outline: 0;
  /* border none */
  appearance: none;
  border: 0.0625rem solid #dbdbdb;
  text-align: center;
  margin-right: 0.625rem;
  float: left;
  cursor: pointer;
  border-radius: 3px;
}

.autologin input[type="checkbox"]::after {
  content: "\F633";
  font-family: 'bootstrap-icons' !important;
  color: #dbdbdb;
  text-align: center;
  line-height: 2rem;
}

.autologin input[type="checkbox"]:checked {
  background: #333;
  border-color: #333;
}

.autologin input[type="checkbox"]:checked::after {
  color: #fff;
}

.autologin p {
  color: #999;
  font-size: 1.6rem;
  line-height: unset;
}

@media screen and (max-width: 500px) {
  .content_box {
    width: 90%;
  }
  #content .logo {
    padding-bottom: 50px;
  }

  #content .login_box .idpw {
    flex-wrap: wrap;
  }

  #content .sub_text p {
    padding: 0;
  }

  #content .login_box .idpw .login_btn {
    margin-top: 20px;
    width: 100%;
    height: 60px;
    margin-left: 0;
  }

  #content .login_box .idpw {
    flex-direction: column;
  }
}
