@import url('https://fonts.googleapis.com/css2?family=BBH+Sans+Hegarty&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: #000000;
    color: #fff;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    font-family: 'BBH Sans Hegarty', sans-serif;
    font-weight: 900;
}

main div {
    border-radius: 15px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    /* Animação de entrada */
    animation: fadeSlide 1s ease forwards;
}

main h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    color: #fff;
    animation: pulseTitle 2s infinite;
}

form div {
    margin-bottom: 20px;
}

form input {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 200;
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: none;
    outline: 0;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

form input:focus {
    transform: scale(1.02);
}

img {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 0 0 0 15px;
    filter: brightness(0) saturate(100%) invert(96%) sepia(41%) saturate(3961%) hue-rotate(24deg) brightness(104%) contrast(113%);
} 
/* HEX TO FILTER: https://angel-rs.github.io/css-color-filter-generator/?utm_source=chatgpt.com */

form button {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 900;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background-color: #A8FF00;
    color: #040404;
    font-size: 1rem;
    cursor: pointer;
    transition: background .3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

form button:hover {
    background-color: #7ACC00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseTitle {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

@media (max-width: 480px) {
    main h2 {
        font-size: 1.5rem;
    }

    form button,
    form input {
        font-size: .9rem;
    }
}