body{
    font-size: 32px;
    background-color: rgb(240, 240, 240);
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, Calibri ;
    
    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;
        }
      }
    }
  }
.main-menu-container{
    font-size: 30px;
    color:white;
   }

.triple-section {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 100px 5%;
  gap: 40px;
}

.triple-item {
  margin-top: 10%;
  text-align: center;
  align-items: center;
  max-width: 150px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.triple-item img {
  width: 100%;
  align-items: center;
  height: auto;
  transition: transform 0.3s ease-in-out;
  filter: brightness(0) invert(1);
}

/* Tekst początkowo ukryty */
.triple-item p {
  font-size: 24px;
  align-items: center;
  color: white;
  font-family: Arial, sans-serif;
  opacity: 0;
  font-weight: bold;
  transform: translateY(20px);
  transition: all 0.4s ease;
  margin-top: 15px;
}

/* Animacja po najechaniu */
.triple-item:hover img {
  transform: scale(1.03);
}

.triple-item:hover p {
  opacity: 1;
  transform: translateY(0);
}
.obrazki-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10%;
  padding-top: 20%;
  margin: 10%;
}

.obrazki-wrapper img {
  width: 10%;
  height: auto;
   filter: brightness(0) invert(1);
}
.email_img{
    cursor: pointer;
}
.triple-item {
  position: relative;
}

.kopiowano-text {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.95);
  color: green;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.kopiowano-text.active {
  opacity: 1;
}
.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;
}



/* podgląd – teraz jest po prawej od galerii */
.hover-image {
  position: absolute;
  top: 140px; /* wyżej nad obrazkami */
  right: 20%;
  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;
}
