.container{
    border: 2px solid black;
    background-color: khaki;
    height: 3444px;
}

.box{
    display: inline-block;
    border: 2px solid red;
    width: 150px;
    height: 150px;
    margin: 2px;
    text-align: center;
    font-size: 40px;
}

#box1{
    position: absolute;
    top: 34px;
    left: 134px;         
}

#box2{
    position: relative;
    top: 34px;
    left: 500px;  
}

#box3{
    position: fixed;
    right: 500px;
}

#box4{
    position: sticky;
    top: 100px;
}