/* =========================================================
   COVERTAPE
   Games from Insert Disk 2
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(0,0,0,.025) 1px,
            transparent 1px
        );

    background-size: 20px 20px;

    background-color: #e9e4d4;

    color: #171717;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* =========================================================
   SITE
   ========================================================= */

.site {

    max-width: 1300px;

    margin: auto;

    background: #f5f0df;

    border-left: 3px solid #171717;
    border-right: 3px solid #171717;

    min-height: 100vh;
}


/* =========================================================
   HEADER
   ========================================================= */

header {
    border-bottom: 4px solid #171717;
}

.disk-warning {

    background: #171717;

    color: #f5f0df;

    padding: 7px 20px;

    display: flex;

    justify-content: space-between;

    font-family: "Courier New", monospace;

    font-size: 11px;

    font-weight: bold;
}


/* =========================================================
   LOGO AREA
   ========================================================= */

.logo-area {

    padding: 45px 50px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 40px;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo {
    line-height: .8;
}

.logo-small {

    font-family: "Courier New", monospace;

    font-size: 15px;

    letter-spacing: 5px;

    margin-left: 5px;

    margin-bottom: 8px;
}

.logo-main {

    font-size: clamp(50px, 8vw, 100px);

    font-weight: 900;

    letter-spacing: -7px;
}

.logo-disk {

    font-family: "Courier New", monospace;

    font-size: clamp(30px, 5vw, 60px);

    font-weight: bold;

    letter-spacing: 5px;

    margin-top: 10px;
}

.logo-disk span {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 55px;

    height: 55px;

    background: #171717;

    color: #f5f0df;

    transform: rotate(-4deg);

    margin-left: 5px;
}


/* =========================================================
   HEADER NOTE
   ========================================================= */

.header-note {

    max-width: 280px;

    padding: 20px;

    border: 3px solid #171717;

    background: #d4cbb3;

    transform: rotate(2deg);

    box-shadow: 7px 7px 0 #171717;

    font-family: "Courier New", monospace;
}

.header-note .blink {

    color: #d40000;

    font-size: 20px;

    display: inline-block;

    margin-right: 7px;

    animation: blink 1s steps(2) infinite;
}

.header-note strong {
    font-size: 14px;
}

.header-note p {

    margin-top: 12px;

    font-size: 12px;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

nav {

    display: flex;

    border-top: 3px solid #171717;
}

nav a {

    flex: 1;

    padding: 15px;

    border-right: 2px solid #171717;

    text-align: center;

    font-family: "Courier New", monospace;

    font-size: 11px;

    font-weight: bold;

    transition: .15s;
}

nav a:first-child {
    border-left: 0;
}

nav a:last-child {
    border-right: 0;
}

nav a span {

    display: block;

    font-size: 9px;

    margin-bottom: 4px;

    opacity: .5;
}

nav a:hover {

    background: #171717;

    color: #f5f0df;
}


/* =========================================================
   MAIN
   ========================================================= */

main {
    padding: 70px 50px;
}


/* =========================================================
   COVERTAPE HERO
   ========================================================= */

.cov​​ertape-hero {

    display: grid;

    grid-template-columns: 1.3fr .7fr;

    gap: 60px;

    align-items: center;

    margin-bottom: 100px;
}

.hero-label {

    display: inline-block;

    padding: 6px 10px;

    background: #171717;

    color: #b9ff6b;

    font-family: "Courier New", monospace;

    font-size: 11px;

    font-weight: bold;
}

.cov​​ertape-hero h1 {

    margin-top: 20px;

    font-size: clamp(55px, 9vw, 110px);

    line-height: .82;

    letter-spacing: -7px;
}

.cov​​ertape-hero h1 span {

    display: block;

    font-family: Georgia, serif;

    font-size: .48em;

    font-weight: normal;

    letter-spacing: -2px;

    margin-top: 15px;
}

.cov​​ertape-hero p {

    max-width: 650px;

    margin-top: 30px;

    font-size: 18px;
}


/* =========================================================
   CASSETTE
   ========================================================= */

.cassette {

    position: relative;

    background: #aaa99d;

    border: 5px solid #171717;

    padding: 25px;

    min-height: 300px;

    box-shadow: 10px 10px 0 #171717;

    transform: rotate(2deg);
}

.cassette-label {

    position: relative;

    z-index: 2;

    background: #f5f0df;

    border: 3px solid #171717;

    padding: 18px;

    text-align: center;

    font-family: "Courier New", monospace;
}

.cassette-label strong {

    display: block;

    font-size: 25px;

    letter-spacing: 3px;
}

.cassette-label span {

    display: block;

    margin-top: 5px;

    font-size: 10px;
}

.cassette-label small {

    display: block;

    margin-top: 15px;

    font-size: 9px;
}

.cassette-reel {

    position: absolute;

    bottom: 35px;

    width: 75px;

    height: 75px;

    border-radius: 50%;

    background: #171717;

    border: 12px solid #444;

}

.cassette-reel::after {

    content: "";

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    width: 18px;

    height: 18px;

    background: #aaa99d;

    border: 4px solid #171717;

    border-radius: 50%;
}

.cassette-reel.left {
    left: 35px;
}

.cassette-reel.right {
    right: 35px;
}


/* =========================================================
   BUTTON
   ========================================================= */

.big-button {

    display: inline-block;

    margin-top: 30px;

    padding: 15px 20px;

    border: 3px solid #171717;

    background: #b9ff6b;

    color: #171717;

    font-family: "Courier New", monospace;

    font-size: 12px;

    font-weight: bold;

    box-shadow: 5px 5px 0 #171717;

    transition: .15s;
}

.big-button:hover {

    transform: translate(5px,5px);

    box-shadow: none;

    background: #171717;

    color: #f5f0df;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    margin-bottom: 100px;
}

.section-title {

    display: flex;

    align-items: flex-start;

    gap: 20px;

    margin-bottom: 30px;
}

.section-title .number {

    border: 2px solid #171717;

    padding: 5px 9px;

    font-family: "Courier New", monospace;

    font-weight: bold;

    font-size: 12px;
}

.section-title small {

    display: block;

    font-family: "Courier New", monospace;

    font-size: 10px;

    letter-spacing: 2px;

    margin-bottom: 4px;
}

.section-title h2 {

    margin-top: 4px;

    font-size: 40px;

    line-height: 1;

    letter-spacing: -2px;
}


/* =========================================================
   GAME CARDS
   ========================================================= */

.cards {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.card {

    background: #fffdf4;

    border: 3px solid #171717;

    box-shadow: 6px 6px 0 #171717;

    transition: .15s;

    min-width: 0;
}

.card:hover {

    transform: translateY(-6px);
}


/* =========================================================
   GAME IMAGE
   ========================================================= */

.card-image {

    height: 230px;

    border-bottom: 3px solid #171717;

    background: #c8c0aa;

    overflow: hidden;

    position: relative;
}

.card-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;
}

.image-label {

    position: absolute;

    top: 12px;

    left: 12px;

    z-index: 2;

    background: #171717;

    color: white;

    padding: 5px 8px;

    font-family: "Courier New", monospace;

    font-size: 9px;
}


/* =========================================================
   GAME PLACEHOLDER
   ========================================================= */

.game-placeholder {

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #272727;

    color: #b9ff6b;

    font-family: "Courier New", monospace;

    font-size: 35px;

    font-weight: bold;

    letter-spacing: 3px;
}


/* =========================================================
   CARD BODY
   ========================================================= */

.card-body {

    padding: 25px;
}

.tag {

    font-family: "Courier New", monospace;

    font-size: 9px;

    font-weight: bold;

    letter-spacing: 2px;
}

.card h3 {

    margin-top: 8px;

    font-size: 25px;

    line-height: 1.05;
}

.card p {

    margin-top: 15px;

    font-size: 14px;
}

.card a {

    display: inline-block;

    margin-top: 20px;

    font-family: "Courier New", monospace;

    font-size: 10px;

    font-weight: bold;

    border-bottom: 2px solid #171717;
}

.card a:hover {

    background: #171717;

    color: #f5f0df;
}


/* =========================================================
   GAME INFORMATION
   ========================================================= */

.game-info {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    margin-top: 20px;

    border-top: 2px solid #171717;
}

.game-info div {

    padding: 12px;

    border-right: 1px solid #aaa;

    font-family: "Courier New", monospace;

    font-size: 9px;
}

.game-info div:last-child {
    border-right: 0;
}

.game-info strong {

    display: block;

    font-size: 11px;
}


/* =========================================================
   FEATURED GAME
   ========================================================= */

.featured-game {

    display: grid;

    grid-template-columns: 1.2fr 1fr;

    background: #fffdf4;

    border: 4px solid #171717;

    box-shadow: 8px 8px 0 #171717;

    margin-bottom: 80px;
}

.featured-game-image {

    min-height: 420px;

    background: #272727;

    display: flex;

    align-items: center;

    justify-content: center;

    border-right: 4px solid #171717;

    overflow: hidden;
}

.featured-game-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;
}

.featured-placeholder {

    color: #b9ff6b;

    font-family: "Courier New", monospace;

    font-size: 55px;

    font-weight: bold;

    text-align: center;
}

.featured-game-body {

    padding: 45px;
}

.featured-game-body .tag {

    background: #171717;

    color: #b9ff6b;

    padding: 6px 10px;

    display: inline-block;
}

.featured-game-body h2 {

    margin-top: 20px;

    font-size: clamp(40px, 5vw, 65px);

    line-height: .9;

    letter-spacing: -4px;
}

.featured-game-body p {

    margin-top: 25px;

    font-size: 17px;
}

.featured-game-body .big-button {

    margin-top: 30px;
}


/* =========================================================
   TERMINAL STRIP
   ========================================================= */

.terminal {

    background: #202020;

    color: #b9ff6b;

    border: 4px solid #171717;

    box-shadow: 8px 8px 0 #171717;

    margin-bottom: 100px;

    font-family: "Courier New", monospace;
}

.terminal-header {

    padding: 10px 15px;

    background: #171717;

    border-bottom: 2px solid #555;

    font-size: 11px;

    font-weight: bold;
}

.terminal-body {

    padding: 30px;

    font-size: 14px;

    line-height: 1.8;
}

.terminal-body .dim {
    color: #777;
}

.terminal-body .prompt {
    color: white;
}


/* =========================================================
   ABOUT COVERTAPE
   ========================================================= */

.about {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    padding: 45px;

    border: 3px solid #171717;

    background: #d4cbb3;
}

.about h2 {

    margin-top: 10px;

    font-size: 45px;

    letter-spacing: -3px;
}

.about p {

    max-width: 700px;

    margin-top: 10px;

    font-size: 16px;
}


/* =========================================================
   INSERT DISK 2 LINK
   ========================================================= */

.parent-site {

    margin-top: 30px;

    padding: 25px;

    border: 3px solid #171717;

    background: #fff9bd;

    font-family: "Courier New", monospace;
}

.parent-site strong {

    display: block;

    font-size: 14px;
}

.parent-site a {

    display: inline-block;

    margin-top: 12px;

    font-weight: bold;

    border-bottom: 2px solid #171717;
}

.parent-site a:hover {

    background: #171717;

    color: #f5f0df;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {

    background: #171717;

    color: #f5f0df;

    padding: 35px 50px 20px;
}

.footer-top {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    font-family: "Courier New", monospace;

    font-size: 10px;
}

.footer-top strong {
    font-size: 18px;
}

.footer-bottom {

    margin-top: 35px;

    padding-top: 15px;

    border-top: 1px solid #555;

    display: flex;

    justify-content: space-between;

    font-family: "Courier New", monospace;

    font-size: 9px;

    color: #999;
}


/* =========================================================
   ANIMATION
   ========================================================= */

@keyframes blink {

    50% {
        opacity: 0;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .logo-area {

        flex-direction: column;

        align-items: flex-start;
    }

    .cov​​ertape-hero {

        grid-template-columns: 1fr;
    }

    .featured-game {

        grid-template-columns: 1fr;
    }

    .featured-game-image {

        border-right: 0;

        border-bottom: 4px solid #171717;

        min-height: 350px;
    }

    .cards {

        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {

        flex-direction: column;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .logo-area {
        padding: 35px 25px;
    }

    nav {

        display: grid;

        grid-template-columns: 1fr 1fr;
    }

    nav a {

        border-bottom: 2px solid #171717;
    }

    main {

        padding: 50px 20px;
    }

    .cov​​ertape-hero h1 {

        font-size: 55px;
    }

    .cards {

        grid-template-columns: 1fr;
    }

    .section-title h2 {

        font-size: 30px;
    }

    .featured-game-body {

        padding: 30px;
    }

    .featured-game-body h2 {

        font-size: 45px;
    }

    .featured-game-image {

        min-height: 250px;
    }

    .featured-placeholder {

        font-size: 35px;
    }

    .game-info {

        grid-template-columns: 1fr;
    }

    .game-info div {

        border-right: 0;

        border-bottom: 1px solid #aaa;
    }

    .game-info div:last-child {

        border-bottom: 0;
    }

    .about {

        flex-direction: column;

        align-items: flex-start;

        padding: 30px;
    }

    .footer-top,
    .footer-bottom {

        flex-direction: column;
    }
}


/* =========================================================
   VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 400px) {

    .disk-warning {

        font-size: 9px;

        padding: 7px 12px;
    }

    .logo-area {

        padding: 30px 18px;
    }

    .logo-main {

        letter-spacing: -4px;
    }

    .logo-disk {

        letter-spacing: 2px;
    }

    .logo-disk span {

        width: 42px;

        height: 42px;
    }

    main {

        padding: 40px 15px;
    }

    .card-body {

        padding: 20px;
    }

    .card h3 {

        font-size: 22px;
    }

    .featured-game-body {

        padding: 25px;
    }

    .featured-game-body h2 {

        font-size: 40px;
    }

    footer {

        padding: 30px 20px 20px;
    }
}