
html { font-size: 16px; }
body {
  margin: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  font-family: 'Orbitron', sans-serif;
}

h1 { 
    font-size: 3.5rem; 
    animation: flicker_text 1s ease-in-out infinite alternate;
}

h2 { 
    font-size: 3rem; 
    animation: flicker_text 1s ease-in-out infinite alternate;
}

header,
section,
article, 
footer {
  margin: 0;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
}

#main {
    animation-fill-mode: forwards;
}

header {  
  height: 30vh;
  width: 100vw;
  animation: opac 4s ease-in; 
  animation-fill-mode: forwards;
  animation-delay: 5s;
}

#main_logo {
  
}

section {
  height: 45vh;
  width: 100vw;
  background-image: url("../images/bg/space-01-5150x3433.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  animation: animate-bg 50s infinite linear,
             opac 6s ease-in;
  animation-fill-mode: forwards;
  animation-delay: 2s;
}

#testing_msg {
    font-size: 0.8rem;
    color: #fff;
}

article {
  position: relative;
  height: 20vh;
  width: 100vw;
  animation:opac 2s ease-in;
  animation-fill-mode: forwards;
  animation-delay: 5s;
}

footer {
  height: 5vh;
  width: 100vw;
  animation:opac 2s ease-in;
  animation-fill-mode: forwards;
  animation-delay: 1s;
}

footer p {
  font-size: 0.75rem;
  color:darkgrey;
}

article img {  
    padding: 0.5rem; 
    opacity:0; 
    animation: opacgrey ease-in 4s;
    animation-fill-mode: forwards;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

article img:nth-child(1) { animation-delay: 8s; }
article img:nth-child(2) { animation-delay: 10s; }
article img:nth-child(3) { animation-delay: 12s; }
article img:nth-child(4) { animation-delay: 14s; }
article img:nth-child(5) { animation-delay: 16s; }
article img:nth-child(6) { animation-delay: 18s; }
article img:nth-child(7) { animation-delay: 20s; }
article img:nth-child(8) { animation-delay: 22s; }
article img:nth-child(9) { animation-delay: 24s; }
article img:nth-child(10) { animation-delay: 26s; }
article img:nth-child(11) { animation-delay: 28s; }
article img:nth-child(12) { animation-delay: 30s; }
article img:nth-child(13) { animation-delay: 32s; }
article img:nth-child(14) { animation-delay: 34s; }
article img:nth-child(15) { animation-delay: 36s; }
article img:nth-child(16) { animation-delay: 38s; }
article img:nth-child(17) { animation-delay: 40s; }
article img:nth-child(18) { animation-delay: 42s; }

/* 
    Media queries - Responsive timeline on screens less than 600px wide
    -------------------------------------------------------------------
*/

/* Responsive on screens less than 993px wide */
@media screen and (max-width: 992px) {
    
    header { height: 30vh; }

    #main_logo { 
        width:85%; 
        height:85%;
        animation: none;
        
    }
    h1 { 
        font-size: 2.5rem; 
        animation: none;
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #5ddce1,
            0 0 35px #5ddce1, 0 0 40px #5ddce1, 0 0 50px #5ddce1, 0 0 75px #5ddce1;
    }

    h2 {
        font-size: 2rem;
        animation: none;
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #5ddce1,
            0 0 35px #5ddce1, 0 0 40px #5ddce1, 0 0 50px #5ddce1, 0 0 75px #5ddce1;
    }
    
    section {
        height: 35vh;
        animation: opac 6s ease-in;
        animation-fill-mode: forwards;
    }
    
    article { 
        width: 100vw;
        height: 30vh; 
        display: grid;
        justify-content: space-evenly;
        grid-template-columns: auto auto auto auto auto auto;
    }
    
    footer { height: 5vh; }
}


/* 
    Media queries - Responsive timeline on screens less than 600px wide
    -------------------------------------------------------------------
*/

/* Responsive on screens less than 600px wide */
@media screen and (max-width: 600px) {

    #main_logo { width:75%;}
    
    h1 { font-size: 2rem; }
    
    h2 { font-size: 1.5rem; }

    article img {
        width: 38px;
        height: 38px;
    }
    
    footer p { font-size: 0.5rem; }
}



/* 
    Animations
    -------------------------------------------------------------------
*/

/* 
    Animations - Background
    -------------------------------------------------------------------
*/
@keyframes animate-bg {
  from { background-size: 100%; background-position: 0% 0%; }
  50% { background-size: 120%; background-position: 0% 20% }
  to { background-size: 100%; background-position: 0% 0%; }
}

/* 
    Animations - Flicker
    -------------------------------------------------------------------
*/
.flicker_text { animation: flicker_text 1s ease-in-out infinite alternate; }
@keyframes flicker_text {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #5ddce1,
      0 0 70px #5ddce1, 0 0 80px #5ddce1, 0 0 100px #5ddce1, 0 0 150px #5ddce1;
  }
  to {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #5ddce1,
      0 0 35px #5ddce1, 0 0 40px #5ddce1, 0 0 50px #5ddce1, 0 0 75px #5ddce1;
  }
}
.flicker { animation: flicker 1s ease-in-out infinite alternate; }
@keyframes flicker {
  from {
    box-shadow: 0 0 6px #fff, 0 0 12px #fff, 0 0 18px #fff, 0 0 25px #5ddce1,
      0 0 45px #5ddce1, 0 0 52px #5ddce1, 0 0 64px #5ddce1;
  }
  to {
    box-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #5ddce1,
      0 0 35px #5ddce1, 0 0 40px #5ddce1, 0 0 50px #5ddce1;
  }
}

@keyframes neon_box {
  from {
    box-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #5ddce1,
      0 0 70px #5ddce1, 0 0 80px #5ddce1, 0 0 100px #5ddce1, 0 0 150px #5ddce1;
  }
  to {
    box-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #5ddce1,
      0 0 35px #5ddce1, 0 0 40px #5ddce1, 0 0 50px #5ddce1, 0 0 75px #5ddce1;
  }
}

@keyframes neon_text {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #5ddce1,
      0 0 70px #5ddce1, 0 0 80px #5ddce1, 0 0 100px #5ddce1, 0 0 150px #5ddce1;
  }
  to {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #5ddce1,
      0 0 35px #5ddce1, 0 0 40px #5ddce1, 0 0 50px #5ddce1, 0 0 75px #5ddce1;
  }
}


/* 
    Animations - Opacity
    -------------------------------------------------------------------
*/
.animate-opacity-in {
    animation:opac 2s ease-in;
}
@keyframes opac {
    from{
        opacity:0;
    }
    to{
        opacity:1;
    }
}

/* 
    Animations - Opacity - Out
    -------------------------------------------------------------------
*/
.animate-opacity-out {
    animation:opacout 5s ease-out;
}
@keyframes opacout {
    from{
        opacity:1;
    }
    to{
        opacity:0;
    }
}
 
/* 
    Animations - Opacity - Greyscale
    -------------------------------------------------------------------
*/
.animate-opacity-greyscale {
    animation:opacgrey 8s ease-in;
}
@keyframes opacgrey {
    0%{
        opacity:0;
        -webkit-filter: grayscale(100%) ;
        filter: grayscale(100%);       
    }
    33.3%{
        opacity:1;
        -webkit-filter: grayscale(50%);
        filter: grayscale(50%);
    }
    50%{
        opacity:1;
        -webkit-filter: grayscale(0%);
        filter: grayscale(0%);        
    }
    100%{
        opacity:1;
        -webkit-filter: grayscale(100%);
        filter: grayscale(100%);       
    }
    
}

@keyframes filtershadow {
    0%{
        -webkit-filter: drop-shadow(8px 8px 8px var(--blue1));
        filter: drop-shadow(8px 8px 8px var(--blue1));       
    }
    33.3%{
        -webkit-filter: drop-shadow(8px 8px 8px var(--blue1));
        filter: drop-shadow(8px 8px 8px var(--blue1));       
    }
    50%{
        -webkit-filter: drop-shadow(8px 8px 8px var(--white1));
        filter: drop-shadow(8px 8px 8px var(--white1));          
    }
    100%{
        -webkit-filter: drop-shadow(8px 8px 8px transparent);
        filter: drop-shadow(8px 8px 8px transparent);       
    }
    
}


#flash {
  position: absolute;
  background-color: #5ddce1;
  background-image: linear-gradient(to right,
      rgba(0, 0, 0, 7) 0%,
      rgba(0, 0, 0, .7) 5%,
      rgba(0, 0, 0, .7) 10%,
      rgba(0, 0, 0, .7) 15%,
      rgba(0, 0, 0, .6) 20%,
      rgba(0, 0, 0, .5) 25%,
      rgba(0, 0, 0, .4) 30%,
      rgba(0, 0, 0, .3) 35%,
      rgba(0, 0, 0, .2) 40%,
      rgba(0, 0, 0, .1) 50%,
      rgba(0, 0, 0, .2) 60%,
      rgba(0, 0, 0, .3) 65%,
      rgba(0, 0, 0, .4) 70%,
      rgba(0, 0, 0, .5) 75%,
      rgba(0, 0, 0, .6) 80%,
      rgba(0, 0, 0, .7) 85%,
      rgba(0, 0, 0, .7) 90%,
      rgba(0, 0, 0, .7) 95%,
      rgba(0, 0, 0, 7) 100%);
  
  background-size: cover;
  border: none;
  color: white;
  height: 100%;
  width: 75px;
  z-index: -1;
  -webkit-box-shadow: 5px 5px 50px var(--blue2,#b3ff99);
    -moz-box-shadow: 5px 5px 50px var(--blue2,#b3ff99);
    box-shadow: 5px 5px 50px var(--blue2,#b3ff99);

  -webkit-animation: moveflash 8s linear 0s infinite alternate;
          animation: moveflash 8s linear 0s infinite alternate;
}
@-webkit-keyframes moveflash { from { margin-left: -20vw; } to { margin-left: 120vw; }  }
        @keyframes moveflash { from { margin-left: -20vw; } to { margin-left: 120vw; }  }


/* 
    Media queries - Responsive timeline on screens less than 600px wide
    -------------------------------------------------------------------
*/

/* Responsive on screens less than 993px wide */
@media screen and (max-width: 992px) {

    #main_logo { width:75%; height:75%;}

    h1 { font-size: 7vw;}

    h2 { font-size: 5vw;}
   
    h3 { font-size: 3vw;}
    
    #services_large {display: block;}
    #services_small {display: none;}
}



/* 
    Media queries - Responsive timeline on screens less than 600px wide
    -------------------------------------------------------------------
*/

/* Responsive on screens less than 600px wide */
@media screen and (max-width: 600px) {

    #main_logo { width:65%;}

    h1 { font-size: 8vw;}

    h2 { font-size: 6vw;}
   
    h3 { font-size: 3.5vw;}
    
    #services_large {display: none;}
    #services_small {display: block;}
}



