body{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 10000px;
}

.button-wrap{
    display: flex;
}

.button{
    z-index: 10;
    display: inline-block;
    outline: none;
    cursor: pointer;
    font-weight: 500;
    border-radius: 3px;
    padding: 0 15px;
    border-radius: 4px;
    color: hsl(12, 88%, 59%);
    background: white;
    line-height: 1.15;
    font-size: 14px;
    height: 36px;
    word-spacing: 0px;
    letter-spacing: .0892857143em;
    text-decoration: none;
    text-transform: uppercase;
    min-width: 64px;
    border: 1px solid hsl(12, 88%, 59%);
    text-align: center;
    transition: background 280ms cubic-bezier(0.4, 0, 0.2, 1);
}    
    .button:hover {
       background: #f4f4f4;
    }




.phones{
    display: flex;
    align-items: flex-end;
    justify-content: space-evenly;
    height: 800px;
}

.phones img{
    position: fixed;
    width: 310.5px;
    border-radius: 35.25px;
    border: solid black 11.25px;
    z-index: -1;
}

#slide{
    top: 25rem;
    animation: slide 12s infinite;
    animation-play-state: paused;
    animation-fill-mode: both;
}
#slide-1{
    top:15rem;
    opacity:0;
    animation: slide-fade-1 12s infinite;
    animation-play-state: paused;
    animation-fill-mode: both;
}
#slide-1-touch{
    top:15rem;
    opacity:0;
    animation: slide-fade-2 12s infinite ;
    animation-play-state: paused;
    animation-fill-mode: both;
}
#slide-1-after{
    top:15rem;
    opacity:0;
    animation: slide-fade-3 12s infinite ;
    animation-play-state: paused;
    animation-fill-mode: both;
}
#slide-2{
    top:15rem;
    opacity:0;
    animation: slide-fade-4 12s infinite ;
    animation-play-state: paused;
    animation-fill-mode: both;
}
#slide-2-touch{
    top:15rem;
    opacity:0;
    animation: slide-fade-5 12s infinite ;
    animation-play-state: paused;
    animation-fill-mode: both;
}
#slide-2-after{
    top:15rem;
    opacity:0;
    animation: slide-fade-6 12s infinite ;
    animation-play-state: paused;
    animation-fill-mode: both;
}
#home{
    top:15rem;
    opacity:0;
    animation: slide-fade-7 12s infinite ;
    animation-play-state: paused;
    animation-fill-mode: both;
}
#home-touch{
    top:15rem;
    opacity:0;
    animation: slide-fade-8 12s infinite ;
    animation-play-state: paused;
    animation-fill-mode: both;
}
#home-after{
    top:15rem;
    opacity:0;
    animation: slide-fade-9 12s infinite ;
    animation-play-state: paused;
    animation-fill-mode: both;
}
#slide-3{
    top:15rem;
    opacity:0;
    animation: slide-fade-10 12s infinite ;
    animation-play-state: paused;
    animation-fill-mode: both;
}
#slide-3-touch{
    top:15rem;
    opacity:0;
    animation: slide-fade-11 12s infinite ;
    animation-play-state: paused;
    animation-fill-mode: both;
}
#slide-3-after{
    top:15rem;
    opacity:0;
    animation: slide-fade-12 12s infinite ;
    animation-play-state: paused;
    animation-fill-mode: both;
}
#home-2{
    top:15rem;
    opacity:0;
    animation: slide-fade-13 12s infinite ;
    animation-play-state: paused;
    animation-fill-mode: both;
}
#home-touch-2{
    top:15rem;
    opacity:0;
    animation: slide-fade-14 12s infinite;
    animation-play-state: paused;
    animation-fill-mode: both;
}
#home-2-after{
    top:15rem;
    opacity:0;
    animation: slide-fade-15 12s infinite;
    animation-play-state: paused;
    animation-fill-mode: both;
}
#slide-4{
    top:15rem;
    opacity:0;
    animation: slide-fade-16 12s infinite;
    animation-play-state: paused;
    animation-fill-mode: both;

}

#scroll-card {
    width: 450px;
    box-shadow: 0px 0px 33px -9px rgba(0,0,0,0.75);
    border-radius: 10px;
    height: auto;
    text-align: center;
    top: 65px;
    position: fixed;
    animation: rotate 12s infinite;
    animation-play-state: paused;
    animation-fill-mode: both;
}

.animation-container{
    position: fixed;
    display: flex;
    justify-content: center;
    width: 500px;
    height: 600px;
}


@keyframes rotate {
    0% {opacity: 0;top: 65px;  width: 450px;transform: rotate(0deg);}
    5% {opacity: 1;top: 65px;  width: 450px;transform: rotate(0deg);}
    15% {opacity: 1;top: 65px;  width: 350px; transform: rotate(0deg);}
    20% {opacity: 0;top: 65px; width: 350px; transform: translate(110%, 0%) rotate(90deg);}
    100% {opacity: 0;}
}

@keyframes slide{
    15%{top:15rem; opacity: 1;}
    16%{top:15rem; opacity: 0;}
    100%{top:15rem; opacity: 0;}
}
@keyframes slide-fade-1{
    14%{opacity:0; top:15rem;}
    15%{opacity:1; top:15rem;}
    100%{opacity:1; top:15rem;}
}
@keyframes slide-fade-2{
    19%{opacity:0; top:15rem;}
    20%{opacity:1; top:15rem;}
    100%{opacity:1; top:15rem;}
}
@keyframes slide-fade-3{
    24%{opacity:0; top:15rem;}
    25%{opacity:1; top:15rem;}
    100%{opacity:1; top:15rem;}
}
@keyframes slide-fade-4{
    29%{opacity:0; top:15rem;}
    30%{opacity:1; top:15rem;}
    100%{opacity:1; top:15rem;}
}
@keyframes slide-fade-5{
    34%{opacity:0; top:15rem;}
    35%{opacity:1; top:15rem;}
    100%{opacity:1; top:15rem;}
}
@keyframes slide-fade-6{
    39%{opacity:0; top:15rem;}
    40%{opacity:1; top:15rem;}
    100%{opacity:1; top:15rem;}
}
@keyframes slide-fade-7{
    44%{opacity:0; top:15rem;}
    45%{opacity:1; top:15rem;}
    100%{opacity:1; top:15rem;}
}
@keyframes slide-fade-8{
    49%{opacity:0; top:15rem;}
    50%{opacity:1; top:15rem;}
    100%{opacity:1; top:15rem;}
}
@keyframes slide-fade-9{
    54%{opacity:0; top:15rem;}
    55%{opacity:1; top:15rem;}
    100%{opacity:1; top:15rem;}
}
@keyframes slide-fade-10{
    59%{opacity:0; top:15rem;}
    60%{opacity:1; top:15rem;}
    100%{opacity:1; top:15rem;}
}
@keyframes slide-fade-11{
    64%{opacity:0; top:15rem;}
    65%{opacity:1; top:15rem;}
    100%{opacity:1; top:15rem;}
}
@keyframes slide-fade-12{
    69%{opacity:0; top:15rem;}
    70%{opacity:1; top:15rem;}
    100%{opacity:1; top:15rem;}
}
@keyframes slide-fade-13{
    74%{opacity:0; top:15rem;}
    75%{opacity:1; top:15rem;}
    100%{opacity:1; top:15rem;}
}
@keyframes slide-fade-14{
    79%{opacity:0; top:15rem;}
    80%{opacity:1; top:15rem;}
    100%{opacity:1; top:15rem;}
}
@keyframes slide-fade-15{
    84%{opacity:0; top:15rem;}
    85%{opacity:1; top:15rem;}
    100%{opacity:1; top:15rem;}
}
@keyframes slide-fade-16{
    89%{opacity:0; top:15rem;}
    90%{opacity:1; top:15rem;}
    100%{opacity:1; top:15rem;}
}
