/**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;
}
/**Typeo CSS End**/
img {
max-width: 100%;
}
.section-builder *, .section-builder {
--base-fm: 'Rubik', sans-serif;
--base-size: 20px;
--theme-clr: #56cfe1;
--title: 34px;
--base-clr: #999999;
--white-clr: #ffffff;
--black-clr: #000000;
--bg-clr: #e5fcff;
}
.section-builder {
width: 100%;
display: flex;
flex-flow: row wrap;
padding: 20px 20px;
font-family: var(--base-fm);
background-color: var(--bg-clr);
}
.section-builder .coll-item {
width: calc(25% - 30px);
margin: 15px;
overflow: hidden;
position: relative;
}
.coll-img {
overflow: hidden;
}
.section-builder .coll-item img {
transition: 0.5s all;
width: 100%;
object-fit: cover;
display: block;
}
.coll-name {
position: absolute;
left: 50%;
margin: auto;
top: 50%;
z-index: 8;
background-color: var(--white-clr);
display: inline-block;
transform: translate(-50%, -50%);
padding: 12px 28px;
font-size: var(--base-size);
color: var(--black-clr);
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
transition: 0.5s all;
letter-spacing: 1px;
text-transform: uppercase;
}
.section-builder .coll-item:hover img {
transform: scale(1.2);
}
.section-builder .coll-item:hover .coll-name {
background-color: var(--theme-clr);
color: var(--white-clr);
}
@media(max-width:1300px) {
.section-builder .coll-item {
width: calc(25% - 20px);
margin: 10px;
}
.coll-name {
padding: 10px 20px;
font-size: calc(var(--base-size) - 4px);
}
}
@media(max-width:1200px) {
.section-builder {
padding-left: 10px;
padding-right: 10px;
}
.section-builder .coll-item {
width: calc(25% - 10px);
margin: 5px;
}
.coll-name {
padding: 8px 16px;
font-size: calc(var(--base-size) - 6px);
}
}
@media(max-width:767px) {
.section-builder .coll-item {
width: calc(50% - 10px);
margin: 5px;
}
}