@import url(https://fonts.googleapis.com/css?family=Lobster);
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* nav bar*/
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
height: 50px;
padding: 20px;
z-index: 999;
}

nav div button{
    background-color: #03a9f4;
    outline: 1px solid white;
    border: none;
    transition: 0.5s all;
width: 100px;
height: 30px;
color: white;
border-radius: 10px;
cursor: pointer;    
}

nav div button:hover{
    background-color: transparent;
    outline: 1px solid #03a9f4;
    color: black;
}

nav div h3{

    font-weight: bolder;
    font-family: 'Lobster';
    font-size:28px ;

}

.container{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    width: 100%;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 20px;

}

.box  h3 ,.box2 h3{
    text-align: center;
    font-weight: bolder;
font-family: 'Lobster';
font-size:28px ;
}
.box ,.box2{
    width: 450px;
    background-color: #fff;
    padding: 30px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    min-height: 300px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    
}
.input-box ,.box2 .input-box{
    display: flex;
position: relative;
align-items: center;
justify-content: center;
width: 90%;
height: 40px;
margin-top: 40px;
}
.input-box input ,.box2 .input-box input{
 width: 90%;
 height: 100%;
 border: none;
 outline: none ;
 border-bottom: 2px solid silver;
 margin-left: 10px;
}
.input-box input:focus ~ span,
.input-box input:valid ~ span{
    transform: translateY(-20px);
    font-size:15px;
    color: #4158d0;
}
.box2 .input-box input:focus ~ span,
.input-box input:valid ~ span{
    transform: translateY(-20px);
    font-size:15px;
    color: #4158d0;
}

.input-box span {
position: absolute;
bottom: 10px;
left: 25px;
color: gray;
pointer-events: none;
transition: all 0.3s ease;
}

.box2  .input-box span {
position: absolute;
bottom: 10px;
left: 25px;
color: gray;
pointer-events: none;
transition: all 0.3s ease;
}



.input-box .underline
{
position: absolute;
bottom: 0px;
height: 2px;
width: 90%;
}
.box2  .input-box .underline
{
position: absolute;
bottom: 0px;
height: 2px;
width: 90%;
}

.input-box .underline::before
{
position: absolute;
content: "";
height: 100%;
width: 100%;
background: #4158d0;
transform: scaleX(0);
transition: 0.3s ease;
}
.box2  .input-box .underline::before
{
position: absolute;
content: "";
height: 100%;
width: 100%;
background: #4158d0;
transform: scaleX(0);
transition: 0.3s ease;
}



.input-box input:focus ~ .underline::before,
.input-box input:valid ~ .underline::before{
    transform: scaleX(1);  
}
.box2  .input-box input:focus ~ .underline::before,
.box2  .input-box input:valid ~ .underline::before{
    transform: scaleX(1);  
}

.input-box i{
    margin-left: -20px;
    font-size: 20px;
    align-self: center;
    font-weight:bold;
    color: #56c8f5;
}
.box2  .input-box i{
     margin-left: -20px;
    font-size: 20px;
    align-self: center;
    font-weight:bold;
    color: #56c8f5;
}

.budget-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}
.budget-btn button{
    background-color: transparent;
    outline: 1px solid #4158d0;
    border: none;
width: 100px;
border-radius: 10px;
height: 30px;
cursor: pointer;
transition: all 0.5s;
}

.budget-btn button:hover{
background-color: #4158d0;
color: white;

}

.icons{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    min-height: 300px;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
}
.icons div{
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
background-color: #fff;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
width: 200px;
height: 150px;

}
.icons div #amo{
background-color:#03a9f4 ;
color: #fff;
width: 50px;
height: 50px;
border-radius: 50%;
font-size: 30px;
border: none;
}
.icons div #bud{
background-color:#009688 ;
color: #fff;
width: 50px;
height: 50px;
border-radius: 50%;
font-size: 30px;
border: none;
}
.icons div #exp{
background-color:#ff9800 ;
color: #fff;
width: 50px;
height: 50px;
border-radius: 50%;
font-size: 30px;
border: none;
}

.icons div h3{
margin-top: 10px;
font-family: 'Lobster';

}
.icons div span{
margin-top: 10px;
letter-spacing: 1.5px;
font-weight: bold;
line-height: 20px;
}

.table{
max-width: 80%;

padding: 15px;
overflow: auto;
margin: auto;
border-radius: 4px;
}

 table{
width: 100%;
font-size: 13px;
color: #444;
white-space: nowrap;
border-collapse: collapse;
}
table>thead{
    background-color:#00bcd4;
    color: #fff;
}
table>thead th{
padding: 15px;
font-size: 20px;
font-weight: bold;
}
table th,
table td{
border: 1px solid #cbeef3;
padding: 5px;
}

table>tbody>tr{
    background-color: #fff;
    transition: 0.3s ease-in-out;
}

table>tbody>tr:nth-child(even){
    background-color: rgb(238,238,238);
}
.th{
    width: 200px;
    
}

.noBorder{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
}

.noBorder button{
    
    background-color: transparent;
margin-right: 10px;
transition: 0.3s ease;
border: none;
cursor: pointer;
border-radius: 50%;
font-size: 20px;
color: #03a9f4;
}
