html, body
{
	margin: 0;
    height:100%;
    width:100%;
    padding:0;
}


html, body p
{
	font-family: "Roboto", Arial;
	font-weight: 400;
}


div#logo-wrapper
{
	position: absolute;
	top: 0px;
	width: 100%;
	height: 100%;

	
}

div#logo
{
	position: relative;
	margin-left: 50%;
	margin-top: 0%;
	z-index: 1;
}

div#logo img
{

	position: relative;
	left: -32px;
	opacity: 0.8;
	margin: 6% 0 7% 0;
}

div#presentation
{
	position: relative;
}

/* correct */

div#presentation-content-fi, div#presentation-content-swe, div#presentation-content-eng
{
	position: relative; 
	top: 0; 
	margin: 0 0 0 53%; 
	padding: 2% 0 0 0; 
	width: 44%;
}


/*
div#presentation-content-fi, div#presentation-content-swe
{
	position: relative; 
	top: 0; 
	margin: 0 0 0 0; 
	padding: 2% 0 0 0; 
	width: 20%;
}

*/


div#presentation-text {
	/* padding-left: -50%; */
	
}

div#presentation-content-fi p, div#presentation-content-swe p, div#presentation-content-eng p
{
	font-size: 16px; 
	line-height: 20px; 
	letter-spacing: 0.6px; 
	color:#fff; 
	font-family: 'Roboto', Arial; 
	font-weight: 300;	
}

div#presentation-content-fi a, div#presentation-content-swe a, div#presentation-content-eng a
{
	text-decoration: none;
	color: #fff;
}


/*
el = document.getElementById('presentation-carousel');
el.scrollTo(50%, 0);


const vw = Math.max(document.documentElement.clientWidth || 0, window.innerWidth || 0)

document.getElementById('presentation-carousel').scrollLeft += 500;


*/
#presentation-carousel {
  display: flex;
  overflow-x: hidden;
  /* overflow-x: scroll; */
  overflow-y: hidden;
  scroll-behavior: smooth;
}

.presentation__slide {
  flex: 0 0 100%;
  width: 100%;
  /* background-color: #f99; */
}


div#presentation-nav input + label {
  padding:0px 0px;
  text-align:center;
  cursor:pointer;
}

/*
div#presentation-nav input {
	display: none;
}
*/



div#presentation-nav
{
	position: relative; 
	top: 0; 
	margin: 0 0 0 50%;
	
}
div#presentation-nav a, div#presentation-nav p
{
	text-decoration: none;
	color: #ddd;
}

div#presentation-nav span {	
	cursor: pointer;
}


div#presentation img
{
	z-index: -1; 
	position: absolute; 
	top: 0; 
	width: 100%; 
	height: 100%; 
	object-fit: none; 
	object-position: 50% 20%;	
}
div#presentation-margin
{
	height: 3px;
	width: 100%;
	background-color: #222;	
}


div#presentation-photo {
	width: 50%;
	text-align: right;
	line-height: 10px;
}
div#presentation-photo p {
	color: rgba(255, 255, 255, 0.4);
	font-size: 12px;
}


section video
{
	width: 100%;
	height: 100vh;
	box-sizing: border-box;
	position: relative;
	top: 0;
	left: 0;
	height: 100%;
	/* object-fit: cover;  this is bad for other sections */
}

.video-background {
	position: relative;
	top: 0;
	height: 100%;
	background: #000;
	overflow: hidden;
	/*padding: 50px 0 50px 0; */
}

/* hide videos by default, but show the current playing video */

.video-background > video
{
	display: none;
}

video.playing_video 
{
	display: block;
}


/* addon to get rid of flickering - video_0 is always display: block */
#video_1, #video_2, #video_3, #video_4, #video_5, #video_6, #video_7
{
	position: absolute;
	top: 0px;
}

#video_0
{
	opacity: 0;
	display: block;
}

#video_0.playing_video
{
	opacity: 1;
}
div#pattern-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAABxJREFUGFdjZGBg8GVgYNjMAAWMMAY2AbBKDBUAUVYCBVYo/8cAAAAASUVORK5CYII=) repeat;
}
div#logoscrolloverlay
{	
	z-index: 2;
	display: flex;
	mix-blend-mode: screen; 
	position: absolute;
	top: -179%;
	left: 0;
	width: 100%;
	height: 100%;
	 -webkit-animation: scrollText 115s infinite linear;
          animation: scrollText 115s infinite linear;
}

div#logoscrolloverlay p
{
	color: #000;
	background-color: #ff8;
	text-shadow: 0 0 0.2vw #888;
	display: table;
	font-size: 89vw;
	line-height: 68vw;
	font-family: "Maven Pro", sans-serif;
	letter-spacing: -17.5vw;
	font-kerning: normal;
	opacity: 0.4;

}
@-webkit-keyframes scrollText {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-999%);
  }
}
@keyframes scrollText {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-999%);
  }
}


.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}


/* video fade in */
.fade-in {
  animation: fadeIn ease 2s;
  -webkit-animation: fadeIn ease 2s;
  -moz-animation: fadeIn ease 2s;
  -o-animation: fadeIn ease 2s;
  -ms-animation: fadeIn ease 2s;
}
@keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
}
}

/* https://css-tricks.com/css-only-carousel/ */

@keyframes tonext {
  82% {
    left: 0;
  }
  96% {
    left: 100%;
  }
  98% {
    left: 100%;
  }
  99% {
    left: 0;
  }
}

/* note - this animation needs to be modified if more testimonials are added */
@keyframes tostart {
  75% {
    left: 0;
  }
  95% {
    left: -700%;
  }
  98% {
    left: -700%;
  }
  99% {
    left: 0;
  }
}

@keyframes snap {
  96% {
    scroll-snap-align: center;
  }
  97% {
    scroll-snap-align: none;
  }
  99% {
    scroll-snap-align: none;
  }
  100% {
    scroll-snap-align: center;
  }
}


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


.carousel {
  position: relative;
  filter: drop-shadow(0 0 10px #0003);
  width: 100%;
  display: block;
  background-color: #eee;
  top: 0;
}

.carousel__viewport {
  min-height: 240px;
  display: flex;
  overflow-x: hidden;
  /* overflow-x: scroll; */
  overflow-y: hidden;
  counter-reset: item;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  /* background-color: #f99; */
  counter-increment: item;
}


.carousel__snapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
}

/* here is len */
.carousel__snapper {
animation-duration: 7s;
animation-name: tonext, snap;
animation-timing-function: ease;
animation-iteration-count: infinite;
}

.carousel__slide:last-child > .carousel__snapper {
animation-name: tostart, snap;
}


@media (prefers-reduced-motion: reduce) {
  .carousel__snapper {
    animation-name: none;
  }
}


.carousel__navigation {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
}

.carousel__navigation-list,
.carousel__navigation-item {
  display: inline-block;
}

div.testimonial {
	padding: 0;
	margin: auto;
	position: relative;
	top: 50px;
	max-width: 70%;
}

div.testimonial p {
	font-size: 16px;
	line-height: 24px;
}

div.testimonial p:before,
div.testimonial p:after {
	font-family: "Roboto";
	content: "\201C";
	position: absolute;
	font-size: 50px;
	opacity: 0.3;
	font-style: normal;
}
div.testimonial p:before {
  top: -20px;
  left: -25px;
}
div.testimonial p:after {
  content: "\201D";
  right: -20px;
  bottom: -70px;
}


div.signed {
	padding: 0;
	margin: auto;
	position: relative;
	top: 50px;
	width: 70%;
}

div.signed p {
	font-style: italic;
}

div#videowrapper {
	width:100%;
	
}

div#videostuff {
	/* background-color: #000; */
	  justify-content: center;
	  width:100%;
	margin-bottom: 20px;
	display: inline-flex;
	flex-wrap: wrap;
}

div#videostuff div {
	padding: 0 0;
	display: flex;
	flex-direction: column;
}

div#videostuff p {
	text-align: center;
	margin: 0 0;
	color: #111;
	font-size: 14px;
	/* font-style: italic; */
}

div#videostuff a {
	text-decoration: none;
}

div#videostuff div.item {
	display: float;
}

div#videostuff h3 {
	color: #444;
	text-align: center;
	letter-spacing: 0.6px; 
	font-family: 'Roboto', Arial; 	
}


section .vid-nav
{
	position: relative;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	justify-content: center;
	align-items: center;
}
div.item
{
	width: 180px;
	height: 160px;
	list-style: none;
	cursor: pointer;
	border-radius: 0px;
	background: #fff;
}
div.item img
{
	position: relative;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 160px;
	transition: 0.4s;
}


div.item img:hover
{
	width: 180px;
	
}

div#promo-photo {
	position: relative;
	top: -40px;
	left: 20px;
	width: 80%;
}

div#promo-photo p {
	color: rgba(255, 255, 255, 0.4);
	font-size: 12px;
}


div#footer-wrapper
{
  background-color: #1a1a1a;
  display: flex;
  justify-content: center;
  padding: 5px 0 5px 0;

	
}

div#footer-wrapper div
{

	float: left;
	padding: 0 10px 0 10px;
}

div#footer-wrapper p
{
	text-align: center;
	color: #eee;
	line-height: 22px;

}


