/* 30-why-us.css — Sekcja "Why us" / tresc wprowadzajaca */

/* ---------- desktop (>= 1025px) ---------- */
@media screen and (min-width: 1025px) {
    .why_us-container{
        background-color: #5198f9;
        color: #f2eee6;
        display: flex;
        align-items: center;
        min-height: 100vh !important;
    }
    .why_us-content{
        width: min(var(--screen-width), 100% - 80px);
        margin: auto;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        align-content: center;
        padding: 100px 0 100px 0;
        box-sizing: border-box;
    }
    .why_us-header-container hr{
        width: 50%;
        height: 2px;
        background-color: #f2eee6;
        border: none;
        margin-bottom: 7%;
    }
    .why_us-header-container h2{
        font-size: var(--text-label); /* bylo 2.3vh= 21px */
        font-family: var(--font-display);
    }
    .why_us-content p{
        font-size: var(--text-2xl); /* bylo 4vh  = 36px */
        letter-spacing: 1px;
        font-family: var(--font-heading);
        align-self: flex-start;
    }
}

/* ---------- mobile (<= 1024px) ---------- */
@media screen and (max-width: 1024px) {
    .why_us-container{
        width: 100%;
        min-height: 100%;
        background-color: #5198f9;
        color: #f2eee6;
        display: flex;
        align-items: center;
    }
    .why_us-content{
        width: 90%;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
        padding: 50px 0 50px 0;
    }
    .why_us-header-container hr{
        width: 50%;
        height: 2px;
        background-color: #f2eee6;
        border: none;
        margin-bottom: 7%;
    }
    .why_us-header-container h2{
        font-size: 1.5rem;
        font-family: var(--font-display);
        text-align: center;
    }
    .why_us-content p{
        font-size: 1.5rem;
        text-align: center;
        font-family: var(--font-heading);
    }
}
