
/** this is the styling of the animation */

$font1: 'Poppins', sans-serif;
$font2: 'Lobster Two', cursive;
$white:#fff;
$black:#000;
$primary-light: #f9fafb;
$second-light:#f0f0f0;
$third-light:#DADBDB;

$primary-dark:#222;
$second-grey:#4f4f4f;

$first-shadow: rgba(0,0,0,0.3);

$success: rgba(61, 168, 102, 0.6);
$error: rgba(168, 30, 14, 0.6);

$primary-color:#5c5fc4;
$second-color:#c4c15c;

/* GLOBAL CONFIG RESET */
.container {
box-sizing:;
margin: 0;
padding: 0;
font-family: $font1;
}

select:focus, input:focus, button:focus{
  outline:none;
}

/* -------- BODY DISPLAY --------- */
.container {

background-color: $primary-dark;
overflow: hidden;

display: flex;
  // flex-direction:;
  justify-content: center;
  align-items: center;

min-height: 50vh;
}

/* -------- TYPE SELECTORS --------- */

/* -------- CLASS --------- */

.container{
  display: flex;
  justify-content: center;
  align-items: center;

  .box{
    transform-style: preserve-3d;
    animation: animate 7s ease-in-out infinite alternate;

    span{
      background: linear-gradient(90deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1) 90%, transparent);
      text-transform: uppercase;
      line-height: 0.76em;
      position: absolute;
      color:dodgerblue;
      font-size: 1.5em;
      font-family:bahnschrift;
      white-space: nowrap;
      font-weight: bold;
      padding: 0px 10px;
      transform-style: preserve-3d;
      text-shadow: 0 10px 15px $first-shadow;
      transform: translate(-50%, -50%) rotateX(calc(var(--i) * 22.5deg)) translateZ(109px);

      i{
        font-style: initial;

        &:nth-child(1){
          color:#000066;
        }

        &:nth-child(2){
          color:#000066;
        }
      }
    }
  }
}

@keyframes animate {
  0%{
    transform: perspective(500px) rotateX(0deg) rotate(5deg);
  }
  100%{
    transform: perspective(50px) rotateX(360deg) rotate(5deg);
  }
}

/* -------- PSEUDO CLASS --------- */

/* -------- MEDIA QUERY --------- */

@media (max-width: 800px) {
  
}









/* this is for the animation for the h2 in the slides 
section that is causing it to move up and down */
.wave-text span {
    display: inline-block;
    font-size:3.5rem;
    animation: wave 2s ease-in-out infinite;
}

.wave-text span:nth-child(1) {
    animation-delay: 0s;
}
.wave-text span:nth-child(2) {
    animation-delay: 0.2s;
}
.wave-text span:nth-child(3) {
    animation-delay: 0.4s;
}
.wave-text span:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}








/* this is the second slideshow styling */
/* Slideshow container */
.slideshow-container2 {
  max-width: 1000px;
  position: relative;
  margin: auto;
  padding:5px;
}

/* Hide the images by default */
.mySlides2 {
  display: none;
}

/* Next & previous buttons */
.prev2, .next2 {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next2 {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev2:hover, .next2:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text2 {
  color:#fff;
  font-size:25px;
  font-family:bahnschrift;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}
.text2 a {
  font-size:20px;
  text-decoration:none;
  background:#000;
  padding:10px;
  color:#fff;
}
.text2 a:hover {
  color:dodgerblue;
  transition:.5s ease;
}

/* Number text (1/3 etc) */
.numbertext2 {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot2 {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active2, .dot2:hover {
  background-color: #717171;
}

/* Fading animation */
.fade2 {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}



/* this is the style for the animation pf the images */

.card {
  transform-style: preserve-3d;
  transition: all 1s ease-in-out;
}
.card:hover {
  transform: rotateY(180deg);
}


/* this is for the second animation in the home page */

.anima {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  -webkit-backface-visibility: hidden;
  
  
  -webkit-background-size: 3px 3px;
  background-image: -webkit-linear-gradient(  0deg, hsla(0,0%,0%,0) 0, hsla(0,0%,10%,1) 3px),
    -webkit-linear-gradient( 90deg, hsla(0,0%,0%,0) 0, hsla(0,0%,10%,1) 5px);
  
  background-image: -moz-linear-gradient( hsl(0,0%,11%), hsl(0,0%,11%) );
  background-image:  -ms-linear-gradient( hsl(0,0%,11%), hsl(0,0%,11%) );
  background-image:   -o-linear-gradient( hsl(0,0%,11%), hsl(0,0%,11%) );
}

.anima { 
  margin: 0;
  padding: 50px;
  text-align: center;
  font: 13px/18px "Droid Sans", "Lucida Grande", Lucida, Verdana, sans-serif;
  background:#fff
}


/* Space CaCSS ------------------------------------------------- */

.anima div {
  display: inline-block;
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0px auto;
  border-radius: 50%;
  border: 10px solid hsla(0,0%,0%,.7);
  box-shadow: inset 0 15px 15px -5px hsla(0,0%,100%,.7),
    inset 0 -5px 10px 3px hsla(0,0%,0%,.6), 
    0 8px 10px 2px hsla(0,0%,0%,.3);
  
  background-position: center;
  transform: scale(.66);
  transition: transform .5s cubic-bezier(.32,0,.15,1);
}

.anima div:hover {
  cursor: none;
  transform: scale(1);
  transition: transform .2s cubic-bezier(.32,0,.15,1);
}



/* Particle Ping Pong -------------------------------------------- */

.particle {
  background-size: 12px 12px;
  background-color: #000;
  
  /* the default highlight was too strong */
  box-shadow: inset 0 15px 15px -5px hsla(0,0%,100%,.25), inset 0 -5px 10px 3px hsla(0,0%,0%,.6), 0 8px 10px 2px hsla(0,0%,0%,.3);
  background-image: radial-gradient( #555 0px, hsla(0,0%,0%,0) 2px, hsla(0,0%,0%,0) 24px),
    repeating-radial-gradient( white 0px, black 2px, black 48px);
}
.particle:hover {
  animation: particle-size .24s linear infinite, particle-positon .48s linear infinite alternate;
}

@keyframes particle-size { from { background-size: 6px 6px, 12px 12px; } to { background-size: 12px 12px, 24px 24px; } }
@keyframes particle-positon { from { background-position: 60px, 60px; } to { background-position: 140px, 140px; } }





/* Growing cells -------------------------------------------- */

.cells {
  background-size: 24px 24px;
  background-color: #fff;
  background-image: repeating-radial-gradient( black 8px, white 12px);
}

.cells:hover {
  animation: cells 0.4s linear infinite;
}

@keyframes cells { from { background-size: 12px 12px; } to { background-size: 24px 24px; } }





/* Jelly -------------------------------------------- */

.jelly {
  background-size: 60px 60px;
  background-color: hsla(320,80%,60%,1);
  background-image: repeating-radial-gradient( hsla(320,100%,60%,.6) 0px, hsla(220,100%,60%,0) 60%),
    repeating-radial-gradient( hsla(330,100%,40%,1) 12%, hsla(320,80%,60%,1) 24px);
}

.jelly:hover {
  animation: jelly 1.4s cubic-bezier(.1,.4,.9,.6) infinite;
}

@keyframes jelly {
  from { background-size:  60px  60px,  24px  24px; }
  50%  { background-size: 120px 120px, 100px 100px; }
  to   { background-size:  24px  24px, 140px 140px; }
}




/* Blobbs -------------------------------------------- */

.blobbs {
  background-size: 66px 66px;
  background-color: hsl(200,100%,50%);
  background-image: repeating-radial-gradient( hsla(200,100%,80%,.8) 0px, hsla(200,100%,80%,.5) 4px, hsla(200,100%,80%,0) 50px),
    repeating-radial-gradient( hsla(260,100%, 0%, 0) 0px, hsla(260,100%,50%,.1) 2px, hsla(260,100%, 0%,0) 10px);
}

.blobbs:hover {
  animation: blobbs-position 6s cubic-bezier(.4,0,.2,1) infinite,
    blobbs-size .75s cubic-bezier(.4,0,.2,1) infinite alternate;
}

@keyframes blobbs-position {
  0% { background-position: left top, left top; }
  25% { background-position: right top, left bottom; }
  50% { background-position: right bottom, right bottom; }
  75% { background-position: left bottom, right top; }
  100% { background-position: left top, left top; }
}

@keyframes blobbs-size { from { background-size: 200px 200px, 200px 200px; } to { background-size:  66px  66px, 66px 66px; } }




/* The Chase -------------------------------------------- */

.chase {
  background-repeat: no-repeat, repeat;
  background-size: 180px 180px;
  background-color: hsl(50,100%,70%);
  background-image: repeating-radial-gradient( hsla(50,100%,100%,1) 0px, hsla(50,100%,90%, 1) 10px, hsla(50,100%,70%,.2)  12px, hsla(50,100%,70%,0) 130px),
    repeating-radial-gradient( hsla(20,100%, 50%,0) 20%, hsla(20,100%,50%,.4) 80%,  hsla(50,100%,70%, 1) 120px);
}

.chase:hover {
  animation: chase-position 1.2s infinite, chase-size .4s infinite alternate;
}

@keyframes chase-position {
  0% { background-position: left top, left top; }
  25% { background-position: right top, left bottom; }
  50% { background-position: right bottom, right bottom; }
  75% { background-position: left bottom, right top; }
  100% { background-position: left top, left top; }
}

@keyframes chase-size {
  from { background-size: 120px 120px, 300px 300px; }
  50% { background-size: 160px 160px, 150px 150px; }
  to   { background-size: 180px 180px, 100px 100px; }
}





/* this is the scrrollable container styling */
div.scroll-container {
  background:lightblue;
  overflow: auto;
  white-space: nowrap;
  padding:20px;
  max-width:1200px;
  margin:auto;
  height:460px;
}

div.scroll-container img {
  padding: 10px;
}



