* {
  font-family: 'Noto Sans KR', sans-serif;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

*::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}

html {
  font-size: 16px;
}

a:link {
  color: black;
  text-decoration: none;
}

a:visited {
  color: black;
  text-decoration: none;
}

a:hover {
  color: black;
  text-decoration: none;
}

a #search-box-a:link {
  color: #500e10;
  text-decoration: none;
}

a #search-box-a:visited {
  color: #500e10;
  text-decoration: none;
}

a #search-box-a:hover {
  color: #500e10;
  text-decoration: none;
}

body {
  position: relative;
}

#mainimage-box {
  position: relative;
  top: 20%;
  width: 40%;
  height: 30%;
  margin: 10px auto;
}
#stage {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.75rem;
  color: gray;
}
#mainimage {
  display: block;
  margin: 0 auto;
  width: 70%;
  height: auto;
}
#search-icon {
  display: flex;
  justify-content: space-around;
  align-items: center;
  float: left;
  position: absolute;
  left: 95%;
  top: 15%;
}

#search-box {
  position: relative;
  top: 25%;
  border: 0.2rem solid #500e10;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  width: 40%;
  height: 40px;
  text-align: center;
  display: flex;
}

#search-box-a {
  width: 100%;
  height: 100%;
  /* display : flex;
    justify-content : space-around;
    align-items : center; */
  display: block;
  position: relative;
}
.search-box-container {
  display: flex;
  justify-content: space-between;
}
.grid-container {
  display: grid;
  grid-template-columns: 90% 10%;
  grid-template-rows: 100%;
  gap: 0px 0px;
  grid-template-areas: 'search-bar-input search-btn';
  width: 100%;
}

.search-bar-input {
  grid-area: search-bar-input;
  width: 100%;
  height: 34px;
  margin: auto;
  outline: none;
  border-color: white;
  background-color: white;
  outline-offset: none;
  border-style: none;
  overflow: hidden;
  text-align: center;
  line-height: 34px;
  margin-left: 26px;
}

.search-bar-input::placeholder {
  text-align: center;
  padding-left: 65px;
}

.search-bar-input:focus::placeholder {
  color: transparent;
}

.search-btn-box {
  grid-area: search-btn;
  width: 100%;
  height: 34px;
  margin: auto;
  display: flex;
  justify-content: end;
}

.search-btn-box img {
  width: 20px;
  height: 20px;
}

.search-btn {
  background-color: white;
  border-color: white;
  border-style: none;
  display: block;
  padding: 0;
  width: 100%;
}

.search-btn img {
  width: 20px;
  height: 20px;
}

#search-form {
  margin-block-end: 0;
}

/* input 박스에 default로 나오는 x기호 제거 */
input::-ms-clear,
input::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}
input::-webkit-search-decoration,
input::-webkit-search-cancel-button,
input::-webkit-search-results-button,
input::-webkit-search-results-decoration {
  display: none;
}

button:focus {
  outline: none;
}

div {
  margin: 0 auto;
}
a {
  font-size: 1rem;
}
.search-box-p {
  display: block;
  text-align: center;
  line-height: 100%;
  float: left;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #500e10;
  font-size: 1rem;
  margin: 0;
}

#bottom {
  position: relative;
  top: 40%;
  margin: 0 auto;
  width: 87%;
  height: 3%;
}

#logout a,
#login a {
  display: block;
  text-decoration: none;
}

#logout {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#logout a {
  margin: 0 5%;
}

#login {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#login a {
  margin: 0 20px;
}

/* Footer */
footer {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.smslogo-box {
  display: flex;
  justify-content: center;
}

footer .smslogo-box div {
  width: auto;
  height: 25px;
  margin: 0 10px;
  padding: 0 20px;
}

footer div img {
  height: 100%;
  width: auto;
}

#smslogo2 {
  height: 80%;
}

.sms {
  width: fit-content;
  line-height: 25px;
  font-size: 60%;
  color: gray;
  opacity: 70%;
}
footer .notion-link {
  font-size: x-small;
  color: gray;
  opacity: 70%;
  width: fit-content;
}

footer .notion-link p {
  text-align: center;
}

footer .notion-link a {
  font-size: x-small;
  color: gray;
}
footer .notion-link a:hover {
  color: gray;
  text-decoration: none;
}
footer .notion-link a:focus {
  outline: none;
}

/*광고 팝업창 CSS*/
#popup-area {
  position: absolute;
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  bottom: 20%;
}

#layer_popup {
  display: none;
  position: relative;
  width: 400px;
  height: 400px;
}

#popup {
  position: relative;
  display: flex;
  height: 100%;
  width: 100%;
  text-align: center;
  z-index: 402;
  background-color: #d8d8d8;
}

.btn-close-area {
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
  padding-left: 4.5rem;
  padding-right: 4.5rem;
}

.btn-dark {
  position: relative;
  z-index: 402;
  border-radius: 30px;
}

.bg-modal {
  width: 100%;
  position: fixed;
  height: 100%;
  background-color: rgb(201, 201, 201, 0.5);
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 401;
}

.btn.focus,
.btn-focus {
  box-shadow: none;
}

.btn-dark.focus,
.btn-dark:focus {
  box-shadow: none;
}

.btn-dark:not(:disabled):not(.disabled).active:focus,
.btn-dark:not(:disabled):not(.disabled):active:focus,
.show > .btn-dark.dropdown-toggle:focus {
  box-shadow: none;
}

.btn-dark:hover {
  color: #fff;
  background-color: #343a40;
  border-color: #343a40;
}

/* 오른쪽 설명, 이벤트 버튼 */
.make-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  text-align: center;
  line-height: 40px;
  box-shadow: 0 0 10px rgb(221, 221, 221);
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}

.right-choice-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
}

.make-circle img {
  width: 60%;
  margin: auto;
}
.make-circle a {
  display: flex;
}
.add-review img {
  width: 60%;
}

.noti-update {
  position: absolute;
  top: 55;
  left: 31;
  width: 0.4rem;
  height: 0.4rem;
}

/* 반응형 시작 */

@media screen and (max-width: 768px) {
  footer {
    width: 87%;
  }

  #mainimage {
    display: block;
    margin: 0px auto;
    width: 90%;
    height: auto;
  }

  #mainimage-box {
    position: relative;
    top: 25%;
    width: 326.52px;
    height: 138px;
  }
  #stage {
    font-size: 1.5rem;
  }
  #search-icon {
    display: flex;
    justify-content: space-around;
    align-items: center;
    float: left;
    position: absolute;
    left: 90%;
    top: 15%;
  }

  #search-box {
    position: relative;
    top: 30%;
    border: 0.2rem solid #500e10;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 326.53px;
    height: 40px;
  }

  #search-box-a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    display: block;
    position: relative;
  }

  div {
    margin: 0 auto;
  }
  a {
    font-size: 1rem;
  }

  #bottom {
    position: relative;
    top: 45%;
    margin: 0 auto;
  }

  #logout a,
  #login a {
    display: block;
    text-decoration: none;
  }

  #logout {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #logout a {
    margin: 0 5%;
  }

  #login {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #login a {
    margin: 0 20px;
  }

  /*광고 팝업창 CSS*/
  #popup-area {
    position: absolute;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    bottom: 32%;
  }

  #layer_popup {
    display: none;
    position: relative;
    width: 300px;
    height: 300px;
  }

  #popup {
    position: relative;
    display: flex;
    height: 100%;
    width: 100%;
    text-align: center;
    z-index: 402;
    background-color: #d8d8d8;
  }

  .btn-close-area {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }

  .btn-dark {
    position: relative;
    z-index: 402;
  }

  .bg-modal {
    width: 100%;
    position: fixed;
    height: 100%;
    background-color: rgb(201, 201, 201, 0.5);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 401;
  }

  .search-bar-input {
    grid-area: search-bar-input;
    width: 100%;
    height: 34px;
    margin: auto;
    outline: none;
    border-color: white;
    background-color: white;
    outline-offset: none;
    border-style: none;
    overflow: hidden;
    text-align: center;
    line-height: 34px;
    margin-left: 18px;
  }

  .search-bar-input::placeholder {
    text-align: center;
    padding-left: 38px;
  }
}
@media screen and (max-width: 325px) {
  #mainimage-box {
    width: 300px;
    top: 20%;
  }
  #search-box {
    width: 300px;
    top: 25%;
  }
  #bottom {
    top: 35%;
  }
}
@media (min-width: 769px) and (max-width: 999px) {
  #mainimage-box {
    position: relative;
    top: 25%;
    width: 60%;
  }
  #bottom {
    position: relative;
    top: 40%;
    margin: 0 auto;
  }
  #search-box {
    position: relative;
    top: 30%;
    border: 0.2rem solid #500e10;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 350px;
    height: 40px;
  }

  #search-icon {
    display: flex;
    justify-content: space-around;
    align-items: center;
    float: left;
    position: absolute;
    left: 90%;
    top: 15%;
  }

  /*광고 팝업창 CSS*/
  #popup-area {
    position: absolute;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    bottom: 40%;
  }

  #layer_popup {
    display: none;
    position: relative;
    width: 300px;
    height: 300px;
  }

  #popup {
    position: relative;
    display: flex;
    height: 100%;
    width: 100%;
    text-align: center;
    z-index: 402;
    background-color: #d8d8d8;
  }

  .btn-close-area {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }

  .btn-dark {
    position: relative;
    z-index: 402;
  }

  .bg-modal {
    width: 100%;
    position: fixed;
    height: 100%;
    background-color: rgb(201, 201, 201, 0.5);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 401;
  }

  .search-bar-input {
    grid-area: search-bar-input;
    width: 100%;
    height: 34px;
    margin: auto;
    outline: none;
    border-color: white;
    background-color: white;
    outline-offset: none;
    border-style: none;
    overflow: hidden;
    text-align: center;
    line-height: 34px;
    margin-left: 19px;
  }

  .search-bar-input::placeholder {
    text-align: center;
    padding-left: 45px;
  }
}
@media (min-width: 800px) and (max-width: 900px) {
  #search-bar {
    width: 326.53px;
    height: 40px;
  }

  .search-bar-input {
    grid-area: search-bar-input;
    width: 100%;
    height: 34px;
    margin: auto;
    outline: none;
    border-color: white;
    background-color: white;
    outline-offset: none;
    border-style: none;
    overflow: hidden;
    text-align: center;
    line-height: 34px;
  }
}

@media (min-width: 1000px) and (max-width: 1024px) {
  #mainimage-box {
    position: relative;
    top: 25%;
    width: 409px;
    height: 232px;
  }
  #mainimage {
    width: 100%;
    height: 100%;
  }
  #bottom {
    position: relative;
    top: 40%;
    margin: 0 auto;
  }
  #search-box {
    position: relative;
    top: 30%;
    border: 0.2rem solid #500e10;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 512px;
    height: 40px;
  }

  #search-icon {
    display: flex;
    justify-content: space-around;
    align-items: center;
    float: left;
    position: absolute;
    left: 90%;
    top: 15%;
  }

  /*광고 팝업창 CSS*/
  #popup-area {
    position: absolute;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    bottom: 40%;
  }

  #layer_popup {
    display: none;
    position: relative;
    width: 400px;
    height: 400px;
  }

  #popup {
    position: relative;
    display: flex;
    height: 100%;
    width: 100%;
    text-align: center;
    z-index: 402;
    background-color: #d8d8d8;
  }

  .btn-close-area {
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
    padding-left: 4.5rem;
    padding-right: 4.5rem;
  }

  .btn-dark {
    position: relative;
    z-index: 402;
  }

  .bg-modal {
    width: 100%;
    position: fixed;
    height: 100%;
    background-color: rgb(201, 201, 201, 0.5);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 401;
  }

  .search-bar-input {
    grid-area: search-bar-input;
    width: 100%;
    height: 34px;
    margin: auto;
    outline: none;
    border-color: white;
    background-color: white;
    outline-offset: none;
    border-style: none;
    overflow: hidden;
    text-align: center;
    line-height: 34px;
    margin-left: 30px;
  }

  .search-bar-input::placeholder {
    text-align: center;
    padding-left: 60px;
  }
}
