:root {
    --dark-bg: #111827;
    --header-border: #272d3a;
    --background: #1e2735;
    --fg-color: #f9fafb;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, segoe ui, Roboto, helvetica neue, Arial, noto sans, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol, noto color emoji;
    margin: 0;
    background-color: var(--background);
    color: var(--fg-color);
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
}

p {
    line-height: 1.5em;
}

.container {
    max-width: 1216px;
    padding: 0 32px;
    margin: 0 auto;
}

header {
    display: flex;
    padding: 0 2rem;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    background-color: var(--dark-bg);
    border-bottom: 2px solid var(--header-border);
}

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

header>h1 {
    padding: 0;
    margin: 0;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0;
}

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

header>nav>a {
    margin-left: 1rem;
    padding: .5rem 1rem;
    font-weight: 600;
    font-size: .875rem;
    line-height: 1.25rem;
    color: var(--fg-color);
    text-decoration: none;
    border-radius: .5rem;
}

header>nav>a:hover {
    background-color: #4f46e5;
}

header>nav>a:active {
    background-color: #4338ca;
}


.container.thin {
    max-width: 640px;
}

main {
    flex-grow: 1;
}


section.home .img-container {
    position: relative;
}

section.home {
    padding: 32px 0;
}

section.home>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 80px;
}

section.home h1,
section.home h2 {
    margin: 0 0 8px 0;
}

section.home h1 {
    font-size: 56px;
    font-weight: 800;
}

section.home h2 {
    font-size: 32px;
    font-weight: 300;
}

section.home#about {
    background-color: #111827;
}

section.home p {
    font-size: 20px;
}

section.home img.hero {
    width: 512px;
    height: 512px;
    border-radius: 8px;
}

@media screen and (max-width: 1023px) {
    section.home img.hero {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 1023px) {
    section.home>div {
        flex-direction: column;
        /* display: block; */
    }

    section.home:nth-child(even)>div {
        flex-direction: column-reverse;
    }

    section.home .img-container {
        text-align: center;
    }

    section.home img.hero {
        max-width: 400px;
    }
}

@media screen and (max-width: 768px) {
    header>nav>a {
        font-size: .75rem;
    }
    header h1 img {
        width: 116px;
        height: auto;
    }
}


section.home img.dots {
    position: absolute;
    z-index: -1;
    top: -32px;
    right: -32px;
}

section.home#mission h2 {
    font-weight: 700;
}

section.home#clients {}

section.home#contact {}

form label {
    display: block;
    margin-bottom: 1em;
    font-weight: 600;
}

form input,
form textarea,
form button {
    margin-top: 0.5em;
    padding: 0.625em;
    box-sizing: border-box;

    font-size: 100%;
    font-family: inherit;
    font-weight: normal;
    color: inherit;
    background-color: #374151;
    border: 1px solid #4b5563;
    border-radius: .5rem;
}

form input,
form textarea {
    width: 100%;
}

form button {
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    background-color: #4f46e5;
    border: none;
}

form button:active {
    background-color: #4338ca;
}

footer {
    background-color: var(--dark-bg);
    color: var(--lightest);
}

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

    section.home h2 {
        font-size: 24px;
    }

    section.home p {
        font-size: 18px;
    }
}