body{
    font-size: 32px;
    background-color: rgb(240, 240, 240);
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, Calibri ;
    padding: 0px;
    margin:0;
    scroll-timeline: --backgroundTimeline y;
    scroll-timeline: --backgroundTimeline vertical;
    overflow-y: scroll;
}

.contents{
  color:aliceblue;
 }
.first-h1{
  font-size: 80px;
  margin-top: 20%;
  margin-left: 10%;
  text-align: left;
}
.goals-content{
  margin-top: 20%;
  margin-left: 80%;

}
.second-h1{
  font-size: 80px;
  margin-top: 20%;
  margin-right: 10%;
  text-align: right;
}
.about-content{
  margin-top: 20%;
  margin-left: 12%;

}

.logo{
  height: 64px;
  margin-top: 30px;
}
.scroll_logo{
  display: flex;
  margin-top: 20%;
}
h1{
    text-align: center;
    color:white;
    font-size:150px;
    padding: 40px;
    margin: 0;
}
/*
@keyframes fadeAnimation {
  0%{
    opacity: 0;
    transform: rotate(0deg);
  }
  100%{
    opacity: 1;
    transform: rotate(90deg);
  }
}
*/
.background-img{
  filter: brightness(50%);
  display: flex;
  position: fixed;
  width: 100%;
  z-index: -2;
  animation-name: fadeAnimation;
  animation-duration: 1ms;
  animation-timeline: --backgroundTimeline;
}

.background-black{
  background-color: black;
  display: flex;
  position: fixed;
  width: 100%;
  height: 100vh;
  z-index: -3;
}

.background{
    position: relative;
    z-index:-1;

}

@keyframes scale-in-top {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

nav{
    display: flex;
    margin: 30px;
    margin-top: 0;
    /* justify-content: space-evenly; */
    /* align-items: center; */
    /* background-color: rgb(30, 80, 72); */
    font-size: 50px;
    height: 80px;
    /* box-shadow: 0px -60px 80px 90px rgb(0, 0, 0); */
    padding: 0px;
    width: fit-content;
    flex-direction: column;
    &:hover
      .submenu {
        display: flex;
      }
    .submenu {
      display: none;
      flex-direction: column;
      align-items: baseline;
      width: 100%;
      line-height:36px;
      margin: 0;
      box-sizing:border-box;
      animation: scale-in-top 0.3s ease-in-out;
      transform-origin: top;
      a {
        color: #cecece;
        margin: 0;
        padding: 8px 0;
        margin: 16px 0;
        font-size: 32px;
      }
    }
}

.main-menu-container {
  margin: 10% 0;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.main-menu-header-container{
  display: flex;
  flex-direction: column;
}

ul {
  height: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 20px;
    li {
      display:inline-block;
      margin-right: 15px;
      transition:all 0.3s ease-in-out;
      &:hover {
        .submenu {
          height: 85px;
        }
        a {
          color: #cecece;
          &::before {
            visibility: visible;
            transform: scale(1, 1);
          }
        }
      }
      a {
        color: #cecece;
        display: block;
        padding: 0 7px 0 7px;
        margin: 0 10px;
        text-decoration: none;
        position: relative;
        &::before {
          content: "";
          position: absolute;
          width: 100%;
          height: 3px;
          bottom: -10px;
          left: 0px;
          background-color: #cecece;
          transition: all 0.2s ease-in-out;
          transform: scale(0, 0);
          visibility: hidden;
        }
      }
    }
  }


.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

/* Gdy element się pojawi */
.scroll-animate.active {
  opacity: 1;
  transform: translateY(0);
}
.obrazki-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10%;
  padding-top: 5%;
  margin: 10%;
}

.obrazki-wrapper img {
  width: 10%;
  height: auto;
   filter: brightness(0) invert(1);
}
.obrazki-blok {
  position: relative; /* kluczowe – pozwala użyć absolute w środku */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin-top: 100px;
  margin-bottom: 20%;
}



/* podgląd – teraz jest po prawej od galerii */
.hover-image {
  position: absolute;
  top: 10px; /* wyżej nad obrazkami */
  left: 5%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.hover-image.show {
  opacity: 1;
  pointer-events: auto;
}

.hover-image img {
  width: 200px;
  height: auto;
}


.trigger-img {
  width: 150px;
  cursor: pointer;
}
.blok-info {
  display: flex;
  align-items: center;
  gap: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Zdjęcie */
.blok-info img .blok-info2 img,
.img1 {
margin: 10%;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 40vw;
  transition: transform 0.3s ease, filter 0.3s ease;
}
/* Tytuł + opis */
.tekst-blok {
  display: flex;
  flex-direction: column;
  position: relative;
}

.tytul {
  font-size: 50px;
  margin: 0;
  color: white;
}

/* Opis początkowo ukryty */
.opis {
  font-size: 30px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  margin-top: 20px;
  color: aliceblue;
}

/* ✨ HOVER NA CAŁYM BLOKU – podświetlenie i rozwinięcie */
.blok-info:hover img{
  filter: brightness(1.1);
  transform: scale(1.03);
}

.blok-info:hover .opis{
  max-height: 400px; /* wystarczająco na tekst */
  opacity: 1;
}
.img1 {
  width: 30vw!important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
}
.blok-info2 {
  display: flex;
  margin:7%;
  flex-direction: row-reverse;
  align-items: center;
  gap: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.blok-info2:hover img{
  filter: brightness(1.1);
  transform: scale(1.03);
}

.blok-info2:hover .opis{
  max-height: 400px; /* wystarczająco na tekst */
  opacity: 1;
}
.img2 {
  width: 30vw !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
}
.m1{
font-size: 50px;
color: white;
display: block;
}
.lista{
 list-style-type: disc;
display: block;
font-size: 32px;
color: aliceblue;
margin: 10%;
text-align: left;


}
.lo{
margin-right:30%;
margin-bottom: 50px ;
}