/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
h1
{
  font-weight: bold;
  color:#FFDC75;	
}
 /* Style the navbar */
#navbar {
  overflow: hidden;
  z-index:1000;
}

/* Navbar links */
#navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px;
  text-decoration: none;
}

hr.dotted {
  border-top: 3px dotted #bbb;
}

.divider .img{
  width: 100%;
  
}
/* Page content */
.content {
  padding: 16px;
}

/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
  padding-top: 60px;
}

div {
  font-family: 'Comfortaa', cursive;
  color: #ffffff;
}

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

body{
  background-color: #5BDFE3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1200 800'%3E%3Cdefs%3E%3CradialGradient id='a' cx='0' cy='800' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%233893c4'/%3E%3Cstop offset='1' stop-color='%233893c4' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='b' cx='1200' cy='800' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%233893c4'/%3E%3Cstop offset='1' stop-color='%233893c4' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='c' cx='600' cy='0' r='600' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23385082'/%3E%3Cstop offset='1' stop-color='%23385082' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='d' cx='600' cy='800' r='600' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%235BDFE3'/%3E%3Cstop offset='1' stop-color='%235BDFE3' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='e' cx='0' cy='0' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23385082'/%3E%3Cstop offset='1' stop-color='%23385082' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='f' cx='1200' cy='0' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23385082'/%3E%3Cstop offset='1' stop-color='%23385082' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect fill='url(%23a)' width='1200' height='800'/%3E%3Crect fill='url(%23b)' width='1200' height='800'/%3E%3Crect fill='url(%23c)' width='1200' height='800'/%3E%3Crect fill='url(%23d)' width='1200' height='800'/%3E%3Crect fill='url(%23e)' width='1200' height='800'/%3E%3Crect fill='url(%23f)' width='1200' height='800'/%3E%3C/svg%3E");
  background-attachment: fixed;
  background-size: cover;
  /* background by SVGBackgrounds.com */
}

.logo img {
	display:block;
  width: 35%;    
  height: auto;
	padding-top: 1vh;
  padding-bottom: 1vh;
	margin-left: auto;
	margin-right: auto;
	position:relative;
	text-align: center;
  opacity: 0;
  animation: fadeBounceIn 0.75s ease-in both;
}

.intro{
  
  justify-content: center;
  text-align:center;
}

@keyframes fadeBounceIn {
	from {
		opacity: 0;		
	}
	to {
		opacity: 1;		
	}
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 
  20% {transform: translateY(-10%);} 
  60% {transform: translateY(2%);} 
}

@keyframes Boink {
  0% {transform: scale(1)} 
  30% {transform: scale(0.95)} 
  70% {transform: scale(1.05)} 
  100% {transform: scale(1)} 
}

@keyframes fadeIn {
	from {
		opacity:0;		
	}
	to {
		opacity: 1;		
	}
}

@keyframes fadeOut {
	from {
		opacity:1;		
	}
	to {
		opacity: 0;		
	}
}

#home-banner {
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: center;
	padding: 0px 0;
	height: 20%;
	position: relative;
}

.section-title{

  text-align: center;  
  font-size: large;
}
.subtitle{
  padding: 1%;
  justify-content: center;
  text-align: center;  
}

#games{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  
}

#games img {  
  max-width: 100%;  
  vertical-align: middle;
  object-fit: cover;
}

.row{
  padding: 1%;
}

.game-caption img{
  display: block;
  position: absolute;
 
  top: 20%;
  left: 20%;
  width: 60%; 
}

.decoratortape1 img{
  display: block;
  position: absolute;
 
  top: 0.5%;
  left: 86.5%;
  width: 20%; 

  transform: rotateZ(50deg);
}

.decoratortape2 img{
  display: block;
  position: absolute;
 
  top: 81%;
  left: -6%;
  width: 20%; 

  transform: rotateZ(50deg);
}

/* [1] The container */
.img-hover-zoom {
  border-radius: 15px;
  border: 5px solid #FAE896;
  overflow: hidden; /* [1.2] Hide the overflowing of child elements */
  margin: 1%;
}

/* [2] Transition property for smooth transformation of images */
.img-hover-zoom img {
  transition: transform .5s ease;
}

/* [3] Finally, transforming the image when container gets hovered */
.img-hover-zoom:hover img {
  transform: scale(1.1);
}

.col-centered {
  float: none;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

#updates{
  padding: 1%;
  justify-content: center;
}
#about{
  padding: 1%;
  justify-content: center;
}
#about .portrait img{  
  width: 30%;
  height: 30%;
  object-fit: cover;
  overflow: hidden;
  border-radius: 50%;
  margin: 2%;
  margin-bottom: 6%;
  border:5px solid rgb(255, 255, 255);
}

#about .portrait img:hover {
  animation: Boink 0.35s ease-in both;
}
.email a {
	color: #ffffff;	
}

.email i {	
	font-size: 50px;
  margin-bottom: 3%;
}

.email a:hover {
	color: #FFDC75;
	transition: all 300ms ease-in-out;
	-webkit-transition: all 300ms ease-in-out;
}

.lost a {
  color: #ffffff;	
}

.lost a:hover {
	color: #FFDC75;
	transition: all 300ms ease-in-out;
	-webkit-transition: all 300ms ease-in-out;
}

.lost i {	
	font-size: 50px;
  margin-bottom: 3%;
  color: #ffffff;	
}

.lost i:hover {
	color: #FFDC75;
	transition: all 300ms ease-in-out;
	-webkit-transition: all 300ms ease-in-out;
}

.lost img{
  width: 30%;
  height: 30%;
  object-fit: cover;
  overflow: hidden;
  border-radius: 50%;
  margin: 2%;
  border:5px solid rgb(255, 255, 255);
}

.videoWrapper {
  position: relative;
  padding-bottom: 55.25%; /* 16:9 */
  height: 0;

  border-radius: 15px;
  border: 5px solid #FAE896;
  overflow: hidden; /* [1.2] Hide the overflowing of child elements */
  margin: 0.5%;
}
.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/*--------------------
7.0 Footer
----------------------*/
#bottom-footer {
	padding: 10px 0;
	background: #131316;
}

#bottom-footer img{
  display: block;
  width: 15%;    
  height: auto;
  margin-left: auto;
	margin-right: auto;
  padding-bottom:2%;
	position:relative;
	text-align: center;
  justify-content: center;
}

#bottom-footer p.copyright {
	color: #73757d;
	font-size: 16px;
	text-align:center;
	font-weight: 400;
	
	margin-top: 10px
}
nav.bottom-nav {
	 position:relative;
}
nav.bottom-nav ul {
	text-align: center;
  padding: 0px;
}
nav.bottom-nav ul li {
	list-style: none;
	display: inline-block;
	margin: 10px 5px;
}
nav.bottom-nav ul li a {
	color: #fff;
	text-transform: none;
	font-size: 16px;
	font-weight: 400;
	
}

.social-link {
	text-align: center;
  padding: 0px;
}
.social-link li {
	display: inline-block;
	list-style: none;
  width: 80px;
  height: 80px;
	padding: 10px;
}

.social-link li img {
	display: inline-block;
	list-style: none;
  width: 50px;
  height: 50px;
	padding-bottom: 10px;
}

.social-link li img:hover {
	filter: sepia(86%) saturate(1084%) hue-rotate(313deg) brightness(106%) contrast(101%);
	transition: all 300ms ease-in-out;
	-webkit-transition: all 300ms ease-in-out;
}

.social-link li a {
	color:#EB7300;	
	font-size: 40px;
}
.social-link li a:hover {
	color: #FFDC75;
	transition: all 300ms ease-in-out;
	-webkit-transition: all 300ms ease-in-out;
}

/* LIGHTBOX */

/** LIGHTBOX MARKUP **/

.lightbox {
  /* Default to hidden */
  display: none;

  /* Overlay entire screen */
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  
  /* A bit of padding around image */
  padding: 1em;

  /* Translucent background */
  background: rgba(0, 0, 0, 0.8);
}

/* Unhide the lightbox when it's the target */
.lightbox:target {
  display: block;
}

.lightbox span {
  /* Full width and height */
  display: block;
  width: 100%;
  height: 100%;

  /* Size and position background image */
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media screen and (orientation:portrait) {
  .logo img {
    display:block;
    width: 85%;    
    height: auto;
    padding-top: 1vh;
    padding-bottom: 1vh;
    margin-left: auto;
    margin-right: auto;
    position:relative;
    text-align: center;
    opacity: 0;
    animation: fadeBounceIn 0.75s ease-in both;
  }
}

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

