File: /var/www/html/kollect/wp-content/themes/kollect/scss/common.scss
@import "partials";
html {
font-size: 20px;
}
body {
font-family: $primaryFont;
font-weight: 400;
}
a {
text-decoration: none;
}
img {
max-width: 100%;
}
.custom-container {
@media ($lg-1442) {
max-width: 1320px;
}
@media (min-width: 1500px) {
max-width: 1400px;
}
@media ($sm-579) {
padding-left: 20px;
padding-right: 20px;
}
}
.title {
font-size: 60px;
margin: 0;
padding: 0;
}
.sub-title {
font-size: 40px;
margin: 0;
padding: 0;
line-height: 1.3;
color: $primaryColor;
font-weight: 700;
@media ($sm-1679) {
font-size: 30px;
}
@media ($sm-1441) {
font-size: 28px;
}
@media ($sm-1199) {
font-size: 24px;
}
@media ($sm-991) {
font-size: 20px;
}
@media ($sm-767) {
font-size: 18px;
}
}
.bold {
font-weight: 700;
}
.semi-bold{
font-weight: 600;
}
.para {
font-size: 20px;
margin: 0;
padding: 0;
font-weight: 400;
line-height: 1.6;
@media ($sm-1679) {
font-size: 18px;
}
@media ($sm-1441) {
font-size: 16px;
}
@media ($sm-1199) {
font-size: 15px;
}
@media ($sm-991) {
font-size: 14px;
}
@media ($sm-767) {
font-size: 13px;
}
&.para-sm {
font-size: 18px;
@media ($sm-1679) {
font-size: 16px;
}
@media ($sm-1481) {
font-size: 15px;
}
@media ($sm-991) {
font-size: 14px;
}
@media ($sm-767) {
font-size: 13px;
}
}
}
.btn-common {
background-color: $btnColor;
color: $whiteColor;
font-weight: 500;
font-size: 16px;
height: 45px;
width: 159px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 25px;
overflow: hidden;
position: relative;
@media ($sm-1679) {
height: 42px;
font-size: 14px;
}
@media ($sm-1441) {
height: 40px;
}
@media ($sm-1199) {
height: 40px;
font-size: 13px;
}
&::after {
content: "";
width: 0;
height: 100%;
background-color: $whiteColor;
position: absolute;
left: 0px;
top: 0;
transition: width 0.3s linear;
transform: translateX(-100%);
border-radius: 25px;
}
span {
position: relative;
z-index: 1;
&.txt{
margin-right: auto;
}
}
.icon{
-webkit-animation: bounceRight 2s infinite;
animation: bounceRight 2s infinite;
position: absolute;
right: 20px;
}
&:hover {
color: $primaryColor;
border: 1px solid $primaryColor;
&::after {
transform: translateX(0);
width: 100%;
}
.icon{
animation: none;
}
}
}
/* right bounce */
@-webkit-keyframes bounceRight {
0%,
20%,
50%,
80%,
100% {
-webkit-transform: translateX(0);
transform: translateX(0);
}
40% {
-webkit-transform: translateX(-30px);
transform: translateX(-30px);
}
60% {
-webkit-transform: translateX(-15px);
transform: translateX(-15px);
}
}
@-moz-keyframes bounceRight {
0%,
20%,
50%,
80%,
100% {
transform: translateX(0);
}
40% {
transform: translateX(-30px);
}
60% {
transform: translateX(-15px);
}
}
@keyframes bounceRight {
0%,
20%,
50%,
80%,
100% {
-ms-transform: translateX(0);
transform: translateX(0);
}
40% {
-ms-transform: translateX(-30px);
transform: translateX(-30px);
}
60% {
-ms-transform: translateX(-15px);
transform: translateX(-15px);
}
}
/* /right bounce */
.btn-wrap {
.link {
display: flex;
align-items: center;
justify-content: space-between;
background: #fff;
border-radius: 30px;
width: 210px;
height: 50px;
padding: 15px 25px;
@media ($sm-1679) {
height: 45px;
font-size: 14px;
}
@media ($sm-1441) {
height: 40px;
}
@media ($sm-1199) {
height: 38px;
font-size: 13px;
}
span {
color: #1d946a;
font-weight: 500;
}
&.color-btn {
background-color: #187fa1;
span {
color: #ffffff;
}
.btn-arrow {
path {
fill: #ffffff;
}
}
}
}
}
.support-cta {
width: 93px;
height: 93px;
display: flex;
align-items: center;
justify-content: center;
position: fixed;
bottom: 20px;
right: 79px;
z-index: 2;
@media ($sm-1679) {
width: 80px;
height: 80px;
right: 60px;
}
@media ($sm-1441) {
width: 60px;
height: 60px;
right: 50px;
}
@media ($sm-1199) {
width: 55px;
height: 55px;
right: 40px;
}
@media ($sm-991) {
right: 30px;
}
@media ($sm-579) {
right: 20px;
}
&::after{
content: "";
width: 34px;
height: 32px;
background: url(../images/support-icon.svg) no-repeat center;
background-size: contain;
display: inline-block;
position: relative;
z-index: 1;
@media ($sm-1441){
width: 24px;
height: 22px;
}
}
img{
-webkit-animation:spin 10s linear infinite;
-moz-animation:spin 10s linear infinite;
animation:spin 10s linear infinite;
position: absolute;
}
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }
.inner-bnr {
width: 100%;
background: #15789a;
box-shadow: 0px 11px 18.8px 2px #00506b05;
display: flex;
align-items: stretch;
height: 682px;
position: relative;
@media ($sm-1441) {
height: 600px;
}
@media ($sm-1199) {
height: 500px;
}
@media ($sm-991) {
height: 350px;
}
@media ($sm-767) {
height: 330px;
}
@media ($sm-579) {
height: auto;
}
.bnr-inner {
display: flex;
align-items: stretch;
height: 100%;
@media ($sm-579) {
flex-direction: column;
margin-top: 115px;
}
}
.content-left {
max-width: 761px;
color: $whiteColor;
display: flex;
flex-direction: column;
justify-content: flex-end;
padding-bottom: 183px;
@media ($sm-1679) {
padding-bottom: 160px;
max-width: 728px;
}
@media ($sm-1441) {
padding-bottom: 134px;
max-width: 647px;
}
@media ($sm-1199) {
padding-bottom: 100px;
}
@media ($sm-991) {
padding-bottom: 40px;
}
@media ($sm-767) {
padding-bottom: 20px;
}
.title {
font-size: 44px;
font-weight: 400;
color: $whiteColor;
margin-bottom: 20px;
@media ($sm-1679) {
font-size: 36px;
}
@media ($sm-1441) {
font-size: 30px;
}
@media ($sm-1199) {
font-size: 26px;
}
@media ($sm-991) {
font-size: 22px;
}
@media ($sm-767) {
font-size: 20px;
}
&.bold {
font-weight: 600;
}
}
.para {
&.bold {
font-weight: 700;
}
&.light {
margin-top: 10px;
color: #c0e6f3;
}
}
}
.img-wrp {
max-width: 595px;
margin-left: 140px;
display: flex;
align-items: flex-end;
@media ($sm-1679) {
margin-left: 100px;
}
@media ($sm-1441) {
margin-left: 70px;
}
@media ($sm-1199) {
margin-left: 40px;
width: 100%;
max-width: 400px;
}
@media ($sm-767) {
margin-left: 20px;
margin-top: 0px;
}
@media ($sm-579) {
max-width: 207px;
margin: 0px auto 0;
}
&.feature-img {
img {
width: 595px;
max-width: 595px;
margin-right: -117px;
@media ($sm-1679) {
margin-right: -60px;
}
@media ($sm-1441) {
margin-right: -40px;
width: 500px;
max-width: 500px;
}
@media ($sm-1199) {
margin-right: 0px;
width: 100%;
max-width: 400px;
}
@media ($sm-767) {
margin-right: 0px;
width: unset;
max-width: 240px;
}
@media ($sm-579) {
max-width: 100%;
width: 100%;
}
}
}
}
.outer-img {
max-width: 608px;
display: flex;
align-items: flex-end;
position: absolute;
right: 0;
bottom: 0;
@media ($sm-1441){
max-width: 525px;
}
@media ($sm-1199){
max-width: 415px;
}
@media ($sm-991){
max-width: 270px;
}
@media ($sm-579){
position: static;
margin-left: auto;
}
}
// &.bnr-about {
// @media ($sm-1679) {
// height: 580px;
// }
// .bnr-inner {
// position: relative;
// .content-left {
// max-width: 980px;
// @media ($sm-1441){
// max-width: 670px;
// }
// @media ($sm-1199){
// max-width: 600px;
// }
// .title {
// line-height: 1.2;
// }
// .para {
// max-width: 750px;
// }
// }
// }
// .img-wrp {
// &.feature-img {
// max-width: 677px;
// margin: 0;
// position: absolute;
// right: -110px;
// bottom: 0;
// @media ($sm-1679) {
// max-width: 550px;
// right: 0;
// }
// @media ($sm-1441) {
// max-width: 480px;
// right: 0;
// }
// img {
// width: 677px;
// max-width: 677px;
// margin: 0;
// @media ($sm-1679) {
// max-width: 550px;
// }
// }
// }
// }
// }
&.abt{
.bnr-inner{
position: relative;
}
.content-left{
max-width: 980px;
@media ($sm-1199){
max-width: 585px;
}
@media ($sm-991){
max-width: 410px;
}
@media ($sm-767){
max-width: 260px;
}
@media ($sm-579){
max-width: 100%;
}
.para{
max-width: 740px;
}
}
.img-wrp{
margin-left: 20px;
position: absolute;
right: 0;
bottom: 0;
@media ($sm-579){
position: static;
margin-left: auto;
margin-right: auto;
}
img{
margin-left: auto;
@media ($sm-991){
max-width: 290px;
}
}
}
}
&.plus{
@media ($sm-579){
flex-direction: column;
}
.content-left{
max-width: 600px;
justify-content: center;
padding-bottom: 0;
padding-right: 20px;
@media ($sm-1679){
padding-bottom: 0;
max-width: 510px;
}
@media ($sm-1441){
max-width: 460px;
}
@media ($sm-1199){
max-width: 380px;
}
@media ($sm-991){
max-width: 350px;
}
@media ($sm-767){
max-width: 310px;
}
@media ($sm-579){
max-width: 100%;
text-align: center;
margin-bottom: 20px;
padding-right: 0;
}
.para{
margin-bottom: 20px;
line-height: 24px;
@media ($sm-1679){
margin-bottom: 15px;
line-height: 22px;
}
@media ($sm-1441){
line-height: 20px;
}
@media ($sm-1199){
line-height: 19px;
margin-bottom: 10px;
}
@media ($sm-991){
line-height: 18px;
}
}
.title{
margin-bottom: 0;
}
}
.outer-img{
@media ($sm-579){
margin: 10px auto 0;
}
.desk-only{
@media ($sm-579){
display: none;
}
}
.mob-only{
display: none;
@media ($sm-579){
display: block;
}
}
}
}
}
.ready-to-kollect-wtap {
padding: 120px 0;
position: relative;
@media ($sm-1679) {
padding: 80px 0;
}
@media ($sm-991) {
padding: 40px 0;
}
@media ($sm-767) {
padding: 30px 0 40px 0;
}
&:before {
position: absolute;
left: 0;
bottom: 0;
top: 0;
margin: auto;
background: url(../images/ready-to-doller.svg) no-repeat;
width: 203px;
height: 300px;
content: "";
@media ($sm-1679) {
background-size: 140px;
width: 140px;
height: 200px;
}
@media ($sm-1481) {
display: none;
}
}
.row-align {
align-items: center;
}
.img {
margin: 0 auto;
display: block;
max-width: 480px;
@media ($sm-1679) {
max-width: 400px;
}
@media ($sm-1481) {
max-width: 370px;
}
@media ($sm-1199) {
max-width: 340px;
}
@media ($sm-991) {
max-width: 300px;
}
@media ($sm-767) {
max-width: 280px;
margin-bottom: 20px;
}
}
.content-wrap {
width: 610px;
@media ($sm-1679) {
width: 550px;
}
@media ($sm-1199) {
width: 100%;
}
@media ($sm-767) {
text-align: center;
}
}
.gift-title {
color: #00506b;
font-size: 36px;
line-height: 1.4;
font-weight: 500;
margin: 0;
padding: 0;
@media ($sm-1679) {
font-size: 30px;
}
@media ($sm-1481) {
font-size: 26px;
}
@media ($sm-1199) {
font-size: 20px;
}
@media ($sm-991) {
font-size: 18px;
}
@media ($sm-579) {
font-size: 16px;
}
span {
font-weight: 700;
}
}
.gift-footer {
border-top: 1px solid rgba(0, 80, 107, 0.15);
padding: 30px 0 0 0;
margin: 30px 0 0 0;
&.about{
.btn-wrap{
.btn-common{
width: 212px;
padding: 15px 34px;
&:hover{
.icon{
img{
filter: brightness(0) saturate(100%) invert(39%) sepia(58%) saturate(819%) hue-rotate(152deg) brightness(91%) contrast(84%);
}
}
}
}
}
}
&.feature{
border: none;
@media ($sm-767){
text-align: center;
}
.btn-wrap{
margin-top: 13px;
.btn-common{
width: 212px;
padding: 15px 34px;
&:hover{
.icon{
img{
filter: brightness(0) saturate(100%) invert(39%) sepia(58%) saturate(819%) hue-rotate(152deg) brightness(91%) contrast(84%);
}
}
}
}
}
}
&.plus{
border:none;
@media ($sm-767){
text-align: center;
}
.gift-para{
margin-bottom: 10px;
}
.btn-wrap{
margin-top: 26px;
@media ($sm-1679){
margin-top: 20px;
}
@media ($sm-1441){
margin-top:15px;
}
@media ($sm-1199){
margin-top: 10px;
}
// @media ($sm-991){
// margin-top: 25px;
// }
// @media ($sm-767){
// margin-top: 20px;
// }
.color-btn{
justify-content: center;
flex-direction: row-reverse;
span{
font-size: 17px;
@media ($sm-1679){
font-size: 16px;
}
@media ($sm-1441){
font-size: 15px;
}
@media ($sm-1199){
font-size: 14px;
}
}
@media ($sm-1199){
width: 180px;
}
.icon{
margin-right: 26px;
max-width: 20px;
@media ($sm-1199){
margin-right: 20px;
max-width: 15px;
}
}
&:hover{
span{
z-index: 1;
position: relative;
color: $primaryColor;
&.icon{
img{
filter: brightness(0) saturate(100%) invert(39%) sepia(58%) saturate(819%) hue-rotate(152deg) brightness(91%) contrast(84%);
}
}
}
}
}
}
}
@media ($sm-1679) {
padding: 20px 0 0 0;
margin: 20px 0 0 0;
}
@media ($sm-991) {
padding-top: 10px;
margin-top: 10px;
}
.gift-title {
padding-bottom: 10px;
@media ($sm-1679) {
padding-bottom: 5px;
}
}
.gift-para {
font-size: 23px;
color: #325865;
padding-bottom: 20px;
@media ($sm-1679) {
font-size: 20px;
padding-bottom: 10px;
}
@media ($sm-1481) {
font-size: 18px;
}
@media ($sm-1199) {
font-size: 16px;
}
@media ($sm-991) {
font-size: 14px;
}
}
.btn-wrap {
@media ($sm-767) {
margin: 0 auto;
justify-content: center;
display: flex;
}
.color-btn{
position: relative;
overflow: hidden;
&::after {
content: "";
width: 0;
height: 100%;
background-color: $whiteColor;
position: absolute;
left: 0px;
top: 0;
transition: width 0.3s linear;
transform: translateX(-100%);
border-radius: 25px;
}
&:hover{
color: $primaryColor;
border: 1px solid $primaryColor;
&::after {
transform: translateX(0);
width: 100%;
}
}
}
}
}
.align-right {
display: flex;
justify-content: end;
}
}