/* Navbar css */
header {
  width: 100%;
  position: absolute;
  z-index: 999;
  top: 2%;
}

.toggler {
  color: white;
  cursor: pointer;
  position: absolute;
  top: 8px;
  right: 50px;
}

nav {
  display: none;
  text-align: center;
  background: rgb(255 255 255);
}

nav ul {
  list-style: none;
  margin-left: -5%;
}

nav ul li a {
  text-decoration: none;
  font-size: 0.9em;
  transition: 0.3s ease-out;
  text-transform: uppercase;
  font-family: "Rakuten Sans UI Semi";
  width: auto;
  display: inline-block;
  padding: 1em 0em;
  color: rgba(134, 54, 212, 1);
}

nav ul li a:hover {
  color: rgb(231 205 255);
}


.side-nav {
  text-align: center;
}

.side-nav a {
  text-decoration: none;
  color: #5FC0DC;
  padding-right: 15px;
  line-height: 40px;
}

@media screen and (min-width: 1150px) and (max-width: 1325px) {
  nav ul li a {
    display: inline-block !important;
    position: relative;
    float: right;
    color: #FFFFFF !important;
    font-size: 0.85em;
    padding-top: 0.5em;
  }

  nav {
    background: transparent !important;
  }

  .rakuten_title {
    margin: 3.5vh 4vw auto;
    scale: 1;
  }
}

/* END NAVIGATION */
@media screen and (min-width: 1150px) {

  .toggler {
    display: none;
  }

  nav {
    display: inline-block !important; /* prevent the nav to hide when resize */
    position: relative;
    width: auto;
    float: right;
    background: transparent !important;
  }

  nav ul li a {
    color: white;

  }

  nav ul {
    float: left;
    padding: 0.5em;
  }

  nav ul li {
    display: inline-block;
    padding-right: 20px;
  }

  .side-nav {
    float: right;
  }
}

@media screen and (min-width: 1028px) and (max-width: 1149px) {

  .toggler {
    display: none;
  }

  nav {
    display: inline-block !important; /* prevent the nav to hide when resize */
    position: relative;
    width: auto;
    float: right;
    background: transparent !important;
  }

  nav ul li a {
    color: white;
    font-size: 0.8em;
  }

  nav ul {
    float: left;
    margin-top: 0.5em;
  }

  nav ul li {
    display: inline-block;
    padding-right: 12px;
  }

  .side-nav {
    float: right;
  }

  .rakuten_title {
    margin: 2vh 0vw 0vh 5.5vw !important;
    scale: 1;
  }
}

@media screen and (min-width: 991px) and (max-width: 1027px) {

  .toggler {
    display: none;
  }

  nav {
    display: inline-block !important; /* prevent the nav to hide when resize */
    position: relative;
    width: auto;
    float: right;
    background: transparent !important;
  }

  nav ul li a {
    color: white;
    font-size: 0.75em;
  }

  nav ul li {
    display: inline-block;
    padding-right: 10px;
  }

  .side-nav {
    float: right;
  }

  .rakuten_title {
    margin: 1.6vh 0vw 0vh 5.5vw !important;
    scale: 1;
  }
}

@media screen and (min-width: 991px) and (min-height: 420px) {

  .toggler {
    display: none;
  }

  nav {
    display: inline-block !important; /* prevent the nav to hide when resize */
    position: relative;
    width: auto;
    float: right;
    background: transparent !important;
    margin-top: -2%;
  }

  nav ul li a {
    color: white;
    font-size: 0.68em;
  }

  nav ul {
    float: left;
    margin-top: 1.5em;
  }

  nav ul li {
    display: inline-block;
    padding-right: 10px;
  }

  .side-nav {
    float: right;
  }

  .rakuten_title {
    margin: 1.8vh 0vw 0vh 5.5vw !important;
    scale: 1;
  }
}

@media screen and (min-width: 991px) and (max-height: 420px) {

  .toggler {
    display: none;
  }

  nav {
    display: inline-block !important; /* prevent the nav to hide when resize */
    position: relative;
    width: auto;
    float: right;
    background: transparent !important;
  }

  nav ul li a {
    color: white;
    font-size: 0.68em;
  }

  nav ul {
    float: left;
    margin-top: -7%;
  }

  nav ul li {
    display: inline-block;
    padding-right: 10px;
  }

  .side-nav {
    float: right;
  }

  .rakuten_title {
    margin: 2vh 4vw auto !important;
    scale: 1;
  }
}


@media screen and (min-width: 1326px) {
  .rakuten_title {
    margin: 2.5vh 4vw auto;
    scale: 1;
  }

  nav ul li a {
    color: white;
    font-size: 0.9em;
    padding: 0.8em 0.2em;
  }
}

nav ul.active {
  display: block;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  nav ul li a {
    font-size: 0.65em;
    padding: 0.8em 0em;
  }

  nav {
    margin-top: 8%;
  }
}

@media screen and (max-width: 470px) and (orientation: portrait) {
  nav {
    margin-top: 12%;
  }
}

@media (max-width: 991px) and (orientation: landscape) {
  nav ul li a {
    font-size: 0.7em !important;
    padding: 0.8em 0em !important;
  }
}