html {
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
} 

body {
    margin: 0;
    scroll-padding: 0;
}

::-webkit-scrollbar {
    display: none;
}

section {
    height: 100vh;
    padding: 0%;
    scroll-snap-align: start;
    scroll-margin: 0;
}

.text {
    position: relative;
    width: 80vw;
    top: 40vh;
    font-weight: bold;
    color: white;
    text-align: center;
    font-family: Arial;
    z-index: 1;
}

.s-text {
    display: inline-block;
}

.sidebar {
    position: absolute;
    left: 0;
    height: 100vh;
    width: 10vw;
    font-size: 4em;
    font-weight: bold;
    color: black;
    text-align: center;
    font-family: Arial;
}

.sidetext {
    position: absolute;
    width: 100vh;
    top: 50vh;
    left: calc(5vw - 50vh);
    transform: rotate(270deg);
    text-align: center;
    text-decoration: none;
    color: black;
}

.rightbar {
    position: absolute;
    height: 100vh;
    width: 10vw;
    left: 90vw;
    font-size: 4em;
    font-weight: bold;
    color: white;
    text-align: center;
    font-family: Arial;
}

.righttext {
    position: absolute;
    height: 15vh;
    width: 100vw;
    top: 40vh;
    right: -43.5vw;
    text-align: center;
    transform: rotate(90deg);
}

.slideshow {
    position: absolute;
    height: 100vh;
    width: 100vw;
}

.slide {
    position: relative;
    object-fit: cover;
    height: 100vh;
    width: 90vw;
    left: 10vw;
    z-index: -1;
}

.caption {
    position: absolute;
    height: 100vh;
    width: 80vw;
    left: 15vw;
    right: 10vw;
    bottom: -37vh;
    line-height: 100vh;
    font-size: 7em;
    font-weight: bold;
    color: white;
    text-align: center;
    font-family: Arial;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    height: 100vh;
    line-height: 100vh;
    top: 0;
    color: white;
    font-weight: bold;
    font-size: 4em;
    text-align: center;
    z-index: 1;
}

#intro {
    background-image: url("pictures/portrait.jpeg");
    background-position-x: 43%;
    background-position-y: 35%;
    background-repeat: no-repeat;
    background-size: cover;
}

#experience {
    background-image: url("pictures/raspi.jpeg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}