@import url('../variables.css');

.single-page-top {
    min-height: fit-content;
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    background: url("/assets/media/illustrations/covid-zycie-i-zdrowie-stage.jpeg") no-repeat center;
    background-size: cover;
}

.single-page-top h1 {
    color: var(--primary-color);
}

@media only screen and (max-width: 600px) {
    .single-page-top h1, .single-page-top .fs-1 {
        font-size: 28px;
    }
    .single-page-top h2, .single-page-top .fs-2 {
        font-size: 16px;
    }
}

.single-page-top h2 a {
    color: var(--primary-color);
    text-decoration: underline;
}

.single-page-top h2 a:hover {
    color: var(--secondary-color);
}

.why-worth-it .wwi-steps__header {
    display: flex;
    flex-direction: column;
    margin-bottom: 2.4rem;
}
@media (min-width: 769px) {
    .why-worth-it .wwi-steps__header {
        margin-bottom: 0.7rem;
        align-items: center;
    }
}

.why-worth-it .wwi-steps__header--title {
    margin-bottom: 1.6rem;
}
@media (min-width: 769px) {
    .why-worth-it .wwi-steps__header--title {
        margin-bottom: 2.4rem;
        text-align: center;
    }
}

.why-worth-it .wwi-steps__header--txt {
    margin-bottom: 0;
    color: #19191A;
}
@media (min-width: 769px) {
    .why-worth-it .wwi-steps__header--txt {
        margin-bottom: 2.4rem;
        text-align: center;
    }
}

.why-worth-it .wwi-steps__grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.75rem;
}
@media (min-width: 769px) {
    .why-worth-it .wwi-steps__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.4rem;
    }
}

.why-worth-it .wwi-steps__grid__single {
    border: 0.1rem solid #DFDFDE;
    border-radius: 0.8rem;
    backdrop-filter: blur(5rem);
    padding: 1.25rem 1.75rem;
}

.why-worth-it .wwi-steps__grid__single--no {
    display: flex;
    color: #2d2d2d;
    font-weight: 400;
    margin-bottom: 1.7rem;
    justify-content: flex-start;
    align-items: flex-end;
}
.why-worth-it .wwi-steps__grid__single--no>img {
    width: 48px;
    height: auto;
    margin-right: 12px;
}
.why-worth-it .wwi-steps__grid__single--no>div {
    font-size: 24px;
}
@media (min-width: 768px) {
    .why-worth-it .wwi-steps__grid__single--no>img {
        width: 75px;
    }
    .why-worth-it .wwi-steps__grid__single--no {
        margin-bottom: 2.4rem;
    }
    .why-worth-it .wwi-steps__grid__single {
        padding: 3.2rem 2.4rem;
    }
}

.why-worth-it .wwi-steps__grid__single--title {
    margin-bottom: 1.2rem;
}

.why-worth-it .wwi-steps__grid__single--txt {
    color: #19191A;
    margin-bottom: 0;
}

:root {
    --cd-color-1: hsl(206, 21%, 24%);
    --cd-color-1-h: 206;
    --cd-color-1-s: 21%;
    --cd-color-1-l: 24%;
    --cd-color-2: hsl(205, 38%, 89%);
    --cd-color-2-h: 205;
    --cd-color-2-s: 38%;
    --cd-color-2-l: 89%;
    --cd-color-3: hsl(207, 10%, 55%);
    --cd-color-3-h: 207;
    --cd-color-3-s: 10%;
    --cd-color-3-l: 55%;
    --cd-color-4: hsl(111, 51%, 60%);
    --cd-color-4-h: 111;
    --cd-color-4-s: 51%;
    --cd-color-4-l: 60%;
    --cd-color-5: hsl(356, 53%, 49%);
    --cd-color-5-h: 356;
    --cd-color-5-s: 53%;
    --cd-color-5-l: 49%;
    --cd-color-6: hsl(47, 85%, 61%);
    --cd-color-6-h: 47;
    --cd-color-6-s: 85%;
    --cd-color-6-l: 61%;
    --cd-header-height: 200px;
    --font-primary: 'Droid Serif', serif;
    --font-secondary: 'Open Sans', sans-serif
}

@supports (--css: variables) {
    @media (min-width: 64rem) {
        :root {
            --cd-header-height: 300px
        }
    }
}

.cd-main-header {
    height: 200px;
    background: hsl(206, 21%, 24%);
    background: var(--cd-color-1);
    color: hsl(0, 0%, 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.cd-main-header h1 {
}

.cd-timeline {
    overflow: hidden;
    color: hsl(207, 10%, 55%);
}

.cd-timeline h2 {
    color: #2d2d2d;
    font-weight: 400;
}

.cd-timeline__container {
    position: relative;
    padding: 1.25em 0;
}

.cd-timeline__container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    height: 100%;
    width: 4px;
    background: #DFDFDE;
}

@media (min-width: 64rem) {
    .cd-timeline__container::before {
        left:50%;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%)
    }
}

.cd-timeline__block {
    display: -ms-flexbox;
    display: flex;
    position: relative;
    z-index: 1;
    margin-bottom: 2em;
}

.cd-timeline__block:last-child {
    margin-bottom: 0
}

@media (min-width: 64rem) {
    .cd-timeline__block:nth-child(even) {
        -ms-flex-direction:row-reverse;
        flex-direction: row-reverse
    }
}

.cd-timeline__img {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: calc(5% - 25px);
    background: #FFF;
    border-radius: 50%;
}

.cd-timeline__img img {
    width: 30px;
    height: 30px
}

@media (min-width: 64rem) {
    .cd-timeline__img {
        width:100px;
        height: 100px;
        -ms-flex-order: 1;
        order: 1;
        margin-left: calc(5% - 50px);
        will-change: transform
    }

    .cd-timeline__img img {
        width: 75px;
        height: 75px
    }

    .cd-timeline__block:nth-child(even) .cd-timeline__img {
        margin-right: calc(5% - 50px)
    }
}

.cd-timeline__content {
    -ms-flex-positive: 1;
    flex-grow: 1;
    position: relative;
    margin-left: 1.25em;
    background: hsl(0, 0%, 100%);
    border-radius: 0.8rem;
    padding: 1.25em;
    border: 0.1rem solid #DFDFDE;
}

.cd-timeline__content::before {
    content: '';
    position: absolute;
    top: 16px;
    right: 100%;
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-right-color: #DFDFDE;
}

.cd-timeline__content h2 {
    color: #2d2d2d;
    font-size: 24px;
}

@media (min-width: 64rem) {
    .cd-timeline__content {
        width:45%;
        -ms-flex-positive: 0;
        flex-grow: 0;
        will-change: transform;
        margin: 0;
        font-size: 0.8em;
        --line-height-multiplier: 1.2
    }

    .cd-timeline__content::before {
        top: 24px
    }

    .cd-timeline__block:nth-child(odd) .cd-timeline__content::before {
        right: auto;
        left: 100%;
        width: 0;
        height: 0;
        border: 7px solid transparent;
        border-left-color: #DFDFDE;
    }
}

.cd-timeline__content .color-contrast-medium {
    margin: 0;
    padding-top: 10px;
    padding-bottom: 5px;
}

@media (min-width: 64rem) {
    .cd-timeline__date {
        position:absolute;
        width: 100%;
        left: 120%;
        top: 20px
    }

    .cd-timeline__block:nth-child(even) .cd-timeline__date {
        left: auto;
        right: 120%;
        text-align: right
    }
}

@media (min-width: 64rem) {
    .cd-timeline__img--hidden,.cd-timeline__content--hidden {
        visibility:hidden
    }

    .cd-timeline__img--bounce-in {
        -webkit-animation: cd-bounce-1 0.6s;
        animation: cd-bounce-1 0.6s
    }

    .cd-timeline__content--bounce-in {
        -webkit-animation: cd-bounce-2 0.6s;
        animation: cd-bounce-2 0.6s
    }

    .cd-timeline__block:nth-child(even) .cd-timeline__content--bounce-in {
        -webkit-animation-name: cd-bounce-2-inverse;
        animation-name: cd-bounce-2-inverse
    }
}

@media only screen and (max-width: 600px) {
    .cd-timeline__content h2 {
        color: #2d2d2d;
        font-size: 18px;
    }
}

.what-next {
    background: #f4f4f4;
}