@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", serif;
}

/* Elementos gerais */
.splash {
    display: none;
}

.items {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: bolder;
    animation: typing 3s steps(30) 1s forwards;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid;
    width: 0;
}

.header h2 {
    font-size: 1.2rem;
    font-weight: 400;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Inputs */
input {
    background-color: #F1F4FF;
    font-size: 1.2rem;
    border-radius: 8px;
    border: none;
    padding: 1rem;
    width: 110%;
    outline: none;
}

input::placeholder {
    font-size: 1rem;
    color: #626262;
}

.email, .password {
    font-size: 1.2rem; /* Ícones menores */

    position: relative;
}

.email i, .password i {
    position: absolute;
    margin: auto;
    font-size: 1.6rem;
    left: 18rem;
    top: 1.1rem;
    color: #626262;
}

.password i {
    top: 1rem;
}

/* Botões */
.enter {
    font-size: 1.5rem; /* Botão com fonte ajustada */
    padding: 10px; /* Redução no padding */
    display: flex;
    justify-content: center;
    align-items: center;
}

.enter button {
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    background-color: #1F41BB;
    color: white;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    cursor: pointer;
}

.enter button:hover {
    background-color: #15379C;
}

/* Links */
.recover a {
    font-size: 1rem;
    text-decoration: none;
    font-weight: 500;
    color: #1F41BB;
    display: flex;
    justify-content: flex-end;
}

.create {
    font-size: 1.3rem; /* Texto de criação menor */
    border-top: 1px solid rgba(128, 128, 128, 0.171);
    padding-top: 1.2rem;
    display: flex;
    justify-content: center;
}

.create a {
    text-decoration: none;
    font-weight: 700;
    color: #494949;
    font-size: 1.3rem;
}

.problems {
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 1.2rem;
}

.problems h6 {
    font-weight: 400;
}

.problems a {
    font-weight: 600;
    color: #1F41BB;
}

/* Centralização para telas grandes */
@media only screen and (min-width: 768px) {
    body {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        background-color: #f5faff;
    }

    .all {
        max-width: 800px;
        padding: 3rem 5rem;
        margin: 0 auto;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        background-color: white;
    }

    .splash {
        display: none; /* Garante que não será exibida em telas grandes */
    }

    @keyframes splash {
        0% {
            transform: translate(0, 0);
        }
        50% {
            transform: translate(50px, 20px);
        }
        100% {
            transform: translate(0, 0);
        }
    }
}

/* Ajustes para telas médias */
@media only screen and (max-width: 768px) {
    body {
        background-color: #f5faff;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        overflow-x: hidden;
    }

    .all {
        width: 100%;
        margin-top: 7rem;
        padding: 2rem;
    }
}

/* Ajustes para telas pequenas */
@media only screen and (max-width: 428px) {
    .header h1 {
        font-size: 2.2rem;
    }

    .all {
        margin-top: 5rem;
        padding: 1rem;
    }

    input {
        font-size: 1rem;
        padding: 1rem;
    }

    .email i, .password i {
        font-size: 1.2rem;
        top: 1.2rem;
    }

    .recover a {
        font-size: 1rem;
    }

    .enter button {
        font-size: 1.3rem;
        padding: 0.6rem;
    }

    .create a {
        font-size: 1.3rem;
    }

    .problems {
        font-size: 1.4rem;
    }
}
