*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    cursor: url("../images/cursor.png"), auto;
}
body{
    display: flex;
    align-items: center;
    flex-direction: column;
    font-family: sans-serif;
}
#main{
    width: 45%;
    display: flex;
    justify-content: space-between;
    margin: 50px;
}
h1{
    font-size: 45px;
}
#topWord{
    font-size: 20px;
    font-weight: 100;
    color: grey;
}
.newPlanBtn{
    position: relative;
    top: 10px;
    width: 150px;
    height: 70px;
    background-color: black;
    color: white;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 500;
    border: 2px solid black;
    transition: 0.3s;
    cursor: url("../images/pointerCursor.png"), auto;
}
.newPlanBtn:hover{
    transform: translateY(-3px);
}
.mainDiv{
    width: 700px;
    height: 300px;
    border-radius: 20px;
    box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.p1{
    font-size: 21px;
    font-weight: 450;
    margin: 5px;
}
.p2{
    color: grey;
    font-size: 17px;
}
.icon{
    width: 80px;
    height: 80px;
}
.overlay{
    width: 100%;
    height: 100vh;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}
.inputDiv{
    width: 450px;
    height: 300px;
    border-radius: 20px;
    padding: 30px;
    background-color: white;
    animation: scaleAnimate 0.3s forwards;
}
@keyframes scaleAnimate {
    from{
        transform: scale(0.8);
    }
    to{
        transform: scale(1);
    }
}
.cross{
    width: 20px;
    height: 20px;
    position: absolute;
    right: 15px;
    top: 15px;
    font-weight: 100;
    cursor: url("../images/pointerCursor.png"), auto;
}
.animate{
    animation: closePage 0.17s forwards;
}
@keyframes closePage {
    to{
        transform: scale(0.9);
        opacity: 0;
    }
}
.topic{
    font-size: 30px;
    font-weight: 600;
    margin: 0 0 35px 0;
}
.titleInput{
    width: 95%;
    height: 30px;
    border-radius: 20px;
    margin: 12px 0;
    padding: 30px 20px;
    font-size: 20px;
    outline: white;
    border: 2px solid grey;
}
.cancel{
    width: 120px;
    height: 35px;
    position: absolute;
    right: 170px;
    bottom: 30px;
    background-color: white;
    border: 2px solid white;
    font-size: 15px;
    cursor: url("../images/pointerCursor.png"), auto;
}
.save{
    cursor: url("../images/pointerCursor.png"), auto;
    font-size: 15px;
    width: 120px;
    height: 35px;
    position: absolute;
    right: 35px;
    bottom: 30px;
    background-color: black;
    color: white;
    font-weight: 600;
    border: 2px solid black;
    border-radius: 10px;
}
.myDiv{
    width: 700px;
    border-radius: 20px;
    box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.2);
}
.card{
    width: 700px;
    height: 100px;
    border-radius: 20px;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.2);
    transition: 0.2s;
    margin: 13px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    cursor: url("../images/pointerCursor.png"), auto;
}
.card:hover{
    transform: scale(1.03);
    box-shadow: 0 2px 5px 1px rgba(0,0,0,0.2);
}
.card:hover .arrow{
    animation: rightMove 0.17s forwards;
}
.title{
    cursor: url("../images/pointerCursor.png"), auto;
    width: 82%;
    height: max-content;
    font-size: 20px;
    margin: 15px;
    font-weight: 700;
}
.arrow{
    height: 20px;
    width: 20px;
    background-image: url("../images/arrow.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    top: 10px;
    cursor: url("../images/pointerCursor.png"), auto;
}
@keyframes rightMove {
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(4px);
    }
}
.binIcon{
    height: 20px;
    width: 20px;
    background-image: url("../images/trash.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    top: 5px;
    cursor: url("../images/pointerCursor.png"), auto;
}
.binIcon:hover{
    background-image: url("../images/redTrash.png");
}
.binAndArrow{
    cursor: url("../images/pointerCursor.png"), auto;
    width: 50px;
    display: flex;
    gap: 5px;
    margin: 20px 20px;
}
.percentOverlay{
    width: 95%;
    height: 10px;
    border-radius: 5px;
    background-color: grey;
    margin: 0 0 10px 14px;
    position: relative;
    cursor: url("../images/pointerCursor.png"), auto;
}
.percentcolor{
    height: 10px;
    background: black;
    border-radius: 5px;
    cursor: url("../images/pointerCursor.png"), auto;
}
.percentText{
    font-size: 12px;
    margin: 0 16px;
    color: #71717A;
    cursor: url("../images/pointerCursor.png"), auto;
}
.setMax{
    position: relative;
    top: 10px;
    width: 230px;
    height: 70px;
    background-color: grey;
    color: white;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 500;
    border: 2px solid grey;
}

@media screen and (min-width: 468px) and (max-width: 639px){
    #main{
        width: 90%;
        flex-direction: column;
        gap: 20px;
    }
    .mainDiv{
        width: 90%;
    }
    .myDiv{
        width: 90%;
    }
    .card{
        width: 90%;
    }
    .title{
        width: 67%;
    }
    .binAndArrow{
        margin: 20px 7%;
    }
    .percentOverlay{
        width: 93%;
        margin: 0 0 10px 13px;
    }
    .percentText{
        margin: 0 14px;
    }
}
@media screen and (max-width: 467px) {
    #main{
        width: 90%;
        flex-direction: column;
        gap: 20px;
    }
    .mainDiv{
        width: 90%;
    }
    .myDiv{
        width: 90%;
    }
    .card{
        width: 90%;
    }
    .title{
        width: 67%;
    }
    .binAndArrow{
        margin: 20px 2%;
    }
    .percentOverlay{
        width: 93%;
        margin: 0 0 10px 13px;
    }
    .percentText{
        margin: 0 14px;
    }
}