* {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #333;
  color: #fff;
  height: 100vh;
  line-height: 1.6;
}

.container {
  width: 100%;
  height: 100%;
}

/* Rotate Message */

@media only screen and (orientation:portrait){
  #turn{ display:block; }
  #maincontent{ display:none; }
}
@media only screen and (orientation:landscape){
  #turn{ display:none; }
  #maincontent{ display:block; }
}

.navbar {
  position: relative;
  top: 100%;
  transform: translateY(-100%);
  bottom: 0;
  z-index: 1;
  display: flex;
  width: 100%;
  height: auto;
}

.navbar ul {
  display: flex;
  list-style: none;
  width: 100%;
  justify-content: center;
}

.navbar ul li {
  margin: 0 1rem;
  padding: 1rem;
}

.navbar li {
width: 33.33%;
}

.middle-li {
  text-align: center;
}

.right-li {
  text-align: right;
}

.navbar ul li a {
  text-decoration: none;
  text-transform: uppercase;
  color: #f4f4f4;
}

.navbar ul li a:hover {
  color: skyblue;
}

.nav-buttons {
  display: flex;
  position: relative;
  top: 90%;
  z-index: 1;
  width: 100%;
  height: auto;
  justify-content: center;
}

.buttons {
  text-decoration: none;
  color: #f4f4f4;
}

section {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;

  /* Scroll Snap */
  scroll-snap-align: center;
}


/* Section Images */
section#O1 {
  background: url('img/i1.jpg') no-repeat center center/cover;;
}

section#O2 {
  background: url('img/i2.jpg') no-repeat center center/cover;;
}

section#O3 {
  background: url('img/i3.jpg') no-repeat center center/cover;;
}

section#O4 {
  background: url('img/i4.jpg') no-repeat center center/cover;;
}

section#O0 {
  background: url('img/pleaserotate.jpg') no-repeat center center/cover;;
}
