html,body {
    margin: 0;
    height: 100%;
}

body {
    background-color: #fce7f3;
    color: #ec4899;
    font-family: 'Sour Gummy', sans-serif;
}

main {
    padding: 4rem;
}

main > h1:first-child,
main > h2:first-child,
main > h3:first-child,
main > h4:first-child,
main > h5:first-child,
main > h6:first-child,
main > p:first-child {
    margin-top: 0;
}

img {
    max-width: 100dvw;
    max-width: 100vw;
    max-width: 100%;
}

a {
    color: #ec4899;
    padding: 0.1rem;
    margin: -0.1rem;
    border-radius: 0.25rem;
    display: inline-block;
}

a:hover {
    background-color: #fbcfe8;
}

#xxx {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
    padding: 2rem 0 1rem 0;
}

@media (min-width: 768px) {
    #xxx {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    #xxx {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    #xxx {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

#xxx > div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hazard-border {
    border: 12px solid pink;
    border-image: repeating-linear-gradient(-55deg,
            #000,
            #000 20px,
            #ffb101 20px,
            #ffb101 40px) 10;
}

.exit-button {
    background-color: #dc2626;
    padding: 1rem;
    display: block;
    border-radius: 0.75rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 1rem 0;
    transition: 150ms background-color;
}

.exit-button:hover {
    background-color: #b91c1c;
}

.enter-button {
    background: none;
    border: none;
    font-family: 'Sour Gummy', sans-serif;
    color: #ec4899;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 1rem;
    display: block;
    border-radius: 0.75rem;
    transition: 150ms background-color;
    margin: 0;
    width: 100%;
}

.enter-button:hover {
    background-color: #fbcfe8;
}

body > div:first-child[data-closing="false"] {
    opacity: 100%;
}

body > div:first-child[data-closing="true"] {
    opacity: 0%;
}

footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#info {
    padding: 1rem 0 2rem 0;
}