body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    background-color: #0d0d0d;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-background {
    position: relative;
    height: 100vh;
    background: linear-gradient(to bottom left, #781a78dc, #914991, #6d396a, #353389);
    background-size: 500% 500%;
    animation: gradientAnimation 10s ease infinite;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-bottom: -100vh;
}

#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #29222800;
    padding: 10px;
    position: relative;
    z-index: 1;
}

#logo {
    height: 50px;
}

#buttons1 {
    display: flex;
    gap: 10px;
}

.button1 {
    background-color: #292228;
    border: none;
    border-radius: 40px;
    color: #ffffff;
    cursor: pointer;
    padding: 10px 15px;
    transition: background-color 0.3s, border-radius 0.3s;
    text-decoration: none;
    font-weight: bold;
}

.button1:hover {
    background-color: #a2a9bd;
    border-radius: 10px;
}

.custom-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f0f0f0;
    border-radius: 40px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, border-radius 0.3s;
}

.custom-link:hover {
    background-color: #ccc;
}

.romDetails {
    padding: 10px;
    background-color: #1f1f1f;
    color: #d7d7d7;
    border-radius: 0 0 10px 10px;
    text-align: center;
    position: relative;
    top: -15px;
    z-index: 1;
    width: 180px;
}

.romList {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the items horizontally */
    gap: 20px;
    margin: 0 auto; /* Center the list horizontally */
}

.romDetails p {
    margin: 10px 0;
}

#fileList {
    text-align: left;
}

.fileItem {
    flex: 0 0 calc(33.33% - 20px);
    margin: 20px;
    display: inline-block;
}

.fileItem img {
    object-fit: cover;
    width: 100%;
    height: 200px;
    aspect-ratio: 1/1;
    border-radius: 10px;
}