body { 
    background-color: rgb(0, 0, 0); 
    margin: 0; 
    color: white; 
}

@font-face { 
    font-family: 'Silkscreen'; 
    src: url('/fonts/slkscr.ttf') format('truetype'); 
    font-weight: normal; 
    font-style: normal; 
}

#link a { 
    color: white; 
    font-family: 'Silkscreen', sans-serif; 
    font-size: 40px; 
}

#link { 
    font-size: 30px; 
    text-align: center; 
}

body.tunes-page #centeredbox { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    width: 300px; 
    padding: 20px; 
    outline: 5px solid white; 
    max-width: 100%; 
    height: auto; 
    box-sizing: border-box; 
}

#autoplay-cover { 
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background-color: #000; 
    color: aliceblue; 
    z-index: 10005; 
    transition: opacity 1s; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

#autoplay-cover.hide { 
    opacity: 0; 
}

#mainimage { 
    height: 300px; 
}

body.favorites-page #favorites-centeredbox{
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    outline: 5px solid white;
    box-sizing: border-box;
}

#favorites-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.favorite-item {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: flex-start;
}

.left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.left-column img {
    width: 75%;
    height: auto;
}

.album-basic-info {
    flex: 1;
    font-size: 20px;
}

.right-column {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.track-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.album-description {
    margin-top: 20px;
    font-size: 20px;
    line-height: 1.5;
    color: #ffffff;
}

.main-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body.main-page #centeredbox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 15px;
    outline: 5px solid white;
    text-align: center;
    z-index: 5;
}

body.main-page #link {
    text-align: left;
}

#top-text {
    text-align: center;
    color: #ddd;
    font-size: 16px;
    max-width: 800px;
    line-height: 1.5;
    margin-bottom: 900px;
    z-index: 5;
}

.float-img {
    position: absolute;
    width: 55px;
    height: 55px;
    z-index: 10;
}

.float-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.img1 { left: -80px; top: 20%; }
.img2 { left: -80px; top: 45%; }
.img3 { left: -80px; top: 70%; }

.img4 { right: -80px; top: 20%; }
.img5 { right: -80px; top: 45%; }
.img6 { right: -80px; top: 70%; }

.img7  { top: -80px; left: 25%; }
.img8  { top: -80px; left: 50%; transform: translateX(-50%); }
.img9  { top: -80px; right: 25%; }

.img10 { bottom: -80px; left: 25%; }
.img11 { bottom: -80px; left: 50%; transform: translateX(-50%); }
.img12 { bottom: -80px; right: 25%; }

body.uziq #centeredbox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 20px;
    outline: 5px solid white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 5;
}

body.corbz-page #favorites-centeredbox {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    outline: 5px solid white;
    box-sizing: border-box;
}

body.corbz-page #favorites-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

body.corbz-page .favorite-item {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: flex-start;
}

body.corbz-page .left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

body.corbz-page .left-column img {
    width: 75%;
    height: auto;
}

body.corbz-page .album-basic-info {
    flex: 1;
    font-size: 20px;
}

body.corbz-page .right-column {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

body.corbz-page .track-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

body.corbz-page .album-description {
    margin-top: 20px;
    font-size: 20px;
    line-height: 1.5;
    color: #ffffff;
}

body.my-music-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: black;
    font-family: 'Silkscreen', sans-serif;
    color: white;
}

body.my-music-page #my-music-centeredbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    outline: 5px solid white;
    max-width: 600px;
    width: 90%;
    box-sizing: border-box;
    text-align: center;
}

body.my-music-page #my-music-top-text {
    font-size: 20px;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
}

body.my-music-page .alias-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: flex-end;
}

body.my-music-page .alias-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Silkscreen', sans-serif;
    font-size: 16px;
}

body.my-music-page .alias-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

body.my-music-page .placeholder-img {
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    color: white;
    font-family: 'Silkscreen', sans-serif;
}

body.my-music-page .bash-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    object-position: top;
}

@media (max-width: 800px) {

    #centeredbox,
    #favorites-centeredbox,
    #my-music-centeredbox {
        width: 95%;
        padding: 15px;
        outline-width: 3px;
    }

    #link a {
        font-size: 28px;
    }
    #link {
        font-size: 22px;
    }

    .favorite-item {
        flex-direction: column;
        gap: 20px;
    }

    .left-column,
    .right-column {
        width: 100%;
    }

    .track-list {
        grid-template-columns: 1fr;
    }

    .track-list audio {
        max-width: 100%;
    }

    .album-description,
    .album-basic-info {
        font-size: 15px;
        line-height: 1.4;
    }

    .alias-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .alias-item p {
        font-size: 18px;
    }

    .alias-item img,
    .placeholder-img {
        width: 100%;
        height: auto;
    }

    .corbz-cover {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    body.main-page #centeredbox {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 95%;
        flex-direction: column;
        padding: 10px;
        outline-width: 3px;
    }

    body.main-page #centeredbox > * {
        margin-bottom: 10px;
    }

    .img1, .img2, .img3, 
    .img4, .img5, .img6,
    .img7, .img8, .img9,
    .img10, .img11, .img12 {
        display: none;
    }
}

body.scrafty-gallery-page #scrafty-centeredbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    outline: 5px solid white;
    box-sizing: border-box;
}

body.scrafty-gallery-page .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* each image 150px min, scale to fill */
    gap: 4px;
    width: 100%;
}

body.scrafty-gallery-page .gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    margin: 0;
}

#scrafty-instructions {
    font-size: 24px;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Silkscreen', sans-serif; 
}

body.unknown-artist-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: black;
    color: white;
    font-family: 'Silkscreen', sans-serif;
    text-align: center;
}

body.unknown-artist-page #unknown-centeredbox {
    width: 90%;
    max-width: 600px;
    padding: 20px;
    outline: 5px solid white;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 25px;
}

body.unknown-artist-page #unknown-centeredbox img {
    max-width: 50%;
    height: auto;
    border: 3px solid white;
    box-sizing: border-box;
}


@media (max-width: 800px) {
    body.scrafty-gallery-page .gallery-grid img {
        width: calc(50% - 4px);
    }
}

@media (max-width: 480px) {
    body.scrafty-gallery-page .gallery-grid img {
        width: 100%;
    }
}

@media (max-width: 800px) {
    body.scrafty-gallery-page .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 8px;
    }
}

@media (max-width: 480px) {
    body.scrafty-gallery-page #scrafty-centeredbox {
        width: 95%;
        padding: 10px;
        outline-width: 3px;
    }

    body.scrafty-gallery-page .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 5px;
    }
}

@media (max-width: 800px) {
    body.scrafty-gallery-page .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }

    body.scrafty-gallery-page .gallery-grid img {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    body.scrafty-gallery-page #scrafty-centeredbox {
        width: 95%;
        padding: 10px;
        outline-width: 3px;
    }

    body.scrafty-gallery-page .gallery-grid img {
        max-width: 100px;
    }
}

body.info-page {
    font-family: 'Silkscreen', sans-serif;
}


.info-page audio {
    display: block;
    margin: 10px auto 20px auto;
}

.info-text {
    text-align: center;
}

#info-centeredbox a {
    color: #ffffff;
    text-decoration: underline;
}

#info-centeredbox a:hover {
    opacity: 0.7;
}

body.history-page {
    background-color: black;
    color: white;
    margin: 0;
    font-family: 'Silkscreen', sans-serif;
}

@font-face {
    font-family: 'Silkscreen';
    src: url('/fonts/slkscr.ttf') format('truetype');
}

body.history-page #history-centeredbox {
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    outline: 5px solid white;
    text-align: center;
    box-sizing: border-box;
}

.history-heading {
    font-size: 40px;
    margin-bottom: 20px;
}

.history-text {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.history-image {
    width: 60%;
    margin: 20px 0;
    outline: 3px solid white;
}

body.goals-page {
    background-color: black;
    color: white;
    margin: 0;
    font-family: 'Silkscreen', sans-serif;
}

@font-face {
    font-family: 'Silkscreen';
    src: url('/fonts/slkscr.ttf') format('truetype');
}

body.goals-page #goals-centeredbox {
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    outline: 5px solid white;
    text-align: center;
    box-sizing: border-box;
}

.goals-heading {
    font-size: 40px;
    margin-bottom: 20px;
}

.goals-text {
    font-size: 20px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.goals-image {
    width: 60%;
    margin: 20px 0;
    outline: 3px solid white;
}

.goals-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    font-size: 22px;
    line-height: 1.8;
}

@media (max-width: 600px) {
    .goals-heading {
        font-size: 28px;
    }
    .goals-text,
    .goals-list {
        font-size: 16px;
    }
    .goals-image {
        width: 90%;
    }
}

@media (max-width: 600px) {
    .history-heading {
        font-size: 28px;
    }
    .history-text {
        font-size: 16px;
    }
    .history-image {
        width: 90%;
    }
}


#info-centeredbox {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    padding: 25px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 5px solid white;
    color: white;
    text-align: left;
    box-sizing: border-box;
}

.info-page h1.info-heading {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.info-text {
    font-size: 20px;
    line-height: 1.5;
}

.info-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 25px auto;
    border: 3px solid white;
}

.info-image2 {
    display: block;
    width: 450px;
        margin: 25px auto;
    border: 3px solid white;
}

.comp-grid img {
    width: 100%;
}

.comp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
}

.comp-item {
    position: relative;
}

.comp-item::after {
    content: attr(data-title);
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-family: 'Silkscreen', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

.comp-item:hover::after {
    opacity: 1;
}

.corbz-heading {
    font-family: 'Silkscreen', sans-serif;
    font-size: 32px;
    letter-spacing: 2px;
}

.video-section {
    width: 100%;
    margin: 30px 0;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    outline: 5px solid white;
    background: black;
}

.video-wrapper video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: black;
}

