/**Typeo CSS Start**/
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;0,500;0,700;0,800;1,300;1,400;1,500;1,600;1,700&display=swap');
* {
box-sizing: border-box;
}
body {
margin: 0px;
background-color: #ffffff;
}
/**Typeo CSS End**/
.cate-courses-scn, .cate-courses-scn * {
--page-width: 1230px;
--base-fm: 'Rubik', sans-serif;
--title-size: 30px;
--base-size: 16px;
--base-clr: #424242;
--white-clr: #ffffff;
--theme-clr: #525fe1;
--bg-clr: #efedeb;
}
.cate-courses-scn {
background: #d9a7c7;
background: -webkit-linear-gradient(to right, #fffcdc, #d9a7c7);
background: linear-gradient(to right, #fffcdc, #d9a7c7);
font-family: var(--base-fm);
font-size: var(--base-size);
padding: 50px 0;
display: inline-block;
width: 100%;
}
.page-width {
max-width: var(--page-width);
margin: auto;
width: 100%;
padding: 0 15px;
}
.hd-tag {
color: var(--theme-clr);
margin-bottom: 10px;
display: inline-block;
font-weight: 500;
}
.cate-c-top h2 {
font-size: var(--title-size);
margin: 0px 0px 15px 0px;
}
.cate-c-top {
max-width: 630px;
margin: auto;
text-align: center;
line-height: 1.3;
}
.cate-c-top p {
margin: 0px;
line-height: 1.5;
}
.cate-courses-list {
display: flex;
flex-flow: row wrap;
width: calc(100% + 30px);
margin-left: -15px;
margin-top: 30px;
}
.cate-courses-list .cate-c-item {
position: relative;
width: calc(25% - 30px);
margin: 15px;
overflow: hidden;
text-align: center;
color: var(--base-clr);
border-radius: 6px;
min-height: 170px;
text-decoration: none;
background-size: cover;
display: flex;
flex-flow: row wrap;
align-items: center;
justify-content: center;
transition: 0.5s all;
top: 0px;
background-color: var(--white-clr);
}
.cate-courses-list .cate-c-item:hover {
top: -8px;
box-shadow: #a5a5a5 0px 2px 8px;
}
.cate-courses-list .cate-c-item .cate-img {
position: relative;
width: 100%;
display: block;
}
.cate-courses-list .cate-c-item .cate-img img {
display: block;
width: 100%;
}
.cate-courses-list .cate-c-item h4 {
margin: 0px 0px 5px 0px;
font-weight: 500;
font-size: calc(var(--base-size) + 2px);
}
.cate-c-cont {
position: relative;
padding: 20px 15px;
line-height: 1.4;
}
.courses-text {
color: var(--theme-clr);
margin-bottom: 5px;
display: inline-block;
}
.cate-c-cont p {
margin: 0px;
}
.cmn-button {
background-color: var(--theme-clr);
color: var(--white-clr);
text-decoration: none;
padding: 15px 30px;
border-radius: 4px;
transition: 0.5s all;
}
.cmn-btn-group {
display: flex;
flex-flow: row wrap;
justify-content: center;
margin-top: 20px;
}
.cmn-button:hover {
box-shadow: #767676 0px 2px 8px;
}
@media(max-width:1200px) {
.cate-courses-list {
width: calc(100% + 20px);
margin-left: -10px;
margin-top: 20px;
}
.cate-courses-list .cate-c-item {
width: calc(50% - 20px);
margin: 10px;
}
}
@media(max-width:767px) {
.cate-courses-scn {
padding: 30px 0px;
font-size: calc(var(--base-size) - 2px)
}
.cate-c-top h2 {
font-size: calc(var(--title-size) - 6px);
}
.cate-courses-list {
width: 100%;
margin-left: 0;
}
.cate-courses-list .cate-c-item {
width: 100%;
margin: 10px 0px;
}
}