body{
    background-color: var(--bg-beige); /*addition from here*/
    height: 100dvh;
    width: 100dvw;
    overflow: hidden;
    position: relative;
}

main{
    font-size: 20px;  /*addition from here*/
    height: calc(100dvh - 73.6px);
    overflow-x: auto;
    flex-direction: row;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
    width: 100dvw;
    scrollbar-width: none;
}

.custom-arrow{
    position: absolute;
    bottom: 50px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: whitesmoke;
    box-shadow: var(--shadow-medium);
}

.custom-arrow:disabled{
    opacity: 0.3;
    pointer-events: none;
}

.custom-arrow.left{
    left: 50px;
}

.custom-arrow.right{
    right: 50px;
}


main > .section{
    scroll-snap-align: start;
    scroll-snap-stop: always;
    width:100dvw;
    height: 95%;
    flex-shrink: 0;
    padding: var(--space-3);
}

.content{
    max-width: 90ch;
}

h1{
    margin: var(--space-2);
}

h2{
    margin-top: var(--space-4);
}

footer.credit{
    position: absolute;
    bottom:0;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    padding: var(--space-1);
    color: grey;
    background-color: #f7ecd7;
    font-size: 12px;
}

@media (max-width: 768px) {
   main{
        scroll-snap-type: none;
        flex-direction: column;
        font-size: 18px;
    }
    
    .custom-arrow{
        display: none;
    }

    main > .section{
        width:100dvw;
        flex-shrink: 0;
        height: auto;
    }

    .about-img{
        margin: var(--space-3);
    }
    
    main > .section{
        padding:0;
        margin: 0;
    }

    .about-5.section{
        margin: var(--space-3) 0;
    }
    /*
    .custom-arrow{
        //would have to add it on every page by hand
    }
    */
}