@import url(https://fonts.googleapis.com/css?family=Nunito);

html {
  height: 100%;
  overflow: hidden;
}

body { 
  margin:0;
  padding:0;
	perspective: 1px;
	transform-style: preserve-3d;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  font-family: Nunito;
}

h1 {
   font-size: 250%
}

p {
  font-size: 140%;
  line-height: 150%;
  color: #333;
}

.slide {
  position: relative;
  padding: 25vh 10%;
  min-height: 95vh;
  width: 100vw;
  box-sizing: border-box;
  box-shadow: 0 -1px 10px rgba(0, 0, 0, .7);
	transform-style: inherit;
}


}

img:last-of-type {
  transform: translateZ(.4px) scale(.6) translateX(-104%) translateY(-40%) rotate(-5deg);
}

.slide:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0 0 8px 1px rgba(0, 0, 0, .7);
}

.title {
  width: 50%;
  padding: 5%;
  border-radius: 5px;
  background: rgba(240,230,220, .7);
  box-shadow: 0 0 8px rgba(0, 0, 0, .7);
  left: -9vw;
  position: relative;
}

.title2 {
  width: 50%;
  padding: 5%;
  border-radius: 5px;
  background: rgba(240,230,220, .7);
  box-shadow: 0 0 8px rgba(0, 0, 0, .7);
  left: 39vw;
  position: relative;
}


.slide:nth-child(2n) .title {
  margin-left: 0;
  margin-right: auto;
}

.slide:nth-child(2n+1) .title {
  margin-left: auto;
  margin-right: 0;
}

.slide, .slide:before {
  background: 50% 50% / cover;  
}

.header {
  text-align: center;
  font-size: 175%;
  color: #fff;
  text-shadow: 0 2px 2px #000;
}

#logo{
    top: 0%;
	left: 50%;
	width: 30vw;
	position: absolute;
	transform: translateZ(.25px) scale(1,1.1) translate(-50%, 15vh);
	
}

#title {
  background-image: url("base.png");
  z-index:2;
}

#title h1 {
 
 transform-origin: 50% 100%;

}

#slide1:before {
  background-image: url("field.jpg");
  transform: translateZ(-1px) scale(2);
}

#slide2 {
  background-image: url("reyk.png");
  z-index:2;
  
}

#slide3:before {
  background-image: url("akur.jpg");
  transform: translateZ(-1px) scale(2);
}

#slide5 {
  background-image: url("copenhagen.jpg");
  z-index:2;
  
}

#slide6:before {
  background-image: url("hveragerdi.jpg");
  transform: translateZ(-1px) scale(2);
}

#slide7 {
  background-image: url("okc.jpg");
  z-index:2;
  
}

#slide8:before {
  background-image: url("Stockholm.jpg");
  transform: translateZ(-1px) scale(2);
}

#slide4 {
  background: #222;
}

/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.bot-right{
	position: absolute;
right: 0px;
bottom: 0px;
}

.bot-right img{
	width: 60vw;
	margin-bottom: -1vh;
}

.bot-right-dog{
	position: absolute;
right: 2vw;
bottom: 0px;
}

.bot-right-dog img{
	width: auto;
	height: auto;
	min-width: 40vw;
	max-width: 50vw;
	max-height: 100vh;
	margin-bottom: -1vh;
}

.bot-left-dog{
	position: absolute;
left: 2vw;
bottom: 0px;
}

.bot-left-dog img{
	width: auto;
	height: auto;
	min-width: 40vw;
	max-width: 50vw;
	max-height: 100vh;
	margin-bottom: -1vh;
}

/* Style the navigation menu */
.topnav {
  overflow: hidden;
  background-color: #333;
  position: sticky;
  z-index: 5;
  top: 0;
}


.white{
	
	color: white;
	
}
.topnav #home{
	width: 40px;
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
  display: none;
}

/* Style navigation menu links */
.topnav a {
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
  width: 50%;
}

/* Style the hamburger menu */
.topnav a.icon {
  background: #0965c2;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Style the active link (or home/logo) */
.active {
  background-color: #aa0404;
  color: white;
}
