/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
* {
    font-family: Poppins;
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #DDDDDD;
    overflow-y: scroll;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #37517E;
    color: white;
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 80px;
    margin-bottom: 20px;
}

.sitename {
    color: white;
    font-size: 24px;
    margin: 0;
    transition: color 0.3s ease-in-out;
}

.sitename:hover {
    cursor: pointer;
    color: #ff5252;
}

.btn-getstarted {
    background-color: #ff5252;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-getstarted:hover {
    background-color: #ff7979;
}

/* Buttons Container */
.buttons-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto;
    height: calc(100vh - 60px); /* Adjust the height based on the header height */
    padding-top: 60px; /* Make space for the fixed header */
    padding-left: 10px; /* Add left padding to align with flex-start */
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; /* Align cards to flex-start */
    align-items: flex-start; /* Align cards to flex-start */
    gap: 20px; /* Increase the gap between cards */
    width: 100%;
    padding: 5% 2%;
    margin-top: 30px;
}

/* Image Wrapper Styles */

.image-wrapper {
    width: 240px; /* Increased width */
    height: 360px; /* Increased height proportionally */
    border-radius: 10px;
    background-color: #e0e0e0;
    box-shadow: 10px 10px 20px #bebebe, -10px -10px 20px #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative; /* Added for positioning the name */
}
.image-wrapper:hover {
    scale: 1.05;
}
.volume-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: filter 0.3s ease-in-out; /* Added transition for brightness */
}

/* New: Image Hover Effect */
.image-wrapper:hover .volume-image {
    filter: brightness(90%); /* Lower brightness on hover */
}

/* New: Name Overlay */
.volume-name {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
    /* opacity: 0; */
    /* Smooth fade-in */
    /* transition: opacity 0.3s ease-in-out;  */
    border-radius: 0 0 10px 10px; /* Rounded corners at the bottom */
}
/* Show the name on hover */
/* .image-wrapper:hover .volume-name {
    opacity: 1; 
} */

/* Responsive Styles */
@media (max-width: 768px) {
    .image-wrapper {
        width: 160px; /* Adjusted width for smaller screens */
        height: 240px; /* Adjusted height proportionally */
    }
}

@media (max-width: 480px) {
    .image-wrapper {
        width: 160px; /* Adjusted width for smallest screens */
        height: auto; /* Adjusted height proportionally */
    }
}
