main{
    width: 100%;
    height: 100%;
}
.top{
    background-image: url('../img/catering.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100vw;
    height: 100vh;
    position: relative;
}
.top::after{
    content: '';
    width: 100%;
    height: 100%;
    background: rgb(2,17,27);
    background: linear-gradient(0deg, rgba(2,17,27,1) 0%, rgba(255,255,255,0) 100%);
    position: absolute;
}
.black{
    width: 100%;
    background-color: #02111B;
    color: white;
    padding-bottom: 40px;
}
.black h1{
    font-family:var(--md) ;
    margin: 0;
    padding-top: 80px;
    padding-left: 10px;
    font-size: 40px;
    font-weight: 400;
    color: #AEAEAE;
}

.onRight{
    width: 80%;
    height: auto;
    text-align: match-parent;
    word-spacing: 3px;
    margin-left: 12vw;
}

.onRight h2{
    font-family: var(--md);
    color: white;
}
.onRight p{
    color: #AEAEAE;
    font-family: var(--century);
    font-size: 16px;
}

.grafic {
    position: relative;
    width: 66vw;
    height: auto;
    margin: auto;
    margin-right: 5vw;
    padding-top: 5vh;
}

.grafic img {
    width: 100%;
    border-radius: 30px;
}
.dp{
    position: relative;
    margin-bottom: 20vh;
}
.marquee {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 100%);
    z-index: 1; /* Ustawienie wyższego indeksu z-index, aby tekst był na wierzchu */
    width: 100vw;
    max-width: 100%;
    height: 200px;
    overflow-x: hidden;
}

.track {
    position: absolute;
    white-space: nowrap;
    will-change: transform;
    animation: marquee 50s linear infinite;
}

.content {
    font-size: 90px;
    color: transparent;
    -webkit-text-stroke: 2px #ffa600;
    font-family: var(--md);
    font-weight: 300;
    text-transform: uppercase;
}
h4{
    color: #73865A;
    font-family: var(--md);
    margin: 0;
}
@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
.cont{
    width: 60%;
    margin: auto;
    padding: 10px 30px;
    border-radius: 100px;
    border: 2px solid #73865A;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    margin-top: 7vh;
    font-size: 22px;
}
.big{
    font-size: 40px;
    margin-top: 0;
}
/* --- */
* {
    box-sizing: border-box;
  }
  
  .menu {
    overflow: hidden;
    cursor: -webkit-grab;
    cursor: grab;
    width: 100%;
    position: relative;
    z-index: 1;
    height: 30vh;
  }
  
  .menu.is-dragging {
    cursor: -webkit-grabbing;
    cursor: grabbing;
  }
  
  .menu--wrapper {
    counter-reset: count;
    display: flex;
    position: absolute;
    z-index: 1;
    height: 100%;
    top: 0;
    left: 0;
    width: 100%;
  }
  
  .menu--item {
    counter-increment: count;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 40vw; /* Zwiększone szerokości zdjęć */
    height: 100%;
    padding: 0 2vw; /* Zwiększone odstępy */
    overflow: hidden;
    border-radius: 10px; /* Zaokrąglone rogi */
  }
  
  @media (max-width: 767px) {
    .menu--item {
      width: 80vw; /* Dostosowane dla mniejszych ekranów */
      height: 80vw;
      padding: 0 2vw; /* Dostosowane odstępy */
    }
  }
  
  .menu--item:nth-child(n+10):before {
    position: absolute;
    content: counter(count);
    color: #ffffff;
    font-size: 2vw; /* Rozmiar numeru */
    bottom: 1vw;
    left: 1vw;
    z-index: 2;
  }
  
  .menu--item figure {
    position: absolute;
    z-index: 1;
    display: block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    padding: 0;
    border: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    width: 80%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    transform-origin: center;
  }
  
  .menu--item figure img {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 22vh;
    -o-object-fit: cover;
    object-fit: cover;
    vertical-align: middle;
    transform-origin: center;
    border-radius: 10px; /* Zaokrąglone rogi */
  }
  
/*  */

.effect{
    width: 100%;
    height: auto;
    background-color: #3B462D;
    padding-bottom: 10vh;
}
.effect h1{
    margin: 0px;
    padding-top: 5vh;
    padding-left: 5vw;
    font-family: var(--md);
    color: #8FAC8A;
    font-size: 40px;
}

/* 
 */


 .boxScroll{
    width: 98vw;
    overflow: hidden;
    margin:auto;
  }
  :root { font-size: 16px }
@media (max-width: 500px) { :root { font-size: 14px } }
.loader{
  display: none!important;
}



body {
  overflow-x: hidden;
}


.boxScroll img {
  width: 80%;
  height: auto;
  background: #f0f0f0;
  border-radius: 30px;
}

.boxScroll ul {
  padding-left: 1rem;
  list-style: none;
}

.boxScroll li {
  flex-shrink: 0;
  width: clamp(500px, 60vw, 800px);
  padding-right: 1rem;
}






.df {display: flex}
.aic {align-items: center}
.jcc {justify-content: center}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: black;
  color: white;
}

.demo-wrapper {
  overflow-x: hidden;
}

.wrapper {
  display: flex;
}

.demo-gallery:not(.last) {
  padding-bottom: 1rem;
}

.demo-text .text {
  font-size: clamp(8rem, 15vw, 16rem);
  line-height: 1;
  font-weight: 900;
}
@media (max-width: 768px) {
      :root { font-size: 14px; }
      .boxScrollh1 { font-size: 3rem; }
      .boxScrollh2 { font-size: 1.5rem; }
      .wrapper { padding: 0.5rem; }
      .boxScrollimg {
        max-width: 100%;
        height: auto;
      }
      .boxScrollli {
        width: 100%;
        padding-right: 0;
      }
      
      .demo-wrapper {
        overflow-x: hidden;
      }
      @media (max-width: 768px) {
        .loader {
          display: none !important;
        }
      }
    }

    footer{
        background-color: #212818;
        color: white;
    }

  
      .rights{
        position: absolute;
        
        width: 80%;
        text-align: center;
        font-size: 12px;
        bottom: 10px;
        border-top: 2px solid #6D6D6D;
        left: 50%;
        /* bottom: 10px; */
        transform: translate(-50%, 0px);
        padding-top: 10px;
      }
      .logoFooter{
          color: #e4e4e4;
      }
      
      .links{
        display: flex;
          flex-direction: column;
          align-content: center;
          justify-content: center;
          align-items: flex-start;
          width: 80%;
          margin: auto;
          
          color: #8e9a7b;
      }
      .links p{
        margin-bottom: 5px;
      }
      .links h3{
        color:#979797;
        border-bottom: 2px solid #6D6D6D;
        padding-bottom: 5px;
        margin-bottom: 5px;
        margin-top: 20px;
        font-weight: 600;
      }
      .links img{
        width: 50px;
      }
      .textFooter{
        margin-top: 50px;
      }

      .top{
        width: 100%;
    }
    .topText{
        padding-top: 35vh;
        position: absolute;
        z-index: 1;
        right: 5vw;
    }
    .topText h1{
        font-family: var(--md);
        font-size: 45px;
        text-align: right;
        margin: 0px;
        color: white;
    }
    
    .topText p {
        height: 100px;
        width: 100px;
        position: relative;
        animation: effect 8s linear infinite;
      }
      
      @keyframes effect {
        0% {
          transform: rotate(0deg);
        }
        100% {
          transform: rotate(360deg);
        }
      }
     .topText span {
        position: absolute;
        left: 50%;
        transform-origin: 0px 50px;
        transform-style: flat;
        font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
        text-transform: uppercase;
        font-weight: 400;
        font-size: 10px;
        color: #ffffff;
      }
      .circle{
        margin-top: 5vh;
        position: relative;
        width: fit-content;
      }
      .arrow{
        position: absolute;
        color: #ffffff;
        font-size: 30px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
      }
      .arrow a{
        color: white;
      }
      .links{
        display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
    width: 80%;
    margin: auto;
      }
    /* Dla wszystkich elementów */
    @media (min-width: 880px) {

      .links{
        display: flex;
        flex-direction: row;
        width: 75%;
        justify-content: space-between;
      }
      .hiddenMobile{
        display: flex;
      }
      #menu-button{
        display: none;
      }
      .hiddenMobile li{
        margin-right: 20px;
      }
      .hiddenMobile li a{
        color: white;
    
      }
      .hiddenMobile li a:visited{
        color: white;
      }
      .black h1{
        width: 75%;
        margin: auto;
        text-align: left;
        margin-bottom: 4vw;
        padding-left: 0;
      }
      .black .onRight{
        display: flex;
    width: 75%;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: flex-start;
    margin: auto;

      }
      .right1,.right2,.right3{
        width: 45%;
        display: flex;
        flex-direction: column;
    flex-wrap: nowrap;
    margin-bottom: 10vh;
      }
      .right4{
        display: flex;
        flex-direction: column;
    flex-wrap: nowrap;
      }
      .grafic {
        position: relative;
        width: 66vw;
        height: auto;
        /* margin: auto; */
        /* margin-left: 10vw; */
        padding-top: 5vh;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-end;
        align-items: center;
    }
    .grafic img{
      width: 50%;
    }
    .cont {
      width: 300px;
      margin: auto;
      padding: 10px 30px;
      border-radius: 100px;
      border: 2px solid #73865A;
      text-align: center;
      font-family: 'Times New Roman', Times, serif;
      margin-top: 7vh;
      font-size: 22px;
    }
  
    .effect h1 {
      margin: 0px;
    padding-top: 5vh;
    padding-left: 5vw;
    font-family: var(--md);
    color: #8FAC8A;
    font-size: 60px;
    margin-bottom: 10vh;
    text-align: center;
  }
  }

  @media (min-width: 1000px) {
    .flexBlack{
     
      width: 60%;
    }
    .topText h1{
      font-size: 100px;
    }
  }