/* Resetting some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Style */
body {
    font-family: 'Arial', sans-serif;
    background: #98FBCB;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    line-height: 1.5;
}

/* Container Styles */
#login-container,
#intro-section,
#gallery-section {
    max-width: 800px;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    margin-bottom: 20px;
}

/* Hidden Class */
.hidden {
    display: none;
}

/* Form Styles */
#form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

input[type="text"] {
    padding: 10px;
    font-size: 16px;
    border: 2px solid #cc6666;
    border-radius: 5px;
    outline: none;
    width: 80%;
    max-width: 300px;
    font-family: 'Great Vibes', cursive;
    text-align: center;
    background-color: #333;
    color: #fff;
}

nav button {
    margin: 5px;
    padding: 10px 20px;
    font-size: 1em;
    color: black;
    background-color: white;
    border: 2px solid #5CB6BD;
    border-radius: 26px;
    cursor: pointer;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.5s;
}

nav button:hover {
    background-color: #5CB6BD;
    color: white;
}

/* Main content sections */
main {
    padding: 20px;
}

/* Section styling */
section {
    display: none;
    /* Hide all sections initially */
    margin: 20px 0;
    padding: 20px;
    background-color: #5CB6BD;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

section h2 {
    color: #ffffff;
}

/* Footer styling */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    /* padding: 10px 0; */
    position: fixed;
    width: 100%;
    bottom: 0;
}




/* .gallery {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    width: 90%;
    max-width: 1200px;
    margin-top: 20px;
}
*/
.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}
/*
.gallery img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
} */

#gallery {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    width: 100%;
    padding: 10px;
}

#gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire figure */
    border-radius: 10px;
    transition: transform 0.3s;
}

#gallery img:hover {
    transform: scale(1.05);
}

.fullscreen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.fullscreen img {
    max-width: 90%;
    max-height: 80%;
}

.fullscreen .description {
    color: white;
    text-align: center;
    font-size: 16px;
    margin-top: 10px;
    overflow-y: auto; /* Allows scrolling within the caption */
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.music-box {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #98FBCB;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.album-container {
    display: flex;
    transition: transform 1s ease;
}

.album-cover {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Button style */
.prev-btn, .next-btn {
    position: absolute;
    bottom: 20px;
    background-color: #4B2C20;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.next-btn {
    right: 20px;
}

.prev-btn {
    left: 20px;
}

.prev-btn:hover, .next-btn:hover {
    background-color: #6c4f39;
}

/* Album link styles */
.album-link {
    position: absolute;
    bottom: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
    display: none;
}

.album-cover:hover .album-link {
    display: block;
}

.album-link a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.album-link a:hover {
    text-decoration: underline;
}