* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background: #FCF9F6;
  width: 100vw;
  /* height: 100vh; */
  /* position: fixed; */
}

button {
  cursor: pointer;
}

.main {
  display: flex;
  flex-direction: column;
  /* height: 100vh; */
}

header {
  padding: 16px 0;
  background-color: #FFF;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.main-title {
  font-size: 16px;
  font-weight: 700;
}

.back-button {
  border: none;
  position: absolute;
  left: 10px;
  background-color: #FFF;
  width: 24px;
  height: 24px;
}

.content-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
  margin-bottom: 120px;
}

.title {
  font-size: 40px;
  font-weight: 700;
  color: #F87F1D;
  margin-top: 2px;
}

.cookie-image {
  width: 251px;
  height: 189px;
  margin-top: 2px;
  margin-bottom: 20px;
}

.tap-button {
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  color: #949697;
  width: 190px;
  margin-top: -4vh;
}

.final-content-container {
  margin-top: 1vh;
  display: none;
  flex-direction: column;
  gap: 2vh;
  align-items: center;
  flex-grow: 1;
  margin-bottom: 120px;
}

.ad-image-wrapper {
  position: relative;
  display: inline-block;
}

.result-button-wrapper {
  position: relative;
  display: inline-block;
}

.close-button {
  width: 30px;
  height: 30px;
  position: absolute;
  right: -6px;
  top: -6px;
  z-index: 11;
}

.final-cookie-image {
  width: 300px;
  height: 190px;
}

.result-button {
  border-radius: 8px;
  background: #A95507;
  padding: 16px 32px;
  color: #FFF;
  border: none;
  font-size: 20px;
  font-weight: 700;
}

.yellow {
  color: #FFD66C;
}

.note {
  color: #5C5E60;
  background-color: #FFF;
  width: 350px;
  padding: 8px 8px 8px 24px;
  line-height: 24px;
  text-align: left;
}

.bottom-ad {
  position: fixed;
  bottom: 0px;
  width: 100%;
  /*height: 150px;*/
}


/***�앹뾽***/
.popup {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 101;
}

.popup-content {
  width: 100%;
  background-color: #fefefe;
  padding-top: 40px;
  border-radius: 5px;
  text-align: center;
  position: relative;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top:2%;
  right:0;
  width: 20px;
  margin:0px 10px;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.no-scroll {
  overflow: hidden;
  height: 100%;
}

#close_div {
  width: 30px;
  height: 30px;
}
/***�앹뾽***/

.d-none {
  display: none;
}
