File: /home/wekawqug/ndondocup.sisihub.co.tz/assets/css/CSSNEW.css
.img-bg {
height: 500px;
background-size: cover;
background-repeat: no-repeat;
position: relative;
background-position: center center;
}
@media (max-width: 768px) {
.img-bg {
height: 400px;
background-size: cover;
background-position: center center;
}
}
.img-bg:before {
position: absolute;
content: "";
background: rgb(36, 143, 102);
background: linear-gradient(0deg, rgb(3, 128, 75) 0%, rgba(84, 226, 141, 0.4) 100%);
opacity: 1;
bottom: 0;
left: 0;
right: 0;
z-index: 1;
top: 0;
}
.img-bg .img-bg-inner {
position: relative;
z-index: 2;
max-width: 700px;
padding-left: 100px;
padding-right: 100px;
margin-bottom: 50px;
}
@media (max-width: 768px) {
.img-bg .img-bg-inner {
padding-left: 30px;
padding-right: 30px;
margin-bottom: 50px;
}
}
.img-bg .img-bg-inner h2,
.img-bg .img-bg-inner p {
color: var(--color-white);
}
@media (max-width: 500px) {
.img-bg .img-bg-inner p {
display: none;
}
}
/* Adjusting order for mobile screens */
@media (max-width: 768px) {
#hero-slider .row {
flex-direction: column-reverse;
}
}