@font-face {
  font-family: osake;
  src: url('/assets/Osake.otf') format('opentype');
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400&display=swap');

:root {
  --redbg: #ba0000;
  --lighttext: white;
  --lightbg: #e3e3e3;
  --darktext: #4e4e4e;
  --btn: #e50000;
  --hovertext: rgb(139, 139, 139);
  --darkbg: #4e4e4e;
}

* {
  margin: 0;
  padding: 0;
  font-family: 'Nunito', sans-serif;
}

header {
  text-align: center;
  position: fixed;
  z-index: 10;
}

.wrapper {
  filter: drop-shadow(-1px 6px 3px rgba(50, 50, 0, 0.5));
  position: fixed;
  width: 100%;
}

header ul a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  line-height: 5em;
  padding: 2em 1em;
}

header a:hover,
header a:focus {
  color: #505050;
}

header ul {
  justify-content: center;
  text-align: right;
  padding-right: 3em;
}

header li {
  display: inline;
}

img {
  max-width: 100%;
}

.header-white img {
  padding: 1.5em 0;
}

@-webkit-keyframes slide {
  100% {
    left: 0;
  }
}

@keyframes slide {
  100% {
    left: 0;
  }
}

.dropdown ul {
  display: none;
  position: fixed;
  top: 90px;
  left: 1150px;
  background-color: var(--redbg);
  padding: 0;
  border-radius: 0 0 10px 10px;
}

.dropdown ul li {
  display: block;
  padding: 0;
  margin: 0%;
}

.dropdown ul li a {
  width: 100%;
  padding: 1em;
}

.showme ul {
  display: block;
  position: fixed;
  top: 90px;
  left: 1150px;
  background-color: var(--redbg);
  padding: 0;
  border-radius: 0 0 10px 10px;
}

.header-white {
  z-index: 998;
  padding: 0 5em;
  clip-path: polygon(0 0, 100% 0, 87% 100%, 0% 100%);
  background-color: white;
  width: 25%;
  left: -50%;
  text-align: right;
  position: fixed;
  -webkit-animation: slide 1ss forwards;
  animation: slide 1s forwards;
}

.header-red {
  background-color: var(--redbg);
  color: white;
  z-index: 997;
  clip-path: polygon(0 0, 100% 0, 97% 100%, 0 100%);
  overflow: auto;
  width: 80%;
  left: -90%;
  position: fixed;
  -webkit-animation: slide 1s forwards;
  animation: slide 1s forwards;
  top: 1em;
  overflow: hidden;
}

.header-grey {
  background-color: #505050;
  color: white;
  box-shadow: black 0px 0px 5px;
  z-index: 996;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 26% 100%);
  left: 72%;
  width: 20%;
  position: fixed;
  transition: 1s;
  transition-delay: 0.5s;
  top: 2em;
}

.header-grey ul {
  text-align: center;
  padding: 0 1em 0 6em;
}

.header-grey a:hover,
.header-grey a:focus {
  color: #fe0000;
}

.nav-toggle {
  display: none;
}

@media only screen and (max-width: 1800px) {
  .dropdown ul {
    left: 1020px;
  }
}
@media only screen and (max-width: 1650px) {
  .dropdown ul {
    left: 870px;
  }
}
@media only screen and (max-width: 1480px) {
  .dropdown ul {
    left: 780px;
  }
  .header-grey ul {
    padding: 0 1em 0 4em;
  }
}
@media only screen and (max-width: 1380px) {
  .dropdown ul {
    left: 680px;
  }
}
@media only screen and (max-width: 1240px) {
  .dropdown ul {
    left: 600px;
  }
}

@media only screen and (max-width: 1200px) {
  .header-grey ul {
    padding: 0 1em 0 5em;
  }

  .header-white {
    width: 20%;
  }

  .header-grey {
    width: 25%;
  }
}

@media only screen and (max-width: 1100px) {
  .header-grey ul {
    padding: 0 1em 0 3em;
  }
}
@media only screen and (max-width: 1000px) {
  header li {
    display: block;
  }

  .dropdown ul {
    top: 200px;
    left: 200px;
    border-radius: 10px;
    z-index: 10001;
  }

  .dropdown ul li {
    padding: 0 0 0 2em;
    z-index: 10001;
  }

  .dropdown {
    z-index: 10001;
  }

  .header-white {
    width: 50%;
    clip-path: polygon(0 0, 100% 0, 94% 100%, 0% 100%);
  }

  .header-red {
    clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
    width: 40%;
    padding-top: 7em;
    transform: scale(0, 1);
    transform-origin: left;
    transition: transform 400ms ease-in-out;
  }

  .header-red li {
    text-align: center;
  }

  .header-red ul {
    margin-right: 2em;
  }

  .header-red a {
    opacity: 0;
  }

  .header-grey {
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
  }

  .header-grey ul {
    padding: 0;
  }

  .nav-toggle-label {
    position: fixed;
    left: 2em;
    z-index: 999;
    height: 7.4em;
    display: flex;
    align-items: center;
  }

  .nav-toggle:checked ~ .header-red {
    display: block;
    transform: scale(1, 1);
  }

  .nav-toggle:checked ~ .header-red a {
    opacity: 1;
    transition: opacity 150ms ease-in-out 250ms;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    background: black;
    height: 2px;
    width: 2em;
    border-radius: 2px;
    position: relative;
  }

  .sticky .nav-toggle-label span,
  .sticky .nav-toggle-label span::before,
  .sticky .nav-toggle-label span::after {
    background: black;
  }
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: '';
    position: absolute;
  }

  .nav-toggle-label span::before {
    bottom: 7px;
  }

  .nav-toggle-label span::after {
    top: 7px;
  }
}

@media only screen and (max-width: 700px) {
  .dropdown ul {
    left: 170px;
  }

  .dropdown ul li {
    padding: 0 0 0 4em;
  }
}

@media only screen and (max-width: 600px) {
  .nav-toggle-label {
    height: 5.8em;
    left: 1em;
  }

  .dropdown ul {
    left: 240px;
  }

  .dropdown ul li {
    padding: 0 0 0 3em;
  }

  .header-red {
    width: 80%;
  }

  .header-grey {
    left: 0;
    width: 50%;
    top: 32.5em;
    clip-path: polygon(0 0, 100% 0%, 92% 100%, 0% 100%);
    transform: scale(0, 1);
    transform-origin: left;
    transition: transform 400ms ease-in-out;
  }

  .nav-toggle:checked ~ .header-grey {
    display: block;
    transform: scale(1, 1);
  }

  .header-grey a {
    opacity: 0;
  }

  .nav-toggle:checked ~ .header-grey a {
    opacity: 1;
    transition: opacity 150ms ease-in-out 250ms;
  }
}

@media only screen and (max-width: 520px) {
  .dropdown ul {
    left: 200px;
  }

  .dropdown ul li {
    padding: 0;
  }
}

@media only screen and (max-width: 370px) {
  .dropdown ul {
    left: 146px;
  }

  .dropdown ul li a {
    font-size: 14px;
  }
}

@media only screen and (max-width: 330px) {
  .header-grey ul a {
    font-size: 16px;
    padding: 0;
  }
}
