@import url("reset.css");
@font-face {
    font-family: "Tiny Gothic Medium";
    src: url("../fonts/Tiny-Gothic-Medium.woff2") format("woff2");
  }


a {
    text-decoration: none;
    color: black
  } 

  html, body {
    overflow: hidden; /* Prevent scrolling */
  }

body {
  font-family: "Tiny Gothic Medium";
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  background-position: center center;
}

header{
  font-family: "Tiny Gothic Medium";
}

.ABSTAND{
  width: 00px;
}

.MAIL:hover{
  opacity: 0.5;
}

.INSTA:hover{
    opacity: 0.5;
}

.bounce:hover{
  animation: bounce 0.5s ease-in-out 1;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(-10px);
  }
  40% {
    transform: translateY(0);
  }
  60% {
    transform: translateY(-5px);
  }
  80% {
    transform: translateY(0);
  }
}


.MAIL, .INSTA{
  transition: all 0.1s ease-in-out; /* Hier können auch einzelne Sachen angesteurt werden transition: all 1s ease-in-out, transform 2s, letter-spacing 4s, rotate 5s */
  color: black;
  padding-bottom: 10px;
  padding-right: 50px;
  background-color: transparent;
}


.flex-container {
  display: flex;
}

.header-bar {
  position: fixed;
  top: 9px;
  width: 100vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9;
  background-color: transparent; /* optional */
  padding: 0 30px;
  box-sizing: border-box;
}

.flex-container1 {
  justify-content: center;
  display: flex;
  align-items: center;
  height: auto;
  color: black;
  text-align: center;
  position: fixed;
  width: auto;
  background-color: transparent;
  z-index: 10;
  top: 49%;
  left: 50%;
  transform: translate(-50%,-50%);
}


.flex-container1 ul li {
  margin-bottom: 4px;
}
.flex-container1 ul li:last-child {
  margin-bottom: 0; /* Removes the margin below the last item */
}

.flex-container1 li:hover{
  opacity: 0.5;
}

.flex-container1 li{
  transition: all 0.1s ease-in-out
}

header {
  margin-bottom: 8px;
}

.clean {
  display: flex;
  gap: 50px;
  white-space: nowrap;
  color: black;
  justify-content: flex-end;
  transition: all 0.1s ease-in-out;
  padding-bottom: 10px;
}

.hoverme{
  transition: all 0.1s ease-in-out;
}

.hoverme:hover{
  cursor: pointer;
  opacity: 0.5;
}

.project-name{
  padding-top: 9px;
  padding-left: 30px;
  display: flex;
}

.heading{
  display: flex;
  gap: 50px;
  padding-left: 30px;
}

.context{
  display: flex;
  gap: 15px;
}

.type{
  display: flex;
  gap: 15px;
}

.year{
  display: flex;
  gap: 15px;
}

.cross{
  position: fixed;
  top: 13.5px;
  right: 30px; /* align-items: right; */
  height: 21px;
  z-index: 90;
  transition: all 0.1s ease-in-out
}

.cross:hover{
  opacity: 0.5;
  cursor: pointer;
}

.main-container {
  overflow-y: scroll;
  position: fixed;
  width: 100%;

}

.bilder {
  width: 100%;
  height: 100%;
  white-space: nowrap; /*Prevents line breaks, forcing content to stay on one line.*/
  overflow-x: scroll; /*allows the user to scroll horizontally if the content exceeds the container's width.*/
  overflow-y: hidden;
  display: flex;
  gap: 10px;
}

.bilder img {
  min-height: 250px; /*ab welcher Grösse sich die Bilder nicht mehr in der Lücke anpassen sondern abgschnitten werden*/
  width: auto;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100vh; /* Full viewport height */
  /* transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1); wieso keine transision bei ausklappen? */
}

.footer_subpage {
  height: 40px;
  flex-grow: 0;
  flex-shrink: 0;
  transition: all 0.5s ease;
}

.bernina_header{
  height: 40px;
  flex-grow: 0;
  flex-shrink: 0;
}

main {
  flex-grow: 1;
  min-height: 0;
}

.description {
  max-width: 800px;
  padding-left: 30px;
  padding-right: 30px;
}

.text_smartphone{
  display: none;
}

.info{
  display: flex;
  padding-top: 13px;
  padding-bottom: 12px;
}

.with{
  display: flex;
  padding-bottom: 25px;
}

.tab_2{
  min-width: 40px;
}

.tab_3{
  min-width: 90px;
  max-width: 90px;
}

.zwischen{
  padding-bottom: 12px;
  display: flex;
}

.title {
  padding: 12px 0px 12px 30px;
  transition: all 0.1s ease-in-out;
}


.title:hover{
  cursor: pointer;
  opacity: 0.5;
}



/* IMAGE REVEAL */
.image-hover {
  position: absolute;
  z-index: 200;
  right: 0;
  opacity: 0;
  transition: opacity 0.1s;
  width: 15%;
  pointer-events: none;
}

.background_black{
  background-color: black;
  color: white
}

.background_white{
  background-color: white;
  color: black
}

/* CATCH ME */
#move {
  text-align: center;
  position: fixed; 
  z-index: 9;
  cursor: pointer;
  top: 1px;
  left: 1px;
}


.flyingImage {
  position: absolute;
  display: block;
  transition: transform 0.1s; /* Smooth rotation */
  z-index: 9999;
}

.whitefont{
  color: white
}


.brackets {
  display: inline-block;
  white-space: nowrap;
  background-image: linear-gradient(#000000, #000000),
                    linear-gradient(#000000, #000000),
                    linear-gradient(#000000, #000000),
                    linear-gradient(#000000, #000000);

  background-repeat: no-repeat;
  background-size: 5px 1.8px;
  background-position: top left, top right, bottom left, bottom right;

  border: solid #000000;
  border-width: 0 1.9px;
  padding-left: 6px;
  padding-right: 6px;
}


@media (max-width: 750px){


.bilder{
  display: block;
  white-space: normal;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 74px;
}

.bilder img {
  /* min-height: auto; */
  width: 100%;
  height: auto;
  display: block;
  padding-bottom: 11px;
  min-height: auto;
}


.video {
  /* min-height: auto; */
  width: 100%;
  height: auto;
  display: block;
  padding-bottom: 11px;
  min-height: auto;
}


.footer_subpage{
display: none;

}

.container {
  display: block;
  font-size: 14px;
}

.heading{
  display: block;
  padding-left: 15px;
}

.context{
  gap: 0px;
}

.type{
  gap: 0px;
}

.year{
  gap: 0px;
}

.title{
  display: none;
}

.tab{
  min-width: 80px;
}

#move{
  display: none;
}
/* header {
  height: auto;
  position: fixed;
  background-color: white;
  width: 100vw;
  margin-bottom: 0;
} */

.header_black{
 padding-bottom: 9px;
 background-color: black;
 height: auto;
 position: fixed;
 width: 100vw;
}

.header_white{
  padding-bottom: 9px;
  background-color: white;
  height: auto;
  position: fixed;
  width: 100vw;
 }

.text_smartphone{
  display: block;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 20px;
  font-size: 16px;
}

.cross{
  right: 15px;
  top: 27.5px;
}

.project-name{
  padding-left: 15px;
}

.heading{
  padding-left: 15px;
}

.info{
  display: none;
}

.with{
  display: none;
}

.with_smartphone{
  display: flex;
  padding-top: 8px;
}


.flex-container1 {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box; /* Ensures padding doesn't add to width */
  font-size: 17px;
  justify-content: center;
}

.flex-container1 ul li {
  margin-bottom: 6px;
}

.flex-container1 ul {
  white-space: normal; /* Allow line breaks */
  word-break: break-word; /* Break long words if needed */
  overflow-wrap: break-word; /* Extra safety for breaking long URLs or text */
}

.brackets {
  display: inline-block;
  white-space: normal; /* ✅ allow line wrapping */
  background-image: linear-gradient(#000000, #000000),
                      linear-gradient(#000000, #000000),
                      linear-gradient(#000000, #000000),
                      linear-gradient(#000000, #000000);
  
  background-repeat: no-repeat;
  background-size: 5px 2px;
  background-position: top left, top right, bottom left, bottom right;
  
  border: solid #000000;
  border-width: 0px 2.1px;
  padding-left: 6px;
  padding-right: 6px;
}


.MAIL, .INSTA, .clean{
  padding-left: 15px;
  padding-right: 15px;
  font-size: 17px;
}

.header-bar {
  padding: 0 0px;
}

.ABSTAND{
  width: 00px;
}


}