/* archivo-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/archivo-v19-latin-regular.ec334af34f44.woff2") format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url("../fonts/archivo-v19-latin-regular.53dcf7f44481.ttf") format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* archivo-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/archivo-v19-latin-700.8aaed9b7a093.woff2") format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url("../fonts/archivo-v19-latin-700.16cad94ce2cb.ttf") format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* archivo-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/archivo-v19-latin-900.37a658f4c804.woff2") format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url("../fonts/archivo-v19-latin-900.231181b98634.ttf") format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* These styles are generated from project.scss. */
:root {
  --off-black: #1E2832;
  --dark-grey: rgb(85, 93, 101);
  --medium-grey: #C3C8CC;
  --light-grey: #EEF2F4;
  --off-white: #fafdff;
  --primary-color: rgb(48, 134, 191);
  --medium-blue: rgb(115, 173, 212);
  --light-blue: rgb(183, 213, 234);
  --ice-blue: #E4F0F8;
  --soft-ice-blue: #EFF7FC;
  --prim-petrol: rgb(45, 190, 195);
  --hover-action: #59CBCF;
  --yellow-color: rgb(249, 220, 141);
  --red-color: rgb(229, 154, 138);
  --green-color: rgb(136, 212, 156);
  --new-green-color: #6ED698;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-family: 'Archivo';
}

body {
  display: flex;
  flex-direction: column;
}

.page-wrap {
  flex: 1;
}

.navbar-brand img {
  max-height: 50px;
}

@media only screen and (max-width: 767px) {
  .navbar-brand img {
    height: 45px;
  }
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: pretty;
}

/* H6 */
h6 {
  font-size: 1.75rem;
  line-height: 125%;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* H5 */
h5 {
  font-size: 2.25rem;
  line-height: 115%;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* H4 */
h4 {
  font-size: 2.75rem;
  line-height: 115%;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* H3 */
h3 {
  font-size: 3.5rem;
  line-height: 115%;
  font-weight: 900;
  margin-bottom: 1rem;
}

/* H2 */
h2 {
  font-size: 4.5rem;
  line-height: 115%;
  font-weight: 900;
  margin-bottom: 1rem;
}

/* H1 */
h1 {
  font-size: 6rem;
  line-height: 115%;
  font-weight: 900;
  margin-bottom: 1rem;
}

/* Paragraph */
p {
  font-size: 1.25rem;
  line-height: 125%;
  font-weight: 400;
  margin-bottom: 1rem;
}

/* Small Paragraph */
.small {
  font-size: 1rem;
  line-height: 130%;
  font-weight: 400;
  margin-bottom: 1rem;
}

/* Large Paragraph */
.large {
  font-size: 1.75rem;
  line-height: 125%;
  font-weight: 400;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  font-weight: 700;
  cursor: pointer;
  border-radius: 50rem;
}

/* Big Button */
.btn-big {
  font-size: 1.5rem;
  padding: 1rem 2rem;
  line-height: 1.5rem;
}

/* Medium Button */
.btn-medium {
  font-size: 1.375rem;
  padding: 0.625rem 1.125rem;
  line-height: 1rem;
}

/* Small Button */
.btn-small {
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  line-height: 0.875rem;
}

/* Mobile Styles */
@media only screen and (max-width: 767px) {
  h6 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }
  
  h5 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }
  
  h4 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
  }
  
  h3 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
  }
  
  h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
  }
  
  h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
  }
  
  p {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }
  
  .small {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }
  
  .large {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }
  
  .btn-big {
    font-size: 1.125rem;
    padding: 0.75rem 1.5rem;
    line-height: 0.875rem;
  }
  
  .btn-medium {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    line-height: 0.875rem;
  }
  
  .btn-small {
    font-size: 0.75rem;
    padding: 0.375rem 0.625rem;
    line-height: 0.625rem;
  }
}

.desktop {
  display: block;
}

.mobile {
  display: none;
}

@media only screen and (max-width: 786px) {
  .desktop {
      display: none;
  }
  
  .mobile {
      display: block;
  }
}

.message-container {
  position: fixed;
  top: 6rem;
  right: 1rem;
  max-width: 20rem;
  z-index: 1050;
}

/* Allgemeine Styles für alle Alerts */
.message-container .alert {
  margin-bottom: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Angepasste Farben für Erfolgs- und Fehlermeldungen */
.message-container .alert-success {
  background-color: var(--green-color);
  border-color: var(--new-green-color);
  color: var(--off-white);
}

.message-container .alert-danger {
  background-color: var(--red-color);
  border-color: var(--red-color);
  color: var(--off-white);
}

/* Optionale Anpassung des Schließen-Buttons */
.message-container .btn-close {
  font-size: 0.8rem;
}

/** Onboarding Modal **/

.radio-group {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.steps {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.steps .step {
  white-space: nowrap;
}

@media (max-width: 767px) {
  .steps {
      flex-direction: column;
      align-items: center;
      overflow-x: visible;
  }
  .steps .step {
      margin-bottom: 0.5rem;
  }
}

/** Radio Button input color styling **/ 
input[type="radio"]:checked {
  background-color: var(--prim-petrol);
  border-color: var(--prim-petrol);
}

input[type="checkbox"]:checked {
  background-color: var(--prim-petrol);
  border-color: var(--prim-petrol);
  color: var(--prim-petrol);
}

.select-form {
  background-color: rgb(85, 93, 101, 0.75);
  color: var(--off-white);
  max-width:6rem;
}

.select-form::selection {
  background-color: var(--dark-grey);
  color: var(--off-white);
}

.alert-debug {
  color: var(--off-black);
  background-color: var(--off-white);
  border-color: var(--light-blue);
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

.btn-action.dark {
  background: var(--off-white);
  border-color: var(--off-white);
  color: var(--prim-petrol);
}

.btn-action.dark:hover {
  background-color: var(--hover-action);
  border-color: var(--hover-action);
  color: var(--off-white);
}

.btn-action.light {
  background: var(--prim-petrol);
  border-color: var(--prim-petrol);
  color: var(--off-white);
}

.btn-action.light:hover {
  background-color: var(--hover-action);
  border-color: var(--hover-action);
  color: var(--off-white);
}

.btn-secondary.dark {
  background-color: transparent;
  border-color: var(--off-black);
  color: var(--off-black);
}

.btn-secondary.dark:hover {
  background-color: transparent;
  border-color: transparent;
  color: var(--off-black);
}

.btn-secondary.light {
  background-color: transparent;
  border-color: var(--off-white);
  color: var(--off-white);
}

.btn-secondary.light:hover {
  background-color: transparent;
  border-color: transparent;
  color: #fff;
}

.btn-tertiary {
  background-color: var(--ice-blue);
  color: var(--prim-petrol);
}

.btn-tertiary:hover {
  background-color: transparent;
  border-color: var(--prim-petrol);
  color: var(--prim-petrol);
}

.edit-btn {
  top: 0.5rem;
  right: 0.5rem;
  position: absolute;
}

.gradient1 {
  background: linear-gradient(90deg, var(--soft-ice-blue), var(--off-white));
}

.blue-gradiant {
  background: linear-gradient(90deg, var(--primary-color), var(--off-black));
}

.commitment-gradient {
  background-image: linear-gradient(to right, rgb(229, 154, 138), rgb(255, 219, 128));
}

.inspirations-gradient {
  background: linear-gradient(var(--soft-ice-blue), var(--light-blue));
}

.blue-to-white-gradient {
  background: linear-gradient(to right, rgb(48, 133, 191, 1) 35%, rgb(250, 253, 255, 0.1) 75%);
}

.blue-to-white-gradient2 {
  background: linear-gradient(to right, rgb(48, 133, 191, 1) 50%, rgb(250, 253, 255, 0.1) 75%);
}

.blue-to-white-gradient-down {
  background: linear-gradient(rgb(48, 133, 191, 1) 90%, var(--light-blue));
  padding: 2rem;
}

.blue-to-white-gradient-up {
  background: linear-gradient(to top, rgb(48, 133, 191, 1) 90%, rgb(183, 213, 234, 0));
  padding: 2rem;
}

.medium-blue-to-white-gradient {
  background: linear-gradient(to right, rgb(115, 173, 212, 1) 25%, rgb(250, 253, 255, 0.1) 75%);
}

.light-blue-gradient {
  background: linear-gradient(var(--light-blue), var(--ice-blue));
}

.top-bottom-spacer {
  padding: 8rem;
}

@media only screen and (max-width: 767px) {
  .top-bottom-spacer {
    padding: 3rem 1rem;
  }
}

.mobile-video {
  margin-bottom: -2rem;
}

.course-badge {
  position: absolute;
  top: 0;
  left: 10px;
  padding: 0.25rem 0.75rem;
  font-size: 1.5rem;
  color: white;
  z-index: 10;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}

.badge-completed {
  background-color: var(--green-color);
}

.badge-in-progress {
  background-color: var(--yellow-color);
}

.badge-locked {
  background-color: var(--red-color);
}


/** Tabs and Nav Groups **/

.nav-tabs-container {
  margin-left: 1rem;
}

.nav-tabs{
  border: 0;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.nav-tabs .nav-item {
  margin-right: 0.5rem;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.nav-tabs .nav-link.active {
  color: var(--off-black);
}

.nav-link.active.blue {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--off-white);
}

.nav-link.active.medium-blue {
  background-color: var(--medium-blue);
  border-color: var(--medium-blue);
  color: var(--off-white);
}

.nav-link.active.white {
  background-color: var(--off-white);
  border-color: var(--off-white);
  color: var(--off-black);
}

.nav-link.active.green {
  background-color: var(--green-color);
  border-color: var(--green-color);
  color: var(--off-white);
}

.nav-link.active.red {
  background-color: var(--red-color);
  border-color: var(--red-color);
  color: var(--off-white);
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
  isolation: revert;
}

.nav-tabs .nav-link {
  color: var(--dark-grey);
  background-color: var(--medium-grey);
}

#myTabContent, .tab-content {
  height: 100%;
}

.tab-pane {
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.tab-pane-content {
  border-radius: 8px;
}

@media only screen and (max-width: 767px) {
  .nav-tabs-container {
    margin-left: 0.5rem;
    margin-top: 0.5rem;
  }

  .nav-tabs .nav-item {

    margin-right: 0.5rem;
  }

  .nav-link {
    padding: 0.5rem;
  }
}

/* 
  Login/Register Page
*/

/*
  Start Page
*/

.vertically-centered {
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.slider-container-inspirations {
  color: var(--off-black);
}

.slider-container {
  overflow: visible;
  color: var(--off-white);
  height: 100%;
}

.slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.slider-elem {
  display: flex;
  flex-direction: column;
  color: var(--off-black);
  flex: 0 0 auto;
  margin: 1rem 1rem;
  border-radius: 0.5rem;
  width: 400px;
  background-color: var(--off-white);
}

.slider-img {
  position: relative; 
  overflow: hidden;
}

.slider-img img {
  max-width: 400px;
  border-radius: 0.5rem 0.5rem 0 0;
}

.slider-elem ul {
  list-style: none;
}

.slider-elem li:before {
  content: "+";
  margin-right: 4px;
  color: var(--green-color);
}

a.mt-auto {
  margin-top: auto; /* Damit der "Start Course" Button immer am unteren Ende der Karte ist */
}

.content {
  flex-grow: 1; /* Ermöglicht es dem Hauptinhalt, den verbleibenden Platz einzunehmen */
}

.overlay-courses {
  position: absolute; 
  top: 50%; 
  left: 0; 
  width: 100%; 
  height: 50%; 
  background-image: linear-gradient(to bottom, rgba(250, 253, 255, 0), rgba(250, 253, 255, 1));
}

@media only screen and (max-width: 786px) {
  .slider-elem {
    margin: 0.5rem 0.5rem;
    border-radius: 0.5rem;
    width: 250px;
    background-color: var(--off-white);
  }

  .slider-img img {
    max-width: 250px;
    border-radius: 0.5rem 0.5rem 0 0;
  }
}

@media only screen and (max-width: 1200px) {
  .vertically-centered {
    position: relative;
  }
}

/*
  Course Site
*/

/*
  Lesson Detail Page
*/

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 34%;
  height: 85%;
  color: black;
  padding: 20px;
  z-index: 5;
  overflow-y: auto;
  overflow-x: hidden;
}

.audio-container {
  position: relative;
  padding-bottom: 15%;
  height: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

.audio-container iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 85%;
}

.img-container {
  position: relative;
  padding-bottom: 20%;
  height: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

.img-container img {
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 85%;
  object-fit: cover;
}

.overlay-audio {
  position: absolute;
  top: 0;
  left: 0; /* Adjusted to move the text to the right of the video */
  width: 66%;
  height: 85%;
  color: black;
  padding: 20px;
  z-index: 5;
  overflow-y: auto; /* Ermöglicht vertikales Scrollen */
  overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

.controls {
  position: absolute;
  bottom: 25%; /* angepasst an die untere Kante des iframes */
  left: 10px;
  display: flex; /* Fügt Flexbox hinzu, um Elemente nebeneinander anzuordnen */
  z-index: 10;
}

.text-control {
  color: var(--off-white);
  background-color: var(--off-black);
  padding: 5px 10px;
  cursor: pointer;
  user-select: none; /* Verhindert, dass der Text ausgewählt wird */
  border-radius: 15px;
}

/*
  Profilpage
*/

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%; /* Kreisförmiger Ausschnitt, wenn gewünscht */
  background-position: center; /* Zentriert das Bild */
  background-size: cover; /* Sorgt dafür, dass das Bild den Container bedeckt */
  overflow: hidden; /* Versteckt alles, was außerhalb des Containers ist */
}

.button-container-right {
  text-align: right;
}

.entry-form {
  display:none;
}

.tab-group a {
  color: var(--dark-grey); /* Standardfarbe für Links */
  font-weight: 600;
}

.tab-group a:hover {
  color: var(--dark-grey); /* Standardfarbe für Links */
}

.tab-group-selected {
  color: var(--off-black);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

select::-ms-expand {
  display: none;
}

.container-user {
  background-color: var(--soft-ice-blue);
}

.menu-link {
  text-decoration: none;
}

.sub-menu-link {
  text-decoration: none;
}

/* 
Video Settings
*/

.video-container {
  position: relative;
  width: 100vw;
  height: 90vh;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 25%;
  width: 75%;
  height: 100%;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.btn-video {
  background: var(--off-black);
  border-color: var(--off-black);
  padding-left: 20px; 
  padding-right: 20px; 
  color: var(--off-white);
}

.btn-video:hover {
  border-color: var(--off-black); 
  padding-left: 20px;
  padding-right: 20px;
  color: var(--off-black);
}

.button-row {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: row;
}

.button-row button {
  margin-left: 5px;
}

.accordion-button:not(.collapsed) {
  background-color: var(--off-white);
  color: var(--off-black);
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  background-color: var(--off-white);
  color: var(--off-black);
}

.accordion-body {
  max-width: clamp(320px, 90%, 1000px);
  margin: auto;
}

.accordion-item button {
  border-radius: 0.5rem;
  background-color: var(--off-white);
}

.accordion-title {
  font-size: 24px;
  font-weight: bold;
}


.dynamic-background {
  position: relative;
  display: inline-block;
  padding: 5px;
  color: var(--off-white);
}

.dynamic-background::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -10px;
  right: -10px;
  bottom: -5px;
  background-color: var(--off-white);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: scaleX(0);
  transform-origin: center;
  z-index: -1; /* Stellen Sie sicher, dass das Pseudoelement hinter der Schrift liegt */
}

.dynamic-background:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.dynamic-background:hover {
  color: var(--off-black);
  z-index: 1; /* Stellen Sie sicher, dass die Schrift über dem Pseudoelement liegt */
}


.inspiration-card {
  background-color: var(--off-white);
  color: var(--off-black);
  border-radius: 0.5rem;
  margin: 1rem;
  padding-bottom: 0.1rem;
}

.inspiration-card img {
  border-radius: 0.5rem 0.5rem 0 0;
}

.usps-list {
  overflow: hidden;
  transition: all 0.3s ease;
}