
.logo {
  width: 100%;
  height: 100vh;
  position: relative;
}

.logo svg {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -0%, 0);
  width: auto;
  height: auto;
  transition: top 2.33s ease-in-out, width 1.33s ease-in-out, height 1.33s ease-in-out;
}

.logo svg.up {
  top: 0;
  width: 10%;
  height: 10%;  
  -webkit-transition: opacity 1.33s ease-in-out;
  -moz-transition: opacity 1.33s ease-in-out;
  -o-transition: opacity 1.33s ease-in-out;
  transition: opacity 1.33s ease-in-out;
  -webkit-transition: width 1.33s ease-in-out;
  -moz-transition: width 1.33s ease-in-out;
  -o-transition: width 1.33s ease-in-out;
  transition: width 1.33s ease-in-out;
  opacity: 0;
}

/* Smartphones ----------- */

@media only screen and (max-width: 1440px) {
  main { display: none; }
}


@media (min-height: 30em) {
  main {
    scroll-snap-type: y mandatory;
    height: 100vh;
    overflow-y: scroll;
  }
}


.section {
  color: white;
  position: relative;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@media (min-height: 30em) {
  .section {
    height: 100vh;
  }
}

@media (min-height: 30em) {
  .section__content > * {
    opacity: 0;
    transform: translate3d(0, 4rem, 0);
    transition: opacity 800ms var(--delay),
      transform 800ms cubic-bezier(0.13, 0.07, 0.26, 0.99) var(--delay);
  }
}

.is-visible .section__content > * {
  opacity: 1;
  transform: translate3d(0, 1rem, 0);
}
.is-visible .section__img {
  opacity: 0.75;
}

section:nth-child(1) {
  background-color: #FFD54F;
}

section:nth-child(2) {
  background-color: #fff;
}

section:nth-child(3) {
  background-color: #FFD54F;
}

section:nth-child(4) {
  background-color: #FFD54F;
}

section:nth-child(5) {
  background-color: #FFD54F;
}

#navbar {
  width: 100vw;
  position: fixed; 
  top: -45px;
  display: flex; 
  margin: 0 auto;
  justify-content: center;
  text-align: center;
  z-index: 99;
  -webkit-transition: top 2.33s;
  -moz-transition: top 2.33s;
  -o-transition: top 2.33s;
  transition: top 2.33s;
}

#navbar ul {
  display: flex; 
  left: 0;
}

#navbar ul li {
  display: flex; 
  text-align: center;
}

#navbar ul li a {
  color: #fff;
  padding: 20px;
  text-decoration: none;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "General Sans-Semibold";
}

.logo-mouse {
  width: 42px;
  height: 68px;
  margin-left: 20px;
}

#navbar:hover {
  top: 60px;
  cursor: default;
}

