/* Fond flouté simulé */
.background {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
}

.background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.background .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.3); /* effet semi-transparent */
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Navigation */
nav {
    background: #333;
    color: white;
    padding: 10px;
    position: relative;
    z-index: 10;
}

nav a {
    color: white;
    margin-right: 10px;
    text-decoration: none;
}

/* Pages */
.page {
    display: none;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.page.active {
    display: block;
}
.images-wrapper {
    position: relative;
    overflow: hidden;
    height: 100vh;
}
.image {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;


}


.background {
    position: absolute;
    left: -1rem;
    top: -1rem;
    width: calc(100% + 2rem);
    height: calc(100% + 2rem);
    object-fit: cover;
}

.foreground {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.actions {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;


}
.actions button {
    outline: none;
    background: none;
    border: none;
}

.btn-left {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background: red;
    width: 10%;
}

.btn-right {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    background: red;
    width: 10%;
}
.hidden {
    display: none;
}

.time-wrapper {
    padding: 2rem;
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    border-radius: 1rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);


}

.time-wrapper .date {
    font-size: 25px;
}

.time-wrapper .time {
    font-size: 50px;
}