#courses-list {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
#courses-list h1 {
    color: #000;
    font-weight: 800;
    font-size: 2.5rem;
}
#courses-list h4 {
    color: #e84435;
    font-weight: 700;
    font-size: 2.5rem;
}
#courses-list .tab-content{
    margin-top: 50px;
}
#courses-list .nav {
    margin-top: 30px;
}
#courses-list .nav .nav-link {
    color: #666666;
    border: solid 1px #666666;
    background: none;
    margin: 0 5px;
    font-weight: 700;
}
#courses-list .nav .nav-link.active, #courses-list .nav .nav-link:hover  {
    background: #ca6673;
    background: -webkit-linear-gradient(-90deg, rgba(202, 102, 115, 1) 0%, rgba(145, 119, 199, 1) 50%, rgba(71, 150, 227, 1) 100%);
    background: -moz-linear-gradient(-90deg, rgba(202, 102, 115, 1) 0%, rgba(145, 119, 199, 1) 50%, rgba(71, 150, 227, 1) 100%);
    background: linear-gradient(-90deg, rgba(202, 102, 115, 1) 0%, rgba(145, 119, 199, 1) 50%, rgba(71, 150, 227, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#CA6673", endColorstr="#4796E3", GradientType=0);
    color: #fff;
    border-color:transparent;
}
#courses-list .items > div{
    margin-top: 30px;
}
#courses-list .item {
    text-align: left;
    border: solid 1px #666666;
    border-radius: 15px;
    display: block;
    text-decoration: none;
    padding: 15px 15px 32px;
    height: 100%;
    position: relative;
}
#courses-list .item .img {
    border-radius: 15px;
    overflow: hidden;
}
#courses-list .item img {
    border-radius: 15px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}
#courses-list .item:hover img {
    transform: scale(1.2);
}
#courses-list .item .tags {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}
#courses-list .item .tags .competency {
    display: inline-block;
    border-radius: 5px;
    background-color: #355bdc;
    font-weight: 700;
    padding: 5px;
    color: #fff;
    font-size: 0.6rem;
}
#courses-list .item .tags .time {
    display: inline-block;
    border-radius: 5px;
    background-color: #e84435;
    font-weight: 700;
    padding: 5px;
    color: #fff;
    font-size: 0.6rem;
}
#courses-list .item .tags .time i {
    margin-right: 5px;
}
#courses-list .item h5 {
    margin-top: 10px;
    font-weight: 700;
    font-size: 1rem;
    color: #000;
    height: 100px;
    display: flex;
    align-items: center;
}
#courses-list .item p {
    margin-top: 10px;
    border-top: solid 1px #000;
    border-bottom: solid 1px #000;
    font-size: 0.8rem;
    color: #666666;
    padding: 5px 0;
    display: flex;
    justify-content: space-between;
}
#courses-list .item .btn {
    background-color: #ff9d00;
    font-weight: bold;
    color: #fff;
    border-radius: 15px 15px 0 0;
    font-size: 0.8rem;
    padding: 5px 15px;
    position: absolute;
    bottom: 0;
}
#courses-list .circlered {
    position: absolute;
    left: 30%;
    top: 5%;
    width: 100px;
}
#courses-list .starblue {
    position: absolute;
    left: 3%;
    top: 15%;
    width: 150px;
}
#courses-list .starred {
    position: absolute;
    right: 4%;
    bottom: 5%;
    width: 150px;
}
#courses-list .stargreen {
    position: absolute;
    top: 1%;
    right: 0;
    width: 100px;
    height: 100px;
    transform: translate(50%, 50%);
}

@media (orientation: portrait) {
    #courses-list h1{
        font-size: 1.5rem;
    }
    #courses-list .stargreen {
        width: 50px;
        height: 50px;
    }
    #courses-list .circlered {
        width: 20px;
    }
    #courses-list .starblue {
        width: 20px;
    }
    #courses-list .starred {
        width: 20px;
    }
    #courses-list .nav .nav-link{
        margin-top: 5px;
    }
}
