main {
    position: relative;
    z-index: 2;
}

#carousel-container {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 1;
    margin-bottom: 200px;
}

canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

body {
    background: black;
    height: 1000vh;
    max-width: 100%;
    cursor: none;
    overflow-x: hidden;
}

@keyframes slidein {
    from { transform: translate(150px); }
    to   { transform: translate(-1100px); }
}

.blurorigin {
    position: relative;
    filter: blur(150px);
    animation:slidein 5s ease-in-out infinite alternate;
    z-index: 7;
}

.blur {
    clip-path: polygon(0 36%, 17% 0, 70% 32%, 100% 7%, 100% 97%, 81% 77%, 0 72%);
    background: linear-gradient(#29FF74, #19A54A ,#0A3B1B, #0A3B1B);
    margin-left: -20%;
    width: 180vw;
    height: 1900px;
    margin-bottom: 100px;
    overflow: visible;
    z-index: 7;
}

.partie2 {
    position: absolute;
    width: 100%;
    height: 7850vh;
    top: 2100px;
    padding-top: 600px;
    background-color: whitesmoke;
    z-index: 2;
}

.album {
    width: 600px;
    height: 200px;
    border-radius: 19px;
    background-color: whitesmoke;
    color: whitesmoke;
    font-family: var(--CDSB);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 400px;
    margin-left: 100px;
    border: 2px solid black;
    z-index: 6;
}

.album:hover {
    width: 600px;
    height: 200px;
    border-radius: 19px;
    background-color: whitesmoke;
    color: whitesmoke;
    font-family: var(--CDSB);
    margin-bottom: 400px;
    margin-left: 100px;
    border: 2px solid black;
    transform: translate(0px, 0px);
    z-index: 6;
}

.album1 {
    width: 600px;
    height: 200px;
    border-radius: 19px;
    background-color: black;
    transition: transform 0.2s ease-in-out;
    transform: translate(-20px, -20px);
    z-index: 6;
}

.album1:hover {
    width: 600px;
    height: 200px;
    border-radius: 19px;
    background-color: black;
    transform: translate(0px, 0px);
    z-index: 6;
}

.redirection {
    position: relative;
    right: -530px;
    top: -120px;
    object-fit: contain;
    width: 35px;
    transform: rotate(0deg);
    transition: transform 0.2s ease-in-out;
}

.redirection:hover {
    position: relative;
    right: -530px;
    top: -120px;
    object-fit: contain;
    width: 35px;
    transform: rotate(-20deg);
    transition: transform 0.2s ease-in-out;
}

.lieu {
    font-size: 3em;
    position: relative;
    left : 25px;
    top : 15px;
}

.qui {
    font-size: 1em;
    position: relative;
    left : 25px;
    top : -120px;
}

.quand {
    font-size: 1em;
    position: relative;
    left : 470px;
    top : -135px;
}

.second {
    font-size: 0.35em;
    font-family: var(--RX);
    position: relative;
    right : 525px;
    top : 26px;
    color: forestgreen;
}

.photos {
    display: flex;
    flex-direction: column-reverse;
    justify-content: end;
    margin-left: 50%;
    object-fit: contain;
    width: 750px;
}

.photo {
    margin-bottom: 50px;
    border: 1px solid transparent;
    border-radius: 25px;
}

.sidebar-toggle {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease;
}

.sidebar-toggle.open {
    transform: translateY(-50%) rotate(180deg);
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background-color: #1a1a1a;
    color: white;
    padding: 2rem 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar.active {
    transform: translateX(0);
}

.filter-section {
    font-family: var(--CDSB);
    margin-bottom: 2rem;
}

.filter-section h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    border-bottom: 1px solid #444;
    padding-bottom: 0.3rem;
}

.filter-section label {
    display: block;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.toggle-button {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 48px;
    height: 96px;
    background-color: #1a1a1a;
    border-radius: 24px 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1100;
    transition: background-color 0.3s ease;
}

.arrow-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.4s ease;
}

.toggle-button.rotated .arrow-icon {
    transform: rotate(180deg);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 900;
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

input[type="checkbox"], input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    position: relative;
    cursor: pointer;
    margin-right: 5px;
    transition: background-color 0.3s, border-color 0.3s;
}

input[type="checkbox"] {
    border-radius: 5px;
}


input[type="radio"] {
    border-radius: 50%;
}

input[type="checkbox"]:checked, input[type="radio"]:checked {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

input[type="checkbox"]:checked::before, input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    transition: background-color 0.3s;
}

input[type="checkbox"]:hover, input[type="radio"]:hover {
    border-color: #388E3C;
}

input[type="checkbox"]:checked:hover, input[type="radio"]:checked:hover {
    border-color: #388E3C;
    background-color: #388E3C;
}

input[type="checkbox"]:focus, input[type="radio"]:focus {
    outline: none;
    border-color: #4CAF50;
}

#apply-filters {
    font-family: var(--CDSB);
    padding: 10px 20px;
    border: 2px solid #ccc;
    background-color: white;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
    outline: none;
}

#apply-filters:hover {
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: white;
}


#apply-filters:focus {
    border-color: #388E3C;
    background-color: #388E3C;
    color: white;
}

.titrefiltre {
    font-family: var(--CDSB);
    margin-bottom: 15px;
    font-size: 2.4em;
    color: #4CAF50;
}