html {
    scroll-behavior: smooth;
}

body {
    background-color: #0b0c10;
    text-align: left;
    font-size: 18px;
    color: #d1d9e6;
    font-family: 'Urbanist', sans-serif;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    margin: 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideIn 0.8s ease forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.zoom-in {
    opacity: 0;
    transform: scale(0.8);
    animation: zoomIn 0.6s ease forwards;
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }
.delay-4 { animation-delay: 1.2s; }

nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    background-color: rgba(0, 2, 46, 0.95);
    display: flex;
    justify-content: center;
    padding: 15px 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.6);
    animation: fadeInUp 1s ease forwards;
}

nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #d1d9e6;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 18px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #6fb1fc;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: #6fb1fc;
}

section, .album, .quote-section, footer {
    animation: fadeInUp 1s ease both;
}

.album {
    animation-delay: 0.2s;
}

.album:nth-child(even) {
    animation-name: slideIn;
    animation-delay: 0.4s;
}

.album img {
    transition: transform 0.4s ease;
}

.album:hover img {
    transform: scale(1.08);
}

.video-container-local video {
    transition: transform 0.3s ease;
}

.video-container-local video:hover {
    transform: scale(1.02);
}

p {
    color: #aab4c3;
    text-align: left;
    line-height: 1.6;
}

h1 {
    width: 800px;
    margin: 100px auto 20px auto;
    background-color: #1a1f2b;
    font-family: 'Arial Black', sans-serif;
    font-size: 36px;
    color: #d1d9e6;
    text-align: center;
    padding: 20px;
    border: 2px solid #3f88c5;
}

h2 {
    width: 800px;
    margin: 10px auto;
    font-family: 'Arial Black', sans-serif;
    font-size: 26px;
    color: #6fb1fc;
    text-align: center;
    border-bottom: 1px solid #3f88c5;
    padding-bottom: 5px;
    background-color: #1a1f2b;
    padding: 10px 0;
}

h3 {
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 1.4; 
    font-size: 20px;
    color: #d1d9e6;
}

a {
    color: #3f88c5;
    text-decoration: none;
}
a:hover {
    color: #6fb1fc;
}

b {
    color: #3f88c5;
}

.portrait {
    display: block;
    margin: 40px auto;
    border: 3px solid #3f88c5;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.cadrage {
    position: relative;
    z-index: 1; 
    margin: 0px 100px;
    padding: 20px;
}

.contributions {
    margin: 15px 0px;
    padding: 10px 15px;
    border: 2px solid #3f88c5;
    background-color: #1a1f2b;
    color: #d1d9e6;
}

.albums {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.album {
    display: flex;
    align-items: center;
    background-color: #1a1f2b;
    padding: 15px;
    border: 1px solid #3f88c5;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.album:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px #3f88c5;
}

.album img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-right: 20px;
    border: 2px solid #3f88c5;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.album-info h4 {
    margin: 0;
    font-size: 22px;
    color: #3f88c5;
}

.album-info p {
    margin: 5px 0 0 0;
    font-size: 16px;
    line-height: 1.4;
    color: #d1d9e6;
}

.spotify-embed {
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(111, 177, 252, 0.3);
}

.daily-quote {
    text-align: center;
    margin: 40px auto;
    padding: 20px;
    max-width: 600px;
    background-color: #1a1f2b;
    border-left: 5px solid #6fb1fc;
    font-style: italic;
    font-size: 18px;
    color: #aab4c3;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease both;
}

@media screen and (max-width: 768px) {
    .album {
        flex-direction: column;
        align-items: flex-start;
    }
    .album img {
        margin: 0 0 10px 0;
        width: 100%;
        height: auto;
    }
    h1, h2 {
        width: 100%;
    }
    .cadrage {
        margin: 0 20px;
    }
    .quote-section {
        flex-direction: column;
        text-align: center;
    }
    .quote-section img {
        margin-bottom: 10px;
    }
    .spotify-embed iframe {
        height: 100px;
    }
    .video-container-local video {
        width: 100%;
    }
}

.background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    background: #00022e;
    overflow: hidden;
    z-index: 0;
}

.background li {
    position: absolute;
    display: block;
    list-style: none;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 19s linear infinite;
}

.background li:nth-child(0) { left: 36%; width: 60px; height: 60px; bottom: -60px; animation-delay: 1s; }
.background li:nth-child(1) { left: 9%; width: 81px; height: 81px; bottom: -81px; animation-delay: 5s; }
.background li:nth-child(2) { left: 43%; width: 81px; height: 81px; bottom: -81px; animation-delay: 1s; }
.background li:nth-child(3) { left: 6%; width: 68px; height: 68px; bottom: -68px; animation-delay: 2s; }
.background li:nth-child(4) { left: 60%; width: 92px; height: 92px; bottom: -92px; animation-delay: 12s; }
.background li:nth-child(5) { left: 88%; width: 25px; height: 25px; bottom: -25px; animation-delay: 14s; }
.background li:nth-child(6) { left: 36%; width: 63px; height: 63px; bottom: -63px; animation-delay: 7s; }
.background li:nth-child(7) { left: 1%; width: 72px; height: 72px; bottom: -72px; animation-delay: 22s; }
.background li:nth-child(8) { left: 0%; width: 72px; height: 72px; bottom: -72px; animation-delay: 7s; }
.background li:nth-child(9) { left: 38%; width: 12px; height: 12px; bottom: -12px; animation-delay: 33s; }
.background li:nth-child(10) { left: 24%; width: 13px; height: 13px; bottom: -13px; animation-delay: 10s; }
.background li:nth-child(11) { left: 44%; width: 48px; height: 48px; bottom: -48px; animation-delay: 54s; }
.background li:nth-child(12) { left: 9%; width: 16px; height: 16px; bottom: -16px; animation-delay: 29s; }
.background li:nth-child(13) { left: 35%; width: 38px; height: 38px; bottom: -38px; animation-delay: 27s; }
.background li:nth-child(14) { left: 58%; width: 89px; height: 89px; bottom: -89px; animation-delay: 24s; }
.background li:nth-child(15) { left: 13%; width: 47px; height: 47px; bottom: -47px; animation-delay: 19s; }
.background li:nth-child(16) { left: 47%; width: 59px; height: 59px; bottom: -59px; animation-delay: 33s; }
.background li:nth-child(17) { left: 4%; width: 95px; height: 95px; bottom: -95px; animation-delay: 63s; }
.background li:nth-child(18) { left: 30%; width: 43px; height: 43px; bottom: -43px; animation-delay: 59s; }
.background li:nth-child(19) { left: 64%; width: 85px; height: 85px; bottom: -85px; animation-delay: 83s; }
.background li:nth-child(20) { left: 13%; width: 78px; height: 78px; bottom: -78px; animation-delay: 95s; }
.background li:nth-child(21) { left: 11%; width: 89px; height: 89px; bottom: -89px; animation-delay: 99s; }
.background li:nth-child(22) { left: 42%; width: 96px; height: 96px; bottom: -96px; animation-delay: 109s; }
.background li:nth-child(23) { left: 9%; width: 95px; height: 95px; bottom: -95px; animation-delay: 56s; }
.background li:nth-child(24) { left: 15%; width: 96px; height: 96px; bottom: -96px; animation-delay: 28s; }
.background li:nth-child(25) { left: 6%; width: 88px; height: 88px; bottom: -88px; animation-delay: 9s; }
.background li:nth-child(26) { left: 57%; width: 13px; height: 13px; bottom: -13px; animation-delay: 67s; }
.background li:nth-child(27) { left: 14%; width: 70px; height: 70px; bottom: -70px; animation-delay: 65s; }
.background li:nth-child(28) { left: 85%; width: 92px; height: 92px; bottom: -92px; animation-delay: 74s; }
.background li:nth-child(29) { left: 47%; width: 3px; height: 3px; bottom: -3px; animation-delay: 124s; }
.background li:nth-child(30) { left: 46%; width: 82px; height: 82px; bottom: -82px; animation-delay: 66s; }
.background li:nth-child(31) { left: 57%; width: 6px; height: 6px; bottom: -6px; animation-delay: 73s; }
.background li:nth-child(32) { left: 15%; width: 7px; height: 7px; bottom: -7px; animation-delay: 150s; }
.background li:nth-child(33) { left: 77%; width: 64px; height: 64px; bottom: -64px; animation-delay: 145s; }
.background li:nth-child(34) { left: 38%; width: 23px; height: 23px; bottom: -23px; animation-delay: 6s; }
.background li:nth-child(35) { left: 55%; width: 85px; height: 85px; bottom: -85px; animation-delay: 174s; }
.background li:nth-child(36) { left: 71%; width: 39px; height: 39px; bottom: -39px; animation-delay: 59s; }



@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

.quote-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
    gap: 20px;
}

.quote-section img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 2px solid #3f88c5;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.quote-section img:hover {
    transform: scale(1.05);
}

.quote-section p {
    font-style: italic;
    color: #6fb1fc;
    font-size: 18px;
    max-width: 400px;
    animation: fadeInOut 5s infinite ease-in-out;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.video-container-local {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
    margin-top: 15px;
}

.video-container-local video {
    width: 50%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.video-section {
    text-align: center;
    margin: 50px auto;
    padding: 20px;
    background-color: #0f0f0f;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
}