@font-face {
    font-family: "Roboto";
    src: url("../font/Roboto-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: auto;
}
@font-face {
    font-family: "Roboto";
    src: url("../font/Roboto-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: auto;
}
body {
    margin: 0;
    color: #393939;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    line-height: 1.5;
    font-size: 1rem;
    scroll-behavior: smooth;
    text-align: center;
}

a {
    color: inherit;
    text-decoration: none;
}

h1 {
    line-height: 1.1;
    font-size: 40px;
    margin: 0;
    font-weight: 600;
}

h2 {
    line-height: 1;
    font-size: 34px;
    margin: 0;
    font-weight: 600;
}

h2 + .separator {
    margin-top: 20px;
}

header {
    padding: 80px;
}

.text-grey {
    color: #60605f;
}

header > .container-small {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: column;
}
section, footer {
    padding: 80px;
}
footer {
    background: #eee;
    text-align: center;
    padding: 1rem;
}
p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style:none;
}

button {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    line-height: 1.5;
    font-style: normal;
    font-size: 1rem;
}

.section {
    padding: clamp(50px, 8vw, 80px) clamp(20px, 4vw, 50px);
}

#navbar + .section {
    padding-top: 50px;
}

.section + .grey {
    background: #f6f6f6
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: auto;
}

.container-small {
    width: 100%;
    max-width: 760px;
    margin: auto;
}

.separator {
    height: 1px;
    width: 100px;
    background: #dddddd;
    margin: 30px auto;
}

#navbar {
    position:sticky;
    top:0;
    background: #fff;
    padding: 20px clamp(20px, 4vw, 50px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#navbar #logo {
    height: 30px
}

#navbar ul {
    display: none;
}

.cta {
    background: #D93A39;
    margin-top: 30px;
    color: #fff;
    font-weight: 600;
    border: 0;
    border-radius: 8px;
    padding: 7px 20px;
}

.big-text {
    font-size: 18px;
    margin-bottom: 20px
}

#grid-services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

#grid-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (min-width: 576px) {
    #grid-services {
        grid-template-columns: 1fr 1fr;
    }
    .big-text {
        font-size: 20px;
        margin-bottom: 30px
    }

    .cta {
        padding: 10px 20px;
    }

    h1 {
        font-size: 48px;
        line-height: 1;
    }
    h2 {
        font-size: 38px;
    }
    #navbar ul {
        display: flex;
        gap:30px;
        align-items: center;
    }

    #navbar #logo {
        height: 36px
    }
}

@media (min-width: 768px) {
    #grid-about {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 30px;
    }
    h1 {
        font-size: 54px;
    }

    h2 {
        font-size: 42px;
    }

    #navbar #logo {
        height: 40px
    }
}

@media (min-width: 1000px) {
    #grid-services {
        grid-template-columns: 1fr 1fr 1fr;
    }
}