@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    /* CORES */
    --bg: #F4F4F4;
    --text: #1E1E1E;
    --primary: #0A3D91;

    /* TIPOGRAFIA */
    --font: "Poppins", sans-serif;
    --h1: 2rem;
    --h2: 1.3rem;
    --h3: 1.2rem;
    --p: 0.9rem;
    --small: 0.85rem;

    /* ESPAÇAMENTOS */
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 2rem;
    --space-4: 4rem;
    --space-5: 10rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font);
}

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100svw;
    height: 100svh;
    flex-direction: column;
}

h1 {
    font-size: var(--h1);
    font-weight: 800;
}

h2 {
    font-size: var(--h2);
    font-weight: 400;
}

h3 {
    font-size: var(--h3);
    font-weight: 600;
}

p {
    font-size: var(--p);
    font-weight: 300;
}

a {
    text-decoration: none;
    color: var(--text);
    transition: color 0.3s ease;
}

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

main {
    display: flex;
    flex-direction: column;
    padding: var(--space-3) var(--space-5);
}

.text {
    text-align: center;
    padding: 0 5rem;
}

.text p {
    margin-top: 15px;
    margin-bottom: 100px;
    text-align: start;
}

.tools {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
}

.tools ul {
    list-style: none;
}

.tools h3 {
    font-size: var(--h3);
}

.tools a {
    font-size: var(--small);
}

/* tablets */
@media (max-width: 1024px) {
    main {
        padding: var(--space-3) 4rem;
    }

    .text {
        padding: 0 2rem;
    }
}

/* celulares */
@media (max-width: 768px) {
    main {
        padding: var(--space-3);
    }

    .text {
        padding: 0;
    }

    .tools {
        flex-direction: column;
        gap: 2rem;
    }

    .text p {
        text-align: left;
    }
}

/* celulares pequenos */
@media (max-width: 480px) {
    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.1rem;
    }

    p {
        font-size: 0.85rem;
    }
}


.forms {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.forms input {
    width: 100%;
    height: 3rem;
    border-radius: 0.8rem;
    border: 2px solid #0A3D91;
    background-color: #F4F4F4;
    padding: 0.4rem;
    outline: none;
}

.forms input:focus {
    border-color: #1e5bd7;
    box-shadow: 0 0 5px rgba(10, 61, 145, 0.4);
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield; /* Firefox */
    appearance: textfield;
}

.forms label {
    margin-top: 1rem;
    font-size: var(--p);
}

.forms button {
    width: 50%;
    height: 3rem;
    margin-top: 3rem;
    border-radius: 0.8rem;
    border: none;
    color: #F4F4F4;
    background-color: #0A3D91;
    cursor: pointer;
    transition: 0.3s;
}

.forms button:hover {
    background-color: #082f6e;
}