/* =============================================================
   CSS z: reference.css
   ============================================================= */
.hero-reference{
    background-image: url("images/index.png");
    width: 100%;
    height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: -10vh;
}

.recenze{
    width: 80vw;
    height: fit-content;
    background-color: #B38FEE;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5vw;
    margin: auto;
    padding-top: 5vh;
    padding-bottom: 5vh;
    padding-left: 3vw;
    padding-right: 3vw;
    border-radius: 2vw;
    margin-bottom: 5vh;
}

.recenze-text{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    height: fit-content;
    width: 50vw;
}

.ukazka-reference{
    width: 20vw;
    aspect-ratio: 1/1;
    border-color: white;
    border-style: solid;
}

h1 {
    font-size: 1.8vw;
}
h2 {
    font-size: 1.6vw;
}
p {
    font-size: 1.1vw;
}
q {
    font-size: 1.1vw;
}

/* Responsive Styles */
@media (max-width: 820px) and (min-width: 431px) {
    h1{
        font-size: 3.5vw;
    }

    h2{
        font-size: 3vw;
    }

    q{
        font-size: 2vw;
    }

    .recenze{
        width: 90vw;
        flex-direction: column;
        gap: 3vh;
        padding: 3vh 4vw;
        border-radius: 3vw;
    }

    .recenze-text{
        width: 90%;
        align-items: center;
        text-align: center;
    }

    .ukazka-reference{
        width: 40vw;
    }
}

@media (max-width: 430px) {
    h1{
        font-size: 6.5vw;
    }

    h2{
        font-size: 5.5vw;
    }

    q{
        font-size: 4.5vw;
    }

    .header-pink h1{
        display: none;
    }

    .header-pink nav{
        width: 80%;
    }

    .header-pink.shrink nav{
        width: 85%;
    }

    .recenze{
        width: 95vw;
        flex-direction: column;
        gap: 3vh;
        padding: 3vh 4vw;
        border-radius: 4vw;
    }

    .recenze-text{
        width: 95%;
        align-items: center;
        text-align: center;
    }

    .ukazka-reference{
        width: 60vw;
    }
}
