.menu {
  background-color: #ffffff;
  opacity: 0.8;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
  padding: 0 2.5rem;
}
.menu h1 {
  margin: 0;
  text-align: center;
  color: #2c3e50;
}
@media screen and (min-width: 490px) {
  .menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
.menu__list {
  display: flex;
  justify-content: center;
  padding-bottom: 0.5rem;
}
.menu__item {
  list-style-type: none;
  padding: 0 0.7rem;
}
.menu__link {
  text-decoration: none;
  color: #2c3e50;
}

body {
  background-color: #2c3e50;
  margin: 0;
  line-height: 1.5;
  font-size: 1.1rem;
}

.daylight {
  background-color: #d9d9d9;
}

.avatar {
  margin-right: auto;
  margin-left: auto;
  width: 300px;
  padding-top: 1.2rem;
  display: flex;
  justify-content: center;
  -webkit-animation: float 6s ease-in-out infinite;
          animation: float 6s ease-in-out infinite;
}
.avatar__image {
  width: 80%;
}
@media screen and (min-width: 490px) {
  .avatar__image {
    width: 300px;
  }
}

.is-active a::after {
  content: "";
  display: block;
  height: 1px;
  left: 50%;
  background-color: #e74c3c;
}

.image-container img {
  background-position: center center;
  background-attachment: fixed;
  width: 100%;
  height: 100vh;
}

.main__page {
  display: none;
}
.main__page.is-active {
  display: block;
}
.main__page.is-active h2 {
  position: absolute;
  top: 10%;
}
.main__page.is-active img {
  position: absolute;
  top: 0;
  z-index: -1;
  margin-top: 0;
}

.timer {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.timer__time input {
  text-align: center;
  font-size: 1.5rem;
  padding: 0.5rem 0;
}
@media screen and (min-width: 490px) {
  .timer__time input {
    font-size: 2rem;
  }
}
.timer__clear {
  display: flex;
  justify-content: center;
}
.timer__time, .timer__buttons, .timer__clear {
  margin-left: auto;
  margin-right: auto;
}
@media screen and (min-width: 490px) {
  .timer__time, .timer__buttons, .timer__clear {
    display: flex;
    justify-content: center;
  }
}
.timer__buttons {
  display: grid;
  grid-template-columns: 1fr;
}
@media screen and (min-width: 490px) {
  .timer__buttons {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (min-width: 980px) {
  .timer__buttons {
    grid-template-columns: repeat(3, 1fr);
  }
}
.timer__btn, .timer__cleartime, .timer__stop {
  background-color: transparent;
  border: 2px solid #e74c3c;
  border-radius: 0.3rem;
  color: #e74c3c;
  font-size: 1.1rem;
  margin: 0.8rem;
  padding: 0.9rem 1.3rem;
  transition: box-shadow 300ms ease-in-out, color 300ms ease-in-out;
}
@media screen and (min-width: 490px) {
  .timer__btn, .timer__cleartime, .timer__stop {
    padding: 1rem 2.6rem;
  }
}
.timer__btn:hover, .timer__cleartime:hover, .timer__stop:hover {
  box-shadow: 0 0 40px 40px #e74c3c inset;
  color: #ffffff;
}
.timer__countdown {
  background-color: transparent;
  border: 2px solid #e74c3c;
  border-radius: 0.3rem;
  color: #e74c3c;
  margin: 0.9rem;
}
.timer__settime h4 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 0;
  margin-top: 0;
}

.toggle__btn {
  position: absolute;
  right: 5%;
  bottom: 5%;
  width: 3.1rem;
  height: 1.5rem;
  border-radius: 2.5rem;
}
.toggle__btn span {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  overflow: hidden;
  opacity: 1;
  background-color: #ffffff;
  box-shadow: 0px 1px 15px #d9d9d9;
  border-radius: 2.5rem;
  transition: 0.2s ease background-color, 0.2s ease opacity;
}
.toggle__btn span:before,
.toggle__btn span:after {
  content: "";
  position: absolute;
  top: 1px;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  transition: 0.5s ease transform, 0.2s ease background-color;
}
.toggle__btn span:before {
  background-color: #ffffff;
  transform: translate(-22px, 0px);
}
.toggle__btn span:after {
  background-color: #000000;
  transform: translate(2px, 0px);
  z-index: 0;
}
.toggle__btn input[type=checkbox]:checked + span {
  background-color: #2c3e50;
}
.toggle__btn input[type=checkbox]:active + span {
  opacity: 0.5;
}
.toggle__btn input[type=checkbox]:checked + span:after {
  background-color: #ffffff;
  transform: translate(20px, 0px);
}

input[type=checkbox] {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
}

@-webkit-keyframes float {
  0% {
    transform: translatey(0px);
  }
  25% {
    transform: translatex(5px);
  }
  50% {
    transform: translatey(-10px);
  }
  75% {
    transform: translatex(-5px);
  }
  100% {
    transform: translatey(0px);
  }
}

@keyframes float {
  0% {
    transform: translatey(0px);
  }
  25% {
    transform: translatex(5px);
  }
  50% {
    transform: translatey(-10px);
  }
  75% {
    transform: translatex(-5px);
  }
  100% {
    transform: translatey(0px);
  }
}/*# sourceMappingURL=style.css.map */