body {
    margin: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    width: 320px;
    height: 220px;
    perspective: 1000px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 1px 1px 20px #c7c7c7;
}

.card .paleta {
    width: 100%;
    height: 180px;
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.component {
    height: 23px;
}

.card .paleta .cores {
    width: 80px;
    height: 180px;
    cursor: pointer;
    transition: 0.3s linear;
    overflow: hidden;
}

.card .paleta .cores:hover {
    width: 120px;
    transition: 0.4s linear;
}

.circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    position: absolute;
    top: -60px;
    box-shadow: 1px 1px 8px #c7c7c7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card .paleta .cor1 {
    background-color: #0e3746;
    border-radius: 0px 0px 0px 10px;
}

.card .paleta .cor2 {
    background-color: #eae8dc;
}

.card .paleta .cor3 {
    background-color: #f4f2ec;
}

.card .paleta .cor4 {
    background-color: #be2623;
    border-radius: 0px 0px 10px 0px;
}

.card .paleta .cores .nome {
    width: 100%;
    height: 30px;
    background-color: #ffffff;
    text-align: center;
    font-size: 11px;
    font-family: Roboto, sans-serif;
    font-weight: 550;
}

.card .paleta .func {
    width: 100px;
    display: block;
    transform: rotate(-90deg);
    position: absolute;
    bottom: 40px;
    margin-left: -41px;
    padding-left: 5px;
    color: #ffffff;
    font-size: 15px;
    font-family: sans-serif;
    font-weight: 500;
}

.div1 {
    cursor: pointer;
    transition: background-color 0.3s;
    position: absolute;
    bottom: 0;
    width: 80px;
    height: 150px;
}

.div2 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    position: absolute;
    top: -60px;
    left: 135px;
    box-shadow: 1px 1px 8px #c7c7c7;
    align-items: center;
    justify-content: center;
    display: none;
}

.div1:hover+.div2 {
    background-color: #0e3746;
    display: flex;
    color: #ffffff;
    animation: cssAnimation_0 1512ms 1 ease-out;
}

.div3 {
    cursor: pointer;
    transition: background-color 0.3s;
    position: absolute;
    bottom: 0;
    width: 80px;
    height: 150px;
}

.div4 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    position: absolute;
    top: -60px;
    left: 135px;
    box-shadow: 1px 1px 8px #c7c7c7;
    align-items: center;
    justify-content: center;
    display: none;
}

.div3:hover+.div4 {
    background-color: #eae8dc;
    display: flex;
    color: #ffffff;
    animation: cssAnimation_0 1512ms 1 ease-out;
}

.div5 {
    cursor: pointer;
    transition: background-color 0.3s;
    position: absolute;
    bottom: 0;
    width: 80px;
    height: 150px;
}

.div6 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    position: absolute;
    top: -60px;
    left: 135px;
    box-shadow: 1px 1px 8px #c7c7c7;
    align-items: center;
    justify-content: center;
    display: none;
}

.div5:hover+.div6 {
    background-color: #f4f2ec;
    display: flex;
    color: #ffffff;
    animation: cssAnimation_0 1512ms 1 ease-out;
}

.div7 {
    cursor: pointer;
    transition: background-color 0.3s;
    position: absolute;
    bottom: 0;
    width: 80px;
    height: 150px;
}

.div8 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    position: absolute;
    top: -60px;
    left: 135px;
    box-shadow: 1px 1px 8px #c7c7c7;
    align-items: center;
    justify-content: center;
    display: none;
}

.div7:hover+.div8 {
    background-color: #be2623;
    display: flex;
    color: #ffffff;
    animation: cssAnimation_0 1512ms 1 ease-out;
}

@keyframes cssAnimation_0 {
    to {
        transform: rotate(360deg) translate(0px, 0px);
    }
}
