@import url("https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Noto+Sans+KR:wght@500&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "Noto Sans KR";
  font-size: medium;
  color: black;
  background-color: unset;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  background: linear-gradient(to right, #7ee8fa, #eec0c6)
  
}

#container {
  width: 600px;
  height: 100vh;
  background-color: white;
  box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

footer {
  width: 100%;
  height: 75px;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
}

.titlebox {
  width: 100%;
  padding: 20px;
  background-color: black;
}

h1 {
  font-size: 45px;
  font-family: Black Han Sans;
  color: white;
  text-align: center;
  background: linear-gradient(to right, #7ee8fa, #eec0c6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: x-large;
  text-align: center;
}

.create,
.join {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.setOrderNumber {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.setOrderNumberNow {
  width: 60px;
  height: 40px;
  border-radius: 25px;
  border: 3px solid black;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: x-large;
}

.setOrderNumberMinus,
.setOrderNumberPlus {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: black;
  color: white;
  box-shadow: inset 0 0 0 3px black, inset 0 0 0 5px white;
  font-size: x-large;
  margin: 5px;
}

.thisIDtab {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.thisIDtab p {
  color: white;
}

.thisID {
  width: 85%;
  height: 40px;
  margin: 10px;
  border-radius: 15px;
  background-color: black;
  color: white;
  border: 3px solid white;
  background: linear-gradient(to right, #7ee8fa, #eec0c6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.selectCreateOrJoin {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.joinInput {
  width: 85%;
  height: 40px;
  margin: 10px;
  border-radius: 15px;
  background-color: white;
  border: 3px solid black;
}

.createTabBtn,
.joinTabBtn {
  width: 50%;
  height: 75px;
  color: black;
}

.createTabBtn {
  background-color: #7ee8fa;
  background: linear-gradient(to right, rgb(126, 232, 250), rgb(182, 212, 224));
}

.joinTabBtn {
  background-color: #eec0c6;
  background: linear-gradient(to right, rgb(182, 212, 224), rgb(238, 192, 198));
}

.createTabBtn.select,
.joinTabBtn.select {
  background: none;
  background-color: black;
}

.createTabBtn.select {
  color: #7ee8fa;
  box-shadow: inset 0 0 0 3px black, inset 0 0 0 5px #7ee8fa;
}

.joinTabBtn.select {
  color: #eec0c6;
  box-shadow: inset 0 0 0 3px black, inset 0 0 0 5px #eec0c6;
}

.whatYourOrder,
.whatJoinOrder {
  width: 100%;
  padding: 0 20px;
}

.orderBtnGroup {
  width: 100%;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
}

.orderBtnGroup > div {
  width: 100%;
  display: flex;
}

.orderBtn {
  width: 25%;
  height: 80px;
  color: white;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
}

p > .orderBtn {
  width: auto;
  height: auto;
  color: black;
  background-color: unset;
  display: inline;
}

.whatOrder {
  width: 100%;
}

.orderBtnGroup > div:nth-child(2n + 1) > .orderBtn:nth-child(2n),
.orderBtnGroup > div:nth-child(2n) > .orderBtn:nth-child(2n + 1) {
  color: black;
  background-color: white;
}

.orderBtnGroup > div > .orderBtn.select {
  background-color: black;
  border: 3px solid black;
  color: white;
  box-shadow: inset 0 0 0 2px white;
}

.orderBtnGroup > div:nth-child(2n + 1) > .orderBtn.select:nth-child(2n),
.orderBtnGroup > div:nth-child(2n) > .orderBtn.select:nth-child(2n + 1) {
  background-color: white;
  border: 2px solid white;
  color: black;
  box-shadow: inset 0 0 0 3px black;
}

p > .orderBtn.select {
  color: rgb(182, 212, 224);
}

.orderBtnGroup > div > .orderBtn.disabled {
  background-color: grey;
  color: darkgrey;
  box-shadow: unset !important;
  border: unset;
}

.orderBtnGroup > div:nth-child(2n + 1) > .orderBtn.disabled:nth-child(2n),
.orderBtnGroup > div:nth-child(2n) > .orderBtn.disabled:nth-child(2n + 1) {
  background-color: darkgrey;
  color: grey;
}

.setOrderNumber {
  display: flex;
  flex-direction: row;
}

.joinInputTray {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.howBtn,
.createBtn,
.joinBtn {
  width: 150px;
  height: 40px;
  margin: 10px;
  border-radius: 15px;
  background-color: black;
  color: white;
  box-shadow: inset 0 0 0 3px black, inset 0 0 0 5px white;
}

.howCloseBtn {
  width: 150px;
  height: 40px;
  margin: 10px;
  border-radius: 15px;
  background-color: white;
  border: 3px solid black;
}

.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main > div {
  width: 100%;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main > div > p {
  font-size: large;
}

.main > .cardTray {
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.cardSet {
  display: flex;
}

.card {
  width: 300px;
  height: 200px;
  border-radius: 15px;
  padding: 20px;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.5), inset 0 0 0 5px black;
  font-size: xx-large;
  font-family: Black Han Sans;
  background-color: white;
  background: linear-gradient(to right, #7ee8fa, #eec0c6);
  color: black;
}

.leftCard,
.rightCard {
  width: 25%;
  height: 150px;
  font-size: xx-large;
}

.howTo {
  width: 100vw;
  height: 100vh;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.howTo > section {
  display: flex;
  border: 3px solid black;
  border-radius: 20px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 500px;
  height: 500px;
  background-color: white;
}

.howArticle {
  width: 100%;
  height: 440px;
  padding: 20px;
  overflow-y: auto;
}

.whatJoinID {
  width: 100%;
  height: 30px;
  padding: 0 20px;
}

.errorCode {
  width: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

.hide {
  display: none;
}

.howArticle > p {
  margin: 10px 0;
}

@media (max-width: 600px) {
  #container {
    width: 100vw;
  }
}
