* {
  font-family: "Roboto Condensed", sans-serif !important;
}

header {
  width: 100%;
  background-color: rgba(var(--bs-primary-rgb), 1);
  transition: all 300ms ease;
}

.scrolled {
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: all 300ms ease;
  -webkit-box-shadow: 0px 2px 11px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 2px 11px 0px rgba(0, 0, 0, 0.1);
}

.load {
  opacity: 0;
  transform: translateY(3rem);

  transition: transform 0.6s ease, opacity 0.9s ease;
}
.load.loaded {
  opacity: 1;
  transform: revert;
  transition: transform 0.6s ease, opacity 0.9s ease;
}
.sticky-top .container-sm > * {
  height: 5rem;
}

.scrolled .nav-link {
  color: var(--bs-primary);
}

.scrolled .nav-item > .nav-link:hover,
.nav-item > .nav-link.active {
  color: var(--bs-nav-link-hover-color);
}

.nav-item > .nav-link:before {
  content: "";
  display: block;
  width: 100%;
  height: 0.25rem;
  background-color: var(--bs-nav-link-hover-color);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: scale(1, 0);
  z-index: -1;
  transition-property: transform;
  transition-duration: 0s;
  transition-timing-function: ease-in-out;
  transform-origin: bottom center;
}

.nav-item > .nav-link:hover:before,
.nav-item .active:before {
  opacity: 1;
  transition-duration: 0.25s;
  transform: scale(1);
}

nav .dropdown-item {
  width: auto;
  padding: 0;
}

nav .dropdown {
  position: static;
}

nav.dropdown-item a:focus,
nav .dropdown-item a:hover,
.scrolled .dropdown-item .nav-link.active,
.scrolled .dropdown-item a:hover {
  color: var(--bs-dropdown-link-hover-color);
  background-color: var(--bs-dropdown-link-hover-bg);
}

.scrolled .dropdown-item .nav-link {
  color: var(--bs-nav-link-color);
  padding: 0 1rem;
}

.language {
  display: flex;
  align-items: center;
}

.currentLanguage {
  color: var(--bs-white);
  text-align: center;
  width: 3.5rem;
}

.language:hover {
  cursor: pointer;
}
.language:hover .languagepicker {
  opacity: 1;
}

.languagepicker {
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  vertical-align: middle;
  position: absolute;
  opacity: 0;
  top: 100%;
  background-color: var(--bs-primary);
  z-index: 9999;
  width: 3.5rem;
}

.scrolled .languagepicker {
  background-color: var(--bs-white);
}
.scrolled .languagepicker a,
.scrolled .currentLanguage {
  color: var(--bs-primary);
}

.languagepicker a {
  color: var(--bs-white);
  text-decoration: none;
  text-align: center;
}

.languagepicker a {
  display: block;
  line-height: 4rem;
}

.languagepicker a:hover,
.language:hover {
  background-color: var(--bs-secondary);
}

.languagepicker a:hover span,
.language:hover > div > span {
  color: var(--bs-white);
}

/*---- Nav ----*/
.ham {
  display: block;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 400ms;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transform: scale(1.5);
}
.ham.active {
  transform: rotate(45deg) scale(1.5);
}
.line {
  fill: none;
  transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
  stroke: var(--bs-white);
  stroke-width: 5.5;
  stroke-linecap: round;
}

.ham .top {
  stroke-dasharray: 40 160;
}
.ham .middle {
  stroke-dasharray: 40 142;
  transform-origin: 50%;
  transition: transform 400ms;
}
.ham .bottom {
  stroke-dasharray: 40 85;
  transform-origin: 50%;
  transition: transform 400ms, stroke-dashoffset 400ms;
}
.ham.active .top {
  stroke-dashoffset: -64px;
}
.ham.active .middle {
  transform: rotate(90deg);
}
.ham.active .bottom {
  stroke-dashoffset: -64px;
}
@media (min-width: 992px) {
  nav .dropdown:hover .dropdown-menu {
    display: flex;
    left: 0;
    width: 100%;
    background-color: var(--bs-nav-link-hover-color);
    border: none;
    border-radius: 0;
    height: 3rem;
  }
}
@media (max-width: 991px) {
  .ham.active + .nav {
    display: flex !important;
    position: absolute;
    width: 100%;
    left: 0;
    top: 5rem;
    flex-direction: column;
    flex-wrap: nowrap;
    background-color: var(--bs-white);
    height: calc(100vh - 5rem) !important;
  }
  .nav-item > .nav-link {
    padding: 1rem;
    border-bottom: 1px solid var(--bs-secondary);
    color: var(--bs-primary) !important;
    height: auto !important;
  }
  .nav-link:focus,
  .nav-link:hover {
    color: var(--bs-nav-link-hover-color) !important;
  }
  .nav-item {
    height: auto !important;
    text-align: right;
  }

  .scrolled .line {
    stroke: var(--bs-primary);
  }

  .scrolled.mobileScroll {
    background-color: var(--bs-white);
  }

  .dropdown-menu {
    position: static;
  }
  nav .clicked .dropdown-menu {
    display: flex;
    flex-direction: column;
    left: 0;
    width: 100%;
    background-color: var(--bs-nav-link-hover-color);
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--bs-secondary);
  }

  .dropdown-item {
    padding: 0 !important;
    justify-items: flex-end !important;
  }

  .nav-link:focus,
  .nav-link:hover {
    color: var(--bs-nav-link-hover-color) !important;
  }

  .dropdown-item .nav-link,
  .scrolled .dropdown-item .nav-link {
    color: var(--bs-nav-link-color) !important;
    padding: 1rem;
    width: 100%;
    text-align: right;
  }
  .dropdown-item .nav-link:hover {
    color: var(--bs-dropdown-link-hover-color) !important;
  }
}

/*-----ENDE----*/
h2,
h3 {
  position: relative;
}

h3 {
  margin-left: 1rem;
  margin-bottom: 1rem;
}

h2:before,
h1:before,
h3:before {
  background-color: var(--bs-link-hover-color);
  content: "";
  display: block;
  height: 100%;
  width: 0.5rem;
  bottom: 0;
  left: 0;
  margin-left: -1.5rem;
  position: absolute;
}
h3:before {
  margin-left: -1rem;
  width: 0.25rem;
}

#legal h2 {
  margin-top: 3rem;
}
#legal h3:before {
  display: none;
  margin-left: 0;
}

#legal h3 {
  margin-left: 0;
  margin-top: 2rem;
  margin-bottom: 0;
}

#legal li,
#legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#legal ul {
  margin-bottom: 2rem;
}

.preise .card {
  border: none;
}
#team {
  overflow: auto;
  position: relative;
  -webkit-clip-path: polygon(0 0, 100% 3.5vw, 100% calc(100% - 3.5vw), 0% 100%);
  clip-path: polygon(0 0, 100% 3.5vw, 100% calc(100% - 3.5vw), 0% 100%);
  padding-bottom: 10rem !important;
  margin-bottom: -3.5vw;
}

#history {
  overflow: auto;
  position: relative;
  clip-path: polygon(0% 3.5vw, 100% 0, 100% 100%, 0% calc(100% - 3.5vw));
  padding-bottom: 10rem !important;
  background-color: var(--bs-primary);
}

#news {
  position: relative;
  clip-path: polygon(0% 3.5vw, 100% 0, 100% calc(100% - 3.5vw), 0% 100%);
  background-color: var(--bs-primary);
}

#history:before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  display: block;
  background-image: url("../img/aD-Background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  width: 100%;
  height: 100%;
}

#team:before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  display: block;
  background-image: url("../img/team.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  width: 100%;
  height: 100%;

  filter: blur(0.25rem) grayscale(1) opacity(0.5);
}

.team-card-shape {
  position: relative;
}

#history .card {
  border: none;
}
.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%;
}

#portfolio .card,
#history .card,
.team-card-shape > div,
#history .col {
  transition: all 500ms ease;
}

#portfolio .card:hover,
#history .card:hover,
.team-card-shape:hover > div {
  box-shadow: var(--bs-box-shadow) !important;
  transition: all 500ms ease;
}

#portfolio ul:not(.list-unstyled) li {
  list-style-image: url("../img/astragon-shape.svg");
}

#history .col:hover {
  filter: drop-shadow(0 0.5rem 1rem rgba(255, 255, 255, 0.25));
  transition: all 500ms ease;
}

.card-body {
  display: flex;
  flex-direction: column;
}

.card-body .button {
  margin-left: auto;
  margin-right: 0;
}

#history .card {
  mask-image: url("../img/astragon-shape.svg");
  mask-repeat: no-repeat;
  mask-position: bottom;
}
#history .card-body {
  padding: 1rem 3rem 2rem;
}

#home {
  padding-top: 0;
  padding-bottom: 0;
}

.shape {
  position: relative;
  z-index: -1;
  left: 0;
}

/*.shape::after {
  display: block;
  content: " ";
  background-image: url("../img/astragon-shape-rotate.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  width: 120%;
  height: 120%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: -1;
}*/

.carousel-item {
  mask-image: url("../img/astragon-shape-rotate.svg");
  mask-repeat: no-repeat;
  mask-position: center;
}

#carouselStart .carousel-item > img {
  height: 65vw;
  max-height: 60rem;
  width: 100%;
}

.py-6 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

.pb-6 {
  padding-bottom: 6rem !important;
}

.fs-7 {
  font-size: 0.8rem;
}
.badge {
  text-transform: uppercase;
}
.text-bg-switch {
  color: #fff !important;
  background-color: rgb(230, 0, 18) !important;
}

.text-bg-pc {
  color: #fff !important;
  background-color: rgb(17, 17, 17) !important;
}

.text-bg-steam {
  color: #fff !important;
  background-color: rgb(55, 53, 54) !important;
}
.text-bg-ps4 {
  color: #fff !important;
  background-color: rgb(0, 78, 189) !important;
}
.text-bg-ps5 {
  color: #fff !important;
  background-color: rgb(0, 56, 161) !important;
}
.text-bg-one {
  color: #fff !important;
  background-color: rgb(53, 150, 43) !important;
}
.text-bg-xs {
  color: #fff !important;
  background-color: rgb(17, 125, 16) !important;
}
.text-bg-amico {
  color: #fff !important;
  background-color: rgb(74, 219, 221) !important;
}

.text-bg-3ds {
  color: #fff !important;
  background-color: rgb(213, 0, 25) !important;
}
.text-bg-mobile {
  color: #fff !important;
  background-color: rgb(85, 85, 85) !important;
}

.skew {
  transform: skewY(-2deg);
}
.unskew {
  transform: skewY(2deg);
}

.footer-item > .nav-link {
  border: 0 !important;
  color: var(--bs-white) !important;
}
footer .nav-link:hover,
footer .nav-link:focus {
  color: var(--bs-nav-link-hover-color) !important;
}

.typewrite > .wrap {
  border-right: 0.08em solid #00193e;
}

#load {
  width: auto;
}

.button {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  padding: 1rem;
  position: relative;
  display: inline-block;
}
.button__content {
  display: block;
  position: relative;
  font-size: 1.5rem;
}

#load span {
  width: 2rem;
  text-align: center;
  font-size: 2rem;
}
.closex {
  margin-top: -0.25rem;
}

.button__shape {
  block-size: 100%;
  fill: var(--bs-primary);
  inline-size: 100%;
  inset: 0;
  overflow: visible;
  position: absolute;
}

.button:hover .button__shape {
  fill: #0d688a !important;
}

.button:hover span {
  color: var(--bs-white) !important;
}

@media (min-width: 576px) {
  .mirrored h2,
  .mirrored .tr-text {
    text-align: right;
  }

  .mirrored h2:before {
    left: auto;
    right: 0;
    margin-left: auto;
    margin-right: -1.5rem;
  }
}

@media (min-width: 768px) {
}

@media (min-width: 992px) {
  .shape {
    right: -27vw;
    position: absolute;
    z-index: -1;
    width: 100%;
    left: auto;
  }
  #carouselStart .carousel-item > img {
    min-height: 45rem;
  }
  .carousel-item {
    mask-position: right;
  }
}

@media (min-width: 1200px) {
  #home {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .shape {
    right: -25vw;
  }

  #carouselStart .carousel-item > img {
    min-height: 52rem;
  }
}

@media (min-width: 1400px) {
  .shape {
    right: -20rem;
  }
  #home {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}
