﻿#greenBG {
    height: 800px; /* wysokość kontenera */
    width: 100%;
    overflow: hidden; /* przycina obrazek */
    position: relative;
}

    #greenBG img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        animation: breatheScale 6s ease-in-out infinite;
        transform-origin: center;
    }

@keyframes breatheScale {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}


.vertical-carousel {
    position: relative;
    top: 400px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; /* procent szerokości okna */
    max-width: 800px;
    height: 800px; 
    z-index: 99999;
    overflow: hidden
}


.carousel-container {
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease-in-out;
    height: 2400px; /* wypełnia cały wrapper */
}

.carousel-item {
    height: 800px; /* wypełnia wrapper */
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-box {

    border-radius: 50px;
    padding: 5%; /* skalowane paddingi */
    text-align: center;
    width: 90%; /* szerokość skalowana */
    font-size: 2vw; /* skalowany tekst */
    box-sizing: border-box;
    height: 90%;
    font-family: 'Roboto', sans-serif;
    font-weight: 200;
}
    .content-box img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: auto;
    }

.controls {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1vh;
}

    .controls button {
        background: white;
        color: white;
        border: none;
        border-radius: 50%;
        width: 8vw; /* skalowany przycisk */
        max-width: 50px;
        height: 8vw; /* skalowany przycisk */
        max-height: 50px;
        cursor: pointer;
        font-size: 1.5vw;
    }

/* Media queries dla telefonów i tabletów */
@media (max-width: 768px) {
    .vertical-carousel {
        width: 90%;
        height: 60vh;
    }

    .content-box {
        font-size: 3vw;
        padding: 6%;
    }

    .controls button {
        width: 10vw;
        height: 10vw;
        font-size: 3vw;
    }
}

@media (max-width: 480px) {
    .vertical-carousel {
        height: 50vh;
    }

    .content-box {
        font-size: 4vw;
        padding: 8%;
    }

    .controls button {
        width: 12vw;
        height: 12vw;
        font-size: 4vw;
    }
}



/*vlog*/
.vlog-section {
    text-align: center;
    padding: 4rem 1rem;
    background-color: #FFFFFF;
}

    .vlog-section h2 {
        color: #198754;
        font-weight: 700;
        margin-bottom: 2.5rem;
        font-family: 'Josefin Sans', sans-serif;
    }

.vlog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
}

.vlog-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .vlog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

.vlog-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.vlog-content {
    padding: 1.5rem;
    text-align: left;
}

    .vlog-content h3 {
        font-size: 1.3rem;
        color: #198754;
        margin-bottom: 0.5rem;
    }

    .vlog-content p {
        color: #555;
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

.vlog-button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: #198754;
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

    .vlog-button:hover {
        background-color: #157347;
    }

/* Responsywność */
@media (max-width: 768px) {
    .vlog-grid {
        grid-template-columns: 1fr;
    }

    .vlog-thumbnail {
        height: 180px;
    }
}
