:root {
  --first-bg-color: 1, 38, 61;
  --first-bg: rgb(var(--first-bg-color));
  --second-bg-color: 2, 56, 89;
  --second-bg: rgb(var(--second-bg-color));
  --third-bg-color: 2, 83, 115;
  --third-bg: rgb(var(--third-bg-color));
  --fourth-bg-color: 3, 127, 140;
  --fourth-bg: rgb(var(--fourth-bg-color));
  --fifth-bg-color: 10, 166, 166;
  --fifth-bg: rgb(var(--fifth-bg-color));
  --first-fg-color: 123, 222, 205;
  --first-fg: rgb(var(--first-fg-color));
  --second-fg: #fff;
  --highlight-bg: #c89400;
  --highlight-fg: #ffc800;
}

* {
  outline: none;
  box-sizing: border-box;
}

body {
  margin: 0px;
  padding: 0px;
  min-width: 20rem;
  min-height: 100%;
  height: auto;
  display: block;
  background-color: var(--first-bg-color);
  font-size: 1.25rem;
  font-family: "Roboto Condensed", sans-serif;
  color: var(--second-fg);

  /* background-image: url("../img/wellen_platzhalter.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;*/
}
.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -100;
}

nav {
  box-sizing: border-box;
  margin: 0px;
  z-index: 800;
}

#social-nav {
  position: fixed;
  bottom: 0;
  right: 0;
}

#social-nav div {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  z-index: 1;
  right: 0.5rem;
  bottom: 0.5rem;
}

.bt {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 600;
  text-align: right;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
  transition: all 300ms;
}

.bt.mainnav {
  font-size: 1.75rem;
  text-transform: uppercase;
  display: block;
  padding: 0.5rem;
  font-weight: 200;
  line-height: 4rem;
}

.bt:hover,
.cr_button2:hover,
.bt.footerlink:hover,
.current {
  color: var(--highlight-fg);
  transition: all 300ms;
}

.current {
  background: var(--first-bg);
}

.bt.social {
  height: 40px;
  width: 40px;
  line-height: 36px;
  padding: 0px 0px;
  font-size: 36px;
  text-align: center;
  margin: 0.5rem;
  background-color: var(--fourth-bg);
}

.bt.social:hover {
  background-color: var(--fifth-bg);
}

.bt.link {
  font-size: 1.5rem;
  margin: 5px 0px;
  display: inline-block;
  padding: 1rem 2rem;
  transition: all 300ms;
  background-color: var(--third-bg);
  text-decoration: none;
  border: none;
}

.bt.wishlist {
  font-size: 2rem;
  padding: 1rem 2rem;
  left: 0;
  transform: translate(0);
  position: relative;
  text-transform: uppercase;
  overflow: hidden;

  background-color: var(--highlight-fg) !important;
  transition:
    box-shadow 0.4s ease,
    background-color 0.4s ease,
    color 0.4s ease;
  box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.3);
}

#buy-now .bt.wishlist {
  width: 100%;
}
.wishlist:hover {
  background-color: var(--highlight-bg) !important;
  /*box-shadow: 0 0 2px 0 rgba(var(--third-bg-color), 0.1),
    0 0 4px 0 rgba(var(--third-bg-color), 0.2),
    0 0 6px 0 rgba(var(--third-bg-color), 0.3),
    0 0 8px 0 rgba(var(--third-bg-color), 0.4),
    0 0 12px 0 rgba(var(--third-bg-color), 0.5),
    0 0 18px 0 rgba(var(--third-bg-color), 0.6);*/
  color: var(--second-fg);
}
.wishlist span {
  color: var(--second-fg);
  display: flex;
  gap: 1rem;
  line-height: 2.5rem;
}
.wishlist i {
  position: absolute;
  z-index: -1;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
  background-color: inherit;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.4s linear,
    top 1s linear;
  overflow: hidden;
}

.wishlist i:before,
.wishlist i:after {
  content: "";
  position: absolute;
  width: 35rem;
  height: 35rem;
  top: -7rem;
  left: 50%;
  transform: translate(-50%, -75%);
}
.wishlist i:before {
  border-radius: 46%;
  background-color: rgba(20, 20, 20, 0.2);
  animation: animate 5s linear infinite;
}
.wishlist i:after {
  border-radius: 40%;
  background-color: rgba(20, 20, 20, 0.5);
  animation: animate 10s linear infinite;
}

@keyframes animate {
  0% {
    transform: translate(-50%, -75%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -75%) rotate(360deg);
  }
}

.scroll-animation {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  margin: 2rem auto 0;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: scroll 1.5s infinite;
  animation: scroll 1.5s infinite;
}
@-webkit-keyframes scroll {
  0% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}
@keyframes scroll {
  0% {
    transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}

.cr_input {
  height: 50px;
  width: 100%;
  line-height: 46px;
  margin: 1rem 0px;
  padding: 0px 20px;
  font-size: 20px;
  font-family: "Roboto Condensed", sans-serif;
  transition: all 300ms;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  background-color: transparent;
  transition: all 300ms;
  border: 2px solid var(--third-bg);
}

::placeholder {
  color: var(--fifth-bg);
  opacity: 1; /* Firefox */
}

::-ms-input-placeholder {
  /* Edge 12 -18 */
  color: var(--fifth-bg);
}

.cr_button2 {
  border: none;
  width: 100%;
  font-size: 20px;
  line-height: 24px;
  padding: 15px 20px;
  font-family: "Roboto Condensed", sans-serif;
  color: var(--second-fg);
  font-weight: 400;
  text-align: center;
  text-transform: none;
  cursor: pointer;
  margin-bottom: 10px;
}

.mce_text {
  font-size: 0.85rem;
  margin-top: 1rem;
}

.mce_text a {
  text-decoration: none;
}

.bt.buylink {
  font-size: 20px;
  line-height: 36px;
  margin: 5px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 12px 10px 12px;
  transition: all 300ms;
}

.bt.buylink img {
  width: 100%;
  max-width: 300px;
}

.footerlogo {
  display: inline-block;
  margin-right: 3rem;
  margin-bottom: 1.5rem;
}

.footerlogo[href="#"] {
  pointer-events: none;
  cursor: default;
}

.footerlogo img {
  height: auto;
  max-height: 80px;
  width: 100%;
  max-width: 300px;
  vertical-align: middle;
  margin-bottom: 2rem;
}

.footerlogo.bmwk img {
  width: auto;
  max-height: 150px;
}

.footertext {
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--highlight-fg);
  color: var(--second-fg);
  margin-top: 2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}
sup {
  line-height: 0;
}

.bt.footerlink {
  font-weight: 400;
  display: inline-block;
  padding: 0.5rem 1rem;
  transition: all 300ms;
  color: var(--second-fg);
}

.bt.footerlink:hover {
  transition: all 300ms;
}

header {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 4rem;
}

.logo {
  max-width: 45rem;
  margin-bottom: 3rem;
}

.drop-shadow {
  filter: drop-shadow(0px 0px 40px #01263de6)
    drop-shadow(0px 0px 40px #01263de6);
}

.wave-sector {
  flex-direction: column !important;
  position: relative;
  padding-top: 12rem;
  padding-bottom: 12rem;
}

.wave-sector svg {
  color: rgba(var(--first-bg-color), 0.9);
}

.wave-sector .container {
  background-color: rgba(var(--first-bg-color), 0.9);
}

.wave-sector .flex-container {
  box-shadow: none;
  margin-top: 0;
  margin-bottom: 0;
}

.wave-sector .rotate {
  transform: rotate(180deg);
}

.wave-sector .flex-text {
  background: none;
}

.wave-sector:after,
.wave-sector:before {
  display: block;
  content: "";
  position: absolute;
  background: url(../img/water-ci-1.svg);
  width: 100%;
  height: 6rem;
  height: 12rem;
  background-repeat: repeat-x;
  background-size: contain;
  background-position: center bottom;
  z-index: 99;
  opacity: 0.9;
}

.wave-sector:before {
  top: 0;
}
.wave-sector:after {
  bottom: 0;

  transform: rotate(180deg);
}
#start-gameinfo.wave-sector:before {
  display: none;
}

#start-gameinfo.wave-sector {
  padding-top: 0;
}
#start-gameinfo.wave-sector .container {
  background: linear-gradient(
    0deg,
    rgba(var(--first-bg-color), 0.9) 50%,
    rgba(var(--first-bg-color), 1) 90%
  );
}

footer.wave-sector:after {
  display: none;
}

footer.wave-sector {
  padding-bottom: 0;
}

section {
  position: relative;
  width: 100%;
  padding: 0px 0px;
  height: auto;
  display: flex;
}

.container {
  position: relative;
  transition: all 300ms;
  margin: 0px auto;
  width: 100%;
  padding: 4rem 3rem;
}

.flex-container {
  margin: 2rem auto;
  display: flex;
  width: 100%;
  max-width: 75rem;
  box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.3);
}

.wave-sector .flex-container {
  box-shadow: none;
  margin-top: 0;
  margin-bottom: 0;
}

.legal h2:after,
.legal h3:after {
  margin-left: 0;
}

.legal a {
  color: var(--second-fg);
}

.legal a:hover {
  color: var(--highlight-fg);
}

.legal h4,
.legal h5 {
  color: var(--second-fg);
}

.legal h4 {
  margin-top: 0;
}

.legal ul {
  padding: 0 1rem 2.5rem 3.5rem;
}

#start-features .flex-container,
#start-features .container {
  margin-bottom: 0;
  padding-bottom: 0;
}

#start-screenshots .flex-container,
#start-screenshots .container {
  margin-top: 0;

  padding-top: 0;
}

#start-features ul {
  padding: 0;
}

.hashlink {
  text-decoration: none;
  color: var(--second-fg);
}

.hashlink:hover,
.hashlink:hover svg,
.hashlink.active,
.hashlink.active svg {
  color: var(--highlight-fg);
}
.hashlink:hover,
.hashlink.active {
  background-color: rgba(255, 255, 255, 0.3);
}

.reverse {
  flex-direction: row-reverse;
}

.flex-text {
  flex: 1 1 auto;
  background-color: rgba(var(--first-bg-color), 0.9);
  padding: 2rem;
  overflow: hidden;
}

.flex-img {
  flex: 0 0 30%;
  overflow: hidden;
  align-content: center;
}

.flex-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

.flex-img img.icon {
  max-height: 15rem;
  width: auto;
  display: block;
  margin: 0 auto;
  padding: 2rem;
}

footer {
  position: relative;
  width: 100%;

  display: flex;
}

footer .container {
  padding-bottom: 0;
}

footer .flex-container {
  flex-direction: column;
  margin-bottom: 0;
}

footer .flex-text {
  padding-bottom: 12rem;
}

.container > img {
  width: 100%;
}
.sub {
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
}

h1 {
  font-family: "Roboto Condensed", sans-serif;
  color: #ffffff;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

h2 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 600;
  color: var(--second-fg);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  text-transform: uppercase;
}
h2.in-view {
  animation: headanim 1.5s ease;
}

h2:after {
  display: block;
  content: "";
  width: 4rem;
  border: 6px solid var(--highlight-fg);
  margin: 0.5rem auto;
}
h2.in-view:after {
  animation: headanim-after 1.5s ease;
}
@keyframes headanim {
  from {
    opacity: 0;
    transform: translateX(20rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes headanim-after {
  from {
    opacity: 0;
    transform: translateX(-40rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
h3 {
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--first-fg);

  margin: 2rem 0 1rem;
  text-align: center;
}

#start-faq h3 {
  margin-top: 3rem;
}

#start-faq li {
  list-style: none;
}
#start-faq ul {
  margin: 0 0 1rem 0;
  padding-left: 0;
}

#start-faq a {
  color: var(--second-fg);
}

h3:after {
  display: block;
  content: "";
  width: 4rem;
  border: 2px solid var(--highlight-fg);
  margin: 0.5rem auto;
}

h4 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  color: #cbbfba;
  font-size: 32px;
  text-align: center;
  margin-bottom: 20px;
}

h5 {
  font-size: 28px;
  color: #816e6a;
  margin-bottom: 5px;
  font-size: 20px;
}

p {
  text-align: justify;
  line-height: 1.25;
  font-weight: 400;
  margin-bottom: 1rem;
  margin-top: 0;
}

#start-wishlist p {
  text-align: center;
}

#start-features li {
  list-style-type: none;
  text-indent: -2rem;
  padding-left: 2rem;
}

video {
  width: 100%;
}

.play {
  width: 100%;
  display: block;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.23%;
  height: 0;
  overflow: hidden;
  margin-top: -1px;
  margin-bottom: -1px;
  cursor: pointer;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
}

.bgkv {
  background-image:
    linear-gradient(
      180deg,
      rgba(var(--first-bg-color), 0) 50%,
      rgba(var(--first-bg-color), 1) 90%
    ),
    linear-gradient(
      180deg,
      rgba(var(--second-bg-color), 0) 50%,
      rgba(var(--second-bg-color), 1) 90%
    ),
    url("../img/kv-bg.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.bg1 {
  background: var(--second-bg);
  background: rgba(var(--second-bg-color), 0.9);
}

.bg2 {
  background: var(--second-bg);
  background: linear-gradient(
    180deg,
    rgba(var(--second-bg-color), 0.9) 0%,
    rgba(var(--third-bg-color), 0.9) 100%
  );
}

.bg3 {
  background: var(--second-bg);
  background: linear-gradient(
    180deg,
    rgba(var(--third-bg-color), 0.9) 0%,
    rgba(var(--fourth-bg-color), 0.9) 100%
  );
}

.bg4 {
  background: var(--second-bg);
  background: linear-gradient(
    180deg,
    rgba(var(--fourth-bg-color), 0.9) 0%,
    rgba(var(--fifth-bg-color), 0.9) 100%
  );
}

.bg5 {
  background: var(--second-bg);
  background: linear-gradient(
    180deg,
    rgba(var(--fifth-bg-color), 0.9) 0%,
    rgba(var(--fourth-bg-color), 0.9) 100%
  );
}
.bg6 {
  background: var(--second-bg);
  background: linear-gradient(
    180deg,
    rgba(var(--fourth-bg-color), 0.9) 0%,
    rgba(var(--third-bg-color), 0.9) 100%
  );
}
.bg7 {
  background: var(--second-bg);
  background: linear-gradient(
    180deg,
    rgba(var(--third-bg-color), 0.9) 0%,
    rgba(var(--second-bg-color), 0.9) 100%
  );
}

.bg8 {
  background: var(--second-bg);
  background: rgba(var(--second-bg-color), 0.9);
}

.center {
  text-align: center;
}

.flex {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.flex .center {
  flex: 0 0 33.3%;
  justify-items: center;
  align-content: center;
}

.flex .center .game {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 800;
}

.supporter .bt.wishlist {
  background-color: #0f9d85 !important;
}

.dlc .bt.wishlist {
  background-color: var(--second-fg) !important;
}

.dlc span {
  overflow: hidden;
}

.dlc span img {
  filter: drop-shadow(0px 100px 0 #000000);
  transform: translateY(-100px);
}
.flex .center img {
  width: auto;
  max-height: 2.5rem;
  height: 100%;
}

.faqanswer {
  display: none;
  padding-bottom: 3rem;
}

.togglefaq,
.hashlink {
  text-decoration: none;
  color: var(--second-fg);
  display: block;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 300ms;
}

.togglefaq:hover,
.togglefaq.active {
  background-color: var(--third-bg);
}

.togglefaq svg,
.hashlink svg {
  display: inline-block;
  vertical-align: middle;
  color: var(--second-fg);
  transition: all 300ms;
  width: auto;
  height: 1.5rem;
  margin-right: 0.5rem;
}

.icon-minus {
  color: var(--highlight-fg) !important;
  transform: rotate(90deg);
  transition: all 300ms;
}

.legal section * {
  text-align: left;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
  grid-gap: 1rem;
  margin: 4rem 0 0;
}
.grid-item {
  position: relative;
}
.grid-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/*-------Changelog -------*/
#changelog header {
  text-align: center;
  padding: 10rem;
  height: auto;
  display: block;
  min-height: unset;
}

#changelog section {
  display: block;
  max-width: 80rem;
  margin: 0 auto;
  margin-bottom: 8rem;
}

#changelog {
  background-color: var(--first-bg);
}

#changelog .logo {
  max-width: 30rem;
  text-align: center;
  margin: 5rem auto;
  width: 100%;
  display: block;
}

#changelog-pc,
#changelog-xbox,
#changelog-ps5 {
  background-color: var(--sixth-color);
  padding: 2rem;
  display: none;
}

#changelog h1 {
  margin-bottom: 2rem;
}
.toggle-changelog {
  text-decoration: none;
  color: var(--second-fg);
  display: block;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 300ms;
}
.toggle-changelog svg {
  display: inline-block;
  vertical-align: middle;
  color: var(--second-fg);
  transition: all 300ms;
  width: auto;
  height: 1.5rem;
  margin-right: 0.5rem;
}
.toggle-changelog:hover,
.toggle-changelog.active {
  background-color: var(--first-bg);
}
.change {
  display: none;
  padding-bottom: 3rem;
  padding-left: 3.3rem;
}
.icon-minus {
  color: var(--second-fg) !important;
  transform: rotate(90deg);
  transition: all 300ms;
}

#updates h2 {
  text-align: left;
  margin: 1rem;
  color: var(--second-fg);
  line-height: 1em;
  font-size: 2rem;
}

.tab {
  display: grid;
  grid-auto-rows: 1fr;
  grid-template-columns: 1fr /*1fr 1fr*/;
  gap: 0.3rem;
  border-bottom: 5px solid var(--first-color);
}

.changelog-head {
  background-color: var(--third-bg);
  padding: 1rem;
  cursor: pointer;
  transition: all 300ms;
}

.changelog-head svg {
  transition: all 300ms;
}

.changelog-head.current {
  transition: all 300ms;
}
#updates .changelog-head.current h2 {
  color: var(--first-bg);
}

.changelog-head.current,
.changelog-head:hover {
  background-color: #c89400;
  transition: all 300ms;
  transform: scale(1, 1);
  transform-origin: bottom;
}
.changelog-head h2,
.changelog-head h2 {
  transform-origin: bottom left;
  transition: all 300ms;
}
.changelog-head.current h2,
.changelog-head:hover h2 {
  transform: scale(1, 1);
  transform-origin: bottom left;
}

#changelog h2:after {
  display: none;
}

.tabcontent {
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#updates h4 {
  font-size: 1.5rem;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
  text-align: left;
  color: var(--highlight-bg);
}
#updates h4:first-child {
  margin-top: 0;
}

#updates h5 {
  font-size: 1.25rem;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}

#updates ul {
  margin-left: 1.1rem;
  margin-bottom: 1.5rem;
}

#updates li {
  margin-bottom: 0.25rem;
}
@media screen and (max-width: 92.5rem) {
}

@media screen and (max-width: 58.75rem) {
  .flex-container {
    flex-direction: column;
  }
  .flex-img {
    padding: 0 2rem 2rem 2rem;
  }
}

@media screen and (min-width: 81.25rem) {
  /*----NAV----*/

  #primary-nav .menu {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999;
    transition: all 300ms;
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: var(--fourth-bg);
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.3);
  }

  .visible {
    display: flex;
    flex-direction: row;
  }
  .visible a {
    flex: 1 1 auto;
  }

  .bt#close,
  .bt#open {
    display: none;
  }

  .rectangle {
    display: none;
  }
  .bt.mainnav {
    text-align: center;
    padding: 0.75rem 1rem;
  }

  .menu > .navlogo {
    display: none;
  }

  .navlogo img {
    max-height: 5.5rem;
    width: 100%;
    display: block;
    padding: 1rem;
  }
}
@media screen and (max-width: 81.24rem) {
  #buy-now .flex {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }

  .flex .center:first-child {
    flex: 0 0 100%;
    justify-items: center;
    align-content: center;
  }
  /*-----NAV----*/
  #primary-nav .menu {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999;
    transition: all 300ms;
    width: 100%;
    display: flex;
    background-color: var(--fourth-bg);
    padding: 0.5rem;
    align-items: center;
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.3);
  }

  #primary-nav .menu > .bt {
    position: relative;
    display: block;
    margin: 0 1rem 0 auto;
    line-height: 2rem;
    padding: 0px 0px;
    font-size: 2rem;
    font-weight: 800;
    text-align: right;
    transition: all 300ms;
  }

  #primary-nav svg {
    position: fixed;
    width: 8rem;
    height: 8rem;
    right: -3.5rem;
    top: -1.25rem;
    transition: all 300ms;
    z-index: 1;
    transform: rotate(-85deg);
  }
  .rectangle {
    position: fixed;
    width: 32rem;
    height: 14rem;
    right: -28rem;
    top: -9.75rem;
    transition: all 300ms;
    z-index: 1;
    background-color: var(--fourth-bg);
    border-right: 0.5rem var(--highlight-fg) solid;
  }

  #primary-nav .svg-open {
    transform: scale(4.5) rotate(317deg);
    top: 9.5rem;
    right: -1rem;
    transition: all 300ms;
  }
  .rectangle.open {
    transform: rotate(90deg);
    top: 9rem;
    right: -10.5rem;
    transition: all 300ms;
  }

  #primary-nav .menu .bt#close {
    transition: all 300ms;
    font-weight: 400;
  }

  .menu > div {
    margin-top: 3.8rem;
    transition: all 300ms;
  }
  .visible {
    top: 2.5rem;
    position: fixed;
    right: 0;
    background-color: var(--fourth-bg);
    padding: 2rem 0;
  }

  .bt.mainnav {
    padding: 0.5rem 1.5rem;
    line-height: 1.2;
  }
  .invisible {
    transform: rotate(-90deg);
    top: -18rem;
    right: -28rem;
  }

  .visible > .navlogo {
    display: none;
  }

  .navlogo img {
    max-height: 5.5rem;
    width: 100%;
    display: block;
    padding: 1rem;
  }
}

@media screen and (max-width: 43.75rem) {
  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  h2:after {
    border: 3px solid var(--highlight-fg);
  }

  h3:after {
    border: 1px solid var(--highlight-fg);
  }
  .container,
  .flex-text {
    padding: 1.5rem;
  }

  .flex-img img.icon {
    max-height: 6rem;
    width: auto;
    display: block;
    margin: 0 auto;
    padding: 1rem;
  }

  .flex {
    flex-direction: column;
    gap: 2rem;
  }

  .flex .center {
    flex: 0 0 100%;
  }
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) {
  .bg-video {
    display: none;
  }
}

@media only screen and (max-height: 31.25rem) {
  .bt.mainnav {
    font-size: 1rem;
  }

  .visible {
    padding: 0 0 1rem 0;
  }
}
