@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'DM Sans', sans-serif;
}

.b {
    border: 1px solid red;
}

body {
    background-color: hsl(27, 66%, 92%);
}

main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.main_component {
    width: 400px;
}

.top_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: hsl(10, 79%, 65%);
    padding: 10px 20px;
    border-radius: 10px;
}

p {
    font-size: 12px;
    font-weight: 400;
    color: hsl(28, 10%, 53%);
}

.height {
    font-size: 30px;
    font-weight: 700;
    color: hsl(33, 100%, 98%);
}

.line {
    width: 100%;
    height: 1px;
    background-color: hsl(28, 10%, 53%);
    margin: 25px auto;
}

.bottom_content {
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    background-color: hsl(33, 100%, 98%);
}

.bottom_content>h1 {
    font-size: 25px;
}

.bottom_content h2 {
    font-size: 30px;
    font-weight: 700;

}

.bottom_content_design {
    display: flex;
    align-items: last baseline;
    justify-content: space-between;

}

/* .design{
   

} */

.last_month {
    text-align: end;

}

.box {
    width: 40px;
    /* height: 100px; */
    border-radius: 5px;
    /* margin-top: 10px; */
    position: relative;
    background-color: hsl(10, 79%, 65%);
    transition: height 0.5s ease-in-out;
}

.amount {
    /* width: 60px; */
    /* height: 25px; */
    padding: 3px 10px;
    border-radius: 5px;
    position: absolute;
    top: -1.2rem;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 12px;
    display: none;
    /* z-index: ; */
    background-color: black;
    color: white;
}

.week_content {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-top: 40px;
    height: 120px;
}

.weeks_name {
    font-size: 12px;
    text-align: center;
}

.box:hover .amount {
    display: block;
    /* cursor: pointer; */
    opacity: 1 !important;
}

.box:hover {
    cursor: pointer;
    opacity: 0.7;
}