@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');
:root {
    --Blue-500: hsl(223, 87%, 63%);

    --Blue-200: hsl(223, 100%, 88%);
    --Red-400: hsl(354, 100%, 66%);
    --Green: hsl(146, 100%, 66%);

    --Gray-400: hsl(0, 0%, 59%);
    --Blue-950: hsl(209, 33%, 12%);

    --font-size: 20px;

}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Libre Franklin", sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2em;
    background-color: #fff;
}

h1, footer > p {
    color: var(--Gray-400);
}

h1 > span {
    color: var(--Blue-950);
}

h1 {
    font-size: 28px;
}

body > img:nth-child(1) {
    margin: 3em 0;
}

body > p {
    margin: 1em 0 2em;
}

.image-container {
    max-width: 320px;
}

.image-container img {
    width: 100%;
    margin: 5em 0;
}

form > div:nth-child(1) {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input#text-area {
    width: 300px;
    height: 3em;
    border: var(--Blue-500) 2px solid;
    border-radius: 2em;
    padding: 1em;
}

#mess {
    color: var(--Red-400);
    margin: 0.5em 0;
}

button#submit-email {
    background-color: var(--Blue-500);
    color: #fff;
    border: none;
    display: flex;
    padding: 1em 3em;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 3em;
    border-radius: 2em;
    margin: 1em 0;
    box-shadow: var(--Blue-500) 0 1px 1px;
    transition: background-color 0.2s ease-in-out;
    cursor: pointer;
}

button#submit-email:hover {
    background-color: #7195F5;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
}

nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 0.5em;
    color: var(--Blue-500);
    border-radius: 50%;
    border: 1px var(--Gray-400) solid;
    font-size: 24px;
    margin: 0 auto;
    transition: 0.2s ease-in-out;
}

nav a:hover {
    background-color: var(--Blue-500);
    color: #fff;
}

footer p {
    margin: 2em 0;
}

@media screen and (min-width: 768px) {
    form {
        display: flex;
        justify-content: center;
    }

    button#submit-email {
        width: 150px;
        margin: 0 1em;
    }

    .image-container {
        max-width: 500px;
    }
}