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

/* --------------------
  Global Styles
--------------------- */
body {
  background-color: black;
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 600;
  font-style: normal;
  margin: auto;
  max-width: 480px;
  color: #ffffff;
  text-align: center;
  
}

img{
  width: 100%;
  margin-bottom: 8px;
}

button {
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 500;
  border: 2px solid #b41432;
  background-color: #000000;
}

button:hover {
  background-color: #b41432;
  color: white;
}
.btn_answer:hover {
  background-color: #000000;
  color: white;
}

.btn_answer.clicked{
  background-color: #b41432;
  color: white;
}
.clicked {
  opacity: 1;
  transition: opacity 1s ease;
}

.clicked.fade-out {
  opacity: 0;
}

/* --------------------
  Typography
--------------------- */
h1 {
  font-size: 25px;
  line-height: 130%;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: "neue-haas-grotesk-display", sans-serif;
}

h3 {
  font-size: 22px;
  margin: 20px;
  font-weight: 600;
  font-family: "neue-haas-grotesk-display", sans-serif;
}

h4 {
  font-size: 20px;
  font-weight: 500;
  font-family: "neue-haas-grotesk-display", sans-serif;
}

.title_qst {
  font-size: 27px;
  font-weight: 600;
  line-height: 130%;
  min-height: 106px;
  text-align: center;
  margin-bottom: 24px;
  font-family: "neue-haas-grotesk-display", sans-serif;
}

.f_basic {
  font-size: 25px;
  line-height: 100%;
  font-weight: 500;
  color: #fff;
  margin-bottom: 24px;
  font-family: "neue-haas-grotesk-display", sans-serif;
}

/* --------------------
  Layout Containers
--------------------- */
.container {
  width: 100%;
  max-width: 480px;
  margin: auto;
  padding: 0px 32px;
  box-sizing: border-box;
  background-image: url("img/bg_game.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: "neue-haas-grotesk-display", sans-serif;
  height: 100dvh;
  display: flex;
  align-items: center;
}

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


#imgCon{
  width: 88%;
  margin:auto;
  padding-top: 8px;
}

.index {
  background-image: url("img/bg_intro.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  max-width: 480px;
  padding:0px 32px;
  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
--------------------- */

.btn_answer {
  width: 100%;
  font-size: 24px;
  height: 27dvh;
  color: #ffffff;
  margin-bottom: 16px;
  border-radius: 16px;
  touch-action: manipulation;
  font-family: "neue-haas-grotesk-display", sans-serif;
  
}


.btn_basic {
  width: 100%;
  height: 56px;
  font-size: 22px;
  border-radius: 10px;
  color: #b41432;
  font-family: "neue-haas-grotesk-display", sans-serif;
}

.btn_box {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

.btn_box button {
  width: 50%;
}

/* --------------------
  Share & SNS
--------------------- */
.box_share {
  width: 100%;
  padding: 32px 16px 60px;
  border-radius: 10px;
  background-color: #000000;
  border: 2px solid #b41432;
  color: white;
  font-weight: 500;
  box-sizing: content-box;
}

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

.box_sns img {
  width: 60px;
}

/* --------------------
  기타
--------------------- */
#resultSection {
  display: none;
}


.dimm {
  display: none;
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 480px;
  height: 100dvh;
  padding: 32px;
  background: rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  margin: auto;
  text-align: center;
  align-items: center;
  font-family: "neue-haas-grotesk-display", sans-serif;
}
