:root {
  --doc-height: 100%;
}
* {
  box-sizing: border-box;
}
html {
  overflow: hidden;
  width: 100%;
}
body {
  margin: 0;
  background: #333 url("./img/bg1.jpg") no-repeat center center/cover;
  font-family: "Helvetica", "Arial", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", YuGothic, "Yu Gothic", "メイリオ", Meiryo, sans-serif;
}
a {
  text-decoration: none;
  transition: 0.4s ease-in-out;
}
a:hover {
  text-decoration: underline;
  cursor: pointer;
}
ol,
ul {
  list-style-type: none;
  padding: 0;
}
.body {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  min-height: var(--doc-height);
  margin: 0;
  justify-content: center;
}
.nav-unshown {
  display: none;
}
#nav-open {
  color: #fff;
  position: absolute;
  top: 10px;
  left: 10px;
  width: 48px;
  padding: 0;
  border: none;
  outline: 0;
  font-size: 23px;
  text-align: center;
  vertical-align: middle;
  line-height: 48px;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.4s;
}
#nav-open:hover {
  opacity: 1;
}
#nav-close {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: 0.3s ease-in-out;
}
#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 90%;
  max-width: 330px;
  height: 100%;
  background: rgb(34, 35, 37);
  transition: 0.3s ease-in-out;
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);
  color: rgb(255 255 255 / 90%);
}
#nav-input:checked ~ #nav-close {
  display: block;
  opacity: 0.3;
}
#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15);
}
.settings-title {
  position: relative;
  padding: 17px 30px;
  font-size: 18px;
  font-weight: 700;
}
.settings-heading {
  color: #fff;
  display: block;
  font-size: 17px;
  padding: 15px 30px 20px;
  margin: 0;
}
.settings-heading i {
  color: #9d9ea1;
  padding-right: 10px;
}
.settings-section {
  padding: 0 30px 20px;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
[type="radio"] + img {
  cursor: pointer;
  max-width: 100%;
  border-radius: 3px;
}
[type="radio"]:checked + img {
  outline: 3px solid #1aa1ff;
}
input[type="number"] {
  width: 100px;
  font-size: 0.95em;
  margin: 0;
  padding: 0.6em;
  border: solid 2px #e3e6ea;
  border-radius: 4px;
  background-color: #fff;
  display: inline-block;
}
input[type="number"]:focus {
  border-color: #529fff;
  outline: 0;
}
label {
  display: inline-block;
  margin: auto 0;
}
.form-container {
  background: rgba(0, 0, 0, 0.4);
  width: 300px;
}
.form {
  display: flex;
  padding: 30px 40px;
  flex-direction: column;
  gap: 1em 0;
}
.text {
  color: white;
  margin: 0;
}
.form-control {
  display: flex;
  justify-content: space-between;
}
button {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 1em auto 0;
  display: block;
  width: 100%;
  padding: 0.6em 1em;
  font-size: 1em;
  background-color: #1aa1ff;
  color: #fff;
  cursor: pointer;
  border-radius: 3px;
  border: 0;
  transition: 0.3s;
}
button:hover {
  background-color: #064fda;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  min-height: 100vh;
  min-height: var(--doc-height);
  min-height: -webkit-fill-available;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-animation-name: fadeIn;
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s;
}
.modal-content {
  position: fixed;
  bottom: 0;
  background: #224941 url("./img/bg1.jpg") no-repeat center center/cover;
  width: 100%;
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.close-button {
  position: absolute;
  right: 22px;
  top: 16px;
  width: 32px;
  height: 32px;
  opacity: 0.6;
  transition: opacity 0.4s;
}
.close-button:hover {
  opacity: 1;
}
.close-button:before,
.close-button:after {
  position: absolute;
  left: 15px;
  content: " ";
  height: 33px;
  width: 2px;
  background-color: #fff;
}
.close-button:before {
  transform: rotate(45deg);
}
.close-button:after {
  transform: rotate(-45deg);
}
.close-button:hover,
.close-button:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
@-webkit-keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  height: 180px;
  width: 180px;
  position: relative;
  transform: scale(1);
}
.circle {
  border: 2px solid rgba(255, 255, 255, 0.6);
  height: 100%;
  width: 100%;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.pointer {
  background-color: #fff;
  border-radius: 50%;
  height: 6px;
  width: 6px;
  display: block;
}
.pointer-container {
  position: absolute;
  top: -3px;
  left: 87px;
  width: 6px;
  height: 92px;
  animation: rotate 0s linear forwards infinite;
  transform-origin: bottom center;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.container.grow {
  animation: grow 1s linear forwards;
}
@keyframes grow {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.7);
  }
}
.container.shrink {
  animation: shrink 1s linear forwards;
}
@keyframes shrink {
  from {
    transform: scale(1.7);
  }
  to {
    transform: scale(1);
  }
}
