* {
    box-sizing: border-box;
}

body {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center; 
    height: 100vh;
    position: relative;
}

body:after {
    content: '';
    background: url('u.png');
    position: absolute;
    opacity: 0.7;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;  
}

h1 {
    font-size: 28px;
}

.container {
    width: 500px;
    margin: 0 auto;
} 

input[type="tel"] {
    width: 100%;
    padding: 25px;
    font-size: 18px;
    border-radius: 5px;
    border: none;
}


input[type="text"] {
  width: 100%;
  padding: 25px;
  font-size: 18px;
  border-radius: 5px;
  border: none;
}

#output {
    background-color: white;
    padding: 20px;
    border-radius: 100px;
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

#output:before {
    content: '';
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 40px solid white;
    position: absolute;
    bottom: -25px;
    left: 35%;
    -ms-transform: rotate(-25deg); /* IE 9 */
    -webkit-transform: rotate(-25deg); /* Chrome, Safari, Opera */
    transform: rotate(-25deg);
}

.avatar img {
    width: 80px;
    border-radius: 1px;
    margin-top: -45px;
    margin-bottom: -10px;
}

@media screen and (max-width: 600px) {
  .container {
    width: 90%;
    max-width: 500px;
  }
}

@media screen and (max-width: 400px) {
  input[type="text"] {
    font-size: 16px;
    padding: 15px;
  }
  h1 {
    font-size: 24px;
  }
}


#loader {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
  } 

   .spinner {
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
 



select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: none;
  font-size: 16px;
  padding: 8px 16px;
  outline: none;
  cursor: pointer;
  background: url('u.png') no-repeat right center;
  background-size: 3000px auto;
  /* font-weight: bold; */
  margin-top: 20px; /* 추가 */
}

select option:checked {
  /* background-color: #e7cd0a; */
  background-color: transparent;
  color: #fff;
}


/*--------------------
Message Box
--------------------*/
.message-box {
  flex: 0 1 42px;
  width: 100%;
  background: #fff;
  margin: 2px auto;
  /*-webkit-box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.4);
  -moz-box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.4);
  box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.4);*/
  /*background: rgba(0, 0, 0, 0.3);
    border-top:1px solid #e3e3e3;*/
  padding: 10px;
  position: relative;
  border-radius: 20px;
  height: 45px;
  border: 1px solid #ccc;
}
.message-box .message-input {
  background: none;
  border: none;
  outline: none !important;
  resize: none;
  /* color: rgba(255, 255, 255, .8);*/
  font-size: 15px;
  height: 24px;
  margin: 0;
  padding-right: 20px;
  width: 265px;
  /* width: calc(100%-7px); */
  color: #444;
  white-space: nowrap;
  overflow-wrap: normal;
  overflow-x:hidden;
  padding: 0;

}
.message-box textarea:focus:-webkit-placeholder {
  color: transparent;
  padding: 0;

}


.message-box .message-submit {
  position: absolute;
  z-index: 1;
  top: 9px;
  right: 10px;
  color: #4A90E2;
  border: none;
  /* background: #c29d5f;*/
  background: #fff;
  font-size: 12px;
  text-transform: uppercase;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 5px;
  outline: none !important;
  transition: background 0.2s ease;
  cursor: pointer;
}
.message-box .message-submit:hover {
  background: #fff;
  color: #333;
}

.kakao-ad {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 350px;
    min-height: 114px;
    position: fixed;
    bottom: -25px ;
    left: 50%;
    transform: translateX(-50%);
  }
/* CSS 코드 */
.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: bold;
  color: #060606;
  background-color: #FFD68A  ;
  border: 2px solid #060606;
  border-radius: 0.25rem;
  cursor: pointer;
}


.btn:hover {
  background-color: #FFD68A  ;
}

.btn:active {
  background-color: #FFD68A  ;
  box-shadow: inset 0 0.15rem 0.25rem rgba(0, 0, 0, 0.15);
}

select:focus,
select:active {
  outline: none;
  border: none;
}

#cal {
    width: 105px;
    padding-right: 0px;
    /* background-image: url('cal.png');  */
    /* background-repeat: no-repeat; */
    /* background-position: center; */
    /* background-size: 22px; */
    background-color: #ffffff;
    border-color: #ffffff;
    border: none;
  }
  
  #cal:focus {
    outline: none;
  }
