/**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: 16px;
--theme-clr: #56cfe1;
--title: 34px;
--base-clr: #999999;
--white-clr: #ffffff;
--black-clr: #000000;
--bg-clr: #F8FBFF;
}
.section-builder {
width: 100%;
display: flex;
flex-flow: row wrap;
margin: 40px 0px;
font-family: var(--base-fm);
}
.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%;
}
.coll-name {
position: absolute;
left: 50%;
margin: auto;
bottom: 21px;
z-index: 8;
background-color: var(--white-clr);
display: inline-block;
transform: translateX(-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;
}
.section-builder .coll-item:hover img {
transform: scale(1.2);
}
.section-builder .coll-item:hover .coll-name {
bottom: 25px;
background-color: var(--theme-clr);
color: var(--white-clr);
}
@media(max-width:1200px) {
.section-builder {
margin: 30px 0px;
}
.section-builder .coll-item {
width: calc(25% - 14px);
margin: 7px;
}
.coll-name {
padding: 10px 16px;
white-space: nowrap;
}
}
@media(max-width:767px) {
.section-builder .coll-item {
width: calc(50% - 14px);
margin: 7px;
}
}