body {
  font-family: 'Lato', sans-serif;
}

/* Navbar */

.infinity-logo {
  height: 35px;
  width: auto;
}

.navbar .container-fluid {
  margin: 10px 25px
}

.navbar .bg-white {
  background-color: #ffffff;
}

.nav-link {
  text-transform: uppercase;
  font-size: 0.9em;
  font-weight: 300;
  color: #8a8a8a;
  padding-right: 0 !important;
  padding-left: 0 !important;
  margin-right: .6rem;
  margin-left: .6rem;
}

.nav-link:hover, .nav-link.active {
  border-bottom: 1px solid #333;
  color: #333;
}

@media (max-width: 991px) {
  .nav-link:hover, .nav-link.active {
    border-bottom: none;
  }
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.1rem;
}


/* Headings & Text */

h1 {
  font-size: 50px;
  font-weight: 300;
}

h2 {
  font-size: 30px;
  font-weight: 300;
  color: #59a83d;
}

.justify {
  text-align: justify;
}


/* Containers, Bg's */

.home-banner {
  background-image: url("../img/home-feature.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  height: 450px;
  filter: brightness(80%);
  background-position: center -200px;
}

@media (max-width: 1140px) {
  .home-banner {
    background-position: center;
  }
}

.home-banner .banner-text {
  width: 300px;
  position: absolute;
  bottom: 70px;
  right: 190px;
  text-align: justify;
  font-weight: 300;
  font-size: 18px !important;
}

@media (max-width: 1085px) {

  .home-banner {
    padding-top: 150px;
  }

  .home-banner .banner-text {
    position: static;
    width: 50%;
    margin: auto;
    background: rgba(255, 255, 255, .7);
    padding: 20px;
  }
}

@media (max-width: 675px) {
  .home-banner {
    padding-top: 150px;
  }

  .home-banner .banner-text {
    width: 90%;
  }
}

/* Become a Partner*/

.become-a-partner {
  background-repeat: no-repeat;
  background-size: cover;
  height: 75px;
  text-decoration: none;
  position: relative;
  
}

.become-a-partner div {
  display: block;
  color: #ffffff;
  background: rgba(51, 51, 51, .5);
  padding: 10px 15px;
  border-radius: 50px;
  text-align: center;
  width: fit-content;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  font-weight: 300;
}

.become-a-partner:hover div {
  background: rgba(51, 51, 51, 1);
}

/* Home Feature Box */

.home-feature-box {
  background-repeat: no-repeat;
  background-size: cover;
  height: 300px;
  text-decoration: none;
  position: relative;
}

.download-app {
  background-image: url("../img/download-app.jpg");
}

.register-card {
  background-image: url("../img/register-card.jpg");
}

.make-booking {
  background-image: url("../img/make-booking.jpg");
}

.cardholder-queries{
  background-image: url("../img/cardholder-queries.jpg");
}

.home-feature-box div {
  display: block;
  color: #ffffff;
  background: rgba(51, 51, 51, .5);
  padding: 10px 15px;
  border-radius: 50px;
  text-align: center;
  width: fit-content;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  font-weight: 300;
}

.home-feature-box:hover div {
  background: rgba(51, 51, 51, 1);
}


.footer{
  margin: 2%;
 
}

.become-a-partner{
  align-items: center;
}

/* About Page  */

.about-img {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: top left;
  background-repeat: no-repeat;
  filter: brightness(100%);
  filter: saturate(50%);
  background-image: url('../Images/pexels-lukas-1420701.jpg');
}

.about-container {
  padding-bottom: 50px;
}

.about-text{
  text-align: justify;
  font-size: 18px;
  margin-top: 300px;
}

.about-text h1 {
  text-align: left;
}

@media (max-width: 991px) {
  .about-img {
    background-position: center;
  }

  .about-text{
    margin-top: 400px;
  }

  .about-text h1 {
    font-size: 50px;
  }
}


/* Partners Page Styles*/

.partners-bg {
  background-image: url("../Images/augustine-wong-li0iC0rjvvg-unsplash.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  padding-top: 60px;
  background-position: center;
  background-attachment: fixed;
  height: 100%;

}

@media (max-width: 575px) { 
  .partners-bg {
    height: 100%;
  }
}

.images-text-wrapper{
    position: relative;
    align-items: center;
    
    padding-bottom: 50px;
    width: 100%;
   
}

.partner-img-background{
    height: 100px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.subtitle{
    color: black;
   font-weight: bold;
}


/* App Page */

.app-downloader-bg {
  background-image: url("../Images/App-Download-2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  background-position: top;
  padding-top: 60px;
}

.app-downloader {
  padding-top: 50px;
}

.app-downloader h3 {
  font-size: 35px;
}

.app-downloader-bg h1 {
  font-size: 40px;
}

.app-downloader .qrcode {
  width: 200px;
  height: auto;
}

.myDIV:hover + .hide {
  display: block;
  color: white;
}

.myDIV{
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  margin: auto;
  justify-content: center;
  align-items: center;
  width: 200px;
}

@media (max-width: 575px) { 
  .app-downloader-wrapper {
    background: rgba(255, 255, 255, .6);
    margin: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .app-downloader-bg {
    padding-top: 5px;
    height: 100%;
  }

  .app-downloader {
    padding-top: 0px;
    padding-bottom: 50px;
  }
}

/* App Store Buttons */

.btn-store {
  color: #ffffff;
  min-width: 200px;
  padding: 15px;
  border-radius: 8px;
  border-color: #ffffff !important;
  background-color: black;
}

.btn-store:focus, 
.btn-store:hover {
  background-color: #333;
  border-color: #e3e3e3;
  color: #ffffff;
}

.btn-store .btn-label, 
.btn-store .btn-caption {
  display: block;
  text-align: left;
  line-height: 1.1em;
}

.btn-store .btn-label {
  font-size: 12px;
  font-weight: 300;
}

.btn-store .btn-caption {
  font-size: 20px;
}

.btn-store i {
  display: inline-block;
  margin-right: 15px;
}


.cardholder-queries a:link{
  color:black;
}

.cardholder-queries a:visited{
  color:black;
} 


.cashback-rewards a:link{
  color:black;
}

.cashback-rewards a:visited{
  color:black;
} 

.App-page{
  align-items: center;
  width:100%;
  height: 750px;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 40px;
  
}

.App-page-heading{
  color: whitesmoke;
  padding:20px;
}



.QR-Code-Instructions{
  text-align: center;
}

.QR-Codes-section{
display: grid;
grid-template-columns: 1fr 1fr;


}

.center-div {
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 900px;
  background-color:gray;
  background-image: url("../img/InfinityBackground.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
  
}
.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-btn {
  width: 45%;
  max-width: 160px;
  color: #fff;
  margin: 20px 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: left;
  border-radius: 15px;
  text-decoration: none;
  font-family: "Lucida Grande", sans-serif;
  font-size: 10px;
  text-transform: uppercase;
}
.app-btn.blu {
  background-color: #101010;
  transition: background-color 0.25s linear;
}
.app-btn.blu:hover {
  background-color: #454545;
}
.app-btn i {
  width: 20%;
  text-align: center;
  font-size: 28px;
  margin-right: 7px;
}
.app-btn .big-txt {
  font-size: 17px;
  text-transform: capitalize;
}


.hide {
  display: none;
  background-color: #909193;
  opacity: 75%;

  width: 550px;
  align-items: center;
  align-content: center;


  flex-wrap: wrap;
  align-content: center;
  margin: auto;
  padding:10px;
  border-radius: 20px;
}

.App-Downloader-text{
  color: whitesmoke;
  font-size: 22px;
  text-align: justify;
  line-height: 150%;
  width: 800px;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;

  display: flex;
  flex-wrap: wrap;
  align-content: center;
  margin: auto;


  border-radius: 20px;
  padding-right: 20px;
  padding-left: 20px;
}


.App-buttons{
  padding-top: 30px;
}


.QR-code {
  display: block;
  position: absolute;
}

.QR-code img {
  width: 200px;
  height: 200px;
  padding-bottom: 100px;
}


/* Contact Us Page */

.contact-bg {
  background-image: url("../Images/Bonsai.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  background-position: center;
  filter: brightness(80%);
  padding-top: 160px;
}

.contact-bg .contact-text {
  text-align: center;
  width: 45%;
}

.contact-bg  .contact-text h5 {
  font-size: 22px;
  line-height: 1.3em;
  font-weight: 300;
}

.contact-bg  .contact-text p {
  font-size: 16px;
  line-height: 1.3em;
  font-weight: 300;
}

.contact-bg  .contact-text .btn {
  border-radius: 50px;
}

@media (max-width: 991px) {
  .contact-bg .contact-text {
    text-align: center;
    width: 100%;
    background:rgba(255, 255, 255, .7);
    padding: 20px;
  }
}

@media (max-width: 575px) {
  .contact-bg {
    padding-top: 15px;
  }
}


/* Termsandcond */

.Termsandcond{
margin-left: 5%;
margin-right: 5%;

}

.Termsandcond .h3{
  text-align: left !important;
  }

.Termsandcond .h1{
  text-align: left !important;
  }

.Termsandcond .h5{
    text-align: left !important;
    }


.TaClist{
  text-align: justify;
}




/* BOOKING PAGE */

.booking-page{
  height:800px;
  width: auto;
}


/* Funeral Page */
.funeral-img{
  background-image: url("../img/funeral-plan.jpeg");
  background-repeat: no-repeat;
  background-size:contain;
  height: 100vh;
  background-position: center;
  padding-top: 160px;
}

  

/* Social Media  */

.social-media{
  justify-content: right;
  float: right;
}
