@import url("https://use.typekit.net/evb4fpn.css");

/* --------------------
  Global Styles
--------------------- */
html{
  background-color: #fad157;
}
body {
  background-color: #fad157;
  margin: auto;
  max-width: 480px;
  color: #ffffff;
  text-align: center;
  
}
.btn{
  text-align: center;
  width: 200px;
  margin:auto;
  stroke: 0;
  border: 0;
  background: 0;
  margin-bottom: -30px;
   
}
.btn_box{
  display: grid;
  position: absolute;
  margin: auto;
  width: 100%;
}

.egg{
  position:absolute;
  transform-origin: center center;
  display: inline-block;
}


/* --------------------
  Layout Containers
--------------------- */
.container {
  width: 100%;
  max-width: 480px;
  margin: auto;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100dvh;
  display: flex;
  align-items: center;
}

.container .box{
  width: 100%;
  margin: auto;
}


.index {
  width: 100%;
  max-width: 480px;
  margin: auto;
  text-align: center;
  display: flex;
  align-items: center;
}

.result {
  background-image: url("img/bg_game.jpg");
  padding-top: 40px;
  width: 100%;
  max-width: 480px;
  margin: auto;
  text-align: center;
}

.box_con {
  padding: 0 32px;
}

/* --------------------
  Buttons
--------------------- */






/* --------------------
  Share & SNS
--------------------- */
.box_share {
  width: 70%;
  padding: 60px 30px;
  border-radius: 60px;
  background-color: #fef7e7;
  border: 6px solid #fabd2f;
  color: white;
  font-weight: 500;
  box-sizing: content-box;
  margin: auto;
}

.box_sns {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.box_sns img {
  width: 80px
}

/* --------------------
  기타
--------------------- */


.dimm {
  display: none;
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 480px;
  height: 100dvh;
  padding: 32px;
  background: rgba(255, 255, 255, 0.5);
  box-sizing: border-box;
  margin: auto;
  text-align: center;
  align-items: center;
}
.loading{
  position: absolute;
  top:30%;
}

#floor{
  width: 100%;
  background-color: #fad978;
  position: absolute;
}