html {
	font-size: 100%;
}

@font-face {
	font-family: 'CrimsonText';
	src: url(fonts/CrimsonText-Roman.ttf);
}

@font-face {
	font-family: 'GrandHotel';
	src: url(fonts/GrandHotel-Regular.ttf);
}

@font-face {
	font-family: 'GreatVibes';
	src: url(fonts/GreatVibes-Regular.ttf);
}

@font-face {
	font-family: 'Pacifico';
	src: url(fonts/Pacifico.ttf);
}

@media (min-width: 800px) { body p {font-size: .8rem;} } 
@media (min-width: 1515px) { body p {font-size: 1.1rem;} } 
@media (min-width: 1920px) { body p {font-size: 1.3rem;} } 

@media (min-width: 800px) { body h2 {font-size: 1.8rem;} } 
@media (min-width: 1366px) { body h2 {font-size: 2.2rem;} } 
@media (min-width: 1920px) { body h2 {font-size: 2.4rem;} }

@media (max-width: 1100px) { #textbox {position: relative !important; width: auto !important;} }

video#bgvid { 
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
/*    background: url(polina.jpg) no-repeat;
    background-size: cover;*/
}

header {
	position: relative;
	top: -60px;
	width: 100%;
	height: auto;
	background-color: white;
}

header h1 {
	font-family: "GrandHotel";
	font-size: 2.4em;
	margin: 5px 10px 5px 10px;
	display: inline;
	position: relative;
	background: -webkit-linear-gradient(left, #0471bc, #05fff8);
	background: linear-gradient(left, #0471bc, #05fff8);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;

}

header li {
	display: inline;
	list-style-type: none;
}

header li a {
	text-decoration: none;
	font-family: "Crimson";
	color: rgba(5, 153, 255, 0.75);
	font-size: 125%;
/*	font-weight: bold;*/
}

.toc {
	display: flex;
	justify-content: space-between;
}

ul.toc {
	padding: 0px;
	margin: 10px 20px;
}

/*h1.show {
	position: absolute;
	z-index: 10;
	left: 5px;
	margin: 5px 25px;
	background: -webkit-linear-gradient(left, #0471bc, #a3ffff);
	background: linear-gradient(left, #0471bc, #a3ffff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}*/

/*----------------------------------------------------------------------------*\
  Headhesive Specific Styles
/*----------------------------------------------------------------------------*/

/**
 * Headhesive element clone
 * > `clone` class for the cloned element:
 *
 * @example
 * var options = {
 *   classes {
 *     clone: 'banner--clone';
 *   }
 * }
 */
.banner--clone {

  /* Required styles */
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;

  /* Additional styles */
  background: #FFFFFF;
  box-shadow: outset 3px 4px 15px gray;

  /* Translate -100% to move off screen */
  -webkit-transform: translateY(-100%);
      -ms-transform: translateY(-100%);
          transform: translateY(-100%);

  /* Animations */
  -webkit-transition: all 300ms ease-in-out;
     -moz-transition: all 300ms ease-in-out;
          transition: all 300ms ease-in-out;

}


/**
 * Headhesive stick
 * > `stick` class for the cloned element:
 *
 * @example
 * var options = {
 *   classes {
 *     stick: 'banner--stick';
 *   }
 * }
 */
.banner--stick {

  /* Translate back to 0%; */
  -webkit-transform: translateY(0%);
      -ms-transform: translateY(0%);
          transform: translateY(0%);
}


/**
 * Headhesive unstick
 * > `unstick` class for the cloned element:
 *
 * @example
 * var options = {
 *   classes {
 *     unstick: 'banner--unstick';
 *   }
 * }
 */
.banner--unstick {
  /* Not required to use, but could be useful to have */
}

/*----------------------------------------------------------------------------*\
  End Headhesive Specific Styles
/*----------------------------------------------------------------------------*/
 
.anchor:before { 
	display: block; 
 	content: " "; 
  	height: 120px;      /* Give height of your fixed element */
    margin-top: -100px; /* Give negative margin of your fixed element */  	
    visibility: hidden; 
}

#description {
	position: relative;
	height: auto;
	background-color: rgba(255, 255, 255, .6);
	padding: 40px;
	margin-bottom: 50px;
}

#description h1 {
	font-family: "GrandHotel";
	font-size: 2.4em;
	display: inline;
	margin: 5px 10px 5px 10px;
	position: relative;
	background: -webkit-linear-gradient(left, #0471bc, #05fff8);
	background: linear-gradient(left, #0471bc, #05fff8);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

#description p {
	font-family: "Crimson";
	color: black;
	margin: 0px 10px 10px 10px;
}

#content {
	position: relative;
	top: -20px;
	left: 0;
	right: 0;
	bottom: 0;
	width: 80%;
	margin: 0 auto;
}


#section {
	background-color: white;
	margin-bottom: 50px;
	position: relative;
}

#sectionhead {
	position: relative;
}

#textbox h2 {
	font-family: "GrandHotel";
	color: white;
/*	font-size: 2.4em;*/
	margin: 0;
	position: relative;
}

img.sectionimage{
	postion: relative;
	width: 100%;
	height: auto;
}

#textbox {
	position: absolute;
	bottom: 4px;
	width: 30%;
	height: auto;
	background-color: rgba(105, 105, 105, .8);
	padding: 10px 20px;
}

#textbox p {
	font-family: "Crimson";
	color: white;
	margin: 0;
/*	font-size: 1.3em;*/
}

#scroller {
	position: relative;
	padding: 20px 20px 50px 20px;
}

.load-more {
	position: absolute;
	right: 0px;
	margin: 15px 20px;
}

figure {
	margin: 0;
	display: inline;
}

.wrapper img {
	margin: 20px 0px 20px 20px;
	width: 150px;
	height: 150px;
	display: inline;
}

img.wrapper:last-child {
	margin-right: 30px;
}

.wrapper figcaption {
	display: none;
}

.wrapper {
	width: 100%; /* arbitary for demo only */
	white-space: nowrap;
	overflow-y: hidden;
	overflow-x: scroll;
	-webkit-overflow-scrolling: touch;
	box-shadow: inset 3px 4px 15px gray;
}

.wrapper::-webkit-scrollbar { 
    display: none; 
}

#footer {
	position: fixed;
	bottom: 0px;
	width: 100%;
	padding-top: 50px;
	padding-bottom: 20px;
	text-align: center;
}

#footer p {
	color: #cecece;
	font-size: 16px;
}

#footer a {
	background-color: transparent;
	text-decoration: none;
	color: #929292;
	font-size: 12px;
}