body, html {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
}

.container {
    width: 50vw;
    height: 50vh;
    background-color: #fff;
    border: 2px solid #ccc;
    position: relative;
}

.icon {
    position: absolute;
    top: 10%;
    left: 10%;
    font-size: 2rem;
    transition: all 0.5s ease;
}

.container:hover .icon {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
