@font-face {
    font-family: "Inter";
    src: local("Inter"), url("/assets/Inter-VariableFont_slnt,wght.ttf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.logo-img {
    width: auto;
    height: 12rem;
}

:root {
    --primary-color: hsl(203.45 95.6% 82.16%);
    --fg-color: hsl(0, 0%, 100%);
    --fg-muted-color: hsl(197, 3%, 46%);
}

body {
    background: radial-gradient(var(--primary-color) 40%, var(--fg-color));
    color: var(--fg-color);
    font-family: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
    font-weight: 400;

    height: 100dvh;
    display: flex;
    gap: 4rem;
    flex-direction: column;
    align-items: center;
    padding-block: 2rem;
    padding-inline: 1rem;
}

body > div {
    flex: 1;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 1rem;
}

h1 {
    font-size: 3rem;
    text-align: center;
    font-weight: 700;
}

p {
    text-align: center;
    font-size: 1rem;
    text-wrap: balance;
    max-width: 90%;
}

form {
    margin-block-start: 1.5rem;
    display: flex;
    gap: 0.5rem;
    width: 100%;
    flex-direction: column;
}

form > label {
    font-size: 0.75rem;
    color: white;
}

form > button {
    background-color: black;
    border: none;
    font: inherit;
    font-weight: 600;
    border: 0;
    padding: 1rem;
    border-radius: 10rem;
    padding: 1rem;
    text-wrap: balance;
    outline: none;
    color: white;
}

form > button:hover:not(:disabled),
form > button:focus-visible:not(:disabled) {
    background: #fcf372;
    color: black;
    cursor: pointer;
}

form:has(button:disabled) {
    opacity: 0.75;
}

input {
    border: 0;
    background-color: white;
    border-radius: 10rem;
    padding: 1rem 1rem;
    font: inherit;
    flex: 1;
}

input:focus {
    outline: 2px solid #fcf372;
}

body > :nth-child(3) {
    display: flex;
    flex-direction: column-reverse;
}

.link-icon {
    margin-top: auto;
}

.link-icon > img {
    width: 3rem;
    height: 3rem;
}


@media (min-width: 768px) {
    h1 {
        font-size: 6rem;
    }

    p {
        font-size: 1.5rem;
    }

    form {
        flex-direction: row;
    }
}