* {
  box-sizing: border-box;
}

.centerVert{
    margin-top: auto;
    margin-bottom: auto;
}

.centerHorz{
    margin-left: auto;
    margin-right: auto;
}

.imgPercentWidth95{
    width: 95%
}

.imgNearestNeighborResize{
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

img {
 max-width: 95%;
 max-height: 95%;
 border-style: solid;
 border-width: 2px;
 border-color: rgb(103,255,255);
 box-shadow: 0 0 24px rgb(0,0,255);
}

img .px564{
 max-width: 564px;
}

.imgTransparent{
    max-width: 95%;
    max-height: 95%;
    border-style: none;
    border-width: 0px;
    border-color: rgba(0, 0, 0, 0);
    box-shadow: none;
}

embed {
 width: 95%;
 height: 95%;
 border-style: solid;
 border-width: 2px;
 border-color: rgb(103,255,255);
 box-shadow: 0 0 24px rgb(0,0,255);
}

#gameContainer{
 max-width: 90%;
 max-height: 100%;
 left: 5%;
 border-style: solid;
 border-width: 2px;
 border-color: rgb(103,255,255);
 box-shadow: 0 0 24px rgb(0,0,255);
}

#gameContainer canvas{
 width: 100%;
 height: 100%;
}

body{
 margin: 0;
 padding: 0;
 background-color: rgb(0,3,70);
}
header{
 background-image: url("SciFiGridMagentaVert.png");
 background-color: magenta;
 border-style: solid none solid solid;
 border-color: rgb(255,103,255);
 border-width: 16px 16px 8px 16px;
 padding: 50px 0px 0px 8px;
}

header a {
 text-decoration: none;
 display: inline;
}

header a h1 {
 letter-spacing: 3px;
 font-family: 'Tomorrow', sans-serif;
 color: rgb(103,255,255);
 font-size: 48px;
 margin: 0px;
 display: inline;
}

nav {
 margin: 0;
 display: inline;
}
nav ul{
 margin: 0;
 padding-left: 10px;
 display: inline;
}

nav ul li {
 display: inline-block;
 list-style-type: none;
 margin: 0px 0px 0px 0px;
}

nav ul li a {
 display: inline-block;
 background: rgba(103,255,255,0.75);
 border-radius: 10px 10px 0 0;
 border-style: double;
 border-color: rgb(103,255,255);
 border-width: 6px;
 
 padding: 5px 15px;
 
 letter-spacing: 3px;
 font-family: 'Tomorrow', sans-serif;
 color: magenta;
 text-decoration: none;
}

.content {
 background-image: url("SciFiGridBlue.png");
 background-color: rgb(0,3,70);
 border-style: solid none solid solid;
 border-color: rgb(103,255,255);
 border-width: 8px 16px 1px 16px;
 margin: 0;
 padding: 0 0 8px 0;
 
 font-size: 24px;
 text-align: center;
 letter-spacing: 3px;
 font-family: 'Tomorrow', sans-serif;
 color: rgb(103,255,255);
}

.row{
 display: flex;
 flex-wrap: nowrap;
 background: rgba(0,0,0,0);
}

.row .col4{
 background: rgba(182,0,182,0.75);
 border-style: double;
 border-color: rgb(255,103,255);
 border-width: 16px;

 margin: 1%;
 padding: 1%;
 width: 25%;
 border-radius: 8px 72px;
}

.row .col3{
 background: rgba(182,0,182,0.75);
 border-style: double;
 border-color: rgb(255,103,255);
 border-width: 16px;

 margin: 1%;
 padding: 1%;
 width: 33.33%;
 border-radius: 8px 72px;
}

.row .col2{
 background: rgba(182,0,182,0.75);
 border-style: double;
 border-color: rgb(255,103,255);
 border-width: 16px;

 margin: 1%;
 padding: 1%;
 width: 50%;
 border-radius: 8px 72px;
}

.row .col1{
 background: rgba(182,0,182,0.75);
 border-style: double;
 border-color: rgb(255,103,255);
 border-width: 16px;

 margin: 1%;
 padding: 1%;
 width: 100%;
 border-radius: 48px 8px;
}

.row .col23{
 background: rgba(182,0,182,0.75);
 border-style: double;
 border-color: rgb(255,103,255);
 border-width: 16px;

 margin: 1%;
 padding: 1%;
 width: 66.66%;
 border-radius: 8px 72px;
}

.row .col34{
 background: rgba(182,0,182,0.75);
 border-style: double;
 border-color: rgb(255,103,255);
 border-width: 16px;

 margin: 1%;
 padding: 1%;
 width: 75%;
 border-radius: 8px 72px;
}
/* ----- Link ----- */
body div div a{
 font-size:16px;
 text-decoration: none;
 font-family: 'Tomorrow', sans-serif;
 color: rgb(103,255,255);
}
/*-------------------- footer ----------------------*/
footer {
 clear: both;
 bottom: 0px;
 left: 0px;
 right: 0px;
 padding: 8px;
 background: rgb(103,255,255);
    border-style: solid;
    border-width: 16px 16px 16px 16px;
    border-color: rgb(103,255,255);
    box-shadow: inset 0 0 5px grey;

 font-family: 'Tomorrow', sans-serif;
 color: magenta;
 
 display: flex;
 align-items: center;
 overflow: auto;
}
footer div {
 flex: 1;
 text-align: center;
 margin: 5px;
}
.footerLogo {
 border-style: solid;
 border-width: 2px;
 border-color: rgb(103,255,255);
 box-shadow: 0 0 5px rgb(0,0,255);
}
.footerLogo:hover {
 border-radius: 5%;
 background: rgba(0,103,255,0.35);
 box-shadow: 0 0 12px rgb(0,103,255);
}
.footerCopyright {
 text-align: center;
}
footer ul{
 margin: 0;
 padding-left: 10px;
 display: inline;
}
footer ul li {
 display: inline-block;
 list-style-type: none;
 margin: 0px 0px 0px 0px;
}
footer ul li a {
 display: inline-block;
 
 padding: 5px 5px;
 
 letter-spacing: 3px;
 font-family: 'Tomorrow', sans-serif;
 color: magenta;
}
.footerMenu { 
    box-shadow: 0 0 6px rgba(0,0,255,0.5);
    padding: 16px 0;
  }
.Link{
 font-family: 'Tomorrow', sans-serif;
 color: magenta;
}

/* --------------------- Smaller Screen Sizes ------------------------*/
@media only screen and (max-width: 1399px) {
  img .px564 {
   max-width: 95%;
   max-height: 95%;
  }
  .row .col4 { 
    border-radius: 8px 48px;
  }
  .row .col3 { 
    border-radius: 8px 48px;
  }
  .row .col2 { 
    border-radius: 8px 48px;
  }
  .row .col23 { 
    border-radius: 8px 48px;
  }
  .row .col34 { 
    border-radius: 8px 48px;
  }
}
@media only screen and (max-width: 1544px) {
  header a {
   display: block;
   padding: 0 0 8px 0;
  }
  nav ul{
   padding-left: 0px;
  }
}
@media only screen and (max-width: 998px) {
 nav ul li a {
  border-radius: 10px;
  margin: 0px 0px 5px 0px;
 }
 iframe{
   /* width: 448px; */
   /* height: 252px; */
 max-width: 95%;
 max-height: 95%;
 }
}
@media only screen and (max-width: 850px) {
 embed {
  margin: 24px 0;
 }
  .row { 
    display: block;
    width: 100%;
    background-color: rgba(0,255,0,0.75);
    border-style: double;
    border-color: rgb(0,255,0);
    border-width: 16px;
    border-radius: 16px 64px;
    padding: 1%;
    margin: 5% 0%;
  }
  .row .col4 { 
    margin: 2%;
    width: 96%;
    border-radius: 48px 8px;
  }
  .row .col3 { 
    margin: 2%;
    width: 96%;
    border-radius: 48px 8px;
  }
  .row .col2 { 
    margin: 2%;
    width: 96%;
    border-radius: 48px 8px;
  }.row .col1 { 
    margin: 2%;
    width: 96%;
    border-radius: 48px 8px;
  }
  .row .col23 { 
    margin: 2%;
    width: 96%;
    border-radius: 48px 8px;
  }
  .row .col34 { 
    margin: 2%;
    width: 96%;
    border-radius: 48px 8px;
  }
}
/*------ Mobile --------*/
@media (hover: none) {
 embed {
  margin: 24px 0;
 }
  .row { 
    display: block;
    width: 100%;
    background-color: rgba(0,255,0,0.75);
    border-style: double;
    border-color: rgb(0,255,0);
    border-width: 16px;
    border-radius: 16px 64px;
    padding: 1%;
    margin: 5% 0%;
  }
  .row .col4 { 
    margin: 2%;
    width: 96%;
    border-radius: 48px 8px;
  }
  .row .col3 { 
    margin: 2%;
    width: 96%;
    border-radius: 48px 8px;
  }
  .row .col2 { 
    margin: 2%;
    width: 96%;
    border-radius: 48px 8px;
  }.row .col1 { 
    margin: 2%;
    width: 96%;
    border-radius: 48px 8px;
  }
  .row .col23 { 
    margin: 2%;
    width: 96%;
    border-radius: 48px 8px;
  }
  .row .col34 { 
    margin: 2%;
    width: 96%;
    border-radius: 48px 8px;
  }
}
@media only screen and (max-width: 634px) {
 iframe{
   /* width: 280px; */
   /* height: 157px; */
 max-width: 95%;
 max-height: 95%;
 }
}
/* ---------------- Responsive Youtube iframe Embeds -------------------- */
.iframeContainer{
  position: relative;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: calc( 56.25% * 0.95 );/* Aspect Ratio Padding times width percentage */ 
  height: 0;
}
.iframeContainer iframe{
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}
.iframeVertContainer{
  position: relative;
  margin-left: auto;
  margin-right: auto;
}
.iframeVertContainer iframe{
    
}

/* ---------------- Special Effects -------------------- */
/*Iframe Border*/
iframe{
    border-style: solid;
    border-width: 2px;
    border-color: rgb(103,255,255);
    box-shadow: 0 0 24px rgb(0,0,255);
}
/* ------ ScrollBar -------- */
::-webkit-scrollbar {
    background: rgb(103,255,255);
    width: 17px;
}
::-webkit-scrollbar-track {
    background: rgb(103,255,255);
    border-radius: 10px;
    border-style: solid;
    border-width: 2px;
    border-color: rgb(103,255,255);
    box-shadow: inset 0 0 5px grey;
}
::-webkit-scrollbar-thumb {
    width: 13px;
    background: rgb(182,0,182);
    border-radius: 10px;
    border-style: solid;
    border-width: 2px;
    border-color: rgb(255,103,255);
}
::-webkit-scrollbar-thumb:hover {
  box-shadow: inset 0 0 5px rgb(255,103,255);
}
::-webkit-scrollbar-button
{
    background-color: rgb(103,255,255);
    border-style: solid;
    border-width: 2px;
    border-color: rgb(103,255,255);
    box-shadow: inset 0 0 5px grey;
}
/* Up */
::-webkit-scrollbar-button:vertical:decrement{
 background-image: url("ArrowUp.png");
}
/* Down */
::-webkit-scrollbar-button:vertical:increment{
 background-image: url("ArrowDown.png");
}
/* Left */
::-webkit-scrollbar-button:horizontal:decrement{
 background-image: url("ArrowLeft.png");
}
/* Right */
::-webkit-scrollbar-button:horizontal:increment{
 background-image: url("ArrowRight.png");
}
::-webkit-scrollbar-corner{
    background-color: rgb(103,255,255);
    border-radius: 0px 0px 10px 0px;
    border-style: solid;
    border-width: 2px;
    border-color: rgb(103,255,255);
    box-shadow: inset 0 0 5px grey;
}
/* ------ ScrollBar For FireFox -------- */
html{
  scrollbar-color: rgb(182,0,182) rgb(103,255,255);
}

/* ----- Menu Tab Hover ----- */
 nav ul li a:hover {
  background: rgba(103,255,255,0.85);
  box-shadow: 0 0 24px rgb(103,255,255), 0 0 24px rgb(103,255,255);
 }
/* ----- Pannel Hover ----- */
footer:hover { 
    box-shadow: inset 0 0 5px grey, 0 0 36px rgb(103,255,255);
  }
.row .col4:hover { 
    box-shadow: 0 0 36px rgb(103,255,255);
  }
  .row .col3:hover { 
    box-shadow: 0 0 36px rgb(103,255,255);
  }
  .row .col2:hover { 
    box-shadow: 0 0 36px rgb(103,255,255);
  }
  .row .col1:hover { 
    box-shadow: 0 0 36px rgb(103,255,255);
  }
  .row .col23:hover { 
    box-shadow: 0 0 36px rgb(103,255,255);
  }
  .row .col34:hover { 
    box-shadow: 0 0 36px rgb(103,255,255);
  }
/* ----- Link Hover ----- */
body div div a:hover{
 font-weight: bold;
}
body div div a img:hover{
 box-shadow: 0 0 24px rgb(0,255,255), 0 0 24px rgb(0,255,255);
}
/*----------Text Selection -----------*/

::selection {
  color: rgb(255,103,255);
  background: rgba(88,217,217,0.85);
  text-shadow: 0 0 4px rgb(0,0,255);
}
nav ul::selection  {
  color: rgb(255,255,255);
  background: rgba(0,0,0,0);
}
nav ul li a::selection  {
  color: rgb(103,255,255);
  background: rgba(217,88,217,0.85);
  text-shadow: 0 0 3px rgb(0,0,255);
}
img::selection  {
  background: rgba(0,0,255,0.5);
}
footer div p::selection {
  color: rgb(103,255,255);
  background: rgba(217,88,217,0.85);
  text-shadow: 0 0 3px rgb(0,0,255);
}
footer div p a::selection {
  color: rgb(103,255,255);
  background: rgba(217,88,217,0.85);
  text-shadow: 0 0 3px rgb(0,0,255);
}
footer div ul li a::selection {
  color: rgb(103,255,255);
  background: rgba(217,88,217,0.85);
  text-shadow: 0 0 3px rgb(0,0,255);
}
/*---------- Footer ----------*/
.LinkImg{
 box-shadow: none;
 border: none;
}
.LinkImg:hover {
 border-radius: 5%;
 background: rgba(0,103,255,0.35);
 box-shadow: 0 0 12px rgb(0,103,255);
}
.Round:hover {
 border-radius: 50%;
}
footer ul li a:hover {
 font-weight: bold;
 text-shadow: 0 0 2px rgb(0,0,255);
}
.Link:hover {
 font-weight: bold;
 text-shadow: 0 0 2px rgb(0,0,255);
}
/* ------ TextGlowAnimation -------- */
.glow {
  -webkit-animation: glow 1.5s ease-in-out infinite alternate;
  -moz-animation: glow 1.5s ease-in-out infinite alternate;
  animation: glow 1.5s ease-in-out infinite alternate;
}

@-webkit-keyframes glow {
  from {
    text-shadow: 0 0 2px rgb(0,0,255), 0 0 4px rgb(15,36,255), 0 0 6px rgb(30,72,255), 0 0 8px rgb(45,108,255), 0 0 10px rgb(60,144,255), 0 0 12px rgb(75,180,255), 0 0 14px rgb(90,216,255);
  }
  
  to {
    text-shadow: 0 0 4px rgb(15,36,255), 0 0 6px rgb(30,72,255), 0 0 8px rgb(45,108,255), 0 0 10px rgb(60,144,255), 0 0 12px rgb(75,180,255), 0 0 14px rgb(90,216,255), 0 0 16px rgb(103,255,255);
  }
}
/*------------- Animation Blocks Anything Below This Point -----------------------*/
