html, body {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

body {
    height: 100vh;
    font-family: "Courier Prime", monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1em;

    line-height: 2em;
}

body:has(#dark-mode:checked) {
    color: white;
    background-color: #121212;
}

figcaption {
    text-align: center;
    font-size: 8px;
}

.dark-mode {
    margin: 0;
    text-align: center;
}

.main {
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.section {
    display: flex;
    text-align: justify;
    margin: 2em;
}

.section.first {
    margin-top: 1em;
}

.section.image {
    margin: auto;
    justify-content: center;
    width: 50%;
}

.section.video {
    margin: auto;
    justify-content: center;
    width: 80%;
}

.section.video video {
    width: 100%;
    border-radius: 1em;
}

.section.final {
    font-size: 1.5em;
    text-align: center;
    justify-content: center;
    padding-bottom: 2em;
}

.frame {
    margin: auto;
    border-radius: 12px;
    justify-content: center;
}

.easter-egg {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
    color: rgb(119, 162, 241);
}

.easter-egg .easter-egg-text {
    visibility: hidden;
    text-align: center;
    position: absolute;
    z-index: 1;
    width: 700%;
    height: 100%;
}

.easter-egg:hover .easter-egg-text {
    color: white;
    visibility: visible;
    height: 100%;
    position: absolute;
}

.easter-egg:hover .easter-egg-text .easter-egg-span {
    background-color: rgb(112, 0, 0);
}

.easter-egg:hover .easter-egg-text img {
    width: 100%;
    border-radius: 1em;
}
