/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
}

body {
  font-family: arial, sans-serif;
  font-style: normal;
  font-size: 20px;
  width:100%;
  color: #fff;
}

html, body {
    height: -webkit-fill-available;
    scroll-behavior: smooth;
}


/*
 * A better looking default horizontal rule
 */

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


/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
    max-width: 100%;
}

/*
 * Remove default fieldset styles.
 */

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

input, textarea {
  outline: none;
}

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

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


/* Grid */

article, section, .stack, footer {
	display:block;
	clear:both;
 	overflow: auto;
}

article {
	margin:0;
}

section {
}

.column {
	float:left;
	margin: 0;
	height: 100%;
}

.full {
	width: 100%;
}

.two-thirds {
	width: 66.7%;
	margin: 0;
}

.half {
	width: 50%;
	margin: 0;
}

.one-fourth {
	width: 25%;
}

.one-third {
	width: 33.3%;
}

ul, li {
	list-style: none;
	margin: 0;
	padding: 0;
}


/* Typography */

h1, h2, h3, h4, h5 {
	line-height: 1em;
}

h1 {
	font-size: 3em;
	font-weight: 700;
	margin: 0 0 0.2em;
	text-align: center;
	text-transform: uppercase;
}

h2 {
	font-size: 1.8em;
	font-weight: 700;
	margin: 0 auto 50px;
}

h3 {
	font-size: 1.5em;
	font-weight: 700;
	line-height: 1.2em;
	margin: 0.3em 0;
}

h4 {
	font-size: 1em;
	font-weight: 400;
	line-height: 0.7em;
    padding: 0.7em 0 0;
}

p {
	font-size: 0.9em;
	line-height: 1.3em;
	margin: 1em 0;
}

a, a:visited {
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 400;
}

a.button, a.button:visited {
	font-size: 1em;
	font-weight: 600;
	color: #fff;
	background: #000;
	padding: 10px 20px;
	display: inline-block;
	width: fit-content;
	margin: 0 auto;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
}

a.button:hover {
	background: #8a30ec;
}



/* Content */

.content {
	width: 100%;
	margin: 0 auto;
	height: 100%;
}

.hero {
	text-align: center;
	position: fixed;
	top: 0;
	width: 100%;
	height: 100%
}

#bg-video {
	position: fixed;
	right: 0;
	bottom: 0;
	min-width: 100%; 
	min-height: 100%;
}

.bg-minecraft {
	background: url(../media/minecraft-bg.png) center center no-repeat;
	background-size: cover;
}

.story {
	margin: 0;
	height: 100%
}

.logo-container {
	text-align: center;
}

.logo-container h4 {
	margin: 40px auto;
}


.logo {
    width: 400px;
    height: 400px;
    display: block;
    margin: 280px auto 0 ;
    background: url(../media/logo.png) center center no-repeat;
    background-size: cover;
}

.minecraft-logo {
    width: 180px;
    height: 180px;
    display: block;
    margin: 30px auto 10px;
    background: url(../media/minecraft-logo.png) center center no-repeat;
    background-size: cover;
}

.bg-minecraft .logo-container img {
	width: 600px;
	display: block;
	margin: 160px auto 0;
}

ul.sn-buttons  {
	display: block;
	margin: 0 auto;
	text-align: center;
}

ul.sn-buttons  li {
	display: inline-block;
}

.mine-craft-link {
	text-align: center;
}

.mine-craft-link img {
	width: 300px;
}

.mine-craft-link a {
	display: block;
	color: #fff;
}


#scroll-container {
	overflow: hidden;
	height: 100%
}

#scroll-text {
	
	width: 80%;
	margin: 0 0 0 5em;
	
  /* animation properties */
  -moz-transform: translateX(100%);
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  
  -moz-animation: my-animation 45s linear infinite;
  -webkit-animation: my-animation 45s linear infinite;
  animation: my-animation 45s linear infinite;
}

/* for Firefox */
@-moz-keyframes my-animation {
  from { -moz-transform: translateY(100%); }
  to { -moz-transform: translateY(-100%); }
}

/* for Chrome */
@-webkit-keyframes my-animation {
  from { -webkit-transform: translateY(100%); }
  to { -webkit-transform: translateY(-100%); }
}

@keyframes my-animation {
  from {
    -moz-transform: translateY(100%);
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
  to {
    -moz-transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }

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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, 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: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

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

}

/* Mobile - Media Queries for Screens less than 768 */

@media only screen and (max-width: 1023px) {

	article, section {
		overflow: hidden;
	}
	
	article {
		padding: 100px 40px;
		margin: 0;
	}
	
	section {
		width: 100%;
	}
	
	.column {
		float: none;
	}

	.two-thirds, .half, .one-third, .one-fourth {
		width: 100%;
	}
	
	h1 {
		margin: 0;
		font-size: 3em;
	}
	
	h2 {
		text-align: center;
	}
	
	.content {
		width: 100%;
	}
	
}


/* Tablets - Media Queries for Screens between 768 and 1024 */

@media (min-width: 768px) and (max-width: 1023px) {

}


/* All Desktops - Media Queries for Screens larger than 1024 */

@media (min-width: 1024px) {

}

/* Medium Desktop - Media Queries for Screens between 1024 and 1200 */

@media (min-width: 1024px) and (max-width: 1199px){

}

/* Large Desktop - Media Queries for Screens larger than 1200 */

@media (min-width: 1200px) {

}


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

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

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

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