/**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: #fff;
}
img {
max-width: 100%;
}
/**Typeo CSS End**/
.categories-scn, .categories-scn * {
--page-width: 1330px;
--base-fm: 'Rubik', sans-serif;
--title-size: 35px;
--base-size: 16px;
--white-clr: #ffffff;
--theme-clr: #ff6200;
}
.categories-scn h2 {
margin: 0px;
font-size: var(--title-size);
text-align: center;
display: block;
}
.page-width {
max-width: var(--page-width);
padding: 0 15px;
margin: auto;
width: 100%;
}
.categories-scn {
width: 100%;
padding: 50px 0px;
color: var(--base-size);
font-family: var(--base-fm);
}
.cate-img {
width: 220px;
height: 220px;
background: rgba(0, 0, 0, .04);
display: flex;
justify-content: center;
align-items: center;
border-radius: 100%;
padding: 25px;
margin: auto;
}
.cate-img img {
height: auto;
transition: 0.5s all;
}
.categories-list {
display: flex;
flex-flow: row wrap;
width: 100%;
margin-top: 40px;
}
.categories-list .cate-item {
width: 20%;
text-align: center;
padding: 10px;
}
.cate-name {
font-size: 18px;
text-decoration: none;
color: #000;
margin-top: 22px;
display: inline-block;
transition: 0.5s all;
}
.categories-list .cate-item a {
text-decoration: none;
}
.categories-list .cate-item:hover .cate-name {
color: var(--theme-clr);
}
.cate-name:after {
content: '';
width: 8px;
height: 8px;
border-top: var(--theme-clr) 2px solid;
border-right: var(--theme-clr) 2px solid;
display: inline-block;
transition: 0.5s all;
transform: rotate(45deg);
opacity: 0;
margin-left: -5px;
}
.categories-list .cate-item:hover .cate-name:after {
opacity: 1;
margin-left: 6px;
}
.categories-list .cate-item:hover .cate-img img {
transform: scale(1.05)
}
@media(max-width:1200px) {
.categories-scn {
width: 100%;
padding: 30px 0px;
}
.categories-list {
margin-top: 20px;
}
.cate-img {
width: 180px;
height: 180px;
}
.categories-scn h2 {
font-size: calc(var(--title-size) - 10px);
}
}
@media(max-width:992px) {
.cate-img {
width: 130px;
height: 130px;
}
.cate-name {
font-size: 16px;
}
}
@media(max-width:767px) {
.categories-list {
justify-content: center;
}
.categories-list .cate-item {
width: 33.33%;
padding: 10px;
}
.cate-img {
width: 110px;
height: 110px;
}
}