@import url('variables.css');

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* ustawia wysokość kontenera na co najmniej całą wysokość okna przeglądarki */
}

.indicator-progress {
    display: none;
}

[data-kt-indicator=on] > .indicator-label {
    display: none !important;
}

[data-kt-indicator=on] > .indicator-progress {
    display: inline-block !important;
}

/* PRZYCISKI */
.ctu--primary-button {
    background: var(--button-backround);
    color: #fff;
}

.ctu--secondary-button {
    background: #f2f2f2;
    color: #676767;
}

.ctu--secondary-button-with-icon {
    background: #f2f2f2;
    color: #676767;
}

.ctu--primary-button,
.ctu--secondary-button,
.ctu--secondary-button-with-icon {
    font-size: 14px;
    font-weight: 700;
    padding: 12px 18px 12px 19px;
    border-radius: 5px;
    border: none;
    text-decoration: none;
    fill: var(--leadingColor-5);
}

.ctu--secondary-button-with-icon svg {
    color: var(--icon-color);
    fill: var(--icon-color);
}

.ctu--primary-button:hover,
.ctu--secondary-button:hover,
.ctu--secondary-button-with-icon:hover {
    opacity: 0.75;
}

/* TYPOGRAFIA */
h1 {
    font-size: 54px;
    font-weight: 300;
    color: var(--leadingColor-5);
    max-width: 100%;
    margin-bottom: 0;
    line-height: 1;
}

h2 {
    font-size: 26px;
    font-weight: 300;
    color: #3d3d3d;
    max-width: 100%;
    margin-bottom: 0;
    line-height: 1.5;
}

h3 {
    color: var(--leadingColor-5);
    font-size: 24px;
    text-align: center;
}

h4 {
    color: #3a3a3a;
    font-size: 14px;
    text-align: center;
    margin-top: .5rem;
}

b {
    font-weight: 700;
}

/* PODKREŚLNIK */
.ctu--underscore:after {
    display: block;
    content: '';
    width: 15%;
    height: 4px;
    background: var(--underscore-background);
    margin-top: 0.75rem;
    margin-left: auto;
    margin-right: auto;
}

/* Tła */
.ctu--background-white {
    background-color: #ffffff;
}

.ctu--background-grey {
    background-color: #f4f4f4;
}

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

/* Animacje */
@keyframes pulsate {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes opacity {
    0% {
        opacity: .5;
    }
    25% {
        opacity: .75;
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: .75;
    }
    100% {
        opacity: .75;
    }
}

body.no-scroll {
    overflow: hidden;
}

#website-content.blur {
    -webkit-filter: blur(2px);
    filter: blur(2px);
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /*z-index: 1;*/
    position: relative;
}

#website-content.blur:after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(61,61,61,.5);
    inset: 0;
    position: absolute;
    /*z-index: 1;*/
}

/* Scrollbar */
.simplebar-scrollbar:before {
  background: var(--scroll-color) !important;
}

@media only screen and (max-width: 600px) {

    /* TYPOGRAFIA */
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 21px;
    }

    h3 {
        font-size: 24px;
    }

    h4 {
        font-size: 14px;
    }

}

.sticky-top {
    z-index: inherit;
}

.sticky-bottom {
    z-index: inherit;
}


/* Spinner */
.spinner {
    animation: rotate 2s linear infinite;
    z-index: 2;
    height: 100%;
    width: auto;
    margin-right: 10px;
}

.spinner .path {
    stroke: #fff;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}