/* ugh */
:root {
    --primary-color: #ea9cb2;
    --bg-color: #000000;
    --hover-color: #404040;
    --content-width: 900px;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; 
    height: 100vh; 
    z-index: -1; 
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover; 
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.content-wrapper {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.788);
    min-height: 100vh;
    padding: 40px;
}

body {
    font-family: 'Lexend', sans-serif;
    color: white;
    margin: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1 {
    font-size: 3em;
    color: white;
    margin: 0 auto 25px; 
    font-weight: 400;
    text-align: center;
    width: fit-content; 
    padding-bottom: 8px;
    border-bottom: 3px solid var(--primary-color);
    display: block; 
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

a:hover {
    color: #d18a9e;
    text-decoration: underline;
}

#quote {
    font-size: 2.5em;
    color: white;
    margin: 0;
    padding-bottom: 8px;
    font-weight: 400;
    position: relative; 
    display: block;
    width: fit-content;
    text-align: center;
    margin: 0 auto 25px; 
    z-index: 2;
    border-bottom: 3px;
}

sort {
    font-size: 1em;
    color: white;
    font-weight: 400;
    z-index: 2;
    padding-bottom: 8px;
    border-bottom: 3px solid;
}

sort::after {
    content: "Most Recent";
    color: #d38a9f;
}

.map-listing {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.map-card {
    background-color: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.map-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.map-header {
    position: relative;
    height: 150px;
}

.map-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-header-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    justify-content: space-between;
}

.map-title {
    font-size: 1.2em;
    margin: 0;
    color: white;
    font-weight: 250;
}

.map-artist {
    color: #bbb;
    font-size: 0.9em;
    margin: 2px 0 0 0;
}

.map-meta {
    text-align: right;
}

.map-rating {
    color: yellow;
    background-color: #000000a1;
    font-weight: 250;
    margin: 0;
}

.map-bpm {
    color: white;
    font-size: 0.9em;
    margin: 2px 0 0 0;
}

.map-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.map-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.map-compatibility{
    font-size: 0.75em;
    color: #bbb;
}

.map-sv {
    font-size: 0.85em;
    color: #bbb;
    margin-top: -10px;
}

.map-compatibility span, .map-sv span {
    color: white;
    font-weight: 250;
}

.map-description {
    font-size: 0.9em;
    margin: 10px 0 0 0;
    line-height: 1.4;
    color: #ccc;
}

.download-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 3px;  
    cursor: pointer;
    font-weight: 250;
    transition: background-color 0.3s;
    display: inline-flex;  
    align-items: center;
    gap: 4px;  
    text-decoration: none;
    font-size: 0.8em;  
    line-height: 1.2;  
    height: 24px;  
}

.download-btn:hover {
    background-color: #ffffff;
}

footer {
    background-color: rgba(0, 0, 0, 0.918);
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: auto;
}

footer a {
    color: var(--primary-color);
    transition: color 0.3s;
}

footer a:hover {
    color: #d18a9e;
    text-decoration: none;
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 20px;
    }
    
    .map-listing {
        grid-template-columns: 1fr;
    }
}
