body {
    width: 100%;
    background-color: black;
    overflow: hidden;
}

.css{

    margin: 0px 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 357px;
    height: 720px;
    background: #6110f5;
    border-radius: 50px;
    transform: rotate(-25deg) skew(25deg);
    transition: 0.5s;
}

.css img{
    position: absolute;
    width: 100%;
    transition: 0.5s;
}

.css:hover img:nth-child(4) {
    transform: translate(120px, -120px);
    opacity: 1;
}

.css:hover img:nth-child(3){
    transform: translate(80px, -80px);
    opacity: 0.7;
}

.css:hover img:nth-child(2){
    transform: translate(50px, -50px);
    opacity: 0.6;
}

.css:hover img:nth-child(1){
    transform: translate(30px, -30px);
    opacity: 1;
}

            /*Button section starts here*/

.button {

    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 500px; 
    margin-left: 50px;
    border-radius: 25px;
    transition-duration: 0.4s;
    cursor: pointer;
    position: absolute;
    background-color: green; 
    color: black; 
    opacity: 1;
    
}


.buttons:hover button:nth-child(4) {
    transform: translate(120px, -120px);
    opacity: 1;
/*    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);    */
    color: white;
    background-color: transparent;
    border: 1px solid white;
    
}

.buttons:hover button:nth-child(3){
    transform: translate(80px, -80px);
    opacity: 0.7;
/*    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19); */
    color: white;    
    background-color: transparent;
    border: 1px solid white;
    
}

.buttons:hover button:nth-child(2){
    transform: translate(50px, -50px);
    opacity: 0.6;
/*    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);*/
    color: white; 
    background-color: transparent;
    border: 1px solid white;
    
}

.buttons:hover button:nth-child(1){
    transform: translate(30px, -30px);
    opacity: 0.4;
/*    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);  */
    color: white;
    background-color: transparent;
    border: 1px solid white;
    
}

        /*Button section ends here*/

h4{
    color: white;
    margin: 0px;
    font-size: 50px;
    white-space: nowrap;
    animation: text 6s infinite steps(12);
    overflow: hidden;
    white-space: nowrap;
    border-right: 4px solid white;
    width: 12ch;
    font-family: serif;
    margin-top: 30px;
    margin-left: 20px;
    

}

@keyframes text{
    0%{
        width: 0ch;
    }
     25%{
        width: 6ch;
    }
     50%{
        width: 11ch;
    }
     75%{
        width: 6ch;
    }


    100%{
        width: 0ch;

    }
    
}

