@charset "utf-8";
/* CSS Document */

* {
    box-sizing: border-box;
}

/*CSS Variables*/

:root {
    --TextYellow: #F2DEA2;
    --TextGreen: #BCBF5A;
	--PrimaryBlue: #1C2559;
	--SecondaryBlue: #152040;
	--ThirdBlue: #5D75A6;
}

/*Keyframe animations*/

@keyframes bgmove {
    0% {background-position: 22% -50%;}
    100% {background-position: 22% 0%}
}

@keyframes reveal {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

/*Site Specific Styles*/

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

body {
    margin: 0;
    background-color: var(--PrimaryBlue);
}

header, section {
    min-height: 100vh;
    scroll-snap-align: start;
}

#hamburger {
	width: 47px;
	height: 35px;
	background: url("Gallery/hamburger.png");
	background-repeat: no-repeat;
	text-indent: -9999px;
	position: fixed;
	padding: 0;
	right: 20px;
	top: 20px;
	z-index: 9999;
	cursor: pointer; /* links give cursor modifiers by default, but button if not leading anywhere has to be manually modified. */
	border: solid 10px transparent;
	box-sizing: content-box;
}

nav {
    display: none;
	background: var(SecondaryBlue);
	-webkit-backdrop-filter: blur(10px); /* browser extension */
	backdrop-filter: blur(5px);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 999;
	padding: 29px 0px;
}

nav.open {
	display: block;
}

nav ul.menu {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
/*
	display: flex;
	align-items: center;
	justify-content: center;
*/
	
}

nav ul.menu li {
	display: inline;
}

.menu a {
	text-decoration: none;
	color: var(TextGreen);
	font-family: "Merienda", cursive;
	font-size: 24px;
	font-size:10vh;
	padding: 0px 20px;
	margin-top: 10vh;
	display: block;
}

.menu a:hover {
	text-decoration: underline;
}

h1, h2, h3 {
    font-family: "Kaushan Script", cursive;
    font-weight: normal;
}

header {
    padding-top: 15vh;
}

@keyframes h1Fade {  
    0% {opacity: 0; font-size: 20vw;}
    60% {opacity: 0; font-size: 20vw;}
    65% {opacity: 1; font-size: 11vw;}
    67% {opacity: 1; font-size: 12vw;}  
}

header h1 {
    opacity: 1;
    font-size: 12vw;
    line-height: 12vw;
    text-transform: uppercase;
    color: #F2DEA2;
    text-align: center;
    letter-spacing: .1em;
    margin: 0;
    text-shadow: 
        -2px -2px 0 black, 
        -2px -2px 4px #BCBF5A;
    animation: h1Fade 2s ease;

}

@keyframes reveal {
    0% {opacity: 0;}
	60% {opacity: 0.3}
    100% {opacity: 1;}
}

header h2 {
    text-align: center;
    font-size: 3vw;
	color: #BCBF5A;
	text-shadow: 1px 1px 4px black;
    margin: 0;
    animation: reveal 1s 2s both;
}

header p.cta {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    position: absolute;
    bottom: 50px;
    left: calc(50% - 30px);
    margin: 0;
    animation: reveal 1s 2.5s both;
}

.cta a {
    display: block;
    border: solid 2px #362C18;
    width: 60px;
    height: 60px;
    margin: 0 auto;
    color: #362C18;
    border-radius: 30px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.5);
    transition: transform 1s ease-in-out, color 250ms ease, background 500ms ease;
/*    transition: all 300ms ease-in-out;*/
}

.cta a:hover {
   border: solid 2px white; 
   color: white;
   background: #362C18;
    transform: scale(1.5);
}

section {
	width: 50%;
	margin: 0 auto;
	font-family: "Nothing You Could Do", cursive;
	color: #5D75A6;
	font-weight: 600;
	text-shadow: 0px 0px 10px black;
	font-size: 18px;
    padding-top: 10vh;
}

section h3 {
    height: 100px;
    text-align: center;
    font-size: 1rem;
    margin: 0;
    border-bottom: solid 5px black;
    transition: all 1s ease;
}

section h3.in-view {
    font-size: 5rem;
}

@keyframes galleryanim {
    0% {background-size: 100% 100%;}
    100% {background-size: 120% 120%;}
}

.wave {
    height: 50vh;
    background: url("Gallery/Eragon-Dragon.png");
    background-size: 100% 100%;
    background-attachment: fixed;
    box-shadow: inset 0px 0px 50px black;
    animation: galleryanim 0.1ms ease both;
/*    animation-timeline: scroll();*/
    animation-timeline: view();
    animation-range: 30% 70%;
    
}

@media (max-width: 600px) { /* list of mobile modifications */
	
	header h1 {
    font-size: 18vw;
    line-height: 18vw;
    letter-spacing: .1em;
    margin: 0;
    animation: none;
	}
	
	header h2 {
    text-align: center;
    font-size: 6vw;
    margin: 5vh 0 0 0;
    animation: none;
	line-height: 1;
	}
	
	section {
	width: 90%;
	font-size: 18px;
    padding-top: 10vh;
	}
	
	nav {
		padding-top: 12vh;
	}
	
	.menu a {
	font-size: 24px;
	font-size: 6vh;
	padding: 2vh 20px;
	}
	
}

@media (max-width: 367px) {
	
	.menu a {
		font-size: 8vh;
	}
	
}

/* ----- Type -----*/

.nothing-you could do-regular {
  font-family: "Nothing You Could Do", cursive;
  font-weight: 400;
  font-style: normal;
}

// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 300 to 900

.merienda-<uniquifier> {
  font-family: "Merienda", cursive;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.kaushan-script-regular {
  font-family: "Kaushan Script", cursive;
  font-weight: 400;
  font-style: normal;
}
