html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    font-weight: 300;
    color: #ffffff;
    background-color: #000000;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

p {
    max-width: 40ch;
}

.meta {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: #cccccc;
    margin-bottom: 1rem;
}

h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 1.5rem 0 0.5rem;
    color: #ffffff;
}

h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin: 0 0 1.5rem;
    color: #ffffff;
}

.project-intro {
    max-width: 960px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.project-text {
    flex: 1;
}

.project-image {
    flex: 1;
    padding-left: 2rem;
}

.scroll-wrapper {
    position: relative;
}

.carousel {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    height: 100vh;
}

.slide {
    flex: 0 0 100vw;
    height: 100vh;
    overflow-y: scroll;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    overflow: hidden;
}

.auto-width {
    display: flex;
    flex: 0 0 auto;
    height: 100dvh;
    align-items: center;
    padding-left: 200px;
    padding-right: 200px;
}

.descriptive {
    display: flex;
}

.intro-text {
    height: 100dvh;
    margin-left: 0;
    width: fit-content;
    padding-left: 100px;
}

.description-container {
    margin-top: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    padding: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.description {
    max-width: 30%;
    padding: 25px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 25px;
}

.description-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.flexbox-v {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#intro-slide {
    background-size: contain;
}

.slide:nth-child(1) {
    background-image: url('bancaifiswp.png');
}

.slide:nth-child(2) {
    background-color: black;
}

.slide:nth-child(3) {
    background-image: url(crepuscolo.jpeg);
}

.slide:nth-child(4) {
    background-color: black;
}

.slide:nth-child(5) {
    background-image: url(ikaria.png);
}

.slide:nth-child(6) {
    background-color: black;
}

.slide:nth-child(7) {
    background-image: url(animals.png);
}