/* CSS Reset */

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

/* Variables */

:root {
    --border-radius: 4px;

    --box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);

    --color-blue: #0F4686;
    --color-blue-hover: #0F4686EE;
    --color-blue-gradient: #0F4686E6;
    --color-blue-light: #418AE0;
    --color-gray-light: #F0F0F0;
    --color-yellow: #F2F648;
    --color-text: #000000B3;
    --color-text-light: #FFFFFF;
    --color-white: #FFFFFF;
    --color-white-hover: #00000010;

    --gradient-blue: linear-gradient(to bottom right, var(--color-blue), var(--color-blue-gradient));

    --max-width-medium: 896px;
}

/* Elements */

html {
    color: var(--color-text);
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
}

a {
    color: var(--color-blue);
    text-decoration: none;
}

a:hover {
    color: var(--color-blue-hover);
}


a.ghost {
    background: none;
    border: 2px solid var(--color-blue);
    border-radius: var(--border-radius);
    color: var(--color-blue);
    font-size: 20px;
    padding: 8px 24px;
}

a.ghost:hover {
    background: var(--color-white-hover);
}

a.primary {
    background: var(--color-blue);
    border-radius: var(--border-radius);
    color: var(--color-text-light);
    font-size: 20px;
    padding: 10px 24px;
}

a.primary:hover {
    background: var(--color-blue-hover);
}

.button-row {
    display: flex;
    gap: 24px;
}

.container {
    margin: 0 auto;
    max-width: 1440px;
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
}

h1 {
    color: var(--color-blue);
    font-size: 64px;
    font-weight: 600;
    line-height: 100%;
}

h2 {
    font-size: 48px;
    font-weight: 600;
    line-height: 125%;
}

h3 {
    font-size: 32px;
    font-weight: 500;
    line-height: 125%;
}

h4 {
    font-size: 24px;
    font-weight: 500;
    line-height: 125%;
}

/* Navigation */

footer {
    padding: 64px 0;
}

footer a {
    display: block;
    margin-top: 16px;
}

footer h4 {
    color: var(--color-blue);
    font-size: 26px;
    font-weight: bold;
    text-transform: uppercase;
}

footer img {
    height: 64px;
}

footer p {
    margin-top: 24px;
}

footer .content {
    align-items: start;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: var(--max-width-medium);
}

footer .left {
    max-width: 320px;
}

footer .logo {
    flex: 1;
}

footer .right {
    max-width: 256px;
}

footer .links {
    margin-top: 24px;
}

nav {
    align-items: center;
    border-bottom: 1px solid lightgray;
    display: flex;
    padding: 16px 0;
}

nav a {
    font-size: 20px;
}

nav button {
    color: var(--color-blue);
    padding: 12px 16px;
}

nav img {
    height: 64px;
}

nav .container {
    align-items: center;
    display: flex;
    gap: 36px;
}

nav .links {
    align-items: center;
    display: flex;
    gap: 36px;
}

nav .logo {
    display: block;
    flex: 1;
}

nav .logo-text {
    display: none;
    flex: 1;
}


/* Responsive */

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 768px) {
    nav .logo {
        display: none;
    }

    nav .logo-text {
        display: block;
    }
}

@media screen and (max-width: 640px) {
    h1 {
        color: var(--color-blue);
        font-size: 48px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 24px;
    }

    h4 {
        font-size: 16px;
    }
    
    footer {
        padding: 24px 0;
    }

    footer .content {
        flex-direction: column;
        gap: 48px;
    }
    
    nav .link {
        display: none;
    }

    nav .links {
        justify-content: space-between;
        gap: 0;
        width: 100%;
    }
}

@media screen and (max-width: 420px) {
    .button-row {
        flex-direction: column;
        text-align: center;
    }
}