.courses-container {
    max-width: none !important;
    width: 990px;
    margin: auto;
}

.list-courses-container {
    display: flex;
    flex-flow: row wrap;
}

.month-courses-title {
    margin-left: 10px;
}

.courses-container a {
    text-decoration: none;
}

.course {
    width: 310px;
    margin: 10px;
}

.course a {
    text-decoration: none !important;
    color: black;
}

.card {
    /* Add shadows to create the "card" effect */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    background-color: white;
    padding: 15px;
    height: 100%;
}

.card-no-hover {
    /* Add shadows to create the "card" effect */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    background-color: white;
    padding: 10px;
    height: 100%;
}

.card a {
    text-decoration: none;
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.container {
    padding: 16px 16px;
}

.course-title {
    color: hsl(195, 51%, 39%);
}

.course-subtitle {
    color: #7f8c8d;
    font-size: 12px;
    display: block;
}

.course-value {
    font-size: 15px;
    display: block;
}

.course-date {
    float: left;
    font-size: 14px;
}

.course-code {
    font-size: 14px;
}

.course-availability {
    border-radius: 10px;
    padding: 5px 10px;
    font-size: 12px;
}

.course-end-subs {
    font-size: 15px;
    font-style: italic;
}

.course-header {
    margin-bottom: 10px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

.category {
    float: right;
    font-size: 10px;
    color: white;
    padding: 4px 10px;
    background-color: lightcoral;
}

.course-info {
    font-weight: bold;
    color: salmon;
    font-size: 17px;
    margin-right: 8px;
}

.course-info-value {
    font-size: 17px;
}

.back-link-course {
    background-color: hsl(195, 51%, 39%);
    padding: 10px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    margin-bottom: 15px;
    float: left;
    border-radius: 10px;
}


/* On screens that are 600px or less, set the background color to olive */

@media screen and (max-width: 1000px) {
    .courses-container {
        width: 600px;
    }
    .course {
        width: 280px;
        margin: 10px;
    }
}

@media screen and (max-width: 600px) {
    .courses-container {
        width: 90%;
    }
    .course {
        width: 100%;
        margin: 0px;
        margin-bottom: 20px;
    }
}