@import "_reset.css";


@font-face {
  font-family: 'ABCFavorit';

  src:    url('ABCFavoritEdu-Medium.woff') 
         format('woff'),

         url('ABCFavoritEdu-Medium.woff2')
                format('woff2')
 }

 @font-face {
  font-family: 'ABCFavorit';

  src: url('ABCFavoritEdu-MediumItalic.woff') format('woff2'),
       url('ABCFavoritEdu-MediumItalic.woff2') format('woff');

       font-style: italic;
}

/* LOADING SCREEN */

h1 {
  text-align: left;
  font-size: 20px;
  padding-top: 9px;
  padding-left: 9px;
  padding-right: 9px;
}

.intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: black;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
  pointer-events: none;
}

.intro-name {
  color: white;
  font-size: 18px;
  font-family: 'ABCFavorit', sans-serif;
  animation: fadeIn 1s ease-in-out forwards;
  padding: 4.5px 5px 2px 5px;
  border-radius: 9px;   
  border: solid 2px white;   
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.intro-overlay.hide {
  transform: translateY(-100%);
}



/* GENERAL */

.descriptionhidden {
  display: none;
}

body {
  font-family: 'ABCFavorit', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: white;
  line-height: 1.1em;
  background-color: black;
  /* cursor: none; */
}

::selection {
  color: yellow;
}

a {
display: inline;
white-space: normal;
word-break: break-word;
vertical-align: baseline; 
line-height: inherit;
text-decoration: none;
/* text-decoration: underline 1.5px solid white; */
color: white;
/* text-underline-offset: 2px; */
}

a:hover {
  color: #a2a2a2;
  /* text-decoration: #a2a2a2 underline 1.5px solid;
  text-underline-offset: 2px; */
  font-style: italic;
  font-feature-settings: "ss01" 1; 
  -webkit-font-feature-settings: "ss01" 1; 
}

a::selection {
color: white;
}




/* HEADER */

header {
  position: sticky;
  top: 0;
  z-index: 2000;
  background-color: black;
  padding-bottom: 2px;
}

h3 {
  display: inline-block;
  text-align: center;
  font-size: 18px;
  padding: 4.5px 5px 2px 5px;            
  color: white;
  background-color: black;
  border-radius: 9px;   
  border: solid 2px white;       
  position: sticky;
  left: 50%;
  transform: translateX(-50%);
  top: 9px;
  margin: 0;
}

h3:hover {
  background-color: white;
  color: black;
  cursor: pointer;
}

h3:active {
  background-color: white;
  color: black;
}

h3:visited {
  background-color: black;
  color: white;
}



.metadata {
  padding-top: 2px;
}



 /* INFO SITE */
 

.blurred-box {
  width: 100vw;
  height: 100vh; 
  top: 0;
  left: 0;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.6); 
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: fixed;
  display: none;
  overflow-y: auto;
}

.blurred-box > .flex-container {
  padding-top: 63px; 
}

.bottom-links {
  position: fixed;
  transform-origin: bottom center;
  bottom: 9px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 18px;
  color: white;
  z-index: 1002; 
}

.about:hover {
  color: #a2a2a2;
}

.about::selection {
  color: black;
}

.about {
  color: white;
  word-spacing: 0.8em;
}

.about:visited {
  color: white;
}

.link-box {
  display: inline-block;
  padding: 4.5px 5px 2px 5px;            
  margin: 4px 0;
  color: white;
  border: 2px solid white;
  border-radius: 9px;
  font-size: 18px;
}

.link-box:hover {
  background-color: white;
  color: black;
  cursor: pointer;
}

.link-box:active {
  background-color: white;
  color: black;
}

.link-box:visited {
  background-color: black;
  color: white;
}



/* FLEX */

.flex-container {
  display: flex;
  gap: 8px;
  padding-left: 9px;
  padding-right: 9px;
}

.container-start {
  justify-content: flex-start;
}

.flex-item { 
  flex: 1 1 0;
  display: flex;
  justify-content: left;
  align-items: top;
}

.flex-item-grow {
  flex: 3 1 0;
  flex-wrap: wrap;
  white-space: normal;
  word-break: break-word;
  justify-content: left;
  align-items: top;
}

.indent {
  padding-left: 2em;
}

@media (max-width: 700px) {
  .flex-container,
  .flex-container-2 {
    flex-direction: column;
    gap: 2px;
  }

  .flex-item,
  .flex-item-2,
  .flex-item-grow,
  .flex-item-2-grow {
    flex: none;
    width: 100%;
  }
}



/* IMAGE SLIDER */

.image-mobile {
  display: none;
}

html {
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.container {
  gap: 10px;
  padding: 0;
  margin: 0;
  height: auto;
  position: relative;
  overflow-x: hidden;
}

.swiper {
  width: 100%;
  height: auto;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
}

.swiper-slide {
  width: auto;        
  flex: 0;     
  height: auto;       
}

.swiper-slide img {
  height: 65vh;       
  width: auto;
  display: block;
}

.swiper-slide video {
  height: 65vh;
  width: auto;
  max-width: none;
  display: block;
  object-fit: contain;
}



/* FOOTER */

.copyright {
  padding-left: 9px;
  padding-right: 9px;
  padding-bottom: 9px;
  position: absolute;
}



/* BREAKPOINTS */

@media (max-width: 700px) {

.container {
  display: none;
}

.image-mobile {
  display: block;
}

.image-mobile img {
  width: 100%;
  max-width: 100vw;
  height: auto;
}

.image-mobile video {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.einzug {
  padding-left: 10vw;
}

.indent {
  padding-left: 10vw;
}


  .blurred-box > .flex-container {
    padding-top: 33px; 
  }

  header {
    background: none;
  }

  h4 {
    display: none;
  }

  h2 {
    display: none;
  }

.about:active,
.about:focus,
.about:hover,
.about:visited {
  color: #a2a2a2;
  }

}

@media (max-height: 700px) {

  .bottom-links {
    position: static;
    transform: none;
    margin-top: 40px; /* optional spacing */
  }

}