.home {
    padding: 120px 0 168px 0;
    position: relative;
}

@media all and (max-width: 768px) {
    .home {
        padding: 48px 0 120px 0;
    }
}

.home-box {
    display: flex;
    flex-direction: column;
    max-width: 720px;
    width: 100%;
    z-index: 11;
    background-color: #FFF;
    padding: 40px;
}

@media all and (max-width: 768px) {
    .home-box {
        background-color: unset;
        padding: 0;
    }
}
@media all and (max-width: 768px) {
    .home h1 {
        color: #FFF;
    }
}
.home-box .extra-large {
    font-weight: 400;
    margin-top: 24px;
    font-size: 16px;
}
@media all and (max-width: 768px) {
    .home-box .extra-large {
        color: #FFF;
    }
}
.home-btns {
    margin-top: 48px;
    display: flex;
    flex-direction: row;
}

.home-btns .btn {
    margin-right: 24px;
}

.home-google {
    background-image: url('../img/google-btn.svg');
    width: 250px;
    height: 51px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.home-video {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.home-overlay {
    display: none;
    width: 100%;
    height: 100%;
    background: rgb(0, 69, 80);
    background: linear-gradient(180deg, rgba(0, 69, 80, 1) 0%, rgba(0, 180, 146, 1) 100%);
    opacity: 0.75;
    margin-top: -48px;
    position: absolute;
}

.home-pattern {
    display: none;
    background-image: url(../img/home-pattern.svg);
    width: 100%;
    height: 700px;
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
    position: absolute;
    right: -440px;
    top: 160px;
}

@media all and (max-width: 768px) {
    .home-overlay, .home-pattern {
        display: flex;
    }
}

@media all and (max-width: 992px) {
    .home-img {
        display: none;
    }
}

@media all and (max-width: 768px) {
    .home-pattern {
        display: none;
    }
}

@media all and (max-width: 580px) {
    .home-btns {
        flex-direction: column;
    }

    .home-btns .btn {
        margin-right: 0;
        width: fit-content;
    }

    .home-btns .btn:last-child {
        margin-top: 24px;
    }

    .home-google {
        margin-top: 24px;
    }
}

.sluzby {
    margin-top: -48px;
    z-index: 10;
    position: relative;
}

.sluzby .container {
    flex-direction: row;
    justify-content: space-between;
}

.sluzby-item {
    width: calc(25% - 12px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    padding: 24px;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.sluzby-item h3 {
    color: #4006af;
    text-align: center;
    height: 72px;
}

.sluzby-item p {
    margin: 24px 0;
    text-align: center;
}

.sluzby-img {
    background-image: url(../img/woman.png);
    width: 100%;
    height: 70%;
    background-size: contain;
    background-position: left bottom;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    z-index: -1;
}

.sluzby-item .btn {
    padding: 12px;
    width: 100%;
}

@media all and (max-width: 992px) {
    .sluzby-item {
        width: calc(50% - 12px);
    }

    .sluzby-item:nth-child(n + 3) {
        margin-top: 24px;
    }

    .sluzby .container {
        flex-wrap: wrap;
    }
}

@media all and (max-width: 480px) {
    .sluzby-item {
        width: 100%;
    }

    .sluzby-item:nth-child(n + 2) {
        margin-top: 24px;
    }
}

.detail-sluzby {
    margin-top: 120px;
    position: relative;
    z-index: 10;
}

.detail-sluzby-img {
    background-image: url(../img/woman-square.png);
    width: 50%;
    height: 600px;
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    position: absolute;
    top: 120px;
    left: -160px;
}

.detail-sluzby .container {
    justify-content: flex-end;
}

.detail-sluzby-wrap {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.detail-sluzby-wrap p {
    margin-top: 24px;
}

.detail-sluzby-list {
    display: flex;
    flex-direction: column;
    margin-top: 24px;
}

.detail-sluzby-list-item {
    color: #00b492;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.detail-sluzby-list-item:nth-child(n + 2) {
    margin-top: 16px;
}

.detail-sluzby-list-item:before {
    content: '';
    height: 16px;
    min-width: 16px;
    background-color: #004550;
    margin-right: 16px;
}

.detail-sluzby-btns {
    margin-top: 48px;
    display: flex;
    flex-direction: row;
}

.detail-sluzby-btns .btn:first-child {
    margin-right: 24px;
}

@media all and (max-width: 1326px) {
    .detail-sluzby-wrap {
        width: 60%;
        display: flex;
        flex-direction: column;
    }
}

@media all and (max-width: 1126px) {
    .detail-sluzby .btn {
        padding: 10px 24px;
    }
}

@media all and (max-width: 992px) {
    .detail-sluzby-img {
        display: none;
    }

    .detail-sluzby-wrap {
        width: 100%;
    }

    .sluzby-img {
        display: none;
    }
}

@media all and (max-width: 580px) {
    .detail-sluzby-btns {
        flex-direction: column;
    }

    .detail-sluzby-btns .btn {
        width: fit-content;
    }

    .detail-sluzby .btn:last-child {
        margin-top: 24px;
    }
}

.sluzby-info {
    margin-top: 120px;
    position: relative;
    z-index: 10;
}

.sluzby-info .container {
    justify-content: flex-start;
}

.sluzby-info-wrap {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.sluzby-info-wrap p {
    margin-top: 24px;
}

@media all and (max-width: 1326px) {
    .sluzby-info-wrap {
        width: 60%;
        display: flex;
        flex-direction: column;
    }
}

@media all and (max-width: 992px) {
    .sluzby-info-wrap {
        width: 100%;
    }
}

.sluzby-heading {
    margin-top: 120px;
    position: relative;
    z-index: 10;
}

.sluzby-heading .container {
    justify-content: center;
}

.sluzby-heading-wrap {
    max-width: 800px;
    display: flex;
    text-align: center;
}

.spolecnosti {
    padding: 144px 0 96px 0;
}

.spolecnosti .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
    position: relative;
}

.spolecnosti-logos {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    margin: 40px 0 48px 0;
    width: 100%;
}

.spolecnosti-logo {
    width: calc(20% - 24px);
    height: 64px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: 8px;
}

.spolecnosti-logo:nth-child(1) {
    background-image: url('../img/rnb.png');
}

.spolecnosti-logo:nth-child(2) {
    background-image: url('../img/medoro.png');
}

.spolecnosti-logo:nth-child(3) {
    background-image: url('../img/comsec.png');
}

.spolecnosti-logo:nth-child(4) {
    background-image: url('../img/multiscan.png');
}

.spolecnosti-logo:nth-child(5) {
    background-image: url('../img/dcnh.png');
}

@media all and (max-width: 992px) {
    .spolecnosti-logos {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .spolecnosti-logo {
        width: calc(100% / 3 - 24px);
    }
}

@media all and (max-width: 480px) {
    .spolecnosti-logo {
        width: calc(50% - 16px);
    }
}

.spoluprace {
    padding: 96px 0;
    background-color: #f4f5f7;
    position: relative;
    display: flex;
    align-items: center;
}

.spoluprace .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
    width: 100%;
    position: relative;
}

.spoluprace-logos {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 48px;
    width: 100%;
}

.spoluprace-logo {
    width: calc(100% / 3 - 24px);
    height: 72px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.spoluprace-logo:nth-child(1) {
    background-image: url('../img/assa.png');
}

.spoluprace-logo:nth-child(2) {
    background-image: url('../img/comsec.png');
}

.spoluprace-logo:nth-child(3) {
    background-image: url('../img/medoro.png');
}

.spoluprace-pattern {
    background-image: url(../img/spoluprace-pattern.svg);
    width: 100%;
    height: 700px;
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
    position: absolute;
    left: -440px;
}

@media all and (max-width: 992px) {
    .spoluprace-logos {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .spoluprace-logo {
        width: calc(25% - 8px);
    }

    .spoluprace-logo:nth-child(n + 5) {
        margin-top: 8px;
    }
}

@media all and (max-width: 480px) {
    .spoluprace-logo {
        width: calc(50% - 8px);
    }

    .spoluprace-logo:nth-child(n + 3) {
        margin-top: 8px;
    }
}

.novinky {
    padding: 96px 0;
}

.novinky .container {
    flex-direction: column;
    align-items: center;
}

.articles {
    margin-top: 48px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.article.main {
    width: calc(50% - 12px);
}

.article {
    display: flex;
    flex-direction: column;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    z-index: 1;
    justify-content: space-between;
}

.articles-desktop {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    width: calc(50% - 12px);
}

.articles-desktop .article {
    width: calc(50% - 12px);
    height: fit-content;
}

.articles-desktop .article:nth-child(n + 3) {
    margin-top: 24px;
}

.articles-desktop .article-img {
    height: 148px;
}

.articles-desktop .article-title {
    font-size: 16px;
}

.article-img {
    width: 100%;
    height: 448px;
    object-fit: cover;
}

.article-info {
    padding: 24px;
}

.article-date {
    color: #666666;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 8px;
}

.article-date:before {
    content: '';
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('../img/calendar.svg');
    margin-right: 8px;
}

.article-title {
    font-size: 26px;
    font-weight: 800;
}

.article-desc {
    color: #666666;
    margin-top: 8px;
}

.article-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
}

.article-read-more {
    color: #4006af;
    font-weight: 800;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.article-read-more:after {
    content: '';
    width: 8px;
    height: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('../img/read-more-arrow.svg');
    margin-left: 8px;
}

.article-share {
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('../img/share.svg');
}

.articles-mobile {
    display: none;
}

.novinky .btn {
    margin-top: 48px;
}

@media all and (max-width: 992px) {
    .articles .article.main {
        display: none;
    }

    .articles-desktop {
        display: none;
    }

    .articles-mobile {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
    }

    .articles-mobile .article {
        width: calc(50% - 12px);
    }

    .article-img {
        height: 248px;
    }

    .article-title {
        font-size: 16px;
    }

    .articles-mobile .article:nth-child(n + 3) {
        margin-top: 24px;
    }
}

@media all and (max-width: 480px) {
    .articles-mobile .article {
        width: 100%;
    }

    .article-img {
        height: 200px;
    }

    .articles-mobile .article:nth-child(n + 2) {
        margin-top: 24px;
    }
}
