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

body {
    font-family: 'Cormorant Garamond', serif;
    color: #fff;
    min-height: 100vh;
    overflow: hidden;
}

.background-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    ___backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}



h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 300;
    letter-spacing: 2px;
}

.download-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    margin-top: 4rem;
}

.password-section {
    margin-bottom: 2rem;
}

input {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 5px;
}

select {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

option {
    background: #333;
    color: white;
}

button {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    background: #b88645;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #96703a;
}

.error {
    color: #ff6b6b;
    margin-top: 1.2rem;
    font-size: 1.0rem;
    font-weight: bold;
    text-align: center;
}

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


#logout {
    margin-top: 2rem;
    text-align: center;
}

#logout a {
    color: #fff;
    text-decoration: none;
}

#logout a:hover {
    color: #b88645;
    text-decoration: underline;
}






body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.content {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.main {
    flex: 1;
    display: flex;
    flex-direction: column; /* Aligne les enfants verticalement */
    justify-content: center; /* Centre les enfants verticalement */
    align-items: center;    /* Centre les enfants horizontalement */
    text-align: center;     /* Centrage du texte */
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(1,1,1,0.1);
    text-align: center;
    padding: 10px;

}

footer,
footer a
{
    color: #393939;
    font-size: 0.9em;
    text-decoration: none;
}

footer a:hover
{
    color: #979797;
}

img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}