@font-face {
    font-family: regular;
    src: url(../fonts/Poppins/Poppins-Regular.ttf);
}

@font-face {
    font-family: boldd;
    src: url(../fonts/Poppins/Poppins-Bold.ttf);
}

@font-face {
    font-family: mediumm;
    src: url(../fonts/Poppins/Poppins-Medium.ttf);
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    border: none;
}

:root {
    --main-color: #e3d12d;
    --primary-color: #253158;
    --secondary-color: #ededed;
    --back-color: #eeeeee;
}

main {
    /* border: 2px solid red; */
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 30px;
}

main section h1 {
    color: var(--primary-color);
    font-family: boldd;
}

main section h2 {
    color: var(--primary-color);
    font-family: mediumm;
    font-size: 20px;
}

main section p {
    font-family: regular;
    text-align: justify;
}

main section ul li {
    list-style: disc;
}

.heading-sec {
    /* border: 2px solid red; */
    display: flex;
    align-items: center;
    gap: 40px;
    padding-bottom: 20px;
}

.heading-sec .img-area img {
    height: 150px;
    border-radius: 50%;
}

section .table {
    border: 1px solid rgba(0, 0, 0, 0.09);
    padding: 10px 10px;
    transition: .3s;
}

section .table:hover {
    /* border: 2px solid rgba(0, 0, 0, 0.09); */
    box-shadow: 0px 0px 2px rgb(0, 0, 0);
}

section .table .heading {
    /* border: 2px solid rgb(0, 255, 30); */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px;
}

section .table .heading .table-head img {
    width: 150px;
}

section .table .heading .btn {
    border: none;
}

section .table .heading .btn a {
    font-family: mediumm;
    background-color: var(--primary-color);
    text-decoration: none;
    color: var(--secondary-color);
    padding: 10px 25px;
    transition: .3s;
}

section .table .heading .btn a:hover {
    background-color: var(--main-color);
    color: var(--primary-color);
}

section .table .table-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
}

section .table .table-content p {
    /* border: 1px solid red; */
    text-align: start;
    width: 200px;
    font-family: regular;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*--- media-starts ---*/

@media(max-width:620px) {

    main section h1 {
        color: var(--primary-color);
        font-family: boldd;
        font-size: 20px;
    }

    .heading-sec .img-area img {
        height: 100px;
    }
}

@media(max-width:500px) {
    main {
        padding: 20px 10px;
    }

    main section h1 {
        font-size: 22px;
    }

    main section h2 {
        font-size: 16px;
    }

    main section p {
        font-size: 14px;
    }
}

/*--- media-ends ---*/

@media(max-width:460px) {

    section .table .heading .btn a {
        padding: 10px 15px;
        font-size: 13px;
    }

    section .table .table-content {
        display: flex;
        justify-content: start;
    }

    section .table .table-content p {
        width: 100%;
        display: flex;
        justify-content: start;
    }

}