*,
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}


/* source-code-pro-200 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Source Code Pro';
	font-style: normal;
	font-weight: 200;
	src: url('fonts/source-code-pro-v23-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-code-pro-300 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Source Code Pro';
	font-style: normal;
	font-weight: 300;
	src: url('fonts/source-code-pro-v23-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-code-pro-regular - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Source Code Pro';
	font-style: normal;
	font-weight: 400;
	src: url('fonts/source-code-pro-v23-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-code-pro-500 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Source Code Pro';
	font-style: normal;
	font-weight: 500;
	src: url('fonts/source-code-pro-v23-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-code-pro-600 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Source Code Pro';
	font-style: normal;
	font-weight: 600;
	src: url('fonts/source-code-pro-v23-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-code-pro-700 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Source Code Pro';
	font-style: normal;
	font-weight: 700;
	src: url('fonts/source-code-pro-v23-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


body {
font-family: "Source Code Pro", monospace;
font-optical-sizing: auto;
font-size: 15px;
line-height: 18px;
font-weight: 300;
font-style: normal; 
color: #fff;   
}
html { 
	background: url(background6.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
 animation: moveBackground 80s linear infinite; 
} 
main {text-align: center;}
h1 {font-weight: normal; font-size: 3vw; line-height: 40px;}

@media only screen and (min-width: 1200px) { h1 {font-size: 40px; line-height: 44px;}  }
@media only screen and (max-width: 600px) { h1 {font-size: 28px; line-height: 36px;}  }    


a {color: #fff; }


header {height: 35vh;display: flex; align-items: flex-end; justify-content: center;}
main {height: 40vh; display: flex; align-items: flex-start; justify-content: center;}
footer {height: 15vh; }      


footer,
.sub main {font-family: Arial, Helvetica, sans-serif; }


.sub h1 {font-size: 26px; font-weight: normal; }
.sub h2 {font-size: 18px; font-weight: normal; margin: 20px 0 10px 0; }
.sub h3 {font-size: 16px; font-weight: normal; margin: 20px 0 10px 0; }    
.sub h4 {font-size: 15px; font-weight: normal; margin: 20px 0 10px 0; }  

.flex {padding-bottom: 50px;font-weight: 500; display: flex; flex-wrap: wrap; justify-content: space-between; max-width: 800px; color: #fff; margin: 0 auto; }
.flex p {width: 23%; border: 0px #fff solid; margin: 0; border: 0px #fff solid;}
.flex p:nth-child(2) {width: 33%; }  
.flex p:nth-child(3) {width: 22%; }             
.flex p.book {width: 22%; transform: translateY(-25px); font-size: 12px; text-align: center;}   
  

img {max-width: 100%;}
#wrapper {display: block; width: 90%; max-width: 1400px; margin: 0 auto; max-height: 500px !important; }
footer {position: absolute; bottom: 0; right: 0; left: 0; margin: 0 auto; width: 90%; max-width: 900px;}



.sub main,
.sub header {height: auto; display: block;}
.sub footer {position: relative; margin-top: 150px; }

.sub main {text-align: left !important; background: rgba(0,0,0,0.35); padding: 20px; margin-top: 40px;}


 
@media only screen and (max-width: 700px) {
.flex {display: flex; flex-wrap: wrap; justify-content: flex-start; } 
.flex p {width: 50%; margin-bottom: 15px;  }
.flex p:nth-child(2) {width: 50%; }  
.flex p:nth-child(3) {width: 50%; }                             
.flex p.book {width: 40%; transform: translateY(5px) !important; text-align: left; }
.flex p.book img {max-width: 150px; }       
} 
@media only screen and (max-width: 550px) {
.flex { display: block;  } 
.flex p {width: 100% !important; }
.flex p.book {width: 70%; transform: translateY(5px) !important; text-align: center; }  
} 




@media only screen and (max-width: 700px) { 
header, 
main,
footer,
.sub footer {height: auto; display: block; }  
footer,
.sub footer {position: relative; margin-top: 80px; }   
} 



@media only screen and (max-width: 500px) { 
header {padding-top: 30px;  }  
main {padding-top: 70px; padding-bottom: 60px; } 
.home h1 {font-size: 20px !important; line-height: 28px !important;}
footer img {max-width: 130px;} 
footer {text-align: center; }  
}    

/* The animation code */
@keyframes logo {
	from {transform: scale(0.15); opacity: 0;}
	to {transform: scale(1); opacity: 1;}
}
@keyframes main {
	from {transform: scale(0); opacity: 0;}
	to {transform: scale(1); opacity: 1;}
}
@keyframes moveBackground {
from {
background-position: 0 0;
}
to {
background-position: 100% 0;
}
}

/* The element to apply the animation to */
.home header img {
	animation-name: logo;
	animation-duration: 1s;
}
.home main h1 {
	animation-name: main;
	animation-duration: 3s;
}