@font-face { 
  font-family: "defaultFont"; 
  src: url("/FontsHS/IBMPlex/IBM-Plex-Mono/IBMPlexMono-Light.ttf"); 
}
body{
    margin: 0;
    padding: 0;
    font-family: "defaultFont", monospace;
    scroll-behavior: smooth;

    transition: background-color 0.5s ease, color 0.5s ease;

    background-color: var(--hell);
    color: var(--dunkel);
}

button{
  cursor: pointer;
}
.button{
  cursor: pointer;
  color: var(--hell);
  background-color: var(--dunkel);
}
*:focus {
  outline: none;
}
h1{
  padding: 0;
  margin: 0;
  margin-bottom: 50px;
  font-size: 56px;
  font-weight: bold;
}
h2{
  padding: 0;
  margin: 0;

  font-size: 32px;
  font-weight: bold;
}
p{
  font-size: 24px;
  margin:0;
}
a{
  text-decoration: none; color:inherit;
}
#startTitel{
  font-size: 10vh;
}
#startseiteSchriftzug{
  position: absolute;
  height: auto;
  width: auto;
  transform: translate(-50%,-50%);
  left: 50%;
  top:50%;
  font-size: 32px;
}
#contentStart, #contentCV, #contentProgramme, #contentRetro, #contentKontakt, #contentÜber{
  position: relative;
  height: 100vh; /*Wichtig, damit die Index-Berechnung der Scroll function funktioniert*/
}
.containerRechts{
  position: relative;
  box-sizing: border-box;
  height:fit-content;
  height: 100vh;
  overflow: auto;
  width:50%;
  float:right;
  padding: 30px;
  padding-top: 50px;
  padding-bottom: 50px;
  overscroll-behavior: auto;
}
.containerRechts::after {
  content: "";
  display: table;
  clear: both;
}
.containerLinks{
  position: relative;
  height: 100vh;
  overflow: auto;
  width:50%;
  float:left;
  padding: 30px;
  box-sizing: border-box;
  padding-top: 50px;
  padding-bottom: 50px;
  overscroll-behavior: auto;
}
.containerLinks::after { /*Clearfix, damit sich der Container um floating elemente legt*/
  content: "";
  display: table;
  clear: both;
}
#portraitCV{
  position: relative;
  height: auto;
  width: auto;
  min-height: 400px;
  min-width: 400px;
  max-width: 60%;

  transform: translate(-50%,-0%);
  left: 50%;
  top: 0%;
}
#erklärungProjekte{
  position: relative;
  z-index: 2000;
  height: 90%;
  width: 100%;
}
.programmVerweis{
  position: relative;
  display: flex;
  width: 100%;
  min-width: 400px;
  height: 100px;
  align-items:center;
  justify-content:left;
  font-size: 24px;
  font-weight:normal;
  text-align: left;
}
.programmVerweis:hover{
  background-color: var(--akzent);
  color: var(--dunkelFix);
  transition: 0.5s;
}
#startButtonRetroWebsite{
  width: 150px;
  height: 75px;
  font-family: "defaultFont", monospace;
  font-size: 32px;
  font-weight: bold;
  padding: 20px;
  margin-top: 50px;
  margin-left:calc(50% - 75px);
  border:none;
}
#startButtonRetroWebsite:hover{
  background-color: var(--akzent);
  color:var(--dunkelFix);
  transition: 0.5s;
}
.pflichtlinks{
  display: flex;
  min-width: 400px;
  height: 100px;
  align-items:center;
  justify-content:center;
  font-size: 26px;
  font-weight: bold;
  text-align: left;
}
.pflichtlinks:hover{
  color: var(--dunkelFix);
  background-color: var(--akzent);
  transition: 0.5s;
}

/*---------------------scrolling:---------------------*/

html{
  scroll-snap-type: y mandatory;
  scroll-behavior:smooth;
  height: 100vh;
  overflow: scroll;
  overscroll-behavior: none;
}
.content{ /*Scroll Container*/
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 100vh;
  overflow: scroll;
  transition: opacity 0,2s;
  position: relative;
  margin-left: 150px;
}

/*---------------------Kontaktformular Hauptseite---------------------*/
  
input[type=text], select, textarea {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  margin-top: 10px;
  margin-bottom: 10px;
  resize: vertical;
  font-size: 20px;
  font-family: "defaultFont", monospace;
} 
input[type=email], select, textarea {
  position: relative;
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  resize: vertical;
  box-sizing: border-box;
  font-size: 20px;
}
input[type=checkbox]{
  height: 20px;
  width: 20px;
}
#datenschutzZustimmungHS{
  font-size: 18px;
}
#zustimmungContainerHS{
  position: relative;
  float:left;
  width: calc(100% - 150px);
  margin-top: 10px;
  padding-right: 20px;
  padding-left: 20px;
  box-sizing: border-box;
  text-align: center;
}
#openDatenschutzerklärungFormular{
  text-decoration: underline;
}
#openDatenschutzerklärungFormular:hover{
  background-color: var(--akzent);
  color: var(--dunkelFix);
  transition: 0.5s;
}
#buttonKontaktformularSendenHS {
  position: relative;
  float: right;
  padding: 10px 10px;
  font-family: "defaultFont", monospace;
  font-size: 26px;
  font-weight: bold;
  width: 150px;
  height: 75px;
  margin-top: 10px;
  margin-bottom: 25px;
  border-width: 0;
}

#platzhalterKontaktformularBottom{
  height: 100px;
  width: 100px;
  bottom:0;
}

#buttonKontaktformularSendenHS:hover {
  background-color: var(--akzent);
  color:var(--dunkelFix);
  transition: 0.5s;
}
input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--dunkelFix);
  opacity: 1; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: var(--dunkelFix);
}
::-ms-input-placeholder { /* Microsoft Edge */
  color: var(--dunkelFix);
}
textarea::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--dunkelFix);
  opacity: 1; /* Firefox */
}
:-ms-textarea-placeholder { /* Internet Explorer 10-11 */
  color: var(--dunkelFix);
}
::-ms-textarea-placeholder { /* Microsoft Edge */
  color: var(--dunkelFix);
}
*::-webkit-scrollbar{
  display: none;
}
*{
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/*---------------------Sidebar---------------------*/

.sidebar {
  z-index: 8999;
  margin: 0;
  padding: 0;
  width: 150px;
  background-color: var(--hell);
  position: fixed;
  height: 100%;
  overflow: auto;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  display: table;
  table-layout: fixed;

  border-right: solid 1px var(--dunkel);
}
.sidebar::-webkit-scrollbar{
  display: none;
} 
.sidebarButton {
  width: 100%;
  color: var(--dunkel);
  background-color: var(--hell);
  border: none;
  height: calc(100%/7);
}
.sidebarButton:hover{
  border: none;
  background-color: var(--akzent);
  color: var(--dunkelFix);
}
.halbeHöhe{
  height: calc((100%/14))
}
.aktiv {
  background-color: var(--dunkel);
  color: var(--hell);
}  
.sidebarText{
  display: table-cell;
  vertical-align: middle;
}
#closeSidebar{
  font-size: 26px;
}
#closeSidebarHorizontal{
  display: block !important;
}
#closeSidebarVertical{
  display: none !important;
}
#contentÜberInhalt{
  position: absolute;
  text-align: center;
  transform: translate(-50%,-50%);
  top: 50%;
  left: 50%;
} 
#sidebarAusklappenPfeil{
  transform:rotate(45deg)
}
#sidebarAusklappenButton{
  position: fixed;
  color:var(--dunkelFix);
  background-color: var(--akzent);
  border: none;
  border-top: none;
  border-left: none;
  border-radius: 0px 0px 75px 0px;
  font-size: 26px;
  height: 75px;
  width: 75px;
  display: none;
  z-index: 8000;
  transition: 0.5s;
}
#sidebarAusklappenButton:hover{
  background-color: var(--akzent);
  border-radius: 0px 0px 150px 0px;
  height: 150px;
  width: 150px;
}

/*Nightmode Toggle*/

#darkmodeToggle{
  background-color: var(--dunkel);
  color: var(--hell);
  border-bottom: solid 2px var(--hell);
}
#darkmodeToggle:hover{
  color: var(--dunkelFix);
  background-color: var(--akzent);
}

/*---------------------Retro Animation---------------------*/

/*Allgemein:*/

.retroAnimationContainer{
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dunkelFix);
  z-index: 9001;
  transition: opacity 0.5s;
}
#retroLoadAnimationContainer{
  display: none;
  position: fixed;
}
#retroShutdownAnimationContainer{
  opacity: 0;
  display: none;
  position: fixed;
}
.retroAnimationText{
  display: none;
  position: relative;
  color: var(--hellFix);
  z-index: 9011;
}

/*---------------------Media Queries---------------------*/

@media screen and (max-width: 1080px){
  h1{
    font-size: 38px;
  }
}   
@media screen and (orientation: portrait) {
  .sidebar {
    width: 100%;
    height: 33vh;
    border-right: solid 0px var(--dunkel);
    border-bottom: solid 1px var(--dunkel);
  }
  .sidebarButton{
    padding: 20px;
    width: 100%;
  }
  #closeSidebarHorizontal{
    display: none !important;
  }
  #closeSidebarVertical{
    display: block !important;
  }
  .content{
    margin-left: 0;
  }
  .containerLinks, .containerRechts{
    height: fit-content;
    overflow: scroll;
    min-height: 50vh;
    width: 100%;
    float: none;
  }
  .containerLinks{
    padding-top: 50px;
    padding-bottom: 0px;
  }
  .containerRechts{
    padding-top: 0px;
    padding-bottom: 50px;
  }
  h1{
    font-size: 38px;
  }
  #kontaktlinksTitel{
    padding-top: 50px;
  }
}