body {
  margin: 0;
  padding: 0;
  /* background-image: url('data/background.png'); */
  background-repeat: no-repeat;
  background-size: cover;
  font-family: sans-serif, Arial;
  display: flex;
  justify-content: center;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: no-repeat center/100% url('data/background.png');
  height: 100vh;
  width: 600px;
}

.cookie-container {
	position: relative;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	border-color: #bf6b60;
	border-style: solid;
	border-width: 5px;
	background-color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

#fortune-cookie {
  width: 70%;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
}

.close-button {
  color: #aaa;
  float: right;
  border-radius: 1;
  background-color: #ffffff;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
}

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

#fortune-message {
  font-size: 20px;
  /* font-weight: bold; */
  text-align: center;
}

/* advertise */
.kakao-ad {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top:20px;
}

/* loading spiner */

#loading-spinner {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  background-color: rgba(0, 0, 0, 0.4);
}

#loading-spinner::after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -50px 0 0 -50px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #fff;
  border-top-color: #000;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}