/*-- Basics --*/
body {
  font-family: soleil, sans-serif;
  background: linear-gradient(
    180deg,
    rgba(161, 202, 207, 1) 0%,
    rgba(232, 221, 167, 1) 35%,
    rgba(133, 71, 90, 1) 100%
  );
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
  font-size: 2rem;
  font-weight: 200;
  margin: 0;
  overflow-x: hidden;
}

.header {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  justify-content: space-between;
  padding: 30px 30px 30px 30px;
  align-items: center;
  z-index: 10;
}

/*-- TYPO --*/
h1 {
  font-size: 19vw;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

h2 {
  font-size: 9vw;
  font-weight: 600;
  margin: 0;
  line-height: 1.1;
}

h3 {
  font-size: 3vw;
  font-weight: 200;
  margin: 0;
  line-height: 1.3;
}

p {
  padding: 8px;
  font-weight: 400;
  font-size: 28px;
  margin: 0px;
}

a {
  font-size: 20px;
  font-weight: 400;
  color: rgba(161, 202, 207, 1) !important;
  text-decoration: none;
  font-size: 28px;
}

.a:hover {
  color: #b3627a !important;
}

.tx-footer {
  color: #818181;
  font-size: 28px;
  font-weight: 200;
  padding: 0px 45px 20px 45px;
}

/*-- Header --*/
.burger {
  width: 50px;
  transition-property: all;
  transition-duration: 0.2s;
  transition-timing-function: ease;
}

.burger:hover {
  transform: scale(1.1) rotate(62deg);
  transform-origin: center;
  cursor: pointer;
}

.fa-play {
  color: rgba(255, 255, 255, 0.8) !important;
}

.fa-pause {
  color: rgba(255, 255, 255, 0.8) !important;
}

/*-- Align/Transform --*/
.tx-center {
  text-align: center;
}

.center {
  margin: auto;
  width: 80%;
}

.side-margin {
  margin: 0px 40px 40px 40px;
}

.spacing {
  margin: 10vh 0px 10vh 0px;
}

.rot15 {
  transform: rotate(-12.5deg);
  transform-origin: center left;
}

.rot-15 {
  transform: rotate(12.5deg);
  transform-origin: center left;
}

.rot90 {
  transform: rotate(-270deg);
  transform-origin: top left;
}

/*-- Containers --*/
/* Intro */
.sun {
  position: absolute;
  top: -10vh;
  right: -10vh;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(
    circle,
    rgba(255, 214, 0, 0.7) 0%,
    rgba(248, 107, 47, 0.4) 100%
  );
  border-radius: 50%;
  z-index: -10;
  box-shadow: 0px 0px 200px #dba632;
}

.ball {
  position: absolute;
  top: -10vh;
  left: -10vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(
    circle,
    rgba(244, 43, 103, 0.7) 0%,
    rgba(244, 22, 218, 0.666) 100%
  );
  border-radius: 50%;
  z-index: -12;
  box-shadow: 0px 0px 20px #ee39bb;
}

.ball2 {
  position: absolute;
  bottom: 0vh;
  right: -10vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(
    circle,
    rgba(244, 43, 103, 0.7) 0%,
    rgba(244, 22, 218, 0.666) 100%
  );
  border-radius: 50%;
  z-index: -12;
  box-shadow: 0px 0px 20px #ee39bb;
}

.intro-txt {
  transform: rotate(75deg) translate(-3vw, 21vw);
  transform-origin: right bottom;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cont1 {
  margin-top: 5vw;
  margin-left: -0.7vw;
  transform-origin: left top;
}

.cont2 {
  margin-top: 25vw;
  margin-left: 1.7vw;
  transform-origin: left top;
}

/*-- Lyrics --*/
.wrapper {
  padding: 0px 3vw 10vw 3vw;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(6, 1fr);
  row-gap: 5vh;
}

.wrapper * {
  min-width: 0;
  display: grid;
  align-self: center;
}

/* Math */
.cont3 {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

/* Division */
.cont4 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

/* Countdown */
.cont5 {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
}

.countd {
  width: 150%;
  grid-column: 1 / 2;
  grid-row: 3 / 4;
  align-self: start !important;
  transform: rotate(-12.5deg);
}

/* Prism */
.cont6 {
  grid-column: 2 / 3;
  grid-row: 4 / 5;
}

.prism {
  background: linear-gradient(
    110deg,
    rgba(252, 74, 74, 1) 0%,
    rgba(244, 238, 91, 1) 25%,
    rgba(112, 244, 91, 1) 50%,
    rgba(91, 171, 244, 1) 75%,
    rgba(204, 91, 244, 1) 100%
  );
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Magician */
.cont7 {
  grid-column: 1 / 2;
  grid-row: 5 / 6;
}

/* Aim */
.cont8 {
  grid-column: 2 / 3;
  grid-row: 6 / 7;
}

/*-- Footer --*/
.forest {
  width: 100vw;
  height: auto;
  transform: translateY(20px);
}

.black {
  background-color: black;
  padding: 50px 30px 50px 30px;
}

/*-- Animations --*/
.sun {
  animation: wander 15s ease-in-out 0ms;
  animation-iteration-count: infinite;
}

@keyframes wander {
  0% {
    transform: translate(0px, 0px);
  }
  40% {
    transform: translate(-55vw, 43vh);
  }
  60% {
    transform: translate(-55vw, 43vh);
  }
  100% {
    transform: translate(0px, 0px);
  }
}

.ball {
  animation: wander2 3s linear 0s;
  animation-iteration-count: infinite;
  opacity: 0;
}

.ball2 {
  animation: wander2 3s linear 5s;
  animation-iteration-count: infinite;
  opacity: 0;
}

@keyframes wander2 {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  20% {
    opacity: 0;
  }
  25% {
    opacity: 0.5;
  }
  30% {
    opacity: 0;
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/*--  --*/
.intro-txt {
  animation: flicker 2s ease-in-out 0s;
  animation-iteration-count: infinite;
  opacity: 0.1;
}

@keyframes flicker {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 0.3;
  }
}

.cont1 {
  animation: comin 2s ease-in-out 0s;
  animation-iteration-count: infinite;
  opacity: 1;
}

.cont2 {
  animation: comin 2s ease-in-out 0s;
  animation-iteration-count: infinite;
  opacity: 1;
}

@keyframes comin {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/*--  --*/
.math-txt {
  animation: explode 1s infinite;
  opacity: 1;
}

@keyframes explode {
  0% {
    transform: scale(1, 1);
  }
  80% {
    transform: scale(10, 10);
    opacity: 0;
  }
  90% {
    transform: scale(1, 1);
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*--  --*/
.divi1 {
  animation: divison1 1s ease-in-out 200ms;
  animation-iteration-count: infinite;
}

.divi2 {
  animation: divison2 1s ease-in-out 200ms;
  animation-iteration-count: infinite;
}

@keyframes divison1 {
  0% {
    transform: translate(0px, 0px);
  }
  20% {
    transform: translate(-80px, 0px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}

@keyframes divison2 {
  0% {
    transform: translate(0px, 0px);
  }
  20% {
    transform: translate(80px, 0px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}
/*--  --*/
.countd {
  animation: countdrot 2s ease-in-out 200ms;
  animation-iteration-count: infinite;
}

@keyframes countdrot {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*--  --*/
.prism {
  background: linear-gradient(
    to right,
    rgba(252, 74, 74, 1),
    rgba(244, 238, 91, 1),
    rgba(112, 244, 91, 1),
    rgba(91, 171, 244, 1),
    rgba(204, 91, 244, 1),
    rgba(252, 74, 74, 1)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 400% 100%;

   /* 
  background: linear-gradient(
    20deg,
    rgba(252, 74, 74, 1) 0%,
    rgba(244, 238, 91, 1) 20%,
    rgba(112, 244, 91, 1) 40%,
    rgba(91, 171, 244, 1) 60%,
    rgba(204, 91, 244, 1) 80%,
    rgba(252, 74, 74, 1) 100%
  );
  
 background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  */
  animation: shine 8s ease-in-out infinite;
  opacity: 0.8;
}

@keyframes shine {
  0%,100% {
    background-position: 0 0;
}

50% {
    background-position: 100% 0;
}

  /* to {
    background-position: 200% center;
  } */
}

/*--  --*/
.hide {
  animation: hide 2s linear infinite;
  opacity: 1;
}

@keyframes hide {
  0% {
    opacity: 1;
  }
  10% {
    opacity: 0.2;
  }
  20% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  70% {
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  90% {
    opacity: 0.2;
  }
  100% {
    opacity: 1;
  }
}

/*--  --*/
.prec-txt {
  animation: rot-prec 2s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes rot-prec {
  0% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(-10deg);
  }
  40% {
    transform: rotate(-12.5deg);
  }
  50% {
    transform: rotate(-12.5deg);
  }
  80% {
    transform: rotate(-360deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

/*-- Menu --*/

ul {
  list-style: none;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  padding-left: 0px;
}

li {
  font-size: 2rem;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.276);
  margin: 10px;
  min-width: 150px;
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.349);
}

ul li a {
  color: white;
  text-decoration: none;
}

ul li:hover {
  background-color: rgba(255, 255, 255, 0.418);
}

/* The Overlay (background) */
.overlay {
  height: 100%;
  width: 0%;
  position: fixed;
  z-index: 20;
  left: 0;
  top: 0;
  background-color: rgb(0, 0, 0); /* Black fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/opacity */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition-property: all;
  transition-duration: 300ms;
  transition-timing-function: ease;
  transform-origin: right;
}

.boxbtns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 45px 0px 45px;
}

.box-overlay-content {
  padding: 0px 45px 20px 45px;
}

.overlay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: left;
  margin-top: 10px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 24px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover,
.overlay a:focus {
  color: #b3627a;
}

.homebtn {
  position: relative;
  font-size: 28px !important;
  font-weight: 600 !important;
  color: rgba(161, 202, 207, 1) !important;
}

.homebtn:hover {
  color: #b3627a !important;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: relative;
  font-size: 60px;
}

/* Media Queries */
@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px;
  }

  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }

  .tx-footer {
    color: #818181;
    font-size: 20px;
    display: flex;
  }
}
