html {
  box-sizing: initial;
  font-size: 100%;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  height: 100vh;
  width: 100vw;
  min-width: 22.5rem;
  min-height: 30.6rem;
  margin: 0;
  padding: 0;
  font-family: "Red Hat Text", sans-serif;
  background-color: #1e1f29;
  background-image: url(../images/bg-stars.svg);
  background-repeat: no-repeat;
  background-size: 250%;
  background-position: bottom 60vh left 0%;
}

@media (min-width: 40em) {
  body {
    background-size: 150%;
  }
}

@media (min-width: 64em) {
  body {
    background-size: 100%;
  }
}

.__button {
  text-transform: uppercase;
  background-color: #343650;
  padding: 0.4rem 0.8rem;
  font-family: "Red Hat Text", sans-serif;
  color: #fb6087;
  border: 2px dashed #8486a9;
  border-radius: 1rem;
  cursor: pointer;
}

.__button:hover {
  background-color: #191a24;
  border: 2px solid #fb6087;
  transition: 200ms ease-in-out;
}

.set-countdown {
  /*visibility: hidden; Need to change back this*/
  position: absolute;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3rem;
  height: auto;
}

.form-set-countdown {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 12.5rem;
  padding: 1.5rem;
  margin: auto;
  font-family: "Red Hat Text", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  text-align: center;
  color: white;
  background: #343650;
  border-radius: 1rem;
}

label,
input {
  margin: 0.75rem 1rem;
}

.__submit {
  width: 8rem;
}

.countdown {
  display: none;
  position: relative;
}

.__reset {
  position: absolute;
  right: 50px;
  top: 32px;
}

.__title {
  margin: auto;
  padding: 8.75rem 0 3.475rem 0;
  width: 16.25rem;
  font-family: "Red Hat Text", sans-serif;
  font-size: 1rem;
  text-align: center;
  letter-spacing: 0.4rem;
  color: white;
}

@media (min-width: 40em) {
  .__title {
    width: 30rem;
    font-size: 1.25rem;
  }
}

.__cards-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 90%;
  height: 100px;
  margin: auto;
}

@media (min-width: 40em) {
  .__cards-wrapper {
    width: 45rem;
    margin: auto;
  }
}

.counter__container {
  width: 4.5rem;
}

@media (min-width: 40em) {
  .counter__container {
    width: 5.5rem;
    height: 5.5rem;
  }
}

@media (min-width: 64em) {
  .counter__container {
    width: 8.75rem;
    height: 8.75rem;
  }
}

.__text {
  text-transform: uppercase;
  font-family: "Red Hat Text", sans-serif;
  letter-spacing: 0.2rem;
  font-size: 0.4375rem;
  color: #8486a9;
  text-align: center;
  padding-top: 1rem;
}

@media (min-width: 40em) {
  .__text {
    font-size: 0.875rem;
  }
}

@media (min-width: 64em) {
  .__text {
    font-size: 1rem;
    padding-top: 3rem;
  }
}

.__time {
  width: 4.5rem;
  height: 4.5rem;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.875rem;
  color: #fb6087;
}

@media (min-width: 40em) {
  .__time {
    width: 5.5rem;
    height: 5.5rem;
    font-size: 2.8rem;
  }
}

@media (min-width: 64em) {
  .__time {
    width: 8.75rem;
    height: 8.75rem;
    font-size: 3.5rem;
  }
}

#seconds {
  transform-origin: center;
}

#_seconds {
  transform-origin: center;
}

.__card-bg {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  perspective: 23rem;
  background-color: #343650;
  border-radius: 5px;
  filter: drop-shadow(0px 10px 1px black);
}

@media (min-width: 40em) {
  .__card-bg {
    width: 5.5rem;
    height: 5.5rem;
  }
}

@media (min-width: 64em) {
  .__card-bg {
    width: 8.75rem;
    height: 8.75rem;
  }
}

.__top {
  width: 4.5rem;
  height: 2.25rem;
  border-radius: 5px;
  position: absolute;
}

.__top::after {
  content: " ";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 0 100% 0 0;
  background-color: #191a24;
  z-index: 2;
}

.__top::before {
  content: " ";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 100% 0 0 0;
  background-color: #191a24;
  z-index: 2;
}

@media (min-width: 40em) {
  .__top {
    width: 5.5rem;
    height: 2.75rem;
  }
}

@media (min-width: 64em) {
  .__top {
    width: 8.75rem;
    height: 4.375rem;
  }
}

.__bottom {
  width: 4.5rem;
  height: 2.25rem;
  border-radius: 5px;
  position: absolute;
  background-color: #343650;
  filter: contrast(0.9);
}

.__bottom::after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 0 0 100% 0;
  background-color: #191a24;
  z-index: 2;
}

.__bottom::before {
  content: " ";
  position: absolute;
  top: 0;
  right: 0;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 0 0 0 100%;
  background-color: #191a24;
  z-index: 2;
}

@media (min-width: 40em) {
  .__bottom {
    width: 5.5rem;
    height: 2.75rem;
  }
}

@media (min-width: 64em) {
  .__bottom {
    width: 8.75rem;
    height: 4.375rem;
  }
}

.__top {
  top: 0;
  background-color: #343650;
  opacity: 1;
  transform-origin: bottom;
}

.__bottom {
  bottom: 0;
  background-color: #343650;
  opacity: 1;
  transform-origin: top;
}

@keyframes flippinCardTop {
  0% {
    transform: rotate3d(0);
  }
  50% {
    transform: rotate3d(-1, 0, 0, 90deg);
  }
  100% {
    transform: rotate3d(-1, 0, 0, 90deg);
  }
}

@keyframes flippinCardBottom {
  0% {
    transform: rotate3d(1, 0, 0, 90deg);
  }
  50% {
    transform: rotate3d(1, 0, 0, 90deg);
  }
  100% {
    transform: rotate3d(0);
  }
}

.__animation-top {
  animation: 1000ms linear 0s 1 normal none running flippinCardTop;
}

.__animation-bottom {
  animation: 1000ms linear 1000ms 1 normal none running flippinCardBottom;
}

.__animation-top-infinite {
  animation: 1000ms linear 0s infinite normal none running flippinCardTop;
}

.__animation-bottom-infinite {
  animation: 1000ms linear 1000ms infinite normal none running flippinCardBottom;
}

footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100vw;
  background-image: url(../images/pattern-hills.svg);
  background-repeat: no-repeat;
  background-size: cover;
}

.media-wrapper {
  display: flex;
  flex-direction: row;
  margin: 2.8rem;
  justify-content: center;
}

.__media-link {
  margin: 0 1rem;
}

.__media-link svg path {
  transition: fill 200ms ease-in-out;
}

.__media-link:hover svg path {
  fill: #fb6087;
}
/*# sourceMappingURL=style.css.map */