body {
    width: 100%;
    min-height: 100vh;
}

.wrapper {
    width: 100%;
    max-width: 1280px;
    padding: 1.75rem 1.25rem 0 1.25rem;
    margin-inline: auto;
}


.padding-bottom-sm {
    padding-bottom: 120px;
}

.padding-bottom-lg {
    padding-bottom: 140px;
}

.header-burger {
    display: none;
}

.header-desktop {
    padding-bottom: 32px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 260px;
}

.bg-gray {
    background-color: #f8f9fc;
    border-radius: 1rem;
    padding: 3rem;
}


.cards-cols-2 {
    display: flex;
    flex-direction: row;
    column-gap: 40px;
}

.cards-cols-2 .card {
    background-color: #f8f9fc;
    padding: 3rem;
    border-radius: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    row-gap: 32px;
    align-items: center;
}

.cards-cols-2 .card article {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}

.cards-cols-1 .card a,
.cards-cols-2 .card a {
    text-decoration: underline;
    color: #5479F4;
}

.cards-cols-3 {
    display: flex;
    flex-direction: row;
    column-gap: 20px;
}

.cards-cols-3 .card {
    background-color: #f8f9fc;
    padding: 2rem;
    border-radius: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    column-gap: 1.5rem;
}

.cards-cols-3 .card img {
    height: 4rem;
    width: 4rem;
    border-radius: 20px;
}

.cards-cols-1 .card {
    background-color: #f8f9fc;
    padding: 3rem;
    border-radius: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    column-gap: 32px;
    row-gap: 32px;
    align-items: center;
    justify-content: space-between;
}

.cards-cols-1 .card article,
.cards-cols-1 .card img {
    width: 45%;
}

.wrapper-services {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.services-cards {
    padding: 3.12rem;
    flex-basis: 37rem;
    border: 1px #000 solid;
    border-radius: 2.8rem;
    box-shadow: 0px 5px 0px 0px #191A23;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.services-cards.blue {
    background-color: #5479F4;
    color: #FFF;
}

.services-cards.black {
    background-color: #191A23;
    color: #FFF;
}

.services-cards img {
    width: 11rem;
    max-height: 10rem;
}

footer {
    border-radius: 2.8125rem 2.8125rem 0rem 0rem;
    background-color: #191A23;
    color: #FFF;
    padding: 3.40rem 3.75rem 3.1rem;
}


@media (max-width: 1023px) {

    main {
        padding-top: 60px;
    }

    .padding-bottom-sm,
    .padding-bottom-lg {
        padding-bottom: 80px;
    }

    .hero-img {
        max-width: 82%;
        margin-inline: auto;
    }

    .cards-cols-2,
    .cards-cols-3,
    .cards-cols-1 {
        flex-direction: column;
        row-gap: 20px;
    }

    .cards-cols-1 .card {
        flex-direction: column;
    }

    .cards-cols-1 .card article {
        width: 100%;
    }

    .cards-cols-1 .card img {
        width: 100%;
    }

    .services-cards {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .header-desktop {
        display: none;
    }

    .header-burger {
        display: flex;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.36);
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99;
        font-size: 1rem;
        line-height: 1.25rem; /* 142.857% */
    }
    
    .header-burger.active {
        height: 100%;
    }

    .burger-top {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 80px;
        padding: 1rem 1.75rem 1rem 1rem;
        background-color: #FFF;
    }

    .burger-logo {
        width: 200px;
    }

    .burger-btn {
        width: 1.5rem;
        height: 1.5rem;
        background: url("../img/burger-open.svg");
    }

    .burger-btn.active {
        background: url("../img/burger-close.svg");
    }

    .burger-nav.hidden {
        display: none;
    }

    .burger-nav {
        display: flex;
        flex-direction: column;
        row-gap: 1rem;
        padding: 1rem 2rem;
        background-color: #FFF;
    }

    .burger-nav-element {
        display: flex;
        flex-direction: row;
        column-gap: 12px;
        padding-block: 12px;
        justify-content: center;
    }




}

