*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body, main{
    width: 100%;
    height: 100%;
}

h1{
    font-size: 4rem;
}

p{
    width: 50%;
    margin: 2rem 0;
}

section{
    height: 100vh;
}

.container{
    padding: 5rem;
}

.sticky_parent{
    height: 500vh;
}

.sticky{
    overflow: hidden;
    position: sticky;
    top: 0;
    height: 100vh;
    border: 1px solid red;
}

.scroll_section{
    position: absolute;
    top: 0;
    height:100%;
    width: 500vw;
    will-change: transform;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5vw;
}

img{
    width: 400px;
    height: 80%;
    object-fit: cover;
    object-position: center;
}

@media only screen and (max-width: 600px){
    .container {
        padding: 1rem;
    }
    p{
        width: 90%;
    }
    img{
        width: 300px;
    }
}
