body {
    display: inline !important;
    margin: 0;
    padding: 0;
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    font-family: sans-serif;
}

.backgrounded {
    background-attachment: fixed;
    background-position: bottom center;
    background-size: cover;
}

@media (width <= 1920px),(height <= 1280px) {
    .backgrounded {
        background-image: url('bg-small.avif');
    }
}

@media (1920px < width <= 2560px),(1280px < height <= 1440px) {
    .backgrounded {
        background-image: url('bg-medium.avif');
    }
}

@media (2560px < width),(1440px < height) {
    .backgrounded {
        background-image: url('bg-large.avif');
    }
}

.glass-div {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    outline: 1px solid rgba(0, 0, 0, 0.4);
}

.nav {
    position: absolute;
    width: 100px;
    margin-left: -375px;
    top: 150px;
    left: 50%;
    text-align: center;
    box-shadow: 2px 2px 4px black;
    background: linear-gradient(to bottom, rgba(70, 70, 70, 0.7), rgba(0, 0, 0, 0.7));
    border-radius: 5px;
    user-select: none;
}

.nav-list {
    margin-top: 27px;
    list-style-type: none;
    padding-top: 5px;
    padding-bottom: 10px;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nav-list > a > div {
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0);
    display: block;
    padding: 6px;
    font-size: 12px;
    color: white;
}

.nav-list > a {
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0);
    width: 86px;
    margin-top: 4px;
    text-decoration: none;
}

.nav-list > a:hover, .nav-list > a:focus-visible {
    border-color: rgba(0, 0, 0, 1);
    outline: 1px solid rgba(255, 255, 255, 0.3);
    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.3), rgba(200, 200, 200, 0.3) 50%,
            rgba(0, 0, 0, 0.3) 50%, rgba(200, 200, 200, 0.3)
        );
}

.nav-list > a:hover > div, .nav-list > a:focus-visible > div {
    border-color: rgba(255, 255, 255, 0.5);
}

.aero-details {
    margin: 10px 5px 15px 5px;
}

.aero-details > summary {
    cursor: pointer;
    display: flex;
    margin-left: 6px;
    margin-right: 6px;
    position: relative;
    z-index: 1;
}

.summary-title {
    font-size: 12px;
    color: rgb(0, 51, 153);
    margin-right: 5px;
}

.summary-bar {
    content: "";
    flex-grow: 1;
    height: 0;
    margin-top: 7px;
    border-top: 1px solid rgb(176, 191, 222);
}

.summary-expand {
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 13px;
    width: 7px;
    height: 5px;
    padding: 4px 3px 4px 3px;
    text-align: center;
    margin-left: 5px;
    user-select: none;
}

.aero-details[open] > summary > .summary-expand {
    transform: scale(1, -1);
}

.summary-expand:hover {
    border: 1px solid rgb(107, 144, 197);
}


/* 404 403 */

.error {
    width: 100vw;
    height: 100vh;
    background-repeat: repeat;
    background-image: url('nooneshere.gif');
}

.error > div {
    color: black;
    position: absolute;
    width: 200px;
    margin-left: -100px;
    left: 50%;
    top: 50%;
    font-size: 50px;
    text-align: center;
    font-weight: bold;
}


/* Home page */

.profile-icon {
    position: absolute;
    width: 52px;
    height: 52px;
    margin-left: -350px;
    top: 125px;
    left: 50%;
    z-index: 1;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    user-select: none;
}

.profile-icon > img {
    border: 1px solid rgba(0, 0, 0, 0.75);
    outline: 1px solid rgba(255, 255, 255, 0.5);
    background: white;
    margin: 2px;
    width: 46px;
}

.main {
    position: absolute;
    width: 680px;
    height: 650px;
    margin-left: -250px;
    top: 150px;
    left: 50%;
    box-shadow: 0 0 20px black;
}

.main > iframe {
    width: 672px;
    height: 650px;
    border: none;
    margin-left: 4px;
    margin-top: 3px;
}

.external-links {
    position: absolute;
    margin-left: -300px;
    top: 590px;
    left: 50%;
    display: flex;
    flex-direction: column;
    user-select: none;
}

.external-links > a {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    outline: 1px solid rgba(0, 0, 0, 0.4);
    width: 24px;
    height: 24px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    margin: 5px;
}

.external-links > a > svg {
    width: 100%;
    height: 100%;
}

.external-links > a:hover, .external-links > a:focus-visible {
    width: 30px;
    height: 30px;
    margin: 2px;
}

.buttons {
    position: absolute;
    margin-right: -430px;
    top: 820px;
    right: 50%;
    display: flex;
}

.buttons > * {
    margin-right: 10px;
}

.photo-creds {
    position: absolute;
    text-align: right;
    bottom: 0px;
    right: 40px;
    z-index: -1;
    height: 80px;
    font-size: 12px;
}

@media (height <= 950px) {
    .photo-creds {
        top: 870px;
        height: 60px;
    }
}


/* Subpages */

.subpage {
    display: block !important;
    margin: auto;
    width: 672px;
    overflow: clip;
}

.window-title {
    font-size: 12px;
    height: 17px;
    text-shadow: 0 0 5px white;
    cursor: default;
    user-select: none;
    visibility: collapse;
}

.window-content {
    border: 1px solid rgba(0, 0, 0, 0.75);
    outline: 1px solid rgba(255, 255, 255, 0.5);
    background: white;
    margin: 1px;
    margin-top: 5px;
    height: 618px;
    overflow-y: scroll;
    scrollbar-width: none;
}

.return-button {
    margin-left: -450px;
    top: 300px;
    height: 33px;
    width: 88px;
    visibility: visible;
}

.return-button > div {
    margin: 0;
    padding: 0;
}

.return-button > div > a {
    margin: 0;
    padding: 0;
}

/* When in iframe */
@media (width > 671px) and (width < 673px) and (height > 649px) and (height < 651px) {
    .subpage {
        background-image: none;
        height: auto;
    }
    .window-title {
        visibility: visible;
    }
    .return-button {
        visibility: collapse;
    }
}


/* About */

.menu-bar {
    height: 18px;
    background:
        linear-gradient(
            to bottom,
            rgb(255, 255, 255), rgb(228, 235, 246) 50%,
            rgb(227, 230, 243) 50%
        );
    border-bottom: solid 1px rgb(184, 187, 198);
    outline: solid 1px rgb(230, 244, 255);
}

.about-text {
    margin-top: 1px;
    padding: 2px;
    height: 592px;
    border: solid 1px rgb(185, 208, 223);
    border-top: solid 1px rgb(91, 117, 140);
}

@keyframes blink {
    0%   { opacity: 0; }
    100% { opacity: 100%; }
}

.about-text::after {
    content: "";
    width: 1px;
    height: 18px;
    background: black;
    display: block;
    animation: blink 1s steps(2) infinite;
}


/* Games */

.game {
    position: absolute;
    width: 670px;
    height: 620px;
    pointer-events: none;
}

.game:focus-visible {
    outline: none;
}

.game-thumb {
    position: absolute;
    margin: 12px;
    padding: 10px;
    padding-bottom: 5px;
    pointer-events: auto;
    cursor: pointer;
    border-radius: 3px;
    user-select: none;
}

.game-thumb::before {
    content: "";
    width: 157px;
    height: 125px;
    border: 4px solid white;
    outline: 1px solid gray;
    display: block;
    background-size: 315px;
    background-image: url('thumbs.avif');
}

.game-thumb > div {
    color: black;
    text-align: center;
    font-size: 12px;
    margin-top: 4px;
}

.game-details-area {
    position: absolute;
    left: 50%;
    margin-left: 75px;
    width: 1px;
    height: 618px;
    border-left: solid 1px rgb(221,228,232);
}

.game-details {
    position: absolute;
    left: 415px;
    top: 0;
    width: 250px;
    height: 100%;
    visibility: collapse;
    text-align: center;
}

.game-details::before {
    content: "";
    display: block;
    background-size: 200px auto;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 200px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.game:focus-within > .game-details {
    visibility: visible;
    pointer-events: auto;
}

.game:focus-within > .game-thumb {
    background: linear-gradient(to bottom, rgba(240, 250, 255), rgba(210, 240, 255));
    outline: solid 1px lightblue;
}

#bnuuy > .game-thumb {
    top: 0;
    left: 0;
}

#bnuuy > .game-thumb::before {
    background-position: top left;
}

#bnuuy:focus-within > .game-details::before {
    background-image: url('bnuuyvid.avif');
}

#fineprinting > .game-thumb {
    top: 0;
    left: 200px;
}

#fineprinting > .game-thumb::before {
    background-position: top right;
}

#fineprinting:focus-within > .game-details::before {
    background-image: url('fineprintingvid.avif');
}

#asabove > .game-thumb {
    top: 180px;
    left: 0;
}

#asabove > .game-thumb::before {
    background-position: center left;
}

#asabove:focus-within > .game-details::before {
    background-image: url('asabovevid.avif');
}

#unemployer > .game-thumb {
    top: 180px;
    left: 200px;
}

#unemployer > .game-thumb::before {
    background-position: center right;
}

#unemployer:focus-within > .game-details::before {
    background-image: url('unemployervid.avif');
}

#froghole > .game-thumb {
    top: 360px;
    left: 0;
}

#froghole > .game-thumb::before {
    background-position: bottom left;
}

#froghole:focus-within > .game-details::before {
    background-image: url('frogholevid.avif');
}


/* Reviews */

.reviews {
    scrollbar-width: thin;
}

.review-entry[open] {
    margin-bottom: 20px;
}

.review-date {
    font-family: monospace;
    text-align: right;
    margin-right: 26px;
    color: gray;
}

.review-text {
    margin-right: 30px;
    margin-left: 10px;
    font-family: serif;
    font-size: 16px;
    margin-top: -40px;
    padding-top: 40px;
}


/* Resources */

.resources {
    scrollbar-width: thin;
}

.resource-header {
    display: flex;
    height: 24px;
    position: fixed;
    width: 668px;
    z-index: 3;
    font-size: 12px;
}

.resource-header > div {
    background:
        linear-gradient(
            to bottom,
            rgb(255, 255, 255) 40%,
            rgb(244, 244, 244) 40%
        );
    padding-top: 2px;
    margin-right: 1px;
    border-top: 1px solid rgb(230, 230, 230);
    border-bottom: 1px solid rgb(230, 230, 230);
}

.resource-header > div > div {
    padding-left: 5px;
}

.resource-group {
    position: sticky;
    z-index: 2;
}

.resource-group:first-of-type {
    margin-top: 30px;
}

.resource-group > summary {
    margin-bottom: 5px;
}

.resource-group > a {
    height: 17px;
    margin-top: 1px;
    display: flex;
    text-decoration: none;
    color: black;
    border: 1px solid transparent;
    border-radius: 3px;
    margin-left: 5px;
    padding-left: 4px;
}

.resource-group > a:hover, .resource-group > a:focus-visible {
    border: 1px solid rgba(0, 170, 242, 0.41);
    background: linear-gradient(to bottom, rgba(0, 170, 255, 0.06), rgba(0, 170, 255, 0.18));
    outline: none;
}

.resource-group > a > div {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
}

.resource-group > a > div:first-child::before {
    content: "↗ ";
}

.resource-name {
    width: 180px;
}

a > .resource-name {
    margin-right: 2px;
    width: calc(180px - 16px);
}

.resource-description {
    width: 380px;
}

a > .resource-description {
    margin-left: 12px;
    margin-right: 2px;
    width: calc(380px - 14px);
}

.resource-details {
    flex: 1;
}

a > .resource-details {
    margin-left: 12px;
    margin-right: 2px;
}

.dividers {
    display: flex;
    height: 618px;
    position: fixed;
    width: 668px;
    pointer-events: none;
}

.dividers > div {
    border-right: 1px solid rgb(230, 230, 230);
}


/* Gallery */

.gallery {
    display: flex;
    overflow-y: clip;
}

.camera-details {
    width: 150px;
    border-right: solid 1px rgb(221,228,232);
    text-align: center;
    display: block;
    font-size: 12px;
}

.camera-details > img {
    width: 100px;
}

.camera-title {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.camera-spec {
    margin-top: 15px;
}

.camera-spec > div:first-child {
    color: gray;
}

.photo-album {
    flex: 1;
    overflow-y: scroll;
    scrollbar-width: thin;
}

.album-details > summary > .summary-title {
    color: gray;
}

.album-details > summary > .summary-bar {
    border-top: 1px solid gray;
}

.album-details > summary > .summary-expand {
    height: 4px;
}

.album-details > summary > .summary-expand:hover {
    border: 1px solid gray;
}

.photo-container {
    display: inline-block;
    margin-left: 5px;
    margin-top: 10px;
}

.photo-container > div {
    display: inline-block;
}

.photo-container > div:focus-visible {
    outline: none;
}

.photo-container > div > div {
    padding: 20px 10px 20px 10px;
    display: inline-block;
    border-radius: 3px;
    border: 1px solid transparent;
}

.photo-container > div > div:hover, .photo-container > div:focus-visible > div, .photo-container > div:focus-visible > div {
    background: linear-gradient(to bottom, rgba(240, 250, 255), rgba(210, 240, 255));
    border: 1px solid lightblue;
    cursor: pointer;
}

.photo-container > div > div > img {
    width: 120px;
    height: 90px;
    border: 4px solid white;
    outline: 1px solid gray;
    user-select: none;
    pointer-events: none;
    object-fit: cover;
    background: black;
}

.photo-container > div > div:focus > img {
    position: absolute;
    top: 23px;
    left: 50%;
    margin-left: -334px;
    width: 668px;
    height: 618px;
    outline: none;
    pointer-events: auto;
    border: none;
    z-index: 4;
    object-fit: contain;
}


/* Unused */

.taskbar {
    position: absolute;
    display: inline-flex;
    top: 221px;
    height: 27px;
    width: 250px;
    outline: 1px solid rgba(70, 70, 70, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0);
    background:
        linear-gradient(
            to bottom,
            rgba(200, 200, 200, 0.7),
            rgba(150, 150, 150, 0.7) 50%,
            rgba(125, 125, 125, 0.7) 50%
        );
}

.task {
    width: 123px;
    height: 26px;
    margin: 0px;
    padding: 0px;
    margin-top: -1px;
    border: 1px solid rgba(70, 70, 70, 0.2);
    border-radius: 3px;
}

.task > div {
    border: 1px solid rgba(70, 70, 70, 0.7);
    border-radius: 3px;
    height: 24px;
}

.task > div > div {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    height: 22px;
}

.task > div > div > div {
    color: white;
    font-size: 12px;
    padding-left: 3px;
    padding-top: 3px;
    height: 20px;
}

.task-selected > div, .task:hover:active > div {
    border: 1px solid rgba(0, 0, 0, 1);
}

.task-selected > div > div, .task:hover:active > div > div {
    border: 1px solid rgba(255, 255, 255, 0);
    border-top: 1px solid rgba(50, 50, 50, 1);
    background: rgba(0, 0, 0, 0.7);
}

.task:hover > div > div > div {
    background:
        radial-gradient(
            70% 80% at bottom,
            rgba(78, 217, 226, 1),
            rgba(78, 217, 226, 0)
        );
}

.task:hover:active > div > div > div {
    background: none;
}

.task-link > div > div > div > a {
    margin: -3px;
    padding: 3px;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
    font-size: 12px;
    cursor: default;
    display: inline-flex;
}

.task-link > div > div > div > a > img {
    width: 15px;
    height: 15px;
    padding-top: 1px;
    padding-right: 5px;
}
