@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
#top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#logo {
    width: 17rem;
}


/* 
 * notification
/* -------------------------------------------------- */

#notification {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 1rem;
}

#notification img {
    margin-right: 0.5rem;
    /* 8px of 16px root*/
}


/* 
 * avatar
/* -------------------------------------------------- */

#avatar-profile {
    display: flex;
    align-items: center;
    color: #484848;
    text-decoration: none;
    font-family: 'Poppins', sans-serif !important;
    text-align: right;
}

#avatar-profile p {
    font-size: 1.25rem;
    /* 20px of 16px root*/
    line-height: 1.875rem;
    /*30px of 16px root*/
    margin-right: 1.25rem;
    font-weight: 600;
}

#avatar-profile span {
    display: block;
    font-weight: normal;
    font-size: 0.875rem;
    /* 14px of 16px root*/
    line-height: 1.5rem;
    /* 24px of 16px root*/
    font-weight: 400;
}

#avatar-profile p span:hover {
    text-decoration: underline;
    color: #A61F61;
}

#avatar-profile img {
    width: 4rem;
    /* 64px of 16px root*/
    height: 4rem;
    /* 64px of 16px root*/
    border-radius: 50%;
    border: 0.156rem solid #1584ca;
    /* 2.5px of 16px root*/
}


/* 
 * summary
/* -------------------------------------------------- */

#summary {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* 
 * summary info
/* -------------------------------------------------- */

#summary .info {
    display: flex;
    margin-bottom: 2rem;
}

.info>div {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.625rem;
    margin-right: 2.5rem;
    font-family: 'Poppins', sans-serif !important;
    /* 40px of 16px root*/
}

.info>div>strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.625rem;
    /* 26px of 16px root*/
}


/* 
 * summary button
/* -------------------------------------------------- */

#summary .button {
    padding: 0.75rem 1.25rem 0.75rem 0.75rem;
    margin-bottom: 2.5rem;
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px;
}

#summary .button span::before {
    width: 2rem;
    height: 2rem;
    content: " ";
    background-color: var(--color-background);
    opacity: 0.16;
    border-radius: 0.313rem;
    /* 5px of 16px root*/
    position: absolute;
}

#summary .button i {
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

#summary .button span i {
    width: 1.5rem;
    height: 1.5rem;
}


/* 
 * main
/* -------------------------------------------------- */

main {
    margin-top: 1rem;
}


/* 
 * CARD
/* -------------------------------------------------- */

.card {
    display: grid;
    grid-template-columns: 50% 20% 15% 15%;
    align-items: center;
    margin-bottom: 0.5rem;
    position: relative;
    transition: all 0.2s;
}

.card:hover {
    background: linear-gradient( 90deg, rgba(1, 175, 239, 0.2) 0.45%, rgba(252, 253, 255, 0.1) 31.4%), white;
}

.card::before {
    content: " ";
    width: 0.25rem;
    height: 0%;
    background-color: #197ac1;
    border-radius: 0.313rem 0 0 0.313rem;
    position: absolute;
    top: 0;
    left: -1px;
    transition: all 0.2s;
}

.card:hover::before {
    height: 100%;
}

.card .column:last-child {
    justify-self: flex-end;
}

.card .column>span {
    display: block;
    font-weight: 600;
    font-size: 0.75rem;
    /* 12px of 16px root*/
    text-transform: uppercase;
    color: var(--color-card-label);
}

.progress .column p {
    font-weight: 600;
}

.column.id {
    font-weight: 600;
    color: var(--color-card-label);
}

.column.name {
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 2.125rem;
}

.column.actions button img {
    width: 1.5rem;
    height: 1.5rem;
}

@media (max-width: 1390px) {
    .card {
        grid-template-columns: 50% 20% 15% 15%;
    }
}

@media (max-width: 970px) {
    .modal {
        padding: 0 !important;
    }
    .modal .modal-dialog {
        width: 100%;
        max-width: none;
        height: 100%;
        margin: 0;
    }
    .modal .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0;
    }
    .modal .modal-body {
        overflow-y: auto;
    }
    .card {
        grid-template-columns: 50% 20% 15% 15%;
    }
    .column.id {
        display: none;
    }
}

@media (max-width: 770px) {
    .card {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "lt rt" "lm rm" "lb rb";
        gap: 0.5rem;
    }
    .column.id {
        display: none;
    }
    .column.name {
        grid-area: lt;
    }
    .column.deadline {
        grid-area: lm;
    }
    .column.amount {
        grid-area: lb;
    }
    .column.status {
        justify-self: end;
        grid-area: rt;
    }
    .column.actions {
        grid-area: rb;
    }
}