@font-face {
    font-family: "roboto";
    src: url(./fonts/Roboto-Regular.ttf);
    font-weight: 400;
}

@font-face {
    font-family: "roboto";
    src: url(./fonts/Roboto-Medium.ttf);
    font-weight: 500;
}

@font-face {
    font-family: "roboto";
    src: url(./fonts/Roboto-Bold.ttf);
    font-weight: 700;
}

@font-face {
    font-family: "nunito";
    src: url(./fonts/Nunito-Regular.ttf);
    font-weight: 400;
}

@font-face {
    font-family: "nunito";
    src: url(./fonts/Nunito-Medium.ttf);
    font-weight: 500;
}

@font-face {
    font-family: "nunito";
    src: url(./fonts/Nunito-Bold.ttf);
    font-weight: 700;
}

:root {
    --font-main: "roboto";
    --text-title: #101010;
    --text-describe: #646764;
    --color-button: #962428;
    --color-hover: #ff551d;
    --mauchinh: #171f32;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-style: normal;
    font-size: 16px;
    font-family: var(--font-main);
    font-weight: 400;
    color: var(--text-title);
}

/* .sct-instructors {
    padding-top: 80px;
    padding-bottom: 80px;
} */

.card-tonginstr {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.card-instrustors {
    width: 280px;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid #c3c4c7;
    overflow: hidden;
    transition: transform 0.3s ease;
    font-size: 1em;
}

.body-card-in {
    padding: 20px;
    text-align: center;
}

.img-avt-inst {
    width: 230px;
    height: 230px;
    margin: 0 auto 15px;
    overflow: hidden;
    object-fit: cover;
}

.img-avt-inst img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name-user .ten-us {
    font-weight: 700;
    margin: 10px 0;
    color: #555555;
    font-size: 1.3em;
}

.courses-us {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

.courses-us svg {
    color: #555;
    margin-right: 5px;
}

.so-khoa,
.so-sv {
    display: flex;
    align-items: center;
    color: #666;
}

.xem-hs {
    display: inline-block;
    margin-top: 20px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    padding: 15px 20px;
    background-color: #D9D9D9;
    color: #555555;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    width: 230px;
}

.xem-hs:hover {
    background-color: rgb(255, 182, 6);
}

@media(min-width:480px) {
    .card-instrustors {
        width: 400px;
    }

    .img-avt-inst {
        width: 350px;
        height: 350px
    }

    .xem-hs {
        width: 350px;
    }

    .courses-us {
        justify-content: space-between;
    }
}

@media(min-width:576px) {
    
    .card-instrustors {
        width: 450px;
    }

    .img-avt-inst {
        width: 400px;
        height: 400px
    }

    .xem-hs {
        width: 400px;
    }
}

@media(min-width:768px) {
    .card-tonginstr {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 40px;
    }

    .card-instrustors {
        width: 320px;
    }

    .img-avt-inst {
        width: 270px;
        height: 270px
    }

    .xem-hs {
        width: 270px;
    }
}

@media(min-width:996px) {
    .card-instrustors {
        width: 280px;
    }

    .img-avt-inst {
        width: 230px;
        height: 230px
    }

    .xem-hs {
        width: 230px;
    }
}