* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    min-height: 100vh;
    background-color: #EEEE22;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;

}

a {
    color: black;
    font-weight: 600;
}

h1{
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2rem;
    text-transform: uppercase;

    color: aliceblue;

    text-shadow:
        4px 4px 5px rgba(0,0,0,0.6);
        /* 6px 6px 0 rgba(0,0,0,0.4),
        9px 9px 15px rgba(0,0,0,0.2); */
}

header {
    background-color: black;
    width: 100%;
    max-width: 600px;
    margin-bottom:16px;
    min-height: 3rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

header>a{
    color: white;
}

footer {
    background-color: black;
    width: 100%;
    max-width: 600px;
    margin-top:8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0;

}




.site-info{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 8px;
    background-color: black;
    border: black 4px solid;
    margin-top: 0px;
    
}

.site-info>a{
    color: white;
}

.credits{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 8px;
    background-color: white;
    border: black 4px solid;
}

main {
    max-width: 600px;
    background-color: white;
    border: black 4px solid;
    padding: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

main>.show-me {
    font-size: 6rem;
    text-align: center;
    font-family: "Bangers", system-ui;
    font-weight: 400;
    font-style: normal;
    color: black;
    line-height: 5.2rem;

    text-shadow:
        4px 4px 5px rgba(0,0,0,0.6);
        /* 6px 6px 0 rgba(0,0,0,0.4),
        9px 9px 15px rgba(0,0,0,0.2); */

    margin: 2rem 0;
}

main>button {
    width: 70%;
    height: 80px;
    font-family: "Bangers", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 3rem;
}

main>h1 {
    width: 100%;
    text-align: center;
}

.explanation {
    font-size: 0.8rem;
    width: 66%;
    text-align: justify;
    font-weight: 100;
    font-family: 'Courier New', Courier, monospace;
}

.links-panel {
    margin: 8px 0;
    display: flex;
    flex-direction: row;
    gap: 8px;
}

button {
    font-size: 1.5rem;
    padding: 1rem 2.5rem;
    margin-bottom: 12px;
    border: none;
    border-radius: 12px;
    cursor: pointer;

    /* prevent wrapping so we can resize the font instead */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1; /* we'll vertically center by flexbox */

    /* Luz */
    background: linear-gradient(145deg, #ff4d4d, #cc0000);

    box-shadow:
        0 8px 0 #990000,
        0 15px 20px rgba(0, 0, 0, 0.3);

    color: white;
    font-weight: bold;

    transition: all 0.1s ease-in-out;
}

button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 11px 0 #990000,
        0 20px 25px rgba(0, 0, 0, 0.35);
}

button:active {
    transform: translateY(8px);
    box-shadow:
        0 0 0 #990000,
        0 5px 10px rgba(0, 0, 0, 0.2);
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background: black;
    color: white;
}

.marquee+.marquee {
    margin-top: -8px;
}

.track {
    display: inline-flex;
    animation: scroll 60s linear infinite;
}

.track-reverse {
    display: inline-flex;
    animation: scroll-reverse 60s linear infinite;
}

.track span {
    padding-right: 2rem;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-70%);
    }
}

@keyframes scroll-reverse {
    from {
        transform: translateX(-70%);
    }

    to {
        transform: translateX(0);
    }
}

/* Responsividade: telas menores que o main (max-width do main = 600px) */
@media (max-width: 600px) {
    /* faça o main ocupar praticamente toda a largura disponível */
    main {
        max-width: none;
        width: calc(100% - 2rem);
        margin: 0 1rem;
        padding: 0 0 1.25rem 0;
    }

    /* reduza o título grande e o botão para caber melhor */
    main > .show-me {
        font-size: 3.25rem;
        line-height: 3.2rem;
        margin: 1.25rem 0;
    }

    main > button {
        width: 90%;
        height: 64px;
        font-size: 2rem;
    }

    .explanation {
        width: 90%;
        font-size: 0.9rem;
    }

    .links-panel {
        flex-direction: column;
        gap: 6px;
        align-items: stretch;
    }

    /* pequenos ajustes em header/footer para não quebrar */
    header, footer, .site-info, .credits {
        padding: 0 0.75rem;
    }
}