html, body {
    min-height: 100%;
}

body {
    font-family: "Open Sans", sans-serif;
    color: #212529;
}

.wrapper {
    width: 90%;
    height: 100%;
    margin: 0 auto;
}

.button {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background: var(--primary-color);
    font-weight: normal;
    padding: 13px 30px;
    border-radius: 30px;
    vertical-align: top;
    font-size: 20px;
    border: solid 1px var(--primary-color);
}

.button.outline {
    background: transparent;
    border-color: #fff;
}

.align-center {
    width: 100%;
    text-align: center;
}

header {
    display: inline-block;
    width: 100%;
    height: 80px;
}

header .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo {
    display: inline-block;
    vertical-align: top;
}

header .logo img {
    max-width: 200px;
    max-height: 70px;
}

header nav {
    display: inline-block;
}

header nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

header nav ul li {
    display: inline-block;
}

header nav ul li a {
    color: #292a2f;
    text-decoration: none;
    font-size: 17px;
    padding: 0 10px;
}

header nav ul li button {
    color: #292a2f;
    font-size: 17px;
    border: none;
    background: transparent;
    cursor: pointer;
    outline: none;
}

.home {
    display: inline-block;
    width: 100%;
    background-image: url("/themes/dce18d3c-29ee-4ef9-83fe-a820e7719860/about-us.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.home .banner {
    display: inline-block;
    width: 100%;
    padding: 100px 0;
}

.home .banner h1 {
    color: #fff;
    font-size: 45px;
    margin: 0;
}

.home .banner p {
    color: #a1a1a1;
    font-size: 18px;
}

.home .banner .buttons {
    margin-top: 30px;
}

.home .banner .buttons .button:first-child {
    margin-right: 40px;
}

.about {
    display: inline-block;
    width: 100%;
    padding: 60px 0;
}

.about .wrapper {
    max-width: 780px;
}

.about h1 {
    width: 100%;
    text-align: center;
    margin: 0 0 30px 0;
}

.about p {
    font-size: 18px;
}

.about .align-center {
    margin-top: 30px;
}

.services {
    display: inline-block;
    width: 100%;
    background: #e9ecef;
    padding: 80px 0;
}

.services .wrapper {
    display: flex;
    flex-direction: row;
}

.services h1 {
    width: 310px;
    font-size: 28px;
    margin: 0;
    flex-shrink: 0;
}

.services ul {
    flex-shrink: 1;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.services ul li {
    display: inline-block;
    width: calc(50% - 53px);
    margin-bottom: 40px;
    vertical-align: top;
}

.services ul li:nth-child(2n + 1) {
    margin-right: 25px;
}

.services ul li:nth-child(2n + 2) {
    margin-left: 25px;
}

.services ul li .icon {
    background: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 7px;
    color: #fff;
    box-sizing: border-box;
    padding: 13px;
    font-size: 28px;
    text-align: center;
}

.services ul li h3 {
    margin-bottom: 0;
}

.services ul li p {
    margin: 10px 0;
}

.customers {
    display: inline-block;
    width: 100%;
    padding: 80px 0 0 0;
}

.customers h1 {
    text-align: center;
    margin: 0;
}

.customers h3 {
    text-align: center;
    padding: 0;
    color: #787f85;
    font-weight: normal;
    font-size: 1.1rem;
    margin: 12px 0;
}

.customers ul {
    display: inline-block;
    width: 100%;
    list-style-type: none;
    padding: 0;
    margin: 60px 0 0 0;
    text-align: center;
}

.customers ul li {
    display: inline-block;
    width: calc(25% - 40px);
    margin-bottom: 80px;
    vertical-align: top;
}

.customers ul li:nth-child(4n + 2) {
    margin: 0 24px 0 48px;
}

.customers ul li:nth-child(4n + 3) {
    margin: 0 48px 0 24px;
}

.customers ul li .logo {
    text-align: center;
}

.customers ul li .logo img {
    width: 80%;
    max-width: 180px;
    max-height: 180px;
}

.customers ul li h4 {
    font-weight: normal;
    font-size: 24px;
    margin: 10px 0 0 0;
    text-align: center;
}

.customers ul li p {
    text-align: center;
    margin-top: 10px;
    color: #787f85;
    font-style: italic;
}

.extra {
    display: inline-block;
    width: 100%;
    background: #e9ecef;
    padding: 80px 0;
}

.extra h1 {
    text-align: center;
    margin: 0;
}

.extra h3 {
    text-align: center;
    padding: 0;
    font-weight: normal;
    font-size: 1.1rem;
    margin: 12px 0 30px 0;
}

.extra p {
    font-size: 18px;
}

.news {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 80px 0;
}

.news h1 {
    display: inline-block;
    margin: 0;
    text-align: center;
    padding: 15px 30px;
}

.news h3 {
    text-align: center;
    padding: 0;
    font-weight: normal;
    font-size: 1.1rem;
    margin: 0 0 30px 0;
}

.news ul {
    display: grid;
    grid-template-columns: auto auto auto;
    width: 100%;
    list-style-type: none;
    padding: 0;
    margin: 40px 0 0 0;
    text-align: center;
    grid-auto-rows: 1fr;
    gap: 40px;
}

.news ul li {
    display: inline-block;
    vertical-align: top;
    background: #e4e4e4;
    flex-wrap: wrap;
}

.news ul li a {
    display: flex;
    height: 100%;
    flex-direction: column;
    text-decoration: none;
}

.news ul li img {
    width: 100%;
    max-height: 230px;
}

.news ul li .info {
    display: flex;
    flex-grow: 1;
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    justify-content: center;
    flex-direction: column;
}

.news ul li .info h1 {
    font-size: 20px;
    color: #2D2D2D;
    text-align: left;
    margin: 0;
    font-weight: normal;
    padding: 0;
}

.news ul li .info span {
    display: inline-block;
    width: 100%;
    text-align: left;
    font-size: 16px;
    color: #717171;
    margin-top: 10px;
}

.contact {
    display: inline-block;
    width: 100%;
    background: #e9ecef;
    padding: 20px 0 120px 0;
}

.contact .box {
    display: flex;
    width: 100%;
    background: var(--primary-color);
    box-sizing: border-box;
    padding: 60px 40px;
    color: #fff;
    flex-direction: row;
    border-radius: 8px;
}

.contact .box .left {
    flex-grow: 1;
}

.contact .box h1 {
    margin: 0 0 20px 0;
    font-size: 26px;
}

.contact .box .left ul {
    display: inline-grid;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.contact .box .left ul li {
    display: inline-block;
    margin: 8px 0;
}

.contact .box .left ul li:nth-child(1),
.contact .box .left ul li:nth-child(2) {
    width: 160px;
}

.contact .box .left ul li:nth-child(4) {
    width: 100%;
}

.contact .box .left ul li .icon {
    display: inline-block;
    margin-right: 5px;
}

.contact .box .left ul li span {
    display: inline-block;
}

.contact .box .right {
    flex-shrink: 0;
    width: 352px;
}

.contact .box .right .button {
    font-size: 16px;
    padding: 10px 20px;
}

.contact .box .right .socials {
    display: inline-block;
    width: 100%;
    margin-top: 15px;
}

.contact .box .right .socials a {
    display: inline-block;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

.contact iframe {
    margin-top: 30px;
    width: 100%;
    height: 450px;
    border: none;
    outline: none;
}

.hide-mobile {
    display: initial;
}

.hide-desktop {
    display: none;
}

@media screen and (max-width: 1080px) {
    .services .wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    .services ul li {
        width: calc(50% - 40px);
    }
    .services ul li:nth-child(2n + 2) {
        margin-left: 40px !important;
    }
    .customers ul li {
        width: calc(33.33% - 40px);
    }
    .customers ul li:nth-child(4n + 2) {
        margin: 0;
    }
    .customers ul li:nth-child(4n + 3) {
        margin: 0;
    }
    .customers ul li:nth-child(3n + 2) {
        margin: 0 55px !important;
    }
}

@media screen and (max-width: 990px) {
    header nav {
        margin-left: 20px;
    }
    header a {
        font-size: 15px;
    }
}

@media screen and (max-width: 950px) {
    .news ul {
        grid-template-columns: auto auto;
    }
}

@media screen and (max-width: 870px) {
    .hide-mobile {
        display: none;
    }
    .hide-desktop {
        display: block;
    }
    header .wrapper {
        display: flex;
        justify-content: space-between;
    }
    header nav {
        position: absolute;
        top: 80px;
        width: 100%;
        background: #fff;
        left: 0;
        margin-left: 0;
        border-top: solid 1px #cdcdcd;
        border-bottom: solid 1px #cdcdcd;
    }
    header nav ul {
        overflow: hidden;
        max-height: 0;
        transition: max-height .25s ease-out;
    }
    header nav ul.open {
        max-height: 500px;
    }
    header nav ul li {
        width: 100%;
    }
    header nav ul li a {
        display: inline-block;
        width: 100%;
        margin: 0;
        text-align: center;
        padding: 15px 0;
        font-size: 18px;
    }
    .menu-button {
        font-size: 22px;
        background: transparent;
        border: solid 1px #cdcdcd;
        border-radius: 5px;
        color: #212529;
        padding: 5px 10px;
        cursor: pointer;
    }
    .contact .box {
        flex-direction: column;
        gap: 2rem;
    }
}

@media screen and (max-width: 690px) {
    .services ul li {
        width: 100%;
        margin-bottom: 50px;
    }
    .services ul li:nth-child(2n + 2) {
        margin: 0 0 50px 0 !important ;
    }
    .customers ul li {
        width: calc(50% - 40px)
    }
    .customers ul li:nth-child(3n + 2) {
        margin: 0 !important;
    }
    .customers ul li:nth-child(2n + 2) {
        margin-left: 40px !important;
    }
    .extra {
        margin-top: 80px;
    }
    .news ul {
        grid-template-columns: auto;
    }
    .contact ul.contact-us li {
        width: 100%;
        margin-bottom: 50px;
    }
    .contact .box .left ul li:nth-child(2) {
        width: auto;
    }
    .contact .box .right {
        width: auto;
    }
}