body {
    background-color: rgb(199, 199, 255);
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

main {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.first {
    width: 300px;
    background-color: hsl(252, 100%, 67%);
    border: 0;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 25px;
    z-index: 10;
}

.f1 {
    background-color: hsla(256, 72%, 46%, 1);
    width: 150px;
    border: 0px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 30px;
    padding: 40px;
}

.f1 p:nth-child(1) {
    font-size: 54px;
    transform: translateY(10px);
}

.f1 p:nth-child(2) {
    transform: translateY(10px);
}

.f2 {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;

}

.last {
    background-color: white;
    width: 300px;
    padding: 27px 20px 27px 60px;
    transform: translateX(-40px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 5px;
}

.last div {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border: 0px;
    border-radius: 10px;
}

.last div section {
    display: flex;
}

.last div:nth-child(2) {
    background-color: rgba(255, 0, 0, 0.08);
}

.last div:nth-child(3) {
    background-color: rgba(255, 166, 0, 0.09);
}

.last div:nth-child(4) {
    background-color: rgba(56, 158, 56, 0.09);
}

.last div:nth-child(5) {
    background-color: rgba(0, 0, 255, 0.08);
}

.last a {
    background-color: rgb(25, 25, 66);
    height: 30px;
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0px;
    border-radius: 30px;

}

@media only screen and (max-width:670px) {
    main {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .last {
        background-color: white;
        width: 300px;
        padding: 60px 20px 27px 20px;
        transform: translateY(-40px);
        display: flex;
        flex-direction: column;
        gap: 12px;
        z-index: 5px;
    }
}