/* ===== SHARED STYLES ===== */

/* Color Variables */
:root {
    --dark-gray: #9a9a9a;
    --light-gray: #bdbdbd;
    --darkcyan: darkcyan;
    --padding-small: 5px;
    --padding-medium: 10px;
    --padding-large: 20px;
    --shadow-standard: 4px 4px 0px darkcyan;
    --shadow-small: 2px 2px 0px #4d4d4d;
}

/* Body & General */
body {
    font-family: Garamond, serif;
    background-image: url("images/background.jpg");
    margin: 0;
}

p {
    margin-top: 0;
}

/* Common Box Styles */
.box-retro {
    background-color: var(--dark-gray);
    border: outset blueviolet;
    box-shadow: var(--shadow-standard);
    padding: var(--padding-small);
}

.box-heading {
    margin-top: 0;
    color: black;
    text-decoration: underline;
    text-decoration-color: blue;
}

/* 3D Button Styles */
.button-3d {
    display: inline-block;
    padding: 6px 10px;
    background-color: var(--light-gray);
    border: 2px solid #6b6b6b;
    border-top-color: #e6e6e6;
    border-left-color: #e6e6e6;
    border-right-color: #6b6b6b;
    border-bottom-color: #6b6b6b;
    text-decoration: none;
    color: black;
    box-shadow: var(--shadow-small);
    cursor: pointer;
}

.button-3d:hover {
    background-color: #cfcfcf;
}

.button-3d:active {
    box-shadow: 1px 1px 0px #4d4d4d;
    transform: translate(1px, 1px);
    border-top-color: #6b6b6b;
    border-left-color: #6b6b6b;
    border-right-color: #e6e6e6;
    border-bottom-color: #e6e6e6;
}

/* Scroll Container */
.scroll-container {
    overflow-y: scroll;
    border: 1px solid black;
    padding: 6px;
    background-color: var(--darkcyan);
    box-shadow: inset 4px 4px 0px rgba(0, 0, 0, 0.2);
}

/* Back Link */
.back-link {
    display: inline-block;
    margin-bottom: var(--padding-large);
    color: blue;
    text-decoration: underline;
    font-size: 16px;
}

.back-link:hover {
    color: blueviolet;
}
