/**
 * Resets
 */

* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;

}

::-moz-selection {
	background-color: #09f;
	color: #fff;
}

::selection {
	background-color: #09f;
	color: #fff;
}

:focus {
	outline: 0;
}

customhtml > * {
    position: relative;
    z-index: 10;
}



/**
 * Global
 */

body,
html {
	min-height: 100vh;
	margin: 0px;
	padding: 0px;
}

html {
	position: relative;
}

body {
	background: #333;
	color: #000;
}

a:active {
	opacity: 0.7;
}

@font-face {
	font-family: 'Ogg'; 
    font-weight: normal;
    font-style: normal;
    src: url('https://files.persona.co/106429/Ogg-Bold.woff') format('woff');
}
/** added in **/

#header {
	width: 100vw;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2.5em;
}

#header>h1{
margin:0px;
color:#FFFFFF;
font-size: 2.7em;
padding-left: 25px;
font-family: 'Ogg';
}

ul.site_links {
    list-style: none;
    display: flex;
    padding-right: 10px;
}

ul li {
    font-size: 2em;
    padding: .5em;
}

ul li:last-child{
    padding-right: 10px;
}

a.nav__link {
  display: flex;
  opacity: 80%;
  color: white;
  font-weight: bold;
  font-size: 17px;
  text-decoration: none;
  padding: 2em;
    margin-bottom: .6em;
}

a.highlighted {
  opacity: 100%;
  transition: all 0.4s ease-in-out;
}

div.nav__links {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 40vh;
  width: fit-content;
}

h1.home_link_main {
  opacity: 0;
  animation-name: titleFadeIn;
  animation-delay: 8s;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

ul.site_links_main {
  opacity: 0;
  animation-name: SiteLinksFadeIn;
  animation-delay: 8s;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

a.sub {
    padding: 1em 0em 1em 3.5em;
    font-size: 13px;
    justify-content: space-between;
}


.video_box {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.preview_video {
  min-width: 140vw;
  min-height: 140vh;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.popup_window {
  display: none;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  position: fixed;
  justify-content: center;
  align-items: center;
}

.popup_videobox {
  width: 100%;
}

.popup_video {
  display: none;
  cursor: pointer;
  height: 100vh;
  width: 100vw;
  justify-content: center;
}

.close {
  color: white;
  font-size: 60px;
  font-weight: bolder;
  top: 0;
  position: absolute;
  right: 15px;
  cursor: pointer;
  z-index: 40;
}

.iframe_popup {
  height: 100%;
  width: 80%;
}

.background {
  background-color: black;
  width: 100vw;
  height: 100vh;
}

.box {
	width: 70vw;
}

.home_title {
  color: white;
  height: calc(100vh - 200px);
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8em;
  opacity: 1;
  mix-blend-mode: difference;
  animation-name: titleFadeOut;
  animation-duration: 1.5s;
  animation-delay: 7s;
  animation-fill-mode: forwards;
  font-family: 'Ogg';
}

.backgroundvideo {
  height: 120vh;
  width: 120vw;
  min-width: auto;
  min-height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.wrapper {
  position: fixed;
  width: 100vw;
  height: 100vh;
    overflow: hidden;
}

#movingpage_img {
  z-index: -2;
  height: 100vh;
  width: 100vw;
  min-width: auto;
  min-height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  object-fit: cover;
  display: flex;
}

#background_img {
  z-index: -2;
  height: 100vh;
  width: 100vw;
  min-width: auto;
  min-height: auto;
  object-fit: cover;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  object-fit: cover;
  display: flex;
}

@keyframes titleFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes SiteLinksFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes titleFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media screen and (max-width: 1400px) and (min-width: 1025px) {
  .video_box {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
  }

  .preview_video {
    position: absolute;
    min-width: 180vh;
    min-height: 120vw;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .backgroundvideo {
    position: absolute;
    height: 120vh;
    width: 150vw;
    min-width: auto;
    min-height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .home_title {
    font-size: 5em;
  }
}

@media screen and (max-width: 1024px) and (min-width: 801px) {
  .preview_video {
    height: 200vh;
    width: 180vh;
  }

  .backgroundvideo {
    height: 250vh;
    width: 200vw;
  }

  .home_title {
    font-size: 4em;
  }
}

@media screen and (max-width: 800px) {
  #header {
	padding-top: 0;
}
    
  #header > h1 {
    font-size: 2em;
    padding-left: 15px;
  }
  ul.site_links {
    font-size: 0.7em;
  }

  div.nav__links {
    width: 30rem;
  }
  .preview_video {
    position: absolute;
    min-width: 200vh;
    min-height: 200vw;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
    
  .iframe_popup {
  height: 100%;
  width: 100%;
}

  .backgroundvideo {
    width: 300vw;
    height: 100vh;
  }
    
   .home_title {
    display: none;
  }

  h1.home_link_main {
    opacity: 1;
    animation: none;
    z-index: 2;
    
  }

  ul.site_links_main {
    opacity: 1;
    animation: none;
      z-index: 2;
  }
}




/**
 * Backdrop
 */

#backdrop {
	position: fixed;
	right: 0;
	top: 0;
	bottom: 0;
	max-width: 100%;
	z-index: 1;
}

/**
 * Container
 */

main {
	background: #fff;
	clear: both;
	position: absolute;
	max-width: 100%;
	width: 100%;
	z-index: 10;

	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;

	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;

	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
	align-items: center;
}

main > div {
	-moz-flex: 1 0 auto;
	-webkit-flex: 1 0 auto;
	flex: 1 0 auto;
	width: 100%;
}


.subpage_overlay {
	display: block;
	pointer-events: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

body.homepage .subpage_overlay {
	display: none;
}
/**
 * Content
 */

i, em {
	font-style: italic;
}

b, strong {
	font-weight: bold;
}

ul, ol {
	margin: 0;
	padding: 0 0 0 1em;
}

sup {
	top: -0.4em;
	vertical-align: baseline;
	position: relative;
}

sub {
	top: 0.3em;
	vertical-align: baseline;
	position: relative;
}

s {
	
}

.slideshow-nav { 
	margin-bottom: 0.5em; 
}

img {
	border: 0;
	padding: 0;
}

blockquote {
	margin: 0;
	padding: 0 0 0 2em;
}

hr {
	background: rgba(127, 127, 127, 0.2);
	border: 0;
	height: 0.08em;
	display: block;
}

.bodycopy {
	display: none;
}

.container {
	min-height: 100%;
}

.content img {
	float: none;
	margin-bottom: 1em;
}

.clear:after {
	content: "";
	display: table;
	clear: both;
}

.loading[data-loading] {
	display: none;
	position: fixed;
	top: 8px; left: 8px;
	z-index: 100;
}



/**
 * Editor styles
 */

[data-css-presets="true"] main {
	background-color: rgba(0, 0, 0, 0)/*!content_center*/;
	text-align: right /*!text_right*/; /*!text_left*/;
	min-height: 100vh /*!content_stretch*/;
	-webkit-align-items: flex-start /*!vertical_top*/;
	align-items: flex-start /*!vertical_top*/; /*!vertical_top*/;
	left: 0 /*!content_center*/;
	margin-left: auto /*!content_center*/;
	margin-right: auto /*!content_center*/;
	right: 0 /*!content_center*/;
}

[data-css-presets="true"] .content_padded {
	padding: 0rem/*!main_margin*/;
}

[data-css-presets="true"] .content_width {
	width: 100%/*!content_center*/;
}

[data-css-presets="true"] #backdrop {
	width: 100% /*!background_cover*/;
}

[data-predefined-style="true"] main {
	font-size: 1rem;
	font-weight: 700;
	color: rgb(255, 255, 255);
	font-family: Roboto, Social /*!Google*/;
	font-style: normal;
	line-height: 0.7;
    text-decoration: none;
    align-items: baseline;
   
    
}

[data-predefined-style="true"] main a {
	color: rgba(255, 255, 255, 1);
    padding-bottom: 0em;
    text-decoration: none;
    
}
[data-predefined-style="true"] main a:hover {

}


main a.image-link,
main a.icon-link,
main a.image-link:hover,
main a.icon-link:hover {
	border-bottom: 0;
	padding-bottom: 0;
}

[data-predefined-style="true"] h1 {
	font-family: Roboto, Social /*!Google*/;
	font-style: normal;
	font-weight: 700;
	color: rgb(255, 255, 255);
	text-rendering: optimizeLegibility
}

[data-predefined-style="true"] h1 a {
	color: rgba(255, 255, 255, 1);
 
}


[data-predefined-style="true"] h2 {
	font-family: Roboto, Social /*!Google*/;
	font-style: normal;
	font-weight: 700;
	color: rgba(255, 255, 255, 1);
	font-size: 1.6rem;
	line-height: 0;
	text-rendering: optimizeLegibility;
    text-align: right;

   
}

[data-predefined-style="true"] h2 a {
	color: rgba(255, 255, 255, 1);
}

[data-predefined-style="true"] small {
    display: inline-bloc;
	font-size: 1.5rem;
	line-height: 1.3;
	font-family: Roboto, Social /*!Google*/;
	font-style: normal;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.9);
}

[data-predefined-style="true"] small a {
	color: rgba(255, 255, 255, 0.9);
	border-bottom-width: 0.1em;
}


[data-css-presets="true"] .subpage_overlay {
	background-color: rgba(0, 0, 0, 1)/*!subpage_overlay*/;
}

.name {
    margin-right: 300px;
}
/**
 * Backstage Icon
 */

#backstage_icon {
	display: block;
}

/**
 * Breakpoints
 */

[data-css-presets="true"].mobile #plugin,
[data-css-presets="true"].mobile #backdrop,
.mobile #backdrop,
.mobile #plugin {
	position: relative;
	height: 50vh;
	min-width: 100%;
	width: calc(100% - 80rem) /*!right_fit*/;
	top: 0;
	bottom: auto;
	left: 0 /*!right_fit*/;
}

.mobile main,
[data-css-presets="true"].mobile main {
	position: relative;
	min-height: 10px;
	max-width: 100%;
	width: 100%;
}

.mobile main.content_width,
[data-css-presets="true"].mobile main.content_width {
	max-width: 100%;
	width: 100%;
}
