@font-face {
    font-family: "Figtree";
    src: url("assets/fonts/Figtree-VariableFont_wght.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Figtree Italic";
    src: url("assets/fonts/Figtree-Italic-VariableFont_wght.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "Figtree";
    background-color: hsl(47, 88%, 63%);
    display: flex;
    justify-content: center;
}

.course-card {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 0px 20px;
    height: 530px;
    width: 25%;
    margin-top: 100px;
    margin-bottom: 100px;
    border-radius: 20px;
    border: 1px solid black;
    box-shadow: 5px 5px;
}

@media(max-width: 768px) {
    .course-card {
        width: 50%;
    }
    .course-details .course-title {
        font-size: 18px;
    }
}

#main-illustration {
    width: 100%;
    border-radius: 15px;
}

.course-details .course-title {
    text-decoration: none;
    color: hsl(0, 0%, 7%);
    font-size: 26px;
    font-weight: 800;
}

.course-details .course-title:hover {
    color: hsl(47, 88%, 63%);
}

.course-tag {
    background-color: hsl(47, 88%, 63%);
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    color: hsl(0, 0%, 7%);
    border: none;
    width: 80px;
    height: 33px;
    font-weight: bolder;
    display: flex;
    justify-content: center;
    align-items: center;
}

.course-description {
    color: hsl(0, 0%, 42%);
}

.course-publish-date {
    color: hsl(0, 0%, 7%);
}

.instructor a{
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
}
.instructor span:hover {
    color: hsl(47, 88%, 63%);
}

.instructor span {
    color: hsl(0, 0%, 7%);
    font-weight: bold;
}