*{
    font-family: 'Roboto', sans-serif;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
}

/* Video background */
.slider-item {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.8);
}

/* Navigation buttons */
.nav-button {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 3;
}

#prev {
    left: 10px;
}

#next {
    right: 10px;
}

/* Content section */
.content{
    position: absolute;
    top: 0;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
}

.Part_0 {
    position: absolute;
    margin: 50vh 0 50vh 20vw;
    height: 20vh;
    width: 40vh;
}
.Part_1{
    position: absolute;
    opacity: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 30px;
    margin: 0;
    width: auto;
    border-radius: 15px;
    transition: opacity 0.8s ease-in-out;
}
.Part_2 {
    position: absolute;
    opacity: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 30px;
    margin: 0;
    width: auto;
    border-radius: 15px;
    transition: opacity 0.8s ease-in-out;
}
.Part_3 {
    position: absolute;
    opacity: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 30px;
    margin: 0;
    border-radius: 15px;
    transition: opacity 0.8s ease-in-out;
    font-size: 1.2em;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)); /* Adjust the minimum width of columns */
    gap: 20px 25px;
    max-width: 60vw;
}
.Part_3 > p {
    position: relative;
    padding: 5px 25px 5px 5px;
    margin: 0;
    border-right: 2px solid #333;
}
.Part_3 > p:not(:nth-child(even))::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 1px;
    z-index: 1;
}

.Part_3 > h2 {
    grid-column: 1 / -1; /* Make the heading span full width */
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #333; /* Border below the heading */
}


.Part_4 {
    position: absolute;
    opacity: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 30px;
    margin: 0;
    width: auto;
    border-radius: 15px;
    transition: opacity 0.8s ease-in-out;
}
.Part_5 {
    position: absolute;
    opacity: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 30px;
    margin: 0;
    width: auto;
    border-radius: 15px;
    transition: opacity 0.8s ease-in-out;
    font-size: 1.2em;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Adjust the minimum width of columns */
    gap: 20px 50px;
    max-width: 60vw;
}
.Part_5 > p {
    position: relative;
    padding: 5px;
    margin: 0;
}

.Part_5 > p:not(:nth-child(even))::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 1px;
    z-index: 1;
}

.Part_5 > h2 {
    grid-column: 1 / -1; /* Make the heading span full width */
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #333; /* Border below the heading */
}
.Part_6 {
    position: absolute;
    opacity: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 30px;
    margin: 0;
    width: auto;
    border-radius: 15px;
    transition: opacity 0.8s ease-in-out;
}
.Part_7 {
    position: absolute;
    opacity: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 30px;
    margin: 0;
    width: auto;
    border-radius: 15px;
    transition: opacity 0.8s ease-in-out;
}
.Part_8 {
    position: absolute;
    opacity: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 30px;
    margin: 0;
    width: auto;
    border-radius: 15px;
    transition: opacity 0.8s ease-in-out;
}
.Part_9 {
    position: absolute;
    margin: 850vh 0 50vh 20vw;
    height: 20vh;
    width: 40vh;
}
.SnapTo_0 {
    scroll-snap-align: start;
    position: relative;
    margin: 0vh 0 0vh 0vw;
    height: 50vh;
    width: 100vw;
}
.SnapTo_1, .SnapTo_2 , .SnapTo_3, .SnapTo_4, .SnapTo_5, .SnapTo_6, .SnapTo_7, .SnapTo_8, .SnapTo_9{
    scroll-snap-align: start;
    position: relative;
    height: 100vh;
    width: 100vw;
    z-index: 2;
}

h2, p {
    margin: 0 0 20px;
    color: white;
}
h2 {
    font-size: 1.5em;
}
p {
    font-size: 1em;
}
