@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Lora:ital,wght@0,400;0,700;1,400&display=swap');

body {
    font-family: 'Lora', serif;
    background-color: #f8f9fa;
    color: #343a40;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

h1, h2, h3, .uploader-caption {
    font-family: 'Dancing Script', cursive;
}

h2 {
    font-size: 2.5em;
    color: #495057;
    margin-top: 0;
}

.login-container, .upload-container, .admin-container {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    width: 100%;
    border: 1px solid #eaeaea;
    text-align: center;
}

.slideshow-body {
    padding: 0;
    overflow: hidden;
    background-image: url('fonback2.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.slideshow-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: transparent;
}

#slideshow {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.slide img {
    max-width: 90%;
    max-height: 75vh;
}

.uploader-caption {
    margin-top: 20px;
    font-size: 1.8em;
    color: #6c757d;
}

.music-player {
    position: fixed;
    bottom: 20px;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 30px;
}

.nav-links {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.nav-links a {
    color: #495057;
    text-decoration: none;
    font-weight: bold;
    margin-left: 15px;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 15px;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #666;
}

input, select {
    width: 100%;
    padding: 12px;
    background: #fbfbfb;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 8px;
    font-family: 'Lora', serif;
    box-sizing: border-box;
}

button {
    background-color: #8e9aaf;
    color: #fff;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    border-radius: 30px;
    font-size: 1.1em;
    font-family: 'Lora', serif;
    transition: all 0.3s;
}

button:hover {
    background-color: #7a869a;
    transform: translateY(-2px);
}

.media-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.media-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.error { color: #d9534f; background: #f2dede; padding: 10px; border-radius: 5px; }
.message { color: #5cb85c; background: #dff0d8; padding: 10px; border-radius: 5px; }
