body{
    background-color: rgb(242, 227, 204);
}

body::before {
    content: '';
    position: fixed;
    opacity: 0.95;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(#f00, #f0f);
    clip-path: circle(30% at right 70%);
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: linear-gradient(#2196f3, #e91e63);
    clip-path: circle(20% at 10% 10%);
}

@keyframes appear{

    0%{
        opacity: 0;
        transform: translateX(100px);
    } 

        100%{
            opacity: 1;
            transform: translateY(0px);
        }

}

.block{
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}
.block h3{
    display: flex;
    color: #000;
    justify-content: center;
    align-items: center;
    transform: translateY(-50px);
    text-shadow: 0px 3px 3px #ffff;
    position: absolute;
    padding-left:10px ;
}
.block img{
    width: 400px;
    height: 100%;
    flex-wrap: wrap;
    border-radius: 15px;
    border: 2px solid #f0f;
    transition: 1s;
}
.view{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 100px;
    gap: 30px;

}