/*-----––––––––––––––––––––––-––––––––-––––––-––––-----–––––––––––––-----––––––––––––––––––––––-––––––––-–––––-–––––-----*/
/*     ––––––––––––––––––––––-––––––––-––––––-––––-     GLOBAL STUFF     –––––––––––––––––––––-––––––––-––––––-––––-     */
/*------––––––––––––––––––––––-––––––––-––––––-––––----–––––––––––––----––––––––––––––––––––––-––––––––-–––––-–––––------*/
:root {
  /*---------–––––––––––––---------*/
  /*          COLORS               */
  /*---------–––––––––––––---------*/
  --vig-weiss: #ffffff;
  --vig-schwarz: #000000;
  --vig-text: #363636;
  --vig-orange: #e36929;
  --vig-blau: #002f6b;
  --vig-helblau: #206E7F;
  --vig-gruen: #029E3B;
  --vig-blaua: #002f6b8c;
  --vig-helblaua: #206E7F8c;
  --vig-gruena: #029E3B8c;
  --Border-primary: #A0A0A0;

  /*---------–––––––––––––---------*/
  /*          ANIMATIONEN         */
  /*---------–––––––––––––---------*/
  --animation-scale-up-center: scale-up-center 0.4s
    cubic-bezier(0.39, 0.575, 0.565, 1) both;
  --animation-scale-down-center: scale-up-center 0.4s
    cubic-bezier(0.39, 0.575, 0.565, 1) reverse both;
  --animation-zoom-out-center: zoom-out-center 0.4s
    cubic-bezier(0.39, 0.575, 0.565, 1) both;
  --animation-zoom-out-top: zoom-out-top 0.4s
    cubic-bezier(0.39, 0.575, 0.565, 1) both;
  ---animation-disappear-right: scale-down-hor-right 0.6s
    cubic-bezier(0, -0.55, 0.265, 1.55) reverse both;
  /*---animation-appear-right: scale-down-hor-right 0.6s
    cubic-bezier(0.68, -0.55, 0.265, 1.55) both;*/
  ---animation-appear-right: scale-down-hor-right 0.6s
    cubic-bezier(0, -0.55, 0.265, 1) both;
}

h2 {
  font-family: "URWDIN-Bold";
  font-size: 1.5em;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
}

h3 {
  font-family: "URWDIN-Bold";
  font-size: 1.2em;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
}

h4 {
  font-family: "URWDIN-Bold";
  font-size: 1em;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
}

p, button, a, div, span {
  font-family: "URWDIN-Light";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  color: var(--vig-text);
}

b {
  font-weight: 700;
  font-family: "URWDIN-Medium";
}

.hide {
  display: none !important;
}

sub {
  vertical-align: sub;
  font-size: smaller;
}

sup {
  vertical-align: super;
  font-size: smaller;
}

/*---------–––––––––––––---------*/
/*          SCHRIFT              */
/*---------–––––––––––––---------*/

@font-face {
  src: url(./fonts/URWDIN-Light/font.eot);
  font-family: "URWDIN-Light";
  src: url(./fonts/URWDIN-Light/font.woff2) format("woff2"),url(./fonts/URWDIN-Light/font.woff) format("woff"),url(./fonts/URWDIN-Light/font.eot#iefix) format("embedded-opentype"),url(./fonts/URWDIN-Light/font.ttf) format("truetype");
}

@font-face {
  src: url(./fonts/URWDIN-Medium/font.eot);
  font-family: "URWDIN-Medium";
  src: url(./fonts/URWDIN-Medium/font.woff2) format("woff2"),url(./fonts/URWDIN-Medium/font.woff) format("woff"),url(./fonts/URWDIN-Medium/font.eot#iefix) format("embedded-opentype"),url(./fonts/URWDIN-Medium/font.ttf) format("truetype");
}

@font-face {
  src: url(./fonts/URWDIN-Black/font.eot);
  font-family: "URWDIN-Black";
  src: url(./fonts/URWDIN-Black/font.woff2) format("woff2"),url(./fonts/URWDIN-Black/font.woff) format("woff"),url(./fonts/URWDIN-Black/font.eot#iefix) format("embedded-opentype"),url(./fonts/URWDIN-Black/font.ttf) format("truetype");
}

@font-face {
  src: url(./fonts/URWDIN-Bold/font.eot);
  font-family: "URWDIN-Bold";
  src: url(./fonts/URWDIN-Bold/font.woff2) format("woff2"),url(./fonts/URWDIN-Bold/font.woff) format("woff"),url(./fonts/URWDIN-Bold/font.eot#iefix) format("embedded-opentype"),url(./fonts/URWDIN-Bold/font.ttf) format("truetype");
}

body {
  cursor: url("cursor2.png"), auto;
  font-family: vigier_regular;
  color: var(--vig-blau);
}

button, a{
  cursor: url("cursor1.png"), auto;
}

/*-----––––––––––––––––––––––-––––––––-––––––-––––-----–––––––––––––-----––––––––––––––––––––––-––––––––-–––––-–––––-----*/
/*     ––––––––––––––––––––––-––––––––-––––––-––––-     NAVIGATION     ––––––––––––––––––––-––––––––-––––––-––––----     */
/*------––––––––––––––––––––––-––––––––-––––––-––––----–––––––––––––----––––––––––––––––––––––-––––––––-–––––-–––––------*/

.header{
  position: fixed;
  margin: 20px;
  top: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
}

#navigation {
  background-color: var(--vig-weiss);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  gap: 20px;
  align-items: center;
}

#navigation .nav-right {
  display: flex;
  gap: 4px;
  align-items: center;
  border-left: 1px solid var(--Border-primary);
  padding-left: 20px;
}

#navigation .time-item {
  display: flex;
  gap: 0px;
  align-items: center;
  align-items: stretch;
}

#navigation .time-item button{
  border: 1px solid var(--Border-primary);
  padding: 5px 20px;
}

#navigation .time-item button img{
  display: none;
}

#navigation .time-item button:hover img, #navigation .time-item button.active img{
  display: inline;
  width: 12px;
}

#navigation .time-item button:first-child{
  border-radius: 100px 0  0 100px;
  border-right: none;
}

#navigation .time-item button:last-child{
  border-radius: 0 100px 100px 0;
  border-left: none;
}

#navigation .time-item button:hover, #navigation .time-item button.active{
  background-color: var(--vig-helblau);
  color: white;
}

#navigation .time-item button:hover:first-child, #navigation .time-item button.active:first-child{
  background-color: var(--vig-blau);
}

#navigation .time-item button:hover:last-child, #navigation .time-item button.active:last-child{
  background-color: var(--vig-gruen);
}

#navigation .nav-item {
  display: flex;
  gap: 10px;
}

#navigation .nav-item button{
  display: flex;
  gap: 0px;
  flex-direction: column;
  align-items: center;
}

#navigation .nav-item button img{
  width: 18px;
  padding: 5px;
}

#navigation .nav-item button:hover, #navigation .nav-item button.active{
  color: var(--vig-blau);
}

#navigation .nav-item button .white{
  display: none;
}

#navigation .nav-item button:hover .white, #navigation .nav-item button.active .white{
  display: block;
  background-color: var(--vig-blau);
  border-radius: 100px;
}

#navigation .nav-item button:hover .black, #navigation .nav-item button.active .black{
  display: none;
}

.onimgnav{
  display: flex;
  gap: 2px;
  align-items: center;
}

.onimgnav > div {
  display: flex;
  background-color: white;
  border: 1px solid var(--Border-primary);
  padding: 5px 12px 5px 8px;
  border-radius: 100px;
  font-size: 12px;
  gap: 6px;
  align-items: center;
  text-wrap: nowrap;
}

.onimgnav > div img{
  width: 18px;
}

.onimgnav > img{
  width: 18px;
  background-color: white;
  border-radius: 100px;
  padding: 5px;
  border: 1px solid var(--Border-primary);
}

.onimgplus{
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}

.onimgplus > div{
  padding: 0px 4px;
  border-radius: 5px;
  text-wrap: nowrap;
  color: white;
}

.nav-info{
  background-color: var(--vig-weiss);
  border-radius: 10px;
  padding: 10px;
}

#nav-info-button img{
  margin-top: 5px;
  width: 16px;
}

/*-----––––––––––––––––––––––-––––––––-––––––-––––-----–––––––––––––-----––––––––––––––––––––––-––––––––-–––––-–––––-----*/
/*     ––––––––––––––––––––––-––––––––-––––––-––––-     CONTENT TEXTE     ––––––––––––––––––––––––––-––––––-––––----     */
/*------––––––––––––––––––––––-––––––––-––––––-––––----–––––––––––––----––––––––––––––––––––––-––––––––-–––––-–––––------*/

#all-content-text-boxes {
  position: fixed;
  background-color: var(--vig-weiss);
  box-shadow: #00000050 0px 0px 10px;
  border-radius: 10px;
  top: 120px;
  max-height: calc(100% - 200px);
  padding: 20px;
  right: 40px;
  width: 400px;
  display: none;
  animation: none;
}

#content{
  width: 100%;
  display: flex;
  gap: 10px;
  flex-direction: column;
}

#content .content-header{
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

#content .content-header .expertenmodus{
  display: flex;
  gap: 10px;
  align-items: center;
}

#content img{
  width: 100%;
}

#content .content-basic{
  display: flex;
  gap: 25px;
  flex-direction: column;
  overflow-x: scroll;
}

#content .content-expert{
  display: flex;
  gap: 25px;
  flex-direction: column;
  overflow-y: scroll;
}
/*-----––––––––––––––––––––––-––––––––-––––––-––––-----–––––––––––––-----––––––––––––––––––––––-––––––––-–––––-–––––-----*/
/*     ––––––––––––––––––––––-––––––––-––––––-––––-     VIEWS / ICONS     ––––––––––––––––––––-––––––––-––––––-––––-     */
/*------––––––––––––––––––––––-––––––––-––––––-––––----–––––––––––––----––––––––––––––––––––––-––––––––-–––––-–––––------*/

#views-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  animation: zoom-out-center 1s ease-out normal;
}

/* Video-Styling */
.video-fullscreen {
  z-index: 100;
  position: absolute;
  opacity: 1;
}

@keyframes fade-out-video {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}

.video-fullscreen.deactivate {
  animation: fade-out-video 1s ease-out forwards;
}

/* Media Query für Querformat */
@media (min-aspect-ratio: 3/2) {
  .video-fullscreen {
    height: auto;
    width: 100%;
  }
}

.view {
  position: inherit;
  display: none;
  overflow-y: hidden;
  overflow-x: scroll;
  align-items: center;
  width: 100vw;
  height: 100vh;
  transition: transform 0.4s ease-in-out;
  transition: opacity 0.2s ease-in-out;
  animation: none;
  opacity: 0;
}

#view1 {
  display: flex;
  opacity: 1;
  animation: var(--animation-zoom-out-center);
}

.img-fullscreen {
  height: 100%;
}

.buttons {
  position: fixed;
  display: flex;
}

.clickons {
  position: fixed;
}

.clickons button{
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%) scale(1); 
  transition: transform 0.3s ease;
  transform-origin: center;
}

.clickons button:hover{
  transform: translate(-50%, -50%) scale(1.2); 
}

/*-----––––––––––––––––––––––-––––––––-––––––-––––-----–––––––––––––-----––––––––––––––––––––––-––––––––-–––––-–––––-----*/
/*     ––––––––––––––––––––––-––––––––-––––––-––––-     RESPONSIVE     ––––––––––––––––––––––-––––––––-––––––-––––-     */
/*------––––––––––––––––––––––-––––––––-––––––-––––----–––––––––––––----––––––––––––––––––––––-––––––––-–––––-–––––------*/
@media (min-aspect-ratio: 3/2) {
  .img-fullscreen {
    height: auto;
    width: 100%;
  }
}

/*-----––––––––––––––––––––––-––––––––-––––––-––––-----–––––––––––––-----––––––––––––––––––––––-––––––––-–––––-–––––-----*/
/*     ––––––––––––––––––––––-––––––––-––––––-––––-     ANIMATIONEN     ––––––––––––––––––––––-––––––––-––––––-––––-     */
/*------––––––––––––––––––––––-––––––––-––––––-––––----–––––––––––––----––––––––––––––––––––––-––––––––-–––––-–––––------*/

/*--------- scale-up-center ---------*/
@-webkit-keyframes scale-up-center {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes scale-up-center {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

/*--------- zoom-out-center ---------*/
@-webkit-keyframes zoom-out-center {
  0% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes zoom-out-center {
  0% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

/*--------- zoom-out-top ---------*/
@-webkit-keyframes zoom-out-top {
  0% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
  }
}

@keyframes zoom-out-top {
  0% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
  }
}

@-webkit-keyframes scale-down-hor-right {
  0% {
    -webkit-transform: translate(100%, 0);
    transform: translate(100%, 0);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
  }
  100% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
  }
}
@keyframes scale-down-hor-right {
  0% {
    -webkit-transform: translate(100%, 0);
    transform: translate(100%, 0);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
  }
  100% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
  }
}

@media screen and (max-width: 565px) {
  #navigation {
    flex-wrap: wrap;
    justify-content: center;
  }
  #navigation .nav-right {
    border-left: none;
    padding-left: 0;
  }

  #all-content-text-boxes{
    top: 200px;
    right: 20px;
    left: 20px;
    max-height: calc(100% - 260px);
    width: auto;
    height: auto;
  }

}

::-webkit-scrollbar {
  display: none;
}