* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;

    background: #080808;
    color: white;

    font-family: Georgia, serif;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;


    padding:18vh 20px 20px;
    box-sizing: border-box;
}

h1 {
    margin-bottom: 35px;

    font-size: 42px;
    font-weight: normal;
    letter-spacing: 2px;
}

/* Link de download */

a {
    display: inline-block;

    padding: 12px 28px;

    color: white;
    background: #151515;

    border: 1px solid #7b2cbf;
    border-radius: 4px;

    text-decoration: none;

    transition: 0.2s;
}

a:hover {
    background: #7b2cbf;
}

/* Campo de resposta */

input {
    width: 280px;
    height: 45px;

    padding: 10px 15px;

    background: #0d0d0d;
    color: white;

    border: 1px solid #444;
    border-radius: 4px;

    font-family: Georgia, serif;
    font-size: 16px;

    text-align: center;

    outline: none;
}

input:focus {
    border-color: #7b2cbf;
}

/* Botão */

button {
    display: block;

    width: 280px;
    height: 45px;

    margin-top: 12px;

    background: white;
    color: #080808;

    border: none;
    border-radius: 4px;

    font-family: Georgia, serif;
    font-size: 16px;

    cursor: pointer;

    transition: 0.2s;
}

button:hover {
    background: #7b2cbf;
    color: white;
}

@media (max-width: 600px) {

    h1 {
        font-size: 34px;
        margin-bottom: 30px;
    }

    a {
        width: 80%;
        max-width: 280px;
        text-align: center;
    }

    input {
        width: 80%;
        max-width: 280px;
    }

    button {
        width: 80%;
        max-width: 280px;
    }

    .hud {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 1000;
}
.hud.aberto { display: flex; }

.hud-caixa {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    background: #111;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 30px;
    font-family: Georgia, serif;
    line-height: 1.6;
}
.hud-caixa h2 { margin-top: 0; font-weight: normal; letter-spacing: 1px; }

.hud-fechar {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
}
}