*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;

}

.box{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;

}


.camara,
.casa,
.comentario,
.corazon,
.grabadora {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 200px;
    box-shadow: 0 70px 90px 0 rgb(222, 222, 222);
    opacity: 0.6;
    width: 110px; /* tamaño inicial */
    height: 110px;
    transition: width 0.4s ease-in-out, background 0.5s ease, opacity 0.5s ease;
}







svg{
    transition: opacity 0.9s ease;
    z-index: 3;
}


.camara:hover,
.casa:hover,
.comentario:hover,
.corazon:hover,
.grabadora:hover {
    width: 300px;
    text-align: center;
    
}


.camara:hover svg,
.casa:hover svg ,
.comentario:hover svg,
.corazon:hover svg,
.grabadora:hover svg {
    opacity: 0;
    transition-delay: 0s;
}


.camara:hover span,
.casa:hover span ,
.comentario:hover span,
.corazon:hover span,
.grabadora:hover span {
    opacity: 1;
    transition-delay: 0.1s;
    
}


.camara:hover{
    background: linear-gradient(to right,pink,rgb(238, 0, 255));
    
}


.casa:hover{
    background: linear-gradient(to right,purple,rgb(251, 10, 239));
}

.corazon:hover{
    background: linear-gradient(to right,rgb(255, 119, 0),rgb(253, 70, 4));
}

.grabadora:hover{
    background: linear-gradient(to right,rgb(97, 212, 3),rgb(0, 187, 255));
}

.comentario:hover{
    background: linear-gradient(to right,rgb(0, 187, 255),rgb(0, 60, 255));
}

svg{
    transition: opacity 0.4s ease;
}

span{
    opacity: 0;
    position: absolute;
    font-size: 25px;
    color: white;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
}


@media screen and (max-width: 1024px){
    .box{
        flex-direction: column;
    }
}