body {
    background-color: #F5DEB3;
    background-image: url("./hg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #000;
    font-family: "Courier New", Courier, monospace;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

body::after {
    content: "";
    display: block;
    min-height: 100vh;
}

#banner {
    background-color: #ff0;
    border-bottom: 2px solid #000;
    color: #000;
    font-weight: bold;
    padding: 10px;
    text-align: center;
}

#container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border: 4px solid #000;
    box-shadow: 10px 10px 0px #000;
}

h1, h2 {
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

a,
.link-button {
    color: #0000FF;
    text-decoration: underline;
    font-weight: bold;
}

a:hover,
.link-button:hover {
    background-color: #ff0;
    color: #000;
    text-decoration: none;
}

.link-button {
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.link-button:focus-visible,
.dialog-close:focus-visible,
.gate-submit:focus-visible,
#resume-answer:focus-visible {
    outline: 3px solid #0000FF;
    outline-offset: 3px;
}

#resume-gate {
    background-color: #fff;
    border: 4px solid #000;
    box-shadow: 10px 10px 0 #000;
    box-sizing: border-box;
    color: #000;
    font-family: "Courier New", Courier, monospace;
    max-width: min(420px, calc(100vw - 40px));
    padding: 20px;
    width: 100%;
}

#resume-gate::backdrop {
    background-color: rgba(0, 0, 0, 0.7);
}

#resume-gate h2 {
    margin: 0;
}

.dialog-heading {
    align-items: start;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.dialog-close {
    background-color: #ff0;
    border: 2px solid #000;
    cursor: pointer;
    font: inherit;
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1;
    padding: 2px 8px;
}

#resume-answer {
    border: 2px solid #000;
    box-sizing: border-box;
    display: block;
    font: inherit;
    margin-top: 8px;
    padding: 8px;
    width: 100%;
}

.form-error {
    color: #c00;
    font-weight: bold;
    min-height: 1.6em;
}

.gate-submit {
    background-color: #ff0;
    border: 2px solid #000;
    box-shadow: 4px 4px 0 #000;
    cursor: pointer;
    font: inherit;
    font-weight: bold;
    padding: 8px 12px;
}

.gate-submit:active {
    box-shadow: 1px 1px 0 #000;
    transform: translate(3px, 3px);
}

ul {
    list-style-type: "➤ ";
    padding-left: 20px;
}

.gif-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.gif-container img {
    margin: 10px;
    image-rendering: pixelated;
}

footer {
    margin-top: 40px;
    font-size: 0.8em;
    text-align: center;
    border-top: 1px dashed #000;
    padding-top: 20px;
}
