body {
  background-color: #FF8;
  font: 20px Arial;
  color: #000;
}

a:link {
  text-decoration: none;
  color: #000;
}

a:visited {
  text-decoration: none;
  color: #000;
}

a:hover {
  text-decoration: none;
  color: #000;
}


a:active {
  text-decoration: none;
  color: #000;
}

/* GENERAL INFORMATIONS

     ORDER

       POSITION
       WIDTH
       HEIGHT
       TOP
       BOTTOM
       LEFT
       RIGHT
       Z-INDEX

       BORDER-RADIUS
       TRANSFORM
       BORDER-TOP
       BORDER-BOTTOM
       BORDER-LEFT
       BORDER-RIGHT

       BACKGROUND-COLOR
       OPACITY

       ANIMATION
       TRANSITION

       DISPLAY
       JUSTIFY-CONTENT
       ALIGN-ITEMS
       FONT
       COLOR
*/

/* INDEX DIVS */

#indexLoading1 {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 8;
  background-color: #000;
  animation: indexLoading1 8s linear;
  animation-fill-mode: forwards;
  -webkit-animation: indexLoading1 8s linear;
  -webkit-animation-fill-mode: forwards;
  -moz-animation: indexLoading1 8s linear;
  -moz-animation-fill-mode: forwards;
}

#indexLoading2 {
  position: absolute;
  left: calc(50% - 35px);
  top: calc(50% - 35px);
  z-index: 9;
  animation: indexLoading2 6.5s linear;
  animation-fill-mode: forwards;
  -webkit-animation: indexLoading2 6.5s linear;
  -webkit-animation-fill-mode: forwards;
  -moz-animation: indexLoading2 6.5s linear;
  -moz-animation-fill-mode: forwards;
}

#indexLoading3 {
  position: absolute;
  width: 400px;
  height: 30px;
  left: calc(50% - 200px);
  top: 75%;
  z-index: 9;
  animation: indexLoading3 6s linear;
  animation-fill-mode: forwards;
  -webkit-animation: indexLoading3 6s linear;
  -webkit-animation-fill-mode: forwards;
  -moz-animation: indexLoading3 6s linear;
  -moz-animation-fill-mode: forwards;
  color: #FB0;
}

#indexBG1 {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 0px;
  left: 0px;
  z-index: 1;
}

#indexBG2 {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 0px;
  left: 50%;
  z-index: 1;
}

#indexBG3 {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 50%;
  left: 0px;
  z-index: 1;
}

#indexBG4 {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 50%;
  left: 50%;
  z-index: 1;
}

#indexCore1 {
  position: absolute;
  width: 250px;
  height: 250px;
  top: calc(50% - 125px);
  left: calc(50% - 125px);
  z-index: 2;
  border-radius: 125px;
  background-color: #FA0;
  animation: indexCore1 1s infinite linear;
  -webkit-animation: indexCore1 1s infinite linear;
  box-shadow: 0 0 300px #F00;
  -webkit-box-shadow: 0 0 300px #F00;
}

#indexCore2 {
  position: absolute;
  width: 150px;
  height: 150px;
  top: calc(50% - 75px);
  left: calc(50% - 75px);
  z-index: 3;
  background-color: #FB0;
  animation: indexCore2 2s infinite linear;
  -webkit-animation: indexCore2 2s infinite linear;
  -moz-animation: indexCore2 2s infinite linear;
}

#indexCore3 {
  position: absolute;
  width: 150px;
  height: 150px;
  top: calc(50% - 75px);
  left: calc(50% - 75px);
  z-index: 4;
  background-color: #FC0;
  animation: indexCore3 2s infinite linear;
  -webkit-animation: indexCore3 2s infinite linear;
  -moz-animation: indexCore3 2s infinite linear;
}

#indexCore4 {
  position: absolute;
  width: 50px;
  height: 50px;
  top: calc(50% - 25px);
  left: calc(50% - 25px);
  z-index: 5;
  border-radius: 25px;
  background-color: #FA0;
  animation: indexCore4 2s infinite linear;
  -webkit-animation: indexCore4 2s infinite linear;
  -moz-animation: indexCore4 2s infinite linear;
}

#indexTitle1 {
  position: absolute;
  width: 20px;
  height: 100px;
  top: 40px;
  left: calc(35% - 4px);
  z-index: 2;
  transform: skew(-20deg);
  -webkit-transform: skew(-20deg);
  -moz-transform: skew(-20deg);
  background: #000;
  transition: all 0.2s;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
}

#indexTitle2 {
  position: absolute;
  width: 20px;
  height: 100px;
  top: 40px;
  left: calc(35% + 56px);
  z-index: 2;
  transform: skew(20deg);
  -webkit-transform: skew(20deg);
  -moz-transform: skew(20deg);
  background-color: #000;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
}

#indexTitle3 {
  position: absolute;
  width: 24px;
  height: 0;
  top: 80px;
  left: calc(35% + 17px);
  z-index: 2;
  border-bottom: 20px solid #000;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
}

#indexTitle4 {
  position: absolute;
  width: 290px;
  height: 40px;
  top: 100px;
  left: calc(35% + 110px);
  z-index: 0;
  font-size: 40px;
}

#indexGame1 {
  position: absolute;
  width: 200px;
  height: 150px;
  top: 10%;
  left: 10%;
  z-index: 2;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  background-color: #FA0;
  display: flex;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
  font-size:25px;

}

#indexGame2 {
  position: absolute;
  width: 200px;
  height: 150px;
  top: 10%;
  left: calc(90% - 200px);
  z-index: 2;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  background-color: #FA0;
  display: flex;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
  font-size:25px;
}

#indexGame3 {
  position: absolute;
  width: 200px;
  height: 150px;
  top: calc(90% - 150px);
  left: 10%;
  z-index: 2;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  background-color: #FA0;
  display: flex;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
  font-size:25px;
}

#indexGame4 {
  position: absolute;
  width: 200px;
  height: 150px;
  top: calc(90% - 150px);
  left: calc(90% - 200px);
  z-index: 2;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  background-color: #FA0;
  display: flex;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
  font-size:25px;
}

#indexLogIn {
  position: absolute;
  width: 150px;
  height: 30px;
  top: 80%;
  left: calc(50% - 75px);
  z-index: 2;
  background-color: #FA0;
  display: flex;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
}

#indexRegister {
  position: absolute;
  width: 150px;
  height: 30px;
  top: calc(80% + 50px);
  left: calc(50% - 75px);
  z-index: 2;
  background-color: #FA0;
  display: flex;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
}

#indexStyleBlack1 {
  position: absolute;
  width: 40px;
  height: 40px;
  top: calc(50% - 170px);
  left: calc(50% - 20px);
  z-index: 7;
  border-radius: 20px;
  background-color: #000;
  opacity: 0.5;
}

#indexStyleBlack2 {
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  z-index: 6;
  background-color: #000;
  opacity: 0.2;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
}

#indexStyleBlue1 {
  position: absolute;
  width: 40px;
  height: 40px;
  top: calc(50% - 20px);
  left: calc(50% - 170px);
  z-index: 7;
  border-radius: 20px;
  background-color: #00F;
  opacity: 0.5;
}

#indexStyleBlue2 {
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  z-index: 6;
  background-color: #00F;
  opacity: 0.2;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
}

#indexStyleGreen1 {
  position: absolute;
  width: 40px;
  height: 40px;
  top: calc(50% + 130px);
  left: calc(50% - 20px);
  z-index: 7;
  border-radius: 20px;
  background-color: #0F0;
  opacity: 0.5;
}

#indexStyleGreen2 {
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  z-index: 6;
  background-color: #0F0;
  opacity: 0.2;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
}

#indexStyleRed1 {
  position: absolute;
  width: 40px;
  height: 40px;
  top: calc(50% - 20px);
  left: calc(50% + 130px);
  z-index: 7;
  border-radius: 20px;
  background-color: #F00;
  opacity: 0.5;
}

#indexStyleRed2 {
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  z-index: 6;
  background-color: #F00;
  opacity: 0.2;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
}


/* GLOBAL DIVS */


#borderA {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  background-color: #000;
  animation: borderA 30s linear infinite;
  -webkit-animation: borderA 30s linear infinite;
  -moz-animation: borderA 30s linear infinite;

}

#borderB {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  background-color: #000;
  animation: borderB 31s linear infinite;
  -webkit-animation: borderB 31s linear infinite;
  -moz-animation: borderB 31s linear infinite;
}

#borderC {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  background-color: #000;
  animation: borderC 32s linear infinite;
  -webkit-animation: borderC 32s linear infinite;
  -moz-animation: borderC 32s linear infinite;
}

#borderD {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  background-color: #000;
  animation: borderD 33s linear infinite;
  -webkit-animation: borderD 33s linear infinite;
  -moz-animation: borderD 33s linear infinite;
}

#borderE {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  background-color: #000;
  animation: borderE 34s linear infinite;
  -webkit-animation: borderE 34s linear infinite;
  -moz-animation: borderE 34s linear infinite;
}

#borderF {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  background-color: #000;
  animation: borderF 35s linear infinite;
  -webkit-animation: borderF 35s linear infinite;
  -moz-animation: borderF 35s linear infinite;
}

#borderG {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  background-color: #000;
  animation: borderG 36s linear infinite;
  -webkit-animation: borderG 36s linear infinite;
  -moz-animation: borderG 36s linear infinite;
}

#borderH {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  background-color: #000;
  animation: borderH 37s linear infinite;
  -webkit-animation: borderH 37s linear infinite;
  -moz-animation: borderH 37s linear infinite;
}


/* INDEX KEYFRAMES */


@keyframes indexLoading1 {
  
  0% {
    height: 100%;
  }

  75% {
    height: 100%;
  }

  100% {
    height: 0;
  }
}

@keyframes indexLoading2 {
  
  0% {
    opacity: 1;
  }

  92% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes indexLoading3 {

  0% {
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  70% {
    opacity: 1;
  }
  
  100% {
    opacity: 0;
  }

}

@keyframes indexCore1 {

  0% {
    box-shadow: 0 0 300px #F00;
  }

  50% {
    box-shadow: 0 0 400px #00F;
  }

  100% {
    box-shadow: 0 0 300px #F00;
  }
}

@keyframes indexCore2 {

  0% {
    transform: rotate(0deg) scale(0.9);
  }

  50% {
    transform: rotate(45deg) scale(1.1);
  }

  100% {
    transform: rotate(90deg) scale(0.9);
  }
}

@keyframes indexCore3 {

  0% {
    transform: rotate(90deg) scale(1.1);
  }


  50% {
    transform: rotate(45deg) scale(0.9);
  }


  100% {
    transform: rotate(0deg) scale(1.1);
  }
}


/* INDEX  WEBKIT KEYFRAMES */


@-webkit-keyframes indexLoading1 {
  
  0% {
    height: 100%;
  }

  75% {
    height: 100%;
  }

  100% {
    height: 0;
  }
}

@-webkit-keyframes indexLoading2 {
  
  0% {
    opacity: 1;
  }

  92% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes indexLoading3 {

  0% {
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  70% {
    opacity: 1;
  }
  
  100% {
    opacity: 0;
  }

}

@-webkit-keyframes indexCore1 {

  0% {
    -webkit-box-shadow: 0 0 300px #F00;
  }

  50% {
    -webkit-box-shadow: 0 0 400px #00F;
  }

  100% {
    -webkit-box-shadow: 0 0 300px #F00;
  }
}

@-webkit-keyframes indexCore2 {

  0% {
	-webkit-transform: rotate(0deg) scale(0.9);
  }

  50% {
    -webkit-transform: rotate(45deg) scale(1.1);
  }

  100% {
    -webkit-transform: rotate(90deg) scale(0.9);
  }
}

@-webkit-keyframes indexCore3 {

  0% {
    -webkit-transform: rotate(90deg) scale(1.1);
  }


  50% {
    -webkit-transform: rotate(45deg) scale(0.9);
  }


  100% {
    -webkit-transform: rotate(0deg) scale(1.1);
  }
}


/* INDEX MOZ KEYFRAMES */


@-moz-keyframes indexLoading1 {
  
  0% {
    height: 100%;
  }

  75% {
    height: 100%;
  }

  100% {
    height: 0;
  }
}

@-moz-keyframes indexLoading2 {
  
  0% {
    opacity: 1;
  }

  92% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes indexLoading3 {

  0% {
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  70% {
    opacity: 1;
  }
  
  100% {
    opacity: 0;
  }

}

@-moz-keyframes indexCore2 {

  0% {
    -moz-transform: rotate(0deg) scale(0.9);
  }

  50% {
    -moz-transform: rotate(45deg) scale(1.1);
  }

  100% {
    -moz-transform: rotate(90deg) scale(0.9);
  }
}

@-moz-keyframes indexCore3 {

  0% {
    -moz-transform: rotate(90deg) scale(1.1);
  }


  50% {
    -moz-transform: rotate(45deg) scale(0.9);
  }


  100% {
    -moz-transform: rotate(0deg) scale(1.1);
  }
}


/* GLOBAL KEYFRAMES */


@keyframes borderA {

  0% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  25% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  50% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  75% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  100% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }
}

@keyframes borderB {

  0% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  25% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  50% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  75% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  100% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }
}

@keyframes borderC {

  0% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  25% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  50% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  75% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  100% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }
}

@keyframes borderD {

  0% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  25% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  50% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  75% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  100% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }
}

@keyframes borderE {

  0% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  25% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  50% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  75% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  100% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }
}

@keyframes borderF {

  0% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  25% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  50% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  75% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  100% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }
}

@keyframes borderG {

  0% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  25% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  50% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  75% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  100% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }
}

@keyframes borderH {

  0% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  25% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  50% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  75% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  100% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }
}


/* GLOBAL WEBKIT KEYFRAMES */


@-webkit-keyframes borderA {

  0% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  25% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  50% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  75% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  100% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }
}

@-webkit-keyframes borderB {

  0% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  25% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  50% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  75% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  100% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }
}

@-webkit-keyframes borderC {

  0% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  25% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  50% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  75% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  100% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }
}

@-webkit-keyframes borderD {

  0% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  25% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  50% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  75% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  100% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }
}

@-webkit-keyframes borderE {

  0% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  25% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  50% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  75% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  100% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }
}

@-webkit-keyframes borderF {

  0% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  25% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  50% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  75% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  100% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }
}

@-webkit-keyframes borderG {

  0% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  25% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  50% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  75% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  100% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }
}

@-webkit-keyframes borderH {

  0% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  25% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  50% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  75% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  100% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }
}


/* GLOBAL MOZ KEYFRAMES */


@-moz-keyframes borderA {

  0% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  25% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  50% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  75% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  100% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }
}

@-moz-keyframes borderB {

  0% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  25% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  50% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  75% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  100% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }
}

@-moz-keyframes borderC {

  0% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  25% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  50% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  75% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  100% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }
}

@-moz-keyframes borderD {

  0% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  25% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  50% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  75% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  100% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }
}

@-moz-keyframes borderE {

  0% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  25% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  50% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  75% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  100% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }
}

@-moz-keyframes borderF {

  0% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  25% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  50% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  75% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  100% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }
}

@-moz-keyframes borderG {

  0% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  25% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  50% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  75% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  100% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }
}

@-moz-keyframes borderH {

  0% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }

  25% {
    top: calc(100% - 35px);
    left: calc(100% - 35px);
    opacity: 0.5;
  }

  50% {
    top: 5px;
    left: calc(100% - 35px);
    opacity: 0;
  }

  75% {
    top: 5px;
    left: 5px;
    opacity: 0.5;
  }

  100% {
    top: calc(100% - 35px);
    left: 5px;
    opacity: 0;
  }
}


/* INDEX ACTIONS */


#indexBG1:hover ~ #indexCore4 {
  top: calc(50% - 50px);
  left: calc(50% - 50px);
}

#indexBG2:hover ~ #indexCore4 {
  top: calc(50% - 50px);
  left: 50%;
}

#indexBG3:hover ~ #indexCore4 {
  top: 50%;
  left: calc(50% - 50px);
}

#indexBG4:hover ~ #indexCore4 {
  top: 50%;
  left: 50%;
}

#indexGame1:hover {
  height: 200px;
  width: 250px;
  top: calc(10% - 25px);
  left: calc(10% - 25px);
  font-size: 35px;
}

#indexGame2:hover {
  height: 200px;
  width: 250px;
  top: calc(10% - 25px);
  left: calc(90% - 225px);
  font-size: 35px;
}

#indexGame3:hover {
  height: 200px;
  width: 250px;
  top: calc(90% - 175px);
  left: calc(10% - 25px);
  font-size: 35px;
}

#indexGame4:hover {
  height: 200px;
  width: 250px;
  top: calc(90% - 175px);
  left: calc(90% - 225px);
  font-size: 35px;
}

#indexTitle1:hover {
  left: calc(35% - 24px);
  width: 40px;
  background-color:#F00;
}

#indexTitle2:hover {
  left: calc(35% + 56px);
  width: 40px;
  background-color:#F00;
}

#indexTitle3:hover {
  height: 10px;
}

#indexStyleBlack1:hover ~ #indexStyleBlack2 {
  height: 100%;
}

#indexStyleBlue1:hover ~ #indexStyleBlue2 {
  height: 100%;
}

#indexStyleGreen1:hover ~ #indexStyleGreen2 {
  height: 100%;
}

#indexStyleRed1:hover ~ #indexStyleRed2 {
  height: 100%;
}