/* == Smalcode ==*/

/* Gemeral */
* {
  margin: 0;
  box-sizing: border-box;
}

html {
  color: #2D3047;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  height: 100vh;
  overflow: hidden;
}


video {
  object-fit: cover;
  object-position: center;
  content: " ";
  width: 100%;
  height: 100%;
  border-radius: 48px;
  padding: 30px;
}

img {
  width: 100%;
  height: auto;
}

/* Animation */

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


#page-countdown {
  position: relative;
  height: 100vh;
}


/* == Page Welcome == */
#section-welcome {
  position: relative;
  height: 100%;
  opacity: 0;
  z-index: 0;
}


.content-top {
  margin: 0 auto;
  width: 100%;
  padding-top: 10vh;
  position: absolute;
  top: 0;
}


.logo-enp {
  width: 180px;
  transform: translateX(-4px);
  padding-bottom: 32px;
  margin: 0 auto;
  display: block;
}



.content-top .title {
  font-size: 42px;
  text-align: center;
  font-weight: 500;
}



.content-bottom {
  position: absolute;
  bottom: 11vh;
  margin: 0 auto;
  display: block;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.content-bottom p {
  font-size: 24px;
  line-height: 160%;
  color: #5F6062;
  padding-bottom: 8px;

}

.content-bottom #timer {
  font-size: 96px;
  line-height: 110%;
  letter-spacing: -0.02em;
  padding: 0;
  color: #2D3047;
}



button.submit-time {
  width: 30%;
  font-family: 'Roboto';
  color: #5F6062;
  display: none;
}

.submit-time.show {
  display: block;
  margin: 0 auto;
  margin-top: 10px;
}

#timer-value {
  display: none;
}

#timer-value.show {
  display: block;
  margin: 0 auto;
}

#time-section {
  display: none;
}

#time-section.show {
  display: block;
}

/* == Section Start  ==*/
#section-start {
  height: 100%;
  position: relative;
  opacity: 0;
  z-index: 0;
}

#section-start video {
  padding: 0;
  border-radius: 0;
}

/* == Section End  ==*/
#section-end {
  height: 100%;
  position: relative;
  opacity: 0;
  z-index: 0;
}

.logo-end {
  bottom: 19vh;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 0;
  width: 240px;
}

@media only screen and (max-width: 767px) {
  .content-top .title {
    width: 90%;
    margin: 0 auto;
    font-size: 32px;
  }

  .content-bottom #timer {
    font-size: 65px;
  }

  .logo-enp {
    padding-bottom: 1vh;
  }
}

#page-countdown.welcome #section-welcome {
  opacity: 1;
  position: absolute;
  top: 0;
  z-index: 1;

}

#page-countdown.start #section-welcome .content-top {
  transform: translateY(-20px);
  transition: all 0.5s ease-in-out;
}

#page-countdown.start #section-welcome {
  transition: all 1s ease-out;
}

#page-countdown.start #section-start {
  opacity: 1;
  position: absolute;
  top: 0;
  z-index: 1;
  transition: all 1s ease-out;
}


#page-countdown.end #section-end {
  opacity: 1;
  position: absolute;
  top: 0;
  z-index: 1;
  transition: all 1s ease-out;
}

#page-countdown.end #section-end video {
  transition: all 5s ease-out;
}