@font-face {
  font-family: 'Pretendard-Regular';
  src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'SBAggroB';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SBAggroB.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

body {
  background: #dedede;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  overflow: hidden;
  position: absolute;
  width: 800px;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 20px;
  padding:50px;
  box-shadow: 2px 2px 10px 2px #CDDC39;
}

.login_wrap {
  padding: 10px 0;
  text-align: center;
  display: flex;
  justify-content: space-evenly;
}


.loginTitle {
  font-family: 'SBAggroB';
  padding: 20px 0;
  font-size: 25px;
  color:#e91e63;
  text-align: center;
}

form, .input {
  text-align: justify;
}


#logo {
  border-radius: 10px;
  vertical-align: middle;
  margin-right: 10px;
}

.login input {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 10px;
  width: 100%;
  padding: 8px;
}

.logo, .input {
  display: inline-block;
  vertical-align: middle;
}


#loginbtn, #joinbtn {
  font-size: 1.5rem;
  border: 0;
  border-radius: 5px;
  padding: 3px 0;
  background-color: #315fc5;
  color: white;
  cursor: pointer;
  width: 48%;
  text-align: center;
}

#loginbtn:hover, #joinbtn:hover {
  background-color: #b0bd24;
  color: #e9ff00;
}

#loginbtn {
  float: left;
}

#joinbtn {
  float: right;
}

#id, #pw {
  border : 1px solid gray;
  border-radius: 5px;
}

.top {
  font-family: 'Roboto Slab', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

@media (max-width:500px) {

  input {
    padding: 2px 0;
  }

  #logo {
    display: block;
    margin: auto;
    width: 80px;
    margin-bottom: 10px;
  }

  .input {
    width: 100%;
  }

  .login {
    max-width: 90%;
  }

}