:root {--hka_color: #d72305; }

.bg-hka_color {
  background-color: var(--hka_color);
}

.footer.absolute.bottom-0.w-100.ph2.pv1.bg-hka_color {
  position: sticky !important;
}

h1.f2.f-subheadline-l.fw2.light-silver.mb0.lh-title {
  display: none !important;
}

.footer-impressum.no-underline {
  color: white;
}

.home, .home2 {
  display: flex;
  flex-direction: row;
  min-height: 20rem; 
  width: 100%;
}

.home2 {
  color: #00000C;
}

.home2-bg {
  background-color: rgb(233, 233, 233);
}

.home-text-right, .home-text-left {
  display:flex;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  padding-left: 3rem;
  padding-right: 3rem;
  width: 933px;
  max-height: 500px;
}

.home-text-right-short, .home-text-left-short {
  display:flex;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  padding-left: 3rem;
  padding-right: 149px;
  width: 933px;
  max-height: 500px;
}

.home-text-left {
  width: 1100px;
}

.home-text-left-short {
  width: 900px;
}

.home-pics-right, .home-pics-left {
  display: flex;
  object-fit: contain;
  height: 500px;
  width: 500px;
  justify-content: flex-end;
}

.home-pics-right-wide, .home-pics-left-wide {
  display: flex;
  object-fit: contain;
  height: 500px;
  width: 700px;
  justify-content: flex-end;
}

.home-pic-campus {
  display: flex;
  object-fit: contain;
  height: 400px;
  width: 900px;
  justify-content: flex-end;
}

.home-pics-left {
  width: 667px;
  justify-content: flex-start;
}

.home-pics-left img, .home-pics-right img { 
  object-fit: cover;
}

.mockup {
  object-fit: contain !important;
  max-height: 700px;
}

.header-hskampus-facts, .home, .home2 {
  max-width: 1600px;
  margin: auto;
}

.cover, .header-hskampus-facts, .bg-black-60 {
  height: 812px;
}

@media (max-width: 1000px) {
  .home {
    flex-direction: column-reverse;
  }

  .home2 {
    flex-direction: column;
  }

  .home-pics-left, .home-pics-right, .mockup {
    width: 100%;
    justify-content: center;
    height: 400px;

  }

  .home-pics-left img, .home-pics-right img {
    width: 100%;
  }

  .home-text-left, .home-text-right  { 
    /*min-height: 400px;*/
    max-height: max-content;
    width: 100%;
  }
}

.app-badge {
  max-width: 12rem;
  padding: 0.5rem;
}

img[src$="#border"] {
  border-radius: 0.5rem;
}

.plattform-icons {
  width: 7rem;
  -webkit-transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  -o-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out;
}
select.language-selector {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent; 
  border:none;
  border-radius: 0px;
  color: rgb(255, 255, 255)!important;
  outline: 0px;
}

@media (max-width:880px){
  .language-selector-li{
    padding-top: 0.3rem;
  }
}

@media (min-width:881px){
  .language-selector-li{
    padding-top: 1.55rem;
    padding-right: 16px;
  }
}

/* Flags navigation */
.flagselect {
  border: 1px solid #333333;
  padding: 0px;
  margin: 0px;
  font-weight: bold;
  color: black;
  font-size: 90%;
}
.flagnoselect {
  padding: 0px;
  margin: 0px;
  color: #333333;
  font-size: 90%;
}

.rounded-box:hover .plattform-icons{
  max-width: 8rem;
  padding: 0rem;
  -webkit-transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  -o-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out;
}

.rounded-box, .rounded-box-team {
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0px 2px 4px #0000002f;
  padding: 1rem;
  margin-top: 1rem;
}

.rounded-box:hover {
  background-color: #fbe9e6;
}

.antwort {
  padding-left: 1rem;
}

.rounded-box-team {
  max-width: 288px;
  min-width: 288px;
  margin: 0.5rem;
}

.box-shadow-hskampus {
  border-radius: 0.5rem;
  border-style: none;
  box-shadow: 0px 2px 4px #0000002f;
}

.inbox-shadow-hskampus {
  border-radius: 0.5rem;
  border-style: none;
  box-shadow: inset 0px 2px 4px #0000002f;
}

.inbox-shadow-hskampus:hover {
  box-shadow: inset 0px 3px 6px #0000002f;
}

.button-shadow-hskampus {
  border-radius: 0.75rem;
  border-style: none;
  box-shadow: 0px 3px 6px #0000002f;
  width: 40%;
  padding: 1rem;
}

.button-shadow-hskampus:focus {
  background-color: #d7240580;
  position: relative;
  top: 1px;
  box-shadow: inset 0px 3px 6px #0000002f;
}

@media (max-width: 414px) {
  .rounded-box-team {
    max-width: 98%;
    min-width: unset;
    margin: 0.25rem;
  }
  .button-shadow-hskampus {
    width: 150px;
    max-width: 100%;
  }
}

.header-website {
  z-index: 10;
}

/*more paddings*/
.pb7 {
  padding-bottom: 1rem;
}

.pt8 {
  padding-top: 6rem;
}

.pv6-7 {
  padding-top: 16rem;
  padding-bottom: 16rem;
}

.padding-bottom {
  padding-bottom: 6rem;
}

.padding-start {
  padding-bottom: 43px;
}

@media (max-width: 453px) {
  .padding-start {
    padding-bottom: 61px;
  }
}

@media (max-width: 592px){
  .footer-left {
    font-size: 17px;
  }
}

@media (max-width: 535px){
  .footer-left {
    font-size: 14px;
  }
}

.logo-impressum img {
  width: 100%;
  max-width: 400px;
}

/*header and footer item*/
.footer-impressum,
.header-item {
  color: #ffffff;
}

.footer-impressum:hover,
.header-item:hover {
  color: #f7d3cd;
}

/*social icons for footer*/
.footer-facebook,
.footer-instagram,
.footer-youtube {
  fill: #ffffff;
  text-decoration: none;
}

.footer-facebook:hover,
.footer-instagram:hover,
.footer-youtube:hover {
  fill: #f7d3cd;
  text-decoration: none;
}

/*social icons for team*/
.stackoverflow,
.facebook,
.twitter,
.instagram,
.youtube,
.linkedin,
.xing,
.github,
.gitlab,
.slack,
.website {
  fill: var(--hka_color);
  text-decoration: none;
}

.stackoverflow,
.facebook:hover,
.twitter:hover,
.instagram:hover,
.youtube:hover,
.linkedin:hover,
.xing:hover,
.github:hover,
.gitlab:hover,
.slack:hover,
.website:hover {
  fill: #f7d3cd;
  text-decoration: none;
}

/* HsKA links */
.hska-links a {
  color: var(--hka_color);
  text-decoration: none;
}

.hska-links a:hover {
  text-decoration: none;
  color: #921b06;
  cursor: pointer;
}

/* hover state of submit button */
button,
[type="submit"] {
  cursor: pointer;
}

/* custom summary and details */
summary {
  cursor: pointer;
}

details[open]:hover {
  background-color: #ffffff;
}

summary::-webkit-details-marker {
  display: none;
}

details > summary {
  list-style: none;
}

summary::before {
  content: " ►  ";
  color: var(--hka_color);
}

details[open] summary:before {
  content: " ▼  ";
  color: var(--hka_color);
}

@keyframes slideDown {
  0% {
      opacity: 0;
      height: 0;
  }
  100% {
      opacity: 1;
      height: 300px; /* height of your smallest content, e.g. one line */
  }
}

details[open]>div {
  animation-name: slideDown;
  animation-duration: 200ms;
  animation-timing-function:ease-in;
  overflow:hidden;
}

/* youtube video integration in FAQ*/
.video-container-wrapper {
  max-width: 800px;
}

.video-container {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* FEATURES (STARTSEITE) */
.features {
  display: grid;
  grid-template-columns: 2rem 1fr;
  grid-column-gap: 1.5rem;
  grid-row-gap: 1rem;
  align-items: center;
}

.icon-feature {
  width: 1.5rem;
}

.icon-team {
  grid-column: 1/2;
}

/* MITMACHEN */
.team-introductions {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.team-introduction {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: 7rem 1fr;
  grid-column-gap: 2rem;
}

.title-team {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.used-technologies {
  margin-left: auto;
  margin-right: auto;
  display: grid;
  width: 25.5rem;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 8rem;
}

.used-technology {
  width: 6rem;
  margin: 1rem;
  display: flex;
  align-items: center;
  justify-content: space;
}

.flip-card-text{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  padding: 2px;
  color: rgba(255, 255, 255, 0.8);
  background-color: var(--hka_color);
  border-radius: 100%;
}

/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
  margin-left: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  -webkit-transition: transform 0.8s;
  -moz-transition: transform 0.8s;
  -o-transition: transform 0.8s;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

.flip-card-front {
  z-index: 2;
	/* for firefox 31 */
  -webkit-transform: rotateY(0deg);
  -moz-transform: rotateY(0deg);
  -o-transform: rotateY(0deg);
  transform: rotateY(0deg);
}

/* Style the back side */
.flip-card-back {
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

/* MEILENSTEINE */

* {
  box-sizing: border-box;
}

/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: "";
  position: absolute;
  width: 3px;
  background-color: var(--hka_color);
  top: 0;
  bottom: 0;
  left: 50%;
}

/* Container around content */
.container {
  padding: 0.25rem 15px;
  position: relative;
  width: 50%;
}

/* The circles on the timeline */
.container::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -14px;
  background-color: var(--hka_color);
  top: 3.5rem;
  border-radius: 100%;
}

/* Place the container to the left */
.left {
  left: 0;
}

/* Place the container to the right */
.right {
  left: 50%;
}

/* Fix the circle for containers on the right side */
.right::after {
  left: -11px;
}

/* The actual content */
.content {
  background-color: white;
  position: relative;
  padding: 1rem;
}

.number-facts {
  display: grid;
  grid-column-gap: 1rem;
  grid-template-columns: auto auto auto auto;
}

.number-fact {
  display: grid;
  grid-template-columns: 1fr;
  padding: 1rem;
}

.number {
  font-size: xx-large;
  font-weight: normal;
}

#button-burger-menu {
  display: none;
}

#overlay-mobile-menu {
  display: none;
}

#close-button {
  display: none;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media (max-width: 600px) {
  /* Place the timelime to the left */
  .timeline::after {
    left: 20px;
  }

  /* Full-width containers */
  .container {
    width: 100%;
    padding-left: 40px;
    padding-right: 0;
  }

  /* Make sure that all arrows are pointing leftwards */
  .container::before {
    border: solid white;
    border-width: 10px 10px 10px 0;
    border-color: white;
  }

  /* Make sure all circles are at the same spot */
  .left::after,
  .right::after {
    left: 10px;
  }

  /* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }

  .team-introductions {
    margin-top: 2rem;
  }

  .team-introduction {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .icon-team {
    width: 8rem;
  }

  .title-team {
    text-align: center;
  }

  .team-introduction-text {
    margin-top: 1rem;
  }

  .team-description {
    margin-left: 1rem;
  }

  .used-technologies {
    width: 100%;
  }

  .used-technology {
    width: 4rem;
  }

  .flip-card-text{
    height: 4rem;
    font-size: 67%;
  }
}

@media (max-width: 666px) {
  .number-facts {
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 2rem;
    font-size: 1rem;
    justify-self: center;
  }

  .number-fact {
    padding: 0.5rem;
  }

  .number {
    font-size: x-large;
    font-weight: normal;
  }
}

@media (min-width: 960px) {
  .used-technologies {
  font-size: 80%;
  }
}

@media (max-width: 264px) {
  .used-technologies {
    display: grid;
    width: 4.5rem;
    grid-template-columns: 1fr;
    grid-template-rows: 4.5rem 4.5rem 4.5rem;
  }
}

* {
  box-sizing: border-box;
}

.navbar {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  min-height: 50px;
  box-shadow: 0px 4px 8px #0000002f;
}

.brand-title {
  align-items: center;
  margin: 0.5rem;
  float: left;
  color: #ffffff;
}

@media (max-width: 333px) {
  .navbar-title {
    font-size: 1.25rem !important;
  }
}

@media (max-width: 266px) {
  .navbar-title {
    opacity: 0;
  }
}

.navbar-title {
  height: 100%;
  position: relative; 
  left: 5rem;
  font-size: 2rem;
  color: #ffffff;
  text-decoration: none;
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.navbar-logo {
  height: 3rem; 
  width: 3rem;
  padding: 6px;
  position: absolute; 
  top: 13px; 
  left: 18px;
  /*border: #ffffff80 1px solid;
  border-radius: 0.75rem;*/
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-brand ul {
  display: flex;
  margin: 0;
  padding: 0;
}

.footer-left {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 103rem) {
  .navbar-logo, .navbar-brand, .footer-left {
    margin-left: calc((100vw - 103rem)/2);
  }
  .navbar-links, .footer-right {
    margin-right: calc((100vw - 103rem)/2);
  }
}

.navbar-brand li {
  list-style: none;
  height: 76px;
}

.navbar-links {
  height: 100%;
  font-size: 1.25rem;
}

.navbar-links ul {
  display: flex;
  margin: 0;
  padding: 0;
}

.navbar-links li {
  list-style: none;
  border-bottom: solid 4px rgba(255, 255, 255, 0);
  height: 76px;
}

.navbar-links li a {
  display: block;
  text-decoration: none;
  color: #ffffff;
  padding: 26px 1rem;
}

.navbar-links li:hover {
  background-color: rgba(255, 255, 255, 0);
  border-bottom: solid 4px rgb(255, 255, 255);
  height: 76px;
  -webkit-transition: border 0.2s ease-out;
  -moz-transition: border 0.2s ease-out;
  -o-transition: border 0.2s ease-out;
  transition: border 0.2s ease-out;
}

.toggle-button {
  position: absolute;
  top: 18px;
  right: 1.25rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 50px;
  height: 41px;
  padding: 10px;
  border: solid 1px rgba(255, 255, 255, 0.5);
  border-radius: 5px;
}

.toggle-button span {
  position: relative;
  top: 0px;
  height: 0px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.toggle-button:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: #f7d3cd;
}

.toggle-button .bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 10px;
}

@media (max-width: 960px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    box-shadow: none;
  }

  .toggle-button {
    display: flex;
  }

  .navbar-links {
    display: flex;
    width: 100%;
    justify-content: center;
    position: absolute;
    height: 280px; /* Anzahl Links (7) * height von navbar-links ul li (40px) */
    top: -204px; /* height (280px) - height von .navbar-links li (76px) */
    pointer-events: none;
    background-color: var(--hka_color);
    box-shadow: 0px 4px 8px #0000002f;
    z-index: -1;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;

  }

  .navbar-links ul {
    width: 100%;
    flex-direction: column;
  }

  .navbar-links ul li {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    height: 40px;
  }

  .navbar-links ul li a {
    padding: 0.5rem 1rem;
  }

  .navbar-links.active {
    pointer-events: all;
    top: 76px;
    z-index: -1;
  }

  .navbar-links li:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-bottom: none;
    height: unset;
  }
}

/* animated Toggle-Button */

.toggle-button.open span:nth-child(2) {
  opacity: 0;
  -webkit-transform: translateX(13px);
  -moz-transform: translateX(13px);
  -o-transform: translateX(13px);
  transform: translateX(13px);
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.toggle-button.open span:nth-child(3) {
  position: relative;
  top: -7.5px;
  height: 4px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.toggle-button.open span:nth-child(1) {
  position: relative;
  top: 7.5px;
  height: 4px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.scroll-button {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  background: var(--hka_color);
  z-index: 99999;
  width: 4rem;
  height: 4rem;
  position: fixed;
  bottom: 6rem;
  right: 3rem;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  padding: 5px;
  color: #ffffff;
  box-shadow: 0px 4px 8px #0000002f;
  pointer-events: none;
  opacity: 0;
  -webkit-transform: translateY(100px);
  -moz-transform: translateY(100px);
  -o-transform: translateY(100px);
  transform: translateY(100px);
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.showBtn {
  pointer-events: all;
  opacity: 0.9;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0)
}

.arrow, .arrow2 {
  position: absolute;
  top: 30%;
  display: flex;
  align-items: center;
  text-align: center;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 5px;
  border-left: solid 5px rgb(255, 255, 255, 0.9);
  border-top: solid 5px #ffffff;
}

.arrow2 {
  top: 50%;
}

@media (max-width: 960px) {
  .scroll-button {
    right: 0px;
    border-radius: 100px 0 0 100px; 
  }
}

@media (max-width: 480px) {
  .scroll-button {
    width: 3rem;
    height: 3rem;
  }

  .showBtn {
    opacity: 0.5;
  }

  .arrow, .arrow2 {
    width: 1rem;
    height: 1rem;
    border-radius: 4px;
    border-left: solid 4px rgb(255, 255, 255, 0.9);
    border-top: solid 4px #ffffff;
  }
}

.hka-logo {
  position: fixed;
  right: 2rem;
  top: 7rem;
  width: 6rem;
  opacity: 1;
  z-index: 1;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

@media (max-width: 960px) {
  .hka-logo {
    right: 1.5rem;
    top: 6rem;
    width: 5rem;
  }
}

@media (max-width: 666px) {
  .hka-logo {
    right: 1rem;
    top: 5.5rem;
    width: 4rem;
  }
}

.hideLogo {
  opacity: 0;
  pointer-events: none;
}

.item-hidden {
  box-shadow: none;
  height: 1px;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.baseof, .wide-page {
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
}

.wide-page {
  max-width: 100rem;
}

@media screen and (min-width: 30em) and (max-width: 121em) {
  .ph5-m {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

@media screen and (min-width: 121em) {
  .ph7-l {
    padding-left: 16rem;
    padding-right: 16rem;
  }
}

@media screen and (min-width: 30em) and (max-width: 121em) {
  .f4-m { font-size: 1.25rem; }
}

@media screen and (min-width: 121em) {
  .f1-l { font-size: 3rem; }
  .f3-l { font-size: 1.5rem; }
  .f4-l { font-size: 1.25rem; }
  .f5-l { font-size: 1rem; }
}

/*FAQ*/
.rounded-box {
  border-radius: .5rem;
  padding: 1rem;
  margin-top: 1rem;
}

details {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

summary {
  padding: 1rem;
  font-size: medium;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

details > summary {
  list-style: none;
}

summary::before {
  content: ' ►  ';
  color: var(--accent);
}

details[open] summary:before {
  content: " ▼  ";
  color: var(--accent);
}

.antwort {
  margin-left: 1.7rem;
  margin-top: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-left: 2px solid var(--accent);
}