*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html{
    font-family:  sans-serif; 
}

body{
    line-height: 1.4;
    background-color:whitesmoke;
}
.profilePict{
    width: 150px;
    margin-left: 110px;
      
}
#profilePic{
    width: 100%;
    border-radius: 50%;
    margin-top: 110px;
    border: 3px solid #EC9C39;  
}
.profile{
    background-image: url(../images/wallpaper.jpg);
    background-position: center;
    background-size: cover;
    height: 220px;
}

.inform{
    display: grid;
    grid-gap: 10px;
    grid-template-areas: 
    'profileInfo cover cover cover';
}
.profileInfo{
    grid-area: profileInfo;
    padding: 10px;
    margin-top: 40px;
    width: 50%;
    margin-left: 100px;
}

table th{
    padding: 3px;
    text-align: justify;
}

table td{
    padding-left: 30px;
    text-align: justify;
}


.cover{
    grid-area: cover;
    display: grid;
    grid-gap: 10px;
    padding: 30px;
}
.cover a{
   color: #000;
   text-decoration: none;
   font-size: 18px;
   font-weight: 10; 
}

.track{
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(2,1fr);
}

.spending{
    background-color: rgb(223, 230, 231);
    padding: 30px;
}

.discount{
    background-color: rgb(223, 230, 231);
    padding: 30px;
}
.membership{
    background-color: rgb(223, 230, 231);
    padding: 30px;
}
.balance{
    background-color: rgb(223, 230, 231);
    padding: 30px;
    height: 300px;
}
#balance{
    cursor: pointer;
}

#balenceBtn{
    position: relative;
    bottom: 100%;
    margin-top: 20px;
    padding: 10px;
    background-color: #36B3C9;
    border: 1px solid rgb(12, 151, 70);
    border-radius: 30px;
    color: white;
    cursor: pointer;
}
#balenceBtn:hover{
    background-color: #2DA7BC;
    color: rgba(255, 255, 255, 0.623);
}


.main{
    width: 90%;
}

#total th{
    border-top: 1px solid black;    
}
#total td{
    border-top: 1px solid black;    
}

#check{
    color: green;
}
#crossed{
    color: #C01C25;
}

@media screen and (max-width:990px){
    .cover{
        font-size: 14px;
        padding: 10px;
    }
    .profileInfo{
        padding: 0px;
        margin-top: 40px;
        width: 50%;
        margin-left: 0px;
    }  
    .spending{
        background-color: rgb(223, 230, 231);
        padding:15px;
    }
    
    .discount{
        background-color: rgb(223, 230, 231);
        padding:15px;
    }
    .membership{
        background-color: rgb(223, 230, 231);
        padding:15px;
    }
    .balance{
        background-color: rgb(223, 230, 231);
        padding:15px;
        height: 300px;
    } 
    
}
@media screen and (max-width:820px){
    .inform{
        display: grid;
        grid-gap: 10px;
        grid-template-areas: 
        'profileInfo'
        'cover';
    }
    .cover{
        font-size: 14px;
        padding: 10px;
    }
    .profileInfo{
        padding: 10px;
        margin-top: 40px;
        width: 50%;
        margin-left: 0px;
    } 
    .profile{
        padding: 10px;
    }
}

@media screen and (max-width:580px){
    body{        
        font-size: 14px;
    }
    .profile{
        height: 150px;
    }
    .cover p{
        padding: 0px;
        font-size: 14px;   
    }
    .profilePict{
        width: 90px;
        margin-left: 10px;
        margin-top: -30px;
    }
    .main{
        width: 50%;    
        font-size: 14px;
        padding: 0px;
    }
    .main th{
        padding: 0px;
    }
    .main td{
        padding: 0px;
    }
    
    #total th{
        border-top: 1px solid black;    
    }
    #total td{
        border-top: 1px solid black;    
    }
        
    .spending{
        background-color: rgb(223, 230, 231);
        padding: 7px;
    }

    .discount{
        background-color: rgb(223, 230, 231);
        padding: 7px;
    }
    .membership{
        background-color: rgb(223, 230, 231);
        padding: 7px;
    }
    .balance{
        background-color: rgb(223, 230, 231);
        padding: 7px;
        height: 300px;
    } 
    
}





