
ul#courses-list {display: grid;grid-template-columns: repeat(4, 1fr);gap: 20px;list-style-type: none;margin: 0;padding: 0;}

li.Courses-item {
    height: 500px;
    background: #f4f4f4;
    border-radius: 20px;
    overflow: hidden;
    border: solid 1px #00000020;
}

.Courses-content {
    padding: 5px 20px;
	height:222px;
	overflow:hidden;
}

h2.Courses-title{
	margin-top: 10px;
	font-size: 1.55rem;
}

span.Courses-category {
    position: absolute;
    right: 7px;
    top: 7px;
    background: #c1d001;
    padding: 5px 10px;
    border-radius: 14px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.Courses-imageWrapper {
    position: relative;
}

img.Courses-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.Search {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 30px;
    padding: 0 0 30px;
    border-bottom: solid 1px #00000020;
}
#search-input{
	color: #ffffff !important;
}
.Search-bar {
    width: 100%;
    border-radius: 20px !important;
    background: #4d5156!important;
    height: 43px;

}
.Search-category {
    width: fit-content;
    border-radius: 20px !important;
    background: #4d5156!important;
    height: 43px;
    color: #ffffff !important;
}
.mainHero {
    width: 100%;
    height: 700px;
    background-size: cover;
    background-repeat: no-repeat;
	background-position: bottom;
	margin: 0 0 30px;
	color: #ffffff00;
}
.Categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    padding: 0 0 30px;
    border-bottom: solid 1px #00000025;
    margin: 0px 0 30px;
    justify-content: center;
}

.Categories-button {
    padding: 10px 20px;
    background: #f2f2f2;
    border-radius: 209px;
    transition: all .3s !important;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
}

.Categories-button:hover{
    background: #C1D001 ;
    color: white;
}

@media (max-width: 1366px){
	ul#courses-list {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 1024px){
	ul#courses-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px){
	ul#courses-list {
		grid-template-columns: repeat(1, 1fr);
	}
}
