:root {
  box-sizing: border-box;
  /*Prevent overflow/vertical scroll bars*/
  scroll-behavior: smooth;
}

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

@font-face {
  font-family: 'Rowan';
  src: url(./fonts/Rowan-Variable.ttf) format('truetype'),
    url(./fonts/Rowan-Variable.woff2) format('woff2'),
    url(./fonts/Rowan-Variable.woff) format('woff');
}



body {
  overscroll-behavior: none;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Rowan", serif;
  cursor: none;
  background-color: #004020;
}


/* ----- GLOBAL STYLES ZONES -------------------------------------------------------- */

img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  max-height: 100vh;
  display: block;
}

h2 {  
  font-variation-settings: 'wght' 300;
  color: #c1ffac;
}

p {
  font-variation-settings: 'wght' 300;
  color: #c1ffac;
}

.title {
  font-family: "Rowan", serif;
  text-align: center;
}
.title h2{
  font-size: 3rem;
  margin-bottom: 3vh;
}

.title p {
  font-size: 10rem;
  white-space: pre;
}

#custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background-color: white;
  border: none;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  transition: transform 0.2s ease;
}

#custom-cursor.hover {
  transform: scale(3); /* Adjust the scale as needed */
  background-color: transparent;
  border:2px solid white;
}

.info-window {
  position: fixed;
  font-family: "Rowan", serif;
  text-align: center;
  justify-content: center;
  top: 50%;
  left: 50%;
  border-radius: 10px;
  transform: translate(-50%, -50%);
  width: max-content;
  height: 120px;
  background: #c1ffac;
  padding: 20px;
  padding-left: 50px;
  padding-right: 50px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.info-window h2 {
  font-size: 7rem;
  color: #004020;
}

.info-window .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2.5rem;
  line-height: 18px;
  color: #004020;
}

.geschichte {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.geschichte p {
  margin-left: 25vw;
  margin-right: 25vw;
  font-family: "Rowan", serif;
  text-align: center;
  width: 50vw;
  font-size: 1.5rem;
  line-height: 2rem;
}

.geschichte h2 {
  margin-left: 25vw;
  margin-right: 25vw;
  font-family: "Rowan", serif;
  text-align: center;
  width: 50vw;
  font-size: 7rem;
}

/* --------HEADER-------------------------------------------------------------------------------- */

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 94vw;
  height: 10vh;
  position: fixed;
  z-index: 999;
  margin-left: 3vw;
  margin-right: 3vw;
  cursor: none;
}

.header-link {
  text-decoration: none;
  color: #c1ffac;
  font-family: "Rowan", serif;
  font-size: 1.5rem;
  font-variation-settings: 'wght' 300;
  cursor: none;
}

/* -------- ZONE 1 -------------------------------------------------------------------------------- */

.zone1 {
  display: flex;
  flex-direction: row;
  width: fit-content;
  height: 100vh;
  background-color: #004020;
  gap: 0;
 
}

/*  all containers in zone 1 */
.zone1 > div {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0;
}

#z1-title {
 color: #c1ffac;
}

.welcome-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between!important;
}

#welcome-text{
  margin-left: 25vw;
  margin-right: 25vw;
  color: #c1ffac;
  font-family: "Rowan", serif;
  text-align: center;
  margin-top: 15vh;
}

#welcome-text h2 {
  font-size: 15rem;
  margin-bottom: 3vh;
}

#welcome-text p {
  font-size: 1.5rem;
  line-height: 2rem;
  margin-left: 10vw;
  margin-right: 10vw;
}

#hecke-0  {
  display: flex;
  bottom: 0;
}
#hecke-0 img {
  display: flex;
  height: auto;
  width: 100vw;  
  object-fit: contain; /* Maintain aspect ratio */
}

.hecke-container{
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

#hecke-1 img {
  height: 80vh;
  width: auto;  
  object-fit: contain; /* Maintain aspect ratio */
  border: 10px solid white;
}

#baum1, #baum2, #baum3 {
  display: flex;
  margin-left: 10px;
  height: 70vh; 
  width: auto;
  object-fit: contain;
  border: 10px solid white;
}


.fuchs-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between!important;
  align-items: center;
}

#geschichte1 {
  margin-top: 15vh;
}

#fuchs img {
  height: 60vh;
  width: auto;
  z-index: 1;
}

/* -------- ZONE 2 -------------------------------------------------------------------------------- */
.zone2 {
  display: flex;
  flex-direction:column;
  width: fit-content;
  width: 100%;
  margin-top:400vh;
  /* background-color: #001C69; */
  background-color: #004020;
}

.z2-title-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100vh;
}


#kreuz-1 img, #kreuz-2 img {
  width: 26vw;
  height: auto;
}

#kreuz-1 img {
  transform: rotate(-20deg);
}
#kreuz-2 img {
  transform: rotate(20deg);
}

#kirche img { 
  height: auto;
  width: 100vw;  
  object-fit: contain; /* Maintain aspect ratio */
}

.animation-nonnen {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100vw;
  height: 100vh;
}

.animation-nonnen img {
  position: absolute;
  top: 0;
  margin-top: 2vh;
  align-items: flex-start;
  width: 70%;
  height: auto;
  opacity: 0;
  object-fit: contain;
}

#velo-kreisel {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 10vh;
  height: 70vh;
}

#velo-kreisel img {
  width: auto;
  height: 60vh;
  object-fit: contain;  
}

#geschichte-velo {
  margin-top: 10vh;
}


.animation-brunnen {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100vw;
  height: 100vh;
}

.animation-brunnen img {
  position: absolute;
  top: 0;
  margin-top: 2vh;
  align-items: flex-start;
  width: 70%;
  height: auto;
  opacity: 0;
  object-fit: contain;
  margin-bottom: 5vh;
}

/* -------- ZONE 3 -------------------------------------------------------------------------------- */
.zone3 {
  display: flex;
  flex-direction: row;
  width: fit-content;
  height: 100vh;
  /* background-color: #FA9401; */
  background-color: #004020;
  gap: 0;
}


/*  all containers in zone 3 */
.zone3 > div {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}



#z3-maschiene1 img, #z3-maschiene2 img, #z3-maschiene3 img, #z3-maschiene4 img, #z3-maschiene5 img, #z3-maschiene6 img, #z3-maschiene7 img, #z3-maschiene8 img, #z3-maschiene9 img, #z3-maschiene10 img, #z3-maschiene11 img, #z3-maschiene12 img {
  height: 80vh;
  width: 100vw;  
  object-fit: contain; /* Maintain aspect ratio */
}

/* -------- ZONE 4 -------------------------------------------------------------------------------- */
.zone4 {
  display: flex;
  flex-direction:column;
  width: fit-content;
  width: 100%;
  margin-top:400vh;
  /* background-color: #C2512F; */
  background-color: #004020;
}

#z4-title {
  margin-left: 25vw;
  margin-right: 25vw;
  font-family: "Rowan", serif;
  color: orangered;
  text-align: center;
  width: 50vw;
  margin-top: 200px;
}

.eimer-container {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-gap: 10px;
}

.eimer-container img {
  height: 30vh;
  width: auto;
  z-index: 1;
  grid-column: var(--column);
  grid-row: var(--row);
  animation: hoverAnimation 3s ease-in-out infinite;
}

@keyframes hoverAnimation {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.stall-leiter-container {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

#stall-leiter img {
  height: auto;
  width: 98vw;
  margin-bottom: 5vh;
}

#geschichte-leiter {
  margin-top: 10vh;
}

.leiter-container {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 20px;
}

#leiter1 img, #leiter2 img, #heustock img {
  height: 100vh;
  width: 30vw;  
  object-fit: contain; /* Maintain aspect ratio */
  margin: 10px;
}

.alter-stall-container {
  width: 100vw;
  height: 100vh;
}

#alter-stall img {
  height: 100vh;
  width: 100vw;  
  object-fit: contain; /* Maintain aspect ratio */
}

.auszeichnungen-container {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-gap: 10px;
}

.auszeichnungen-container img {
  height: 27vh;
  width: auto;
  z-index: 1;
  grid-column: var(--column);
  grid-row: var(--row);
  animation: hoverAnimation 3s ease-in-out infinite;
}

@keyframes hoverAnimation {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.geschichte-stallbank-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100vw;
}

#geschichte-stallbank {
  justify-content: center;
  align-items: center;
  width: 50vw;
  height: 100vh;
}

#geschichte-stallbank p {
  margin-left: 8vw;
  font-family: "Rowan", serif;
  text-align: center;
  width: 40vw;
  font-size: 1.5rem;
  line-height: 2rem;
}
#geschichte-stallbank h2 {
  margin-top: 35vh;
  margin-left: 8vw;
  font-family: "Rowan", serif;
  text-align: center;
  width: 40vw;
  font-size: 7rem;
}

#schaukel {
  height: 80vh;
  width: auto;  
  object-fit: contain; /* Maintain aspect ratio */
  border: 10px solid white;
  margin-right: 2vw;

}


#steinweg img {
  height: 90vh;
  width: 100vw;  
  object-fit: contain; /* Maintain aspect ratio */
}

.gabel-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.gabel-container img {
  height: auto;
  width: 15vw;  
  object-fit: contain; /* Maintain aspect ratio */
  animation: rotate-anim 5s ease-in-out infinite;
}


@keyframes rotate-anim {
  0%, 100% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
  }



/* -------- ZONE 5 -------------------------------------------------------------------------------- */
.zone5 {
  display: flex;
  flex-direction: row;
  width: fit-content;
  height: 100vh;
  /* background-color: #657103; */
  background-color: #004020;
  gap: 0;
}


/*  all containers in zone 3 */
.zone5 > div {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

 #z5-title {
  margin-left: 25vw;
  margin-right: 25vw;
  font-family: "Rowan", serif;
  color: deeppink;
  text-align: center;
  width: 50vw;
}

#cow1 img, #cow2 img, #cow3 img, #cow4 img, #cow5 img, #cow6 img, #cow7 img, #cow8 img, #cow9 img, #cow10 img {
  height: 80vh;
  width: 60vw;  
  object-fit: contain; /* Maintain aspect ratio */
}

/* -------- ZONE 6 -------------------------------------------------------------------------------- */


#schlusswort {
 margin-top: 20vh;
 margin-bottom: 10vh;
}


.zone6 {
  display: flex;
  flex-direction:column;
  width: 100vw;
  height: auto;
  margin-top:400vh;
  background-color: #004020;
}

.final-list-container {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-gap: 10px;
  margin-bottom: 10vh;
}

.final-list {
  font-family: "Rowan", serif;
  text-align: center;
  font-size: 2rem;
  line-height: 3rem;
  margin-bottom: 5vh;
}





/* LOAIDING------------------------------------------------------------------------------------ */
/* Add CSS styles for the loading screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #004020;
  z-index: 1000;
}



/* HTML: <div class="loader"></div> */
.loader {
  width: fit-content;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Rowan", serif;
  font-variation-settings: "wght" 300;
  color: #c1ffac;
  font-size: 5rem;
  padding-bottom: 8px;
  background: linear-gradient(currentColor 0 0) 0 100%/0% 3px no-repeat;
  animation: l2 2s linear infinite;
}
.loader:before {
  content:"Bauernhof wird erstellt...";
}
@keyframes l2 {to{background-size: 100% 3px}}




/* ABOUT-------------------------------------------------------------------------- */

.about-container{
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 94vw;
  height: 92vh;
  background-color: #004020;
  font-family: "Rowan", serif;
  color: #c1ffac;
  margin-left: 3vw;
  margin-top: 8vh;
}

.about-text{
  font-size: 1.3rem;
  line-height: 1.6rem;
  
}