@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&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&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


*{
    margin: 0;
    padding: 0;
    font-family: "IBM Plex Sans", sans-serif;
}

p{
    margin: 0;
}

.ntmmaincontainer{
    padding: 60px 114px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.ntmtopsection{
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.ntmtitlenbio{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ntmtitletext{
    color: #1F2937;
    font-size: 36px;
    font-weight: 600;
    line-height: 36px;
}

.ntmbiotext{
    color: #3A3A3A;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.ntmsourcetext{
    font-family: Roboto;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
}

.ntmindvcards{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(548px, 1fr));
    row-gap: 24px;
    column-gap: 56px;
}

.ntmcard{
    display: flex;
    border: 1px solid #E5E7EB;
    box-shadow: 0px 4px 6px 0px #0000001A;
    border-radius: 12px;
    background-color: #F5F5F5;
    height: 148px;
    align-items: center;
    overflow: hidden;
}

.ntmcfirstbox{
    height: 100%;
    width: 96px;
    min-width: 96px;
    max-width: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background-color: #B32B26;
}

.ntmcfirstbox p:nth-child(1){
    font-family: Poppins;
    font-size: 14px;
    font-weight: 500;
}

.ntmcfirstbox p:nth-child(2){
    font-size: 30px;
    font-weight: 700;
}

.ntmcfirstbox .p2text{
    font-size: 20px !important;
    font-weight: 700;
}

.ntmcdetailsbox{
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ntmctitletext{
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
}

.ntmcdesctext{
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #4B5563;
}

.ntmcdurationtext{
    color: #555555;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 950px){
    .ntmmaincontainer{
        padding: 32px;
        gap: 24px;
    }

    .ntmindvcards{
        row-gap: 16px;
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 500px){
    .ntmmaincontainer{
        padding: 32px 16px;
        gap: 24px;
    }

    .ntmtopsection,
    .ntmtitlenbio{
        gap: 6px;
    }

    .ntmtitletext{
        font-size: 28px;
        line-height: 28px;
    }

    .ntmbiotext{
        font-size: 12px;
        line-height: 18px;
    }

    .ntmsourcetext{
        font-size: 8px;
    }

    .ntmindvcards{
        row-gap: 16px;
        grid-template-columns: repeat(1, 1fr);
    }

    .ntmcard{
        border-radius: 7.86px;
        height: 96px;
    }

    .ntmcfirstbox{
        width: 62.89px;
        min-width: 62.89px;
        max-width: 62.89px;
    }
    
    .ntmcfirstbox p:nth-child(1){
        font-size: 9.17px;
    }

    .ntmcfirstbox p:nth-child(2){
        font-size: 19.65px;
    }

    .ntmcfirstbox .p2text{
        font-size: 16px !important;
    }
    
    .ntmctitletext{
        font-size: 14px;
        line-height: 18px;
    }

    .ntmcdesctext{
        font-size: 12px;
        line-height: 13px;
    }
    
    .ntmcdurationtext{
        font-size: 9.17px;
        line-height: 13px;
    }

    .ntmcdurationtext img{
        height: 9.17px;
        width: 9.17px;
    }

    .ntmcdetailsbox{
        padding: 13px;
        gap: 7px;
    }
}