/** @format */

* {
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  position: relative;
  margin: 0;
  padding: 0;
  height: 100vh;
}

.card #title {
  color: #fff;
  text-shadow: 2px 2px #333333;
  text-align: center;
}

select {
  width: 180px;
  border: 1px solid #000;
  box-sizing: border-box;
  background-color: #272f2e;
  padding: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

#date {
  width: 180px;
  border: 1px solid#000;
  background-color: #272f2e;
  padding: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  background-color: #fff;
}

#chat-container {
  display: flex;
  flex-direction: column;
  margin: auto;
  height: 90%;
  background-color: #272f2e;
  /* background-color: #272f2e; */
  overflow-y: auto;
  width: 100%;
  border: 1px solid #333333;
  box-shadow: 2px 2px rgba(0, 0, 0, 0.3);
}

#chat-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}

/* .message {
        display: flex;
        flex-direction: column;
        max-width: 50%;
        margin-bottom: 10px;
        padding: 10px;
        border-radius: 10px;
        background-color: #fff;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
      }

      .message .content {
        margin-top: 5px;
        font-size: 14px;
      }

      .message.outgoing {
        align-self: flex-end;
        background-color: #0084ff;
        color: #fff;
      }

      .message.outgoing .content {
        color: #fff;
      }

      .input-container {
        display: flex;
        align-items: center;
        padding: 20px;
        background-color: #fff;
        box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.1);
      }

      .input-container input[type="text"] {
        flex: 1;
        margin-right: 10px;
        padding: 10px;
        border-radius: 5px;
        border: none;
      }

      .input-container button {
        padding: 10px;
        border-radius: 5px;
        border: none;
        background-color: #0084ff;
        color: #fff;
        cursor: pointer;
      } */

.message {
  display: flex;
  flex-direction: column;
  max-width: 90%;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.message .content {
  margin-top: 5px;
  font-size: 14px;
}

.message.outgoing {
  align-self: flex-end;
  background-color: #ac7344;
  color: #fff;
}

.message.outgoing .content {
  color: #fff;
}

.input-container {
  display: flex;
  align-items: center;
  padding: 20px;
  background-color: #272f2e;
  box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.4);
}

.input-container input[type="text"] {
  flex: 1;
  margin-right: 10px;
  padding: 10px;
  border-radius: 5px;
  border: none;
}

.input-container button {
  padding: 10px;
  border-radius: 5px;
  border: none;
  background-color: #ac7344;
  color: #fff;
  cursor: pointer;
}

#chat-container {
  display: none;
}

#rabbit {
  width: 100%;
  min-width: 300px;
}
#intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  margin: auto;
}
#intro-detail {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  width: 50%;
  height: 27vh;
  min-width: 300px;
  margin: auto;
}

#intro-detail label {
  color: #fff;
  text-shadow: 1px 2px #333333;
  font-weight: 600;
  font-size: 20px;
}

#intro-detail button {
  width: 180px;
  height: 50px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  background-color: #272f2e;
  border: 1px solid #000;
  box-shadow: 2px 2px #333333;
  border-radius: 10px;
}

.kakao-ad {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0px;
  width: 100%;
}
#loader {
  margin-left: 10px;
  margin-bottom: 10px;
  justify-content: center;
  color: #fff;
}
.bgImg {
  position: absolute;
  z-index: 0px;
  width: 100%;
  height: 100vh;
  background-image: url("fortune_telling_rabbit_poster2.png");
  filter: blur(8px);
  -webkit-filter: blur(8px);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.container {
  z-index: 1;
  width: 100%;
  height: 100%;
  position: absolute;
}
.card {
  position: relative;
  width: 50%;
  height: 100%;
  margin: auto;
  background-color: rgba(51, 51, 51, 0.4);
  border: 6px solid #fff;
}

/* media */
@media (max-width: 1024px) {
  .card {
    width: 70%;
  }
  #intro-detail label {
    font-size: 16px;
  }
  #intro-detail input {
    font-size: 10px;
  }
  #intro-detail button {
    font-size: 10px;
  }
  .message .content {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .card {
    width: 100%;
  }
  .card h1 {
    font-size: 1.5rem;
  }
}

@media (max-height: 700px) {
  #chat-container {
    height: 85%;
  }
  #rabbit {
    min-width: 250px;
  }
}
@media (max-height: 600px) {
  #chat-container {
    height: 80%;
  }
  #rabbit {
    min-width: 150px;
  }
}
@media (max-height: 500px) {
  #chat-container {
    height: 75%;
  }
}
@media (max-height: 380px) {
  #chat-container {
    height: 70%;
  }
}
@media (max-height: 340px) {
  .card h1 {
    font-size: 1.2rem;
  }
  #intro {
    width: 40%;
  }
  #rabbit {
    min-width: 100px;
  }
}
