* {
    padding: 0;
    margin: 0;
}

html {
    font-size: 16px;
}

h1 {
    font-size: 3rem;
}

p {
    font-size: 1.5rem;
    line-height: 1.5em;
}

body {
    display: flex;
    position:fixed;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    height: 100vh;
    width: 100vw;
    box-sizing: border-box;
}

header {
    position:block;
    top:0;
    background-color: blanchedalmond;
    width: 100%;
    height: 4rem;
    text-align: center;
}

.top {
    width: 100vw;
    box-sizing: border-box;
}

.train {
    position: relative;
    height: 10rem;
    width: auto;
    padding: 0 0 0.5rem 0;
    box-sizing: border-box;
    background-color: aqua;
    display: flex;
    align-items: end;
    justify-content: start;
    gap: 1rem;
    overflow: hidden;
}

.train__scroll {
    width: auto;
    height: auto;
    display: flex;
    gap: 0.5rem;
    padding-left: 100vw;
        padding-right: 120vw;
}

.train__scroll__car {
    width: 20rem;
    height: 7rem;
    background-color: brown;
    border-radius: 20px 20px 0 0;
}

.content {
    position: relative;
    background-image: linear-gradient(45deg, rgba(230, 90, 190), rgba(90, 190, 230));
    size: 2rem;
    box-sizing: border-box;
    overflow-y: scroll;
    scroll-behavior: auto;
    height: auto;
    width: 100%;
    padding: 2rem 2rem 40vh 2rem;
    z-index: -20;
}

.content__title {
    margin: 2rem 0 4rem 0;
}

.content__author {
    text-align: right;
    font-style: italic;
}

.autoscroll-toggle-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
}

.back-on-top {
    position: fixed;
    bottom: 7rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
}

.audio-toggle {
    position: fixed;
    bottom: 12rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
}

button {
    border-radius: 1rem;
}