﻿.goal-container{
    width: 60%;
    min-width: 450px;
    height: 500px;
    margin: 2em auto;
}
.goal-container h4{
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}
.set-goal-container{
    text-align: center;
    margin-top: 2em;
}
.goal-spent{
    margin-right: 1em;
    font-size: 0.9em;
    color: #777;
    font-weight: 600;
}
.goal-spent-amount{
    color: #0076C1;
    font-weight: 700;
    font-size: 1.8em;
}
.goal-spent-amount::before{
    content: 'RM ';
}
.goal-bar-container{
    width: 95%;
    margin: 0.6em auto 0.4em auto;
    height: 10px;
    background: #d5d5d5;;
    border-radius: 50px;
    position: relative;
}
.goal-bar{
    height: 10px;
    background:#0076C1;
    border-radius: 50px;
}
.bar-completed{
    background:#0FA500;
}
.amount-togo{
    text-align: center;
}
.goal-platform-container{
    display: flex;
    width: 100%;
    justify-content: space-around;
    margin: 1.5em auto 0 auto;
}
.goal-platform{
    width: 47%;
    max-width: 300px;
    min-height: 130px;
    margin-top: 1em;
    border-radius: 0.5em;
    background: #f3f3f3;
    box-sizing: border-box;
    padding: 2.2em 0.8em 0.8em 0.8em;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.goal-platform h5{
    position: absolute;
    top: 0.8em;
    left: 0.8em;
    font-size: 1.05em;
    text-align: left;
    
}
.goal-platform h5 span{
    font-size: 0.7em;
    font-weight: normal;
    color: #666;
    display: block;
    line-height: 1.5;
    letter-spacing: normal;
}
.goal-platform .goal-spent-amount{
    font-size: 1.5em;
}

@media (max-width: 890px){
    
.goal-container{
    width: 100%;
    font-size: 0.9em;
    min-width: inherit;
}
.goal-platform-container{
    display:inherit;
    width: 95%;
    margin: 2.5em auto 0 auto;
}
.goal-platform{
    width: 100%;
    max-width:inherit;
}
.goal-platform-container{
    font-size: 1.05em;
}
.goal-platform h5 span{
    font-size: 0.75em;
}
    
}