* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #1a0000;
    color: #ffe6e6;
    font-family: 'Lexend Giga', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.hero {
    background-image: url('/static/images/virkelvido.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 0, 0, 0.7);
    backdrop-filter: blur(1em);
}

.hero h1 {
    position: relative;
    z-index: 1;
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 0.3em;
}

.hero h2 {
    position: relative;
    z-index: 1;
    font-size: 1.8rem;
    font-weight: normal;
}

.list, .members, .specialthanks {
    padding: 3em 2em;
    text-align: center;
}

.list h1, .members h1, .specialthanks h1 {
    color: #ff6666;
    border-bottom: 2px solid #ff6666;
    padding-bottom: 0.5em;
    font-size: 2.5rem;
    width: fit-content;
    margin: 2em auto;
}

.specialthanks a {
    color: #ff6666;
    font-size: 1.2rem;
    transition: color 0.3s ease;
} 

.specialthanks a:hover {
    color: #ff9999;
}

#music-list, #members-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
    width: 80%;
    margin:0 auto;
}

ul {
    list-style: none;
}

.card {
    background-color: #330000;
    border-radius: 25px;
    overflow: hidden;
    width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.card h2 {
    color: #ff9999;
    font-size: 1.4rem;
    padding: 0.8em 1em 0.3em;
}

.card p {
    color: #ffcccc;
    font-size: 1rem;
    padding: 0.2em 1em;
}

.card span {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 0.4em 0.8em;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: bold;
    z-index:99;
}

.socials {
    padding: 1em;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.socials a {
    color: #ff9999;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.socials a:hover {
    color: #ffffff;
}

.center {
    text-align: center;
    width:100%;
    height:100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: url('/static/images/virkelvido.jpg');
    background-size: cover;
    background-position: center;
}

.center h1 {
    z-index:1;
    color: #ff6666;
    font-size: 3.5rem;
    width: fit-content;
}

.center p {
    z-index:1;
    color: #ffcccc;
    font-size: 1.2rem;
    margin: 1em 0;
}

.center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 0, 0, 0.7);
    backdrop-filter: blur(10em);
}

a.button {
    z-index:1;
    background-color: #ff6666;
    color: #000;
    padding: 0.5em 1em;
    border-radius: 5px;
    text-decoration: none;
}

footer {
    color: #ffcccc;
    opacity: 0.8;
    text-align: center;
    padding: 1em 0;
    position: relative;
    bottom: 0;
    width: 100%;
    font-weight: 100;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #330000;
}

::-webkit-scrollbar-thumb {
    background: #ff6666;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff9999;
}

::selection {
    background: #ff6666;
    color: #000;
}

::-moz-selection {
    background: #ff6666;
    color: #000;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .card {
        width: 90%;
        margin: 0 auto;
    }
}
