* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

div {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: url(bg1\ -\ copia.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

span {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

h2 {
    position: relative;
    padding: 20px;
    color: rgba(0, 0, 0, 0.2);
    font-size: 120px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    border: 20px double rgba(0, 0, 0, 0.2);
}

.box6 {
    position: relative;
    padding: 20px;
    text-align: left;
}

.box1 {
    background: #00FF6E;
    animation: slide1 5s linear forwards;
    animation-delay: 8s;
}

@keyframes slide1 {
    0% {
        left: 0%;
    }
    100% {
        left: 100%;
    }
}

.box2 {
    background: #FF00CE;
    animation: slide2 5s linear forwards;
    animation-delay: 13s;
}

@keyframes slide2 {
    0% {
        left: 0%;
    }
    100% {
        left: 100%;
    }
}

.box3 {
    background: #1500FF;
    animation: slide3 5s linear forwards;
    animation-delay: 8s;
}

@keyframes slide3 {
    0% {
        left: 0%;
    }
    100% {
        left: 100%;
    }
}

.box4 {
    background: #D700FF;
    animation: slide4 4s linear forwards;
    animation-delay: 3s;
}


@keyframes slide4 {
    0% {
        left: 0%;
    }
    100% {
        left: 100%;
    }
}