@charset "utf-8";

/* -------------------- FONTS -------------------- */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&family=Workbench&display=swap');

/* -------------------- BASE STYLES -------------------- */
* {
    font-family: "Source Code Pro";
    color: cyan;
    box-sizing: border-box;
    scrollbar-width: thin;          /* Firefox */
    scrollbar-color: cyan black;    /* Firefox thumb & track */
}

body {
    background-color: black;
    margin: 0;
    padding: 0;
}

p {
    text-shadow: 0 0 4px cyan;
}

/* -------------------- HEADINGS -------------------- */
h1, h2 {
    background-color: cyan;
    color: black;
    box-shadow: 0 0 4px cyan;
    transition: box-shadow 0.3s ease;
    padding: 4px 8px;
}

h1:hover, h2:hover {
    box-shadow: 0 0 16px cyan;
}

/* -------------------- RATING -------------------- */
rating {
    font-size: 3em;
    font-weight: 900;
    text-shadow: 0 0 4px cyan;
}

/* -------------------- GRAPHICS / CARDS -------------------- */
.graphic {
    border: thin solid cyan;
    background-color: cyan;
    width: 360px;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: left;
    box-shadow: 0 0 8px cyan;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
    transform-origin: center;
    overflow: hidden;
}

.graphic:hover {
    transform: scale(1.5);
    box-shadow: 0 0 24px cyan;
}

.graphic p {
    text-align: center;
    background-color: cyan;
    color: black;
    font-weight: bold;
    font-style: italic;
}

/* -------------------- COVER IMAGE CONTAINER -------------------- */
#coverimage-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 16px;
}

#coverimage-container p {
    text-align: center;
    font-weight: bolder;
    text-shadow: 0 0 8px cyan;
    flex-wrap: wrap;
}

/* -------------------- COVER CARDS -------------------- */
.cover {
    display: flex;
    flex-direction: column;
    height: 270px;
    width: 180px;
    min-height: 9px;
    min-width: 6px;
    margin: 32px;
    margin-bottom: -16px;
    justify-content: center;
    align-content: center;
    transition: all 0.3s ease;
}

.cover:hover {
    height: 360px;
    width: 240px;
    animation: saturate 2s both;
}

/* -------------------- ROWS -------------------- */
.row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
}

/* -------------------- EFFECTS -------------------- */
.black-and-white {
    filter: saturate(0);
}

.float-shadow {
    display: inline-block;
    position: relative;
    transition: all 1s;
}

.float-shadow:hover {
    transform: translateY(-5px);
}

/* -------------------- SCROLLBARS -------------------- */
*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: black;
}

*::-webkit-scrollbar-thumb {
    background-color: cyan;
    border-radius: 4px;
    border: 2px solid black;
}

/* -------------------- ACCORDION -------------------- */
.accordion {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    border: 2px solid cyan;
    overflow: hidden;
    background: black;
    box-shadow: 0 0 8px cyan;
}

.accordion-header {
    background: cyan;
    color: black;
    font-weight: 900;
    font-size: 1.2em;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-align: left;
    border: none;
    outline: none;
    padding: 0.8rem 1rem;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.accordion-header:hover {
    background: #00ffff99;
    box-shadow: 0 0 10px cyan;
}

.accordion-content {
    display: none;
    flex-direction: column;
    background: black;
    overflow: hidden;
    padding: 0.5rem 1rem 1rem;
    animation: fadeIn 0.4s ease-in-out;
}

.accordion.active .accordion-content {
    display: flex;
}

.accordion-content iframe {
    width: 100%;
    height: 720px;
    margin-bottom: 1rem;
    border: none;
}

.accordion-content a {
    color: cyan;
    margin: 0.2rem 0;
    text-decoration: underline;
}

.accordion-content a:hover {
    text-decoration: none;
    color: #0ff;
}

/* -------------------- YOUTUBE EMBEDS -------------------- */
iframe {
    border: none;
}

/* -------------------- ANIMATIONS -------------------- */
@keyframes saturate {
    0% {
        filter: saturate(0%);
        drop-shadow: 0 0 0px cyan;
    }
    100% {
        filter: saturate(100%);
        drop-shadow: 0 0 16px cyan;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
