html, body {
    min-height: 100%;
}

body {
    font-family: "Cambay", sans-serif;
    background: #EDEDED;
    color: #2D2D2D;
}

.wrapper {
    width: 90%;
    max-width: 1920px;
    height: 100%;
    margin: 0 auto;
}

header {
    display: flex;
    align-items: center;
    width: 100%;
    height: 120px;
}

header .header-title {
    display: flex;
    align-items: center;
}

header .header-title h1 {
    font-size: 26px;
}

header .header-title .logo {
    display: inline-block;
    vertical-align: top;
}

header .header-title .logo img {
    max-width: 55px;
    max-height: 55px;
}

header nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

header nav ul {
    text-align: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    display: inline-block;
}

header nav ul li a {
    text-decoration: none;
    color: #1E1E1E;
    font-size: 18px;
    padding: 0 15px;
}

header .buttons a {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-contrast-primary-color);
    font-size: 23px;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    vertical-align: top;
}

header .buttons a i {
    margin-top: 7px;
}

header .buttons a:first-child {
    margin-right: 10px;
}

header a.connect {
    background: var(--primary-color);
    color: var(--text-contrast-primary-color);
    padding: 6px 25px;
    text-decoration: none;
    margin-right: 1rem;
}

.home {
    display: flex;
    width: 100%;
}

.home .info {
    padding: 20px;
    min-width: 270px;
}

.home .info .text {
    display: inline-block;
    font-size: 24px;
    margin: 20px 0;
    width: 100%;
}

.home .info .buttons {
    display: inline-block;
    width: 100%;
}

.home .info .buttons .button {
    display: flex;
    font-size: 32px;
    text-decoration: none;
    border: solid 1px var(--primary-color);
    padding: 10px 30px;
}

.home .info .buttons .button.outline {
    background: transparent;
    border-color: #010101;
    justify-content: space-between;
    color: #010101;
}

.home .info .buttons .button:first-child {
    margin-bottom: 1rem;
    justify-content: center;
    background: var(--primary-color);
    color: var(--text-contrast-primary-color);
}

.home .info .buttons i {
    transform: rotate(45deg);
    margin-left: 10px;
}

.home .left-home {
    display: flex;
    min-width: 65%;
}

.home .left-home h1 {
    font-size: 6em;
    margin: 6px -40px 0 0;
    left: 0;
}

.home .left-home img {
    width: 700px;
}

.about {
    background: var(--primary-color);
    color: var(--text-contrast-primary-color);
    padding: 10px 60px;
    margin: 5em 0;
    display: flex;
    align-items: center;
}

section h1 {
    font-size: 5em;
}

.about .text {
    font-size: 20px;
}

.about img {
    width: 25%;
    max-width: 400px;
    margin: -3em 0;
}

.services {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 5em 0;
}

.services img {
    width: 230px;
    margin: -33px 20px;
}

.services .list {
    display: flex;
    background: #fff;
}

.services .list button {
    display: inline-block;
    background: transparent;
    border: none;
    width: 50px;
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
    cursor: pointer;
}

.services .list button[disabled] {
    color: #717171;
    cursor: default;
}

.services .list ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style-type: none;
    flex-grow: 1;
    overflow: hidden;
}

.services .list ul li {
    width: 300px;
    flex-shrink: 0;
    padding: 23px;
}

.services .list ul li:not(:last-child) {
    margin-right: 30px;
}

.services .list ul li:first-child {
    margin-left: 10px;
}

.services .list ul li:last-child {
    margin-right: 10px;
}

.services .list ul li .title {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.services .list ul li .title h3 {
    display: inline-block;
    width: calc(100% - 50px);
    color: #2D2D2D;
    margin: 0;
    font-weight: normal;
    font-size: 26px;
}

.services .list ul li .title i {
    font-size: 30px;
    color: var(--primary-color);
}

.services .list ul li p {
    font-size: 18px;
    color: #717171;
}

.customers {
    display: inline-block;
    width: 100%;
    padding-top: 50px;
    margin: 0 0 40px 0;
}

.customers h1 {
    text-align: center;
}

.customers h3 {
    font-size: 20px;
    color: #717171;
    text-align: center;
    margin: 0;
    font-weight: normal;
}

.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(33.33% - 30px);
    margin-bottom: 60px;
    background: #fff;
    vertical-align: top;
    box-sizing: border-box;
    padding: 20px;
}

.customers ul li:nth-child(3n + 2) {
    margin: 0 40px;
}

.customers ul li .logo {
    height: 150px;
    align-content: center;
}

.customers ul li .depoimento {
    min-height: 150px;
}

.customers ul li .logo img {
    width: 80%;
    max-width: max-content;
    max-height: stretch;
}

.customers ul li h4 {
    font-weight: normal;
    font-size: 2em;
    margin: 10px 0 0 0;
    text-align: center;
}

.customers ul li p {
    text-align: center;
    margin: 10px 0;
    color: #717171;
    font-size: 18px;
}

.extra {
    margin-bottom: 6em;
}

.extra h3 {
    font-size: 2em;
}

.extra p {
    font-size: 20px;
}

.extra > div {
    margin: 0;
}

.contact {
    display: flex;
    width: 100%;
    margin-bottom: 4rem;
}

.contact img {
    width: 190px;
    margin: -97px 0 0 -60px;
}

.contact > div {
    background: var(--primary-color);
    padding: 2rem;
    width: 40%;
}

.contact > div > div {
    display: flex;
}

.contact .contact-us {
    width: 100%;
}

.contact h1 {
    margin: 0;
    width: 100%;
    text-align: center;
    align-content: center;
    font-size: 4rem;
    color: var(--text-contrast-primary-color);
    font-weight: unset;
}

.contact h2 {
    display: inline-block;
    color: var(--text-contrast-primary-color);
    font-weight: unset;
    margin: 20px 0 0 0;
    width: 100%;
}

.contact ul {
    display: inline-block;
    list-style-type: none;
    margin: 20px 0 0 0;
    padding: 0;
}

.contact ul li {
    display: flex;
    width: 100%;
    align-items: center;
}

.contact ul li:not(:last-child) {
    margin-bottom: 2rem;
}

.contact ul li i {
    font-size: 34px;
    color: var(--text-contrast-primary-color);
    width: 43px;
    text-align: center;
}

.contact ul li .content {
    display: flex;
    align-items: center;
}

.contact ul li span {
    display: inline-block;
    color: var(--text-contrast-primary-color);
    margin-left: 1rem;
    font-size: 20px;
}

.contact iframe {
    border: none;
    flex-grow: 1;
    margin-left: 20px;
    padding: 60px 20px;
    background: #fff;
}

.news h1 {
    margin: 0;
    font-weight: unset;
}

.news ul {
    display: grid;
    grid-template-columns: auto auto auto;
    width: 100%;
    list-style-type: none;
    padding: 0;
    margin: 15px 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 .preview {
    width: 100%;
    min-height: 230px;
    max-height: max-content;
    background-size: cover;
}

.news ul li .info {
    display: flex;
    flex-grow: 1;
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    justify-content: center;
    flex-direction: column;
    background: #fff;
}

.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;
}

footer {
    display: inline-block;
    width: 100%;
    background: var(--primary-color);
    height: 80px;
    vertical-align: top;
    margin-top: 80px;
    color: var(--text-contrast-primary-color);
}

footer .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .socials {
    display: inline-block;
}

footer .socials a {
    display: inline-block;
    vertical-align: top;
    color: var(--text-contrast-primary-color);
    text-decoration: none;
    font-size: 36px;
    padding: 0 20px;
    line-height: 23px;
}

footer span {
    font-size: 18px;
}

footer span a {
    color: var(--text-contrast-primary-color);
    text-decoration: none;
}

.hide-mobile {
    display: initial;
}

.hide-desktop, .home .buttons-mobile, header .menu-title, .divider {
    display: none;
}

@media screen and (max-width: 1910px) {
    .home .left-home h1 {
        font-size: 5em;
    }

    .home .left-home img {
        width: 650px;
    }

    section h1 {
        font-size: 4em;
    }
}

@media screen and (max-width: 1280px) {
    .home .left-home h1 {
        font-size: 4em;
    }

    .home .left-home img {
        width: 500px;
    }

    .home .info .text {
        font-size: 20px;
    }

    .home .info .buttons .button {
        font-size: 24px;
    }

    section h1 {
        font-size: 3em;
    }

    .about .text {
        font-size: 18px;
    }

    .contact h1 {
        font-size: 3rem;
    }

    .contact h2 {
        font-size: 1.5em;
    }

    .contact ul li span {
        font-size: unset;
    }

    .customers ul li h4 {
        font-size: 1.5em;
    }

    .customers ul li p {
        font-size: 17px;
    }
}

@media screen and (max-width: 1080px) {
    .home {
        flex-direction: column;
    }

    .home .info-home .info h1 {
        font-size: 70px;
    }

    header .header-title .logo img, header .menu-title .logo img {
        max-width: 30px;
        max-height: 30px;
    }

    .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;
    }

    .extra h3 {
        font-size: 1.5em;
    }

    .extra p {
        font-size: 18px;
    }
}

@media screen and (max-width: 950px) {
    header .header-title h1 {
        display: none;
    }

    .left-home {
        flex-direction: column;
    }

    .left-home h1 {
        margin: 0;
    }

    .left-home img {
        align-self: end;
        margin-top: -35px;
    }

    .about img {
        width: 29%;
        margin: -3em -50px;
    }

    .about .text {
        padding-right: 50px;
        font-size: unset;
    }

    .news ul {
        grid-template-columns: auto auto;
    }
}

@media screen and (max-width: 870px) {
    html {
        scroll-padding-top: 80px;
    }

    .hide-mobile {
        display: none;
    }

    .hide-desktop {
        display: block;
    }

    body {
        padding-top: 115px;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        background: rgba(237, 237, 237, 0.92);
        z-index: 1000;
        height: 70px;
    }

    header .header-title, header .menu-title {
        display: flex;
        flex-direction: row;
        align-items: center;
        max-width: 60%;
    }

    header .header-title {
        max-width: 100%;
        width: 100%;
        justify-content: center;
    }

    header .header-title h1 {
        display: unset;
    }

    header .menu-title {
        position: absolute;
        top: 0;
        right: 0;
        padding: 20px;
    }

    header .menu-title h1 {
        color: var(--text-contrast-primary-color);
        margin: 0;
    }

    .menu-button.active + .header-title {
        display: none;
    }

    .header-title h1, .menu-title h1 {
        font-size: 25px;
        margin-right: 3px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    .divider {
        width: 80%;
        height: 2px;
        background-color: var(--text-contrast-primary-color);
        margin: 20px 0;
        justify-self: center;
        display: flex;
    }

    header nav {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100%;
        background: var(--primary-color);
        border-right: solid 1px #cdcdcd;
        transition: left .3s ease;
        z-index: 999;
        padding-top: 3rem;
        box-sizing: border-box;
    }

    header nav.open {
        left: 0;
    }

    header a.connect {
        width: max-content;
        color: var(--primary-color);
        background: var(--text-contrast-primary-color);
    }

    header nav ul {
        display: block;
        max-height: none;
    }

    header nav ul li {
        width: 100%;
        padding: 0 2rem;
    }

    header nav ul li a {
        display: block;
        width: 100%;
        text-align: left;
        padding: 20px 0;
        font-size: 20px;
        box-sizing: border-box;
        color: var(--text-contrast-primary-color);
    }

    .menu-button {
        font-size: 30px;
        background: transparent;
        border: none;
        color: var(--primary-color);
        cursor: pointer;
        z-index: 1000;
        position: absolute;
        left: 30px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        padding: 0;
    }

    .menu-button.active {
        color: var(--text-contrast-primary-color);
    }

    .services .list ul li {
        width: 13rem;
        height: auto;
    }

    .customers .wrapper {
        width: 100%;
    }

    .customers ul li {
        width: calc(50% - 30px);
        margin: 10px 7px !important;
    }

    .contact {
        flex-direction: column;
    }

    .contact > div {
        width: auto;
    }

    .contact iframe {
        margin-left: 0;
        padding: 0;
        height: 350px;
        margin-top: 20px;
    }

    section h1 {
        font-size: 2em;
    }
}

@media screen and (max-width: 690px) {
    .home .left-home h1 {
        margin: 0;
    }

    .home .left-home img {
        width: 450px;
    }

    .about {
        padding: 10px 15px;
    }

    .customers ul li {
        width: 100%;
        margin: 0 0 30px 0 !important;
    }

    .services {
        margin: 0;
    }

    .services img {
        position: absolute;
        width: 60px;
        margin: -13px -13px;
    }

    .services .list ul li {
        width: fit-content;
    }

    .about img {
        width: 110px;
        margin: 0 -7% -50% -6%;
    }

    .news ul {
        grid-template-columns: auto;
    }

    footer {
        height: auto;
    }

    footer .wrapper {
        flex-direction: column;
    }

    footer .socials {
        padding: 8px 0;
    }

    footer .socials a {
        padding: 0 10px;
        font-size: 27px;
    }

    footer span {
        text-align: center;
        font-size: 14px;
        width: 100vw;
        height: 40px;
        align-content: center;
        background-color: #F6F6F6;
        color: #2D2D2D;
    }

    footer span a {
        color: #2D2D2D;
    }
}

@media screen and (max-width: 500px) {
    .home .left-home img {
        width: 320px;
    }

    .about img {
        width: 60px;
        position: absolute;
        right: 41px;
        top: 825px;
    }

    .about .text {
        padding-right: 0;
    }

    .services .list ul li {
        padding: 10px;
    }

    .contact img {
        width: 119px;
        margin: -79px 0 0 -44px;
    }
}
