.md-header,
.md-footer-meta {
    /*background-color: #000;
    color: #009a93; */
}

.md-tabs,
.md-footer {
    /* background-color: #009a93;
    color: #000;
    font-weight: bold; */
}

body {
    /* background-color: #f3f3f3; */
}

p {
    text-align: justify;
}

code {
    /* background-color: #eeeeee !important; */
}

.md-grid {
    margin-left:auto;
    margin-right:auto;
    max-width:70rem;
}

.md-sidebar{
    /* max-width:15rem; */
}

.leftimg{
    float: left;
    margin: 5px 10px;
    border-radius: 10px;
}

.rightimg{
    float: right;
    margin: 5px 10px;
    border-radius: 10px;
}

.centimg{
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

/* Vinyl Settings */

.vinyl_tiles {
    width: 100%;
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
    gap: 14px;
}

.vinyl_tile {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.vinyl_img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: opacity 300ms ease, transform 300ms ease;
}

.vinyl_img.front {
    opacity: 1;
}

.vinyl_img.back {
    opacity: 0;
}

/* Hover => swap images + swap overlays (NO 3D flip) */
.vinyl_tile:hover .vinyl_img.front {
    opacity: 0;
}

.vinyl_tile:hover .vinyl_img.back {
    opacity: 1;
}

.vinyl_tile:hover .vinyl_img {
    transform: scale(1);
}

.vinyl_caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 10px 9px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5));
}

.vinyl_caption .artist {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    /*color: #51ff00;*/
    color: #EEE;
}

.vinyl_caption .album {
    margin-top: 3px;
    font-size: 16px;
    line-height: 1.2;
    color: #CCC;

    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vinyl_meta {
    position: absolute;
    inset: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
    opacity: 0;
    transition: opacity 300ms ease;
}

.vinyl_meta p {
    margin: 0 0 6px 0;
    color: #CCC;
    font-size: 16px;
    line-height: 1.25;
}

.vinyl_meta .vinyl_title {
    font-weight: 700;
    font-size: 18px;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #EEE;
}

/* Hover => hide caption, show meta */
.vinyl_tile:hover .vinyl_caption {
    opacity: 0;
}

.vinyl_tile:hover .vinyl_meta {
    opacity: 1;
}

/* Responsive tuning */
@media screen and (max-width: 750px) {
    .vinyl_tiles {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
}