@import url("https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@100;400&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
    font-family: 'Bitter', serif;
}
.rainbow {
  margin-top: 20px;
  padding-bottom: -30px;
}
#dateSlider {
    margin-left: 50px;
    font-size: 1.2rem;
    margin-bottom: 0px;
}
.sidebar {
  position: fixed;
  /* left: 0; */
  left: -250px; /* checkboxを実装するとき */
  background: rgba(17, 37, 75, 0.623);
  width: 250px;
  height: 100%;
  transition: all 0.5s;
  z-index: 500;
}

.sidebar header {
  color: #ffffff00;
  text-align: center;
  line-height: 0px;
  user-select: none;
}

.sidebar ul a {
  display: block;
  height:40px;
  width 40px;
  line-height: 45px;
  font-size: 18px;
  color: #fff;
  padding-left: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.61);
  border-bottom: 1px solid  rgba(255, 255, 255, 0.61);
  transition: 0.4s;
  z-index: 500000000000000000000;
  text-align: left;
}

ul li:hover a {
  padding-right: 5px;
  color: #03cff3;
}
.sidebar ul a i {
  margin-right: 0px;
}

#check {
  display: none;
}

label #btn,
label #cancel {
  position: fixed;
  cursor: pointer;
  background: hsla(214, 100%, 52%, 0.39);
  border-radius: 3px;
  z-index: 5000000000000000000000000000000000000000000000000000000000000;
}

label #btn {
  position: fixed;
  left: 5px;
  top: 20px;
  font-size: 25px;
  color: #ffffff;
  padding: 6px 12px;
  transition: all 0.5s;
  z-index: 9000000000000000000000000000000000000000000000000000000000000000000000000000000000;
}

label #cancel {
  z-index: 10;
  /* left: 195px; 見やすいように最初はこれ*/
  left: -195px;
  top: 17px;
  font-size: 30px;
  color: #fff;
  padding: 4px 9px;
  transition: all 0.5s;
  z-index: 50000000000000000000000000000000000000000000000000;
}

#check:checked ~ .sidebar {
  left: 0;
}

#check:checked ~ label #btn {
  left: 250px;
  opacity: 0;
  pointer-events: none;
}

#check:checked ~ label #cancel {
  left: 195px;
}

#check:checked ~ section {
  margin-right: 250px;
}

section {
  height: 100vh;
  background: url("./bg.jpg");
  background-size: cover;
  background-position: center;
  transition: all 0.5s;
}
.moon {
  margin-top: 280px;
  color: #f6fa17e1;
}
.fullm {
  margin-top: -20px;
}
.seiza-a {
  margin: 40px auto 10px;
}
.seiza-b {
  margin: 0px auto 10px;
}
.yf {
  margin: 20px auto 20px;
}
/* フッター
------------------------------- */
.ffff {
  margin-left: 40px;
    width: 280px;
    z-index: 5000000000000000000000000000000000000000000000000000000000000000000000;
}
footer {
  position: fixed;
  bottom: 0px;
    width: 100%;
    background: #dadbe000;
    padding: 18px 0;
    box-shadow: 0 0 2rem var(--brown);
}

