/**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**/
.banner-center * {
--base-fm: 'Rubik', sans-serif;
--bnr-cont-w: 800px;
--base-size: 20px;
--title-size: 50px;
--white-clr: #ffffff;
--black-clr: #000000;
--black-o-clr: 0, 0, 0;
}
@media(min-width:768px) {
.mobile-view {
display: none;
}
}
@media(max-width:767px) {
.desktop-view {
display: none;
}
}
.banner-center {
width: 100%;
min-height: 850px;
display: flex;
flex-flow: row wrap;
align-items: center;
justify-content: center;
position: relative;
}
.cmn-bnr-img {
width: 100%;
height: 100%;
position: absolute;
left: 0px;
top: 0px;
background-position: center center;
background-size: cover;
}
.banner-cont {
padding: 50px 30px;
color: var(--white-clr);
max-width: var(--bnr-cont-w);
background-color: rgba(var(--black-o-clr), 0.8);
width: 100%;
text-align: center;
font-family: var(--base-fm);
position: relative;
z-index: 1;
}
.banner-cont h2 {
font-size: var(--title-size);
font-weight: 500;
letter-spacing: 2px;
margin: 0 0px 30px 0px;
}
.banner-cont p {
font-size: var(--base-size);
margin: 0px;
line-height: 1.6;
}
.banner-cont .buttons {
background-color: var(--white-clr);
color: var(--black-clr);
text-decoration: none;
padding: 16px 34px;
display: inline-block;
font-size: var(--base-size);
text-transform: uppercase;
margin-top: 30px;
transition: 0.5s all;
}
.banner-cont .buttons:hover {
background-color: var(--black-clr);
color: var(--white-clr);
}
@media(max-width:1500px) {
.banner-center {
min-height: 600px;
}
}
@media(max-width:992px) {
.banner-center {
min-height: 400px;
}
.banner-cont {
padding: 20px 15px;
max-width: calc(100% - 40px)
}
.banner-cont h2 {
font-size: calc(var(--title-size) - 10px);
margin-bottom: 15px;
}
.banner-cont .buttons {
font-size: calc(var(--base-size) - 4px);
}
.banner-cont .buttons {
margin-top: 20px;
}
}
@media(max-width:767px) {
.banner-cont h2 {
font-size: calc(var(--title-size) - 20px);
}
.banner-cont p {
font-size: calc(var(--base-size) - 4px);
line-height: 1.4;
}
.banner-cont p br {
display: none;
}
.banner-cont .buttons {
margin-top: 20px;
padding: 12px 26px;
}
}