/* poppins-300 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('./fonts/poppins-v20-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./fonts/poppins-v20-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/poppins-v20-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/poppins-v20-latin-300.woff') format('woff'), /* Modern Browsers */
       url('./fonts/poppins-v20-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/poppins-v20-latin-300.svg#Poppins') format('svg'); /* Legacy iOS */
}
/* poppins-500 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('./fonts/poppins-v20-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./fonts/poppins-v20-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/poppins-v20-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/poppins-v20-latin-500.woff') format('woff'), /* Modern Browsers */
       url('./fonts/poppins-v20-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/poppins-v20-latin-500.svg#Poppins') format('svg'); /* Legacy iOS */
}

html {
	-moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-y: scroll;
  color:#fff;
  height: 100%;
  font-size: 62.5%;
}

body {
  background-color: rgb(14, 8, 41);
  font-size: 1.4rem;
  line-height: 1.4;
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
  margin: 0;
  height: 100%;
  overflow: hidden;
}

.wrapper {
  width: 90%;
  height: 100%;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.container {
  width: 100%;
  opacity: 0;
  margin-top: auto;
  margin-bottom: auto;
}

.fs {
  position: relative;
}

.btnArea {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1rem;
}

.foundTxt {
  padding: 2rem 0 1rem 0;
  text-align: center;
}

.timeTxt {
  text-align: center;
  font-size: 2.5rem;
}

.timePlus {
  font-size: 1.2rem;
  padding-bottom: 2rem;
  text-align: center;
}

.btn {
  font-size: 4.5rem;
  text-align: center;
  border-radius: 1.8rem;
  box-sizing: border-box;
  border: 3px solid transparent;
  cursor: pointer;
}

.end {
  position: absolute;
  left: 0;
  top: 40%;
  right: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
}

.hintBtn {
  position: absolute;
  top: 0;
  right: 0;
  margin-top: 1.75rem;
  background: rgba(255,255,255,0.5);
  line-height: 1;
  border-radius: 1rem;
  vertical-align: middle;
  text-align: center;
  color: #0e0829;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
  font-weight: 500;
  cursor: pointer;
}

.replayBtn {
  cursor: pointer;
}

.replayBtn svg {
  width: 100px;
  height: 100px;
  display: inline-block;
}

.main {
  width: 100%;
  text-align: center;
  font-size: 1.0rem;
  opacity: 0;
}

.main .inner {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  padding-top: 2rem;
  padding-bottom: 4rem;
  max-width: 640px;
}

.main a {
  color: #adadad;
  text-decoration: none;
  position: relative;
  transition: opacity 400ms ease-in-out;
}

.main a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.main img {
  position: relative;
  width: 170px;
  height: 39px;
  border: 0;
}

.main p {
  position: relative;
  margin: 1em 0 0 0;
}

@media screen and (orientation: landscape) and (max-height: 500px) {
  .btnArea {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  }
  .btn {
    font-size: 3.5rem;
  }
  .main p {
    display: none;
  }
}

@media screen and (orientation: landscape) and (max-height: 767px) {
  .btn {
    font-size: 3.5rem;
  }
  .main p {
    display: none;
  }
}

@media screen and (min-height: 768px) {
  .btnArea {
    gap: 3rem;
  }
  .main {
    font-size: 1.4rem;
  }
  .main p {
    display: block;
  }
}

@media screen and (min-height: 768px) and (min-width: 1024px) {
  .btn {
    font-size: 5.5rem;  
  }
}

@media screen and (min-height: 960px) and (min-width: 1024px) {
  .btn {
    font-size: 7.5rem;  
  }
}

