body {
    font-family: "Inter-Medium", Helvetica;
    margin: 0;
    background-color: #f8f6f2;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
    box-sizing: border-box;
    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
.landing-page, .info, .carousel-container, .footer {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}
.landing-page {
    height: 80vh;
    padding: 50px;
    text-align: left;
    background-color: #f8f6f2;
}

.landing-page .div {
    height: 100vh;
    padding: 50px;
    text-align: left;
    background-color: #f8f6f2;
    margin-top: 20px;
}

.landing-page .newstulogo {
    position: absolute;
    width: 130px;
    height: 130px;
    top: 38px;
    left: 78px;
    object-fit: scale-down;
}

.image-carousel {
    width: 300px;
    height: 500px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    left: 30rem;
    top: 4rem;

}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity;
    filter: grayscale(100%);

}

.carousel-image.active {
    opacity: 1;
}

.landing-page .overlap-group {
    position: absolute;
    width: 442px;
    height: 500px;
    top: 200px;
    left: 78px;
}

.landing-page .portfolio-oferta {
    position: absolute;
    width: 442px;
    top: 13px;
    left: 0;
    font-family: "Inter-Medium", Helvetica;
    font-weight: 500;
    color: #000000;
    font-size: 90px;
    letter-spacing: 0rem;
    line-height: 1,5rem;
}

.landing-page .portfolio-oferta div {
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    position: relative;
    display: inline-block;
}

.landing-page .portfolio-oferta div:hover {
    transform: translateX(100px);
    color: #F2B530;
}

.portfolio-oferta div:hover::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 100%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-image: url('/assets/gwiazdki.png');
    background-size: contain;
    background-repeat: no-repeat;
    animation: show-star 0.3s ease forwards;
}
button {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
}
/* Responsywność */
/* Responsywność */
@media (max-width: 1440px) {
    .landing-page .newstulogo {
        width: 140px;
        height: 140px;
        top: 30px;
        left: 60px;
    }

    }

    .landing-page .portfolio-oferta {
        width: 380px;
        font-size: 75px;
        transition: all 0.3s ease;
        display: block; /* Ensure visibility */
    }

    .portfolio-oferta div:hover::after {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 1200px) {
    .landing-page .newstulogo {
        width: 120px;
        height: 120px;
        top: 25px;
        left: 40px;
    }

    .landing-page .portfolio-oferta {
        width: 320px;
        font-size: 65px;
        transition: all 0.3s ease;
        display: block; /* Ensure visibility */
    }

    .portfolio-oferta div:hover::after {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 992px) {
    .landing-page .newstulogo {
        width: 120px;
        height: 120px;
        top: 20px;
        left: 30px;
    }

    .landing-page .portfolio-oferta {
        left: -35px;
        width: 280px;
        font-size: 70px;
        transition: all 0.3s ease;
        display: block; /* Ensure visibility */
        left: -40px;
    }

    .portfolio-oferta div:hover::after {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 768px) {
    .landing-page {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
        height: auto;
    }

    .landing-page .newstulogo {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 40px;
    }
    .landing-page .overlap-group {
        position: relative;
        width: 70%;
        height: auto;
        top: 0;
        left: 0;
    }
    .landing-page .portfolio-oferta {
        position: relative;
        width: 50%;
        font-size: 45px;
        text-align: left;
        display: flex;
        flex-direction: column;
        gap: 20px;
        transition: all 0.3s ease;
        display: block; /* Ensure visibility */
    }

    .portfolio-oferta div:hover::after {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 576px) {
    .landing-page .newstulogo {
        width: 60px;
        height: 60px;
        margin: 0 auto; 30px;
    }

    .landing-page .portfolio-oferta {
        font-size: 36px;
        gap: 15px;
        transition: all 0.3s ease;
        display: block; /* Ensure visibility */
        left: -60px;
    }

    .portfolio-oferta div:hover::after {
        width: 25px;
        height: 25px;
    }
}
@media (max-width: 992px) {
    .info {
        font-size: 70px;
        padding-left: 15px;
        padding-right: 15px;
    }

    table {
        width: 95%;
        font-size: 18px;
        padding: 5px;
    }

    th, td {
        padding: 8px;
    }

    .portfoliorzad {
        gap: 50px; /* Zmniejszony odstęp */
    }
}

@media (max-width: 768px) {
    .info {
        font-size: 60px;
        padding-left: 10px;
        padding-right: 10px;
        overflow-x: auto; /* Przewijanie poziome */
        overflow-y: hidden; /* Brak przewijania pionowego */
    }

    table {
        width: 100%;
        font-size: 16px;
        padding: 5px;
        overflow-x: auto; /* Przewijanie poziome */
        overflow-y: hidden; /* Brak przewijania pionowego */
        white-space: nowrap; /* Zapobiega łamaniu wierszy */
    }

    th, td {
        padding: 6px;
    }

    /* Poprawka dla elementów portfolio */
    .rectangle {
        width: 100%;
        max-width: 350px; /* Mniejszy rozmiar dla mobilnych urządzeń */
    }

    .portfoliorzad {
        gap: 30px;
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .info .table {
        font-size: 45px;
        padding: 0 5px 50px 5px;
        overflow-x: auto; /* Przewijanie poziome */
        overflow-y: hidden; /* Brak przewijania pionowego */
    }

    table {
        font-size: 12px;
        padding: 5px;
        overflow-x: auto;
        overflow-y: hidden; /* Brak przewijania pionowego */
        white-space: nowrap; /* Zapobiega łamaniu wierszy */
    }

    th, td {
        padding: 4px
    }

    /* Dalsze zmniejszenie elementów portfolio */
    .rectangle {
        max-width: 280px;
        height: 250px; /* Proporcjonalne zmniejszenie */
    }

    .text-wrapper, .text-wrapper-2, .text-wrapper-3, .text-wrapper-4 {
        font-size: 16px; /* Mniejsza czcionka dla podpisów */
    }
}
.carousel-container {
    width: 100%;
    position: relative;
    text-align: center;
    overflow: hidden; /* Ukrywa tekst wychodzący poza obszar widoczny */
    max-width: 100vw;
    box-sizing: border-box;
}

.line {
    width: 120%;
    height: 4px;
    background-color: #333;
    margin: 10px 0;
}

.carousel {
    display: flex;
    gap: 50px; /* Odstęp między elementami */
    animation: scroll 50s linear infinite;
    width: max-content;
}

.carousel-item {
    font-size: 36px;
    font-weight: bold;
    white-space: nowrap; /* Zapobiega łamaniu tekstu */
    color: #333;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.portfolio-oferta div:hover::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 100%;
    transform: translateY(-50%);
    width: 50px; /* Szerokość */
    height: 50px; /* Wysokość */
    background-size: contain;
    background-repeat: no-repeat;
    animation: show-star 0.3s ease forwards;
    animation-delay: 0s;
}

@keyframes show-star {
    0% {
        transform: translateY(-50%) scale(0); /* Ukrycie i pomniejszenie */
        opacity: 0; /* Niewidoczne */
    }
    100% {
        transform: translateY(-50%) scale(1); /* Wyświetlenie */
        opacity: 1; /* Widoczne */
    }
}

.landing-page .portfolio-oferta div:active {
    color: #ff6347;
}

.landing-page .gwiazdki,
.landing-page .img,
.landing-page .gwiazdki-2,
.landing-page .gwiazdki-3 {
    display: none;
}
.info {
    background-color: #f8f6f2;
    font-family: "Inter-Medium", Helvetica;
    font-weight: 500;
    color: #000000;
    font-size: 90px;
    font-variant-position: normal;
    text-align: center;
    padding-bottom: 95px;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    place-items: center; /* Jedno polecenie centruje w poziomie i pionie */
}
#oferta {
    height: auto;
}
/* Style dla rectangles */
.rectangle {
    position: relative;
    width: 444px;
    height: 306px;
    top: 0;
    left: 0;
    border: 2px solid #000000;
    transition: border-color 0.3s ease;
}

/* Style dla text-wrapperów */
.text-wrapper,
.text-wrapper-2,
.text-wrapper-3,
.text-wrapper-4 {
    position: absolute;
    font-size: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Wspólne style dla kontenerów */
.app,
.ux,
.video,
.graphics {
    position: relative;
    cursor: pointer;
}

/* Efekty hover dla poszczególnych sekcji */
.app:hover .rectangle,
.ux:hover .rectangle,
.video:hover .rectangle,
.graphics:hover .rectangle {
    border-color: #f2b530;
}

.app:hover .text-wrapper-2,
.ux:hover .text-wrapper-2,
.video:hover .text-wrapper-4,
.graphics:hover .text-wrapper-3 {
    color: #F2B530;
    transform: translateX(30px);
}

/* Pseudo-elementy dla text-wrapperów */
.text-wrapper-2::after,
.text-wrapper-3::after,
.text-wrapper-4::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -55px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-image: url('/assets/gwiazdki.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Efekt hover dla gwiazdek */
.app:hover .text-wrapper-2::after,
.ux:hover .text-wrapper-2::after,
.video:hover .text-wrapper-4::after,
.graphics:hover .text-wrapper-3::after {
    opacity: 1;
    transform: translateY(-50%) translateX(-20px);
}
/*KONIEC EDYCJI OKIENEK*/

/*TABELA OFERTA*/

table {
    width: 60%;
    border-collapse: collapse;
    font-family: "Inter-Medium", Helvetica;
    color: #000000;
    font-size: 20px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;

}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 2px solid #000000;
    text-align: justify;
}

th {
    background-color: #f8f6f2;
}

td {
    vertical-align: top;
}

td:nth-child(2) {
    text-align: right;
}

td:nth-child(3) {
    text-align: right;
}

br {
    display: block;
    margin-bottom: 5px;
}
