header {
  padding: 15px 7.5% 15px 2.5%;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.3);
  position: fixed;
  position: sticky;
  z-index: 5;
}

header nav {
  width: 100%;
  max-width: 1440px;
  justify-content: space-between;
}

header nav ul {
  list-style: none;
}

header nav ul li:not(:first-child) {
  margin-left: 1.65rem;
}

header nav ul li a {
  padding: .35rem .5rem;
  display: block;
  font-size: 24px;
  position: relative;
  transition-duration: .2s;
  transition-property: transform;
}

header nav ul li a::after {
  content: '';
  width: 100%;
  height: 18px;
  position: absolute;
  bottom: -7px;
  left: 0;
  right: 0;
  opacity: 0;
  transition-duration: .25s;
  transition-property: opacity;
  -webkit-animation-duration: 1000s;
          animation-duration: 1000s;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  background-size: auto 100%;
  background-position: 0 center;
  background-repeat: repeat no-repeat;
  background-image: url("../images/app/noodle_link.svg");
}

header nav ul li a.active::after {
  opacity: 1;
}

@media (hover: hover) {
  header nav ul li:hover a {
    transform: rotate(-18deg);
  }
  header nav ul li:hover a::after {
    opacity: 1;
    -webkit-animation-name: animatedNodle;
            animation-name: animatedNodle;
  }
}

#menu {
  display: none;
}

footer {
  padding: 0 5%;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.3);
}

footer .logo {
  width: 17.5%;
  margin: auto;
  display: none;
}

footer .logo img {
  height: auto;
}

footer nav {
  width: 100%;
  max-width: 1440px;
  padding: 24px 0;
  justify-content: space-between;
  background-size: auto 125%;
  background-repeat: no-repeat;
  background-position: 85% center;
  background-image: url("../images/app/noodles_footer.svg");
}

footer nav ul {
  list-style: none;
  flex: 1 0 auto;
}

footer nav ul li:not(:last-child) {
  margin-right: 1rem;
}

footer nav ul a, footer nav ul small {
  font-size: .55rem;
  line-height: .66rem;
  letter-spacing: .0233rem;
  display: block;
}

footer nav ul a {
  padding: .35rem .5rem;
  font-size: .6875rem;
  line-height: .825rem;
  letter-spacing: .029125rem;
}

footer nav .rrss a {
  display: block;
}

footer nav .rrss a:not(:first-child) {
  margin-left: .5rem;
}

footer nav .copyright {
  font-size: 12px;
}

main {
  min-height: calc(100vh - 168px);
  overflow: hidden;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  main {
    padding-top: 85px;
  }
}

@keyframes animatedNodle {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -66000px 0;
  }
}

@-webkit-keyframes animatedNodle {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -66000px 0;
  }
}

@media screen and (max-width: 950px) {
  header nav ul li a {
    font-size: 20px;
  }
  footer {
    padding: 0 2.5%;
  }
  footer nav {
    padding: 15px 0;
  }
  footer nav ul a {
    padding-right: 0.4rem;
    padding-left: 0.4rem;
    font-size: 0.7875rem;
  }
  footer nav ul small {
    font-size: 0.65rem;
  }
  main {
    min-height: calc(100vh - 150px);
  }
}

@media screen and (max-width: 768px) {
  header nav img[alt*='Logo'] {
    width: 80px;
    height: auto;
  }
  header nav ul li a {
    font-size: 17px;
  }
  header nav ul li a::after {
    height: 11px;
    bottom: -5px;
  }
  footer {
    display: flex;
    align-items: flex-start;
    padding: 22px 3% 10px;
  }
  footer .logo, footer .copyright {
    display: block;
  }
  footer nav {
    padding: 0;
    flex-direction: column;
    align-items: flex-end !important;
    background: none;
  }
  footer nav ul {
    justify-content: flex-end;
  }
  footer nav ul li {
    margin-right: 0 !important;
  }
  footer nav ul li a {
    padding: 8px 0;
    font-size: 0.75rem;
  }
  footer nav ul li:last-child {
    display: none;
  }
  footer nav ul li:not(:first-child) {
    margin-left: 1rem;
  }
  footer nav .rrss {
    margin: 10px;
  }
  main {
    min-height: calc(100vh - 202px);
  }
}

@media screen and (max-width: 550px) {
  main {
    min-height: calc(100vh - 296px);
  }
  header {
    padding: 15px 5% 15px 5%;
  }
  footer {
    flex-direction: column;
  }
  footer nav {
    margin-top: 10px;
    align-items: center !important;
  }
  footer nav ul {
    flex-direction: column;
    justify-content: center;
  }
  footer nav ul li {
    margin-left: 0 !important;
  }
  footer nav ul li a {
    padding: 8px 0;
    font-size: 12px;
    line-height: normal;
  }
  footer nav .rrss a {
    margin: 0 10px;
    display: block;
  }
  footer nav .rrss a img {
    width: 30px;
    height: auto;
  }
  footer nav .copyright {
    font-size: 10px;
  }
}
