@font-face {
  font-family: Header;
  src: url(../font/Gistesy.ttf);
}

.container {
  font-family: "poppins";
}

.header {
  background-image: url("../img/bg3.png");
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-position: center center;
  background-color: rgba(0, 0, 0, 0.5);
  background-attachment: scroll;
  background-repeat: no-repeat;
  height: 100vh;
}

.header h1 {
  font-size: 50px;
  position: absolute;
  right: 0%;
  left: 0%;
  bottom: 66%;
  color: #6a7a5b;
  text-align: center;
  font-family: "header";
}

.header p {
  font-size: 20px;
  position: absolute;
  bottom: 75%;
  left: 0%;
  right: 0%;
  color: #545454;
  text-align: center;
  font-family: "poppins";
}

.header h6 {
  font-size: 20px;
  position: absolute;
  bottom: 62%;
  left: 0%;
  right: 0%;
  color: #545454;
  text-align: center;
  font-family: "poppins";
}

.header .qoutes {
  position: absolute;
  top: 50%;
  justify-content: center;
  align-items: center;
}

.main {
  padding-top: 10%;
  padding-bottom: 5%;

  text-align: center;
  color: #fff;
  font-family: "poppins";
  border-radius: 50px;
}

#clock > div {
  background-color: rgba(247, 243, 243, 0.705);
  border-radius: 10px;
  padding: 20px 20px 10px 20px;
  color: #000;
  display: inline-block;
}
#clock > div > p {
  font-size: 17px;
  font-family: "poppins";
}
#days,
#hours,
#minutes,
#seconds {
  border-radius: 50%;
  font-size: 20px;
  display: inline-block;
  width: 40px;
}
span.turn {
  animation: turn 0.7s ease;
}
@keyframes turn {
  0% {
    transform: rotateX(0deg);
  }
  100% {
    transform: rotateX(360deg);
  }
}

.opening p {
  position: absolute;
  top: 30px;
  font-size: 20px;
}

.opening h1 {
  font-family: "Header";
  font-size: 50px;
  position: absolute;
  left: 0%;
  right: 0%;
  bottom: 39%;
  color: #6a7a5b;
}

.opening h5 {
  position: absolute;
  left: 0%;
  right: 0%;
  top: 20%;
  color: #545454;
}

.opening h6 {
  font-size: 25px;
  color: #545454;
  position: absolute;
  left: 0%;
  right: 0%;
  bottom: 83%;
}

.btn-opening1 {
  color: #fff;
  font-size: 20px;
  position: absolute;
  bottom: 18%;
  font-family: "poppins";
  background-color: #545454;
}

body#index.opening-show {
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}

body#index.opening-hide {
  min-height: 100vh;
  max-height: unset;
}

body#index.opening-hide section#opening {
  animation: opening-hide 2s ease-in-out forwards;
}

body#index section#opening {
  padding: 8rem 0 0;
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 9999;
  background-image: url("../img/bg.png");
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-position: center center;
  background-attachment: scroll;
  background-repeat: no-repeat;
  min-height: 100vh;

  overflow-x: hidden;
  overflow-y: auto;
  transition: all 0.3s ease-in;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

body#index section#opening .container {
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 8rem;
}

body#index section#opening .decoration {
  position: absolute;
  font-size: 5px;
  z-index: 1;
}

@keyframes opening-hide {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(0.5rem);
  }

  100% {
    transform: translateY(-100%);
    opacity: 1;
  }
}

.btn#btn-play {
  position: fixed;
  bottom: 1rem;
  left: 0.5rem;
}

.btn.btn-light {
  border: unset;
  width: 2.5rem !important;
  height: 2.5rem !important;
  padding: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 999;
  box-shadow: unset !important;
  background-color: rgba(0, 0, 0, 0.8);
}

.btn.btn-light.active i {
  color: #7a9577;
}

.btn.btn-light:focus {
  box-shadow: unset;
}

.btn.btn-light i {
  color: #fdfdfd;
}

.btn.btn-dark {
  background-color: #545454;
}

.thanks h1 {
  font-size: 40px;
  font-family: "header";
  color: #fff;
}
