.list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.list-element {
    display: flex;              
    align-items: center;          
    padding: 10px;
    background-color: gray;
    margin: 10px;
    width: 45%;
    height: 40px;
    font-size: 30px;
    transition: height 0.3s ease-in-out, width 0.3s ease-in-out, font-size 0.3s ease-in-out;
    text-decoration: none;
}

.list-element p {
    margin: 0;
    text-decoration: none;
    color: black;
}

.list-element:hover {
    width: 50%;
    font-size: 60px;
    height: 80px;
}
