@import url('https://fonts.googleapis.com/css2?family=Afacad:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');

:root {
    --primary-color: #1c7ec2;
    --primary-color-hover: #a0f1ff;
    --primary-dark: #002c77;
    --accent-color: #ffab73;
    --accent-dark: #f47e2d;
    --bg-page: #ebedf0;
    --card-grad-1: #14171c;
    --card-grad-2: #0e1116;
    --muted: #8a8f98;
    --text: #eaeef5;
    --title: #ffffff;
    --input-bg: #171b22;
    --input-border: #2a2f39;
    --input-focus: #2f86ff;
    --btn-blue-1: #3294ff;
    --btn-blue-2: #1b6fff;
    --btn-gray: #3a414b;
    --shadow: 0 30px 60px rgba(0, 0, 0, .30), 0 10px 25px rgba(0, 0, 0, .15);
    --radius-xl: 22px;
    --gradient-space: linear-gradient(148deg, #002c77, hsl(210, 80%, 50%));
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Quicksand", sans-serif, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--gradient-space);
    display: grid;
    place-items: center;
    color: var(--text);
    width: 100%;

}

main {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
    background-image: url('../img/background/efeito_universo.png');
    background-size: cover;
    background-position: center;
}

a {
    text-decoration: none;
}

h1 {
    margin: 0;
    font-size: 42px;
    line-height: 1.1;
    color: var(--accent-color);
    text-align: center;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 95%;
    max-width: 1200px;
    height: auto;
    padding: 1rem;
    text-align: center;
}

.container .text-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 1rem;
    text-align: center;
    padding: 0 1rem;
}

.container .img-page {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

.container .img-page img {
    width: 80%;
    max-width: 500px;
    height: auto;
    border-radius: var(--radius-xl);
}

.btn-blue {
    font-family: "Quicksand", sans-serif;
    font-size: 1rem;
    cursor: pointer;
    appearance: none;
    border: solid 1px var(--bg-page);
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 600;
    background: var(--input-focus);
    color: #fff;
    width: 100%;
    max-width: 200px;
    box-shadow: 0 5px 20px rgba(50, 148, 255, .25), inset 0 -4px 0 rgba(0, 0, 0, .15);
    transition: all 0.3s ease-in-out;
}

.btn-blue:hover {
    background: var(--accent-dark);
    filter: brightness(1.03);
}

/* ========== RESPONSIVIDADE ========== */

@media (max-width: 992px) {
    main {
        padding: 1rem;
    }

    h1 {
        font-size: 36px;
    }

    .container {
        width: 100%;
        padding: 1rem;
    }

    .container .img-page img {
        width: 85%;
        max-width: 420px;
    }

    .btn-blue {
        font-size: 0.95rem;
        padding: 12px 20px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 30px;
    }

    .container .img-page img {
        width: 90%;
        max-width: 380px;
    }

    .btn-blue {
        font-size: 0.9rem;
        padding: 12px 18px;
    }
}

@media (max-width: 480px) {
    main {
        padding: 0;
    }

    h1 {
        font-size: 26px;
        line-height: 1.2;
    }

    .container {
        width: 100%;
        padding: 0.5rem;
    }

    .container .text-info {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .container .img-page img {
        width: 95%;
        max-width: 320px;
    }

    .btn-blue {
        width: 100%;
        max-width: 200px;
        padding: 12px;
        font-size: 0.9rem;
    }
}