:root {
    --bg: #000000;
    --text: #FE5A2F;
    --yellow: #FE5A2F;
    --red: #7d240d;
    --green: #f77858;
}


body {
    margin: 0;
    background-color: var(--bg);
    font-family: "Recoleta", sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3em;
    width: 100%;
    max-width: 1200px;
    padding: 2em;
    background:
            linear-gradient(to right, #151515 1px, transparent 1px) 0 0,
            linear-gradient(to right, #151515 1px, transparent 1px) 0 100%,
            linear-gradient(to left, #151515 1px, transparent 1px) 100% 0,
            linear-gradient(to left, #151515 1px, transparent 1px) 100% 100%,
            linear-gradient(to bottom, #151515 1px, transparent 1px) 0 0,
            linear-gradient(to bottom, #151515 1px, transparent 1px) 100% 0,
            linear-gradient(to top, #151515 1px, transparent 1px) 0 100%,
            linear-gradient(to top, #151515 1px, transparent 1px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 20px 20px;
}



h1 {
    font-size: 60px;
    font-weight: normal;
    margin: 0;
}

h2 {
    font-size: 32px;
}

p {
    font-size: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

body::before,
body::after {
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 10%;
}

body::before {
    background: #8C8C8C;
    filter: url(#noiseFilter);
}


/* Blobs */
.blob-cont {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: -2;
    height: 500px;
    width: 500px;
    position: relative;
    right: -10em;
}


.blob {
    border-radius: 100px;
    filter: blur(60px);
}

.yellow {
    background-color: var(--yellow);
    position: absolute;
    top: 200px;
    left: 100px;
    height: 200px;
    width: 200px;

    animation: yellow 8s infinite ease;
}

.green {
    background-color: var(--green);
    position: absolute;
    top: 80px;
    right: -20px;
    height: 200px;
    width: 250px;

    animation: green 8s infinite ease;
}

.red {
    background-color: var(--red);
    position: absolute;
    right: 0;
    top: 300px;
    height: 250px;
    width: 200px;

    animation: red 8s infinite linear;
}

@keyframes yellow {
    0% {top: 200px; left: 100px; transform: scale(1);}
    30% {top: 300px; left: 150px; transform: scale(1.2);}
    60% {top: 100px; left: 200px; transform: scale(1.3);}
    100% {top: 200px; left: 100px; transform: scale(1);}
}

@keyframes green {
    0% {top: 80px; right: -20px; transform: scale(1.2);}
    30% {top: 300px; right: -20px;transform: scale(1);}
    60% {top: 200px; right: 100px;transform: scale(1);}
    100% {top: 80px; right: -20px; transform: scale(1.2);}
}

@keyframes red {
    0% {top: 250px; right: 0px; transform: scale(1);}
    30% {top: 150px; right: 150px;transform: scale(1.4);}
    60% {top: 250px; right: 100px;transform: scale(1);}
    100% {top: 250px; right: 0px; transform: scale(1);}
}


/* the rest of the page */
.nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 3em;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3em;
}

.buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 2em;
}

.button {
    padding: 1em 3em;
    border: 1px solid var(--text);
    font-size: 14px !important;
    height: 45px;
    border-radius: 4px;
}

.primary {
    background-image: linear-gradient(var(--text), #a83719);
    color: #DED3B6;
}

@media only screen and (max-width: 1000px) {
    body {
        margin: 1em;
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 3em 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    min-height: 380px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Suporte condicional para backdrop-filter */
@supports ((-webkit-backdrop-filter: blur(3.4px)) or (backdrop-filter: blur(3.4px))) {
    .glass-card {
        backdrop-filter: blur(3.4px);
        -webkit-backdrop-filter: blur(3.4px);
        background: rgba(255, 255, 255, 0.1); /* um pouco mais claro para destacar o blur */
    }
}


.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    width: 100%;
}

.login-form h2 {
    color: white;
    text-align: center;
    margin-bottom: 0.5em;
    font-size: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #ccc;
    margin-bottom: 0.4em;
    font-size: 0.95rem;
}

.form-group input {
    padding: 0.8em;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.btn {
    padding: 0.8em;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn.primary {
    background-color: var(--text);
    color: #DED3B6;
}

.btn.secondary {
    background-color: transparent;
    border: 1px solid #aaa;
    color: #aaa;
}

.btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media only screen and (max-width: 768px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .blob-cont {
        position: absolute;
        top: -100px;
        right: auto;
        left: 0;
        z-index: -2;
    }
}