* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 15px;
  background-color: rgb(19, 40, 55);
  text-align: center; /* Center-align the logo and button */
}

.logo img {
  max-width: 100%;
  height: auto;
}

button {
  background-color: #81b696;
  border: solid #81b696;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 45px;
  border-radius: 10px;
  margin-bottom: 40px;
  cursor: pointer;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
  justify-content: center;
}

.logo-bg {
  background-size: cover;
  background-position: center;
  align-items: center;
  display: flex;
  height: 165px;
  position: relative;
  justify-content: center;
}

.logo-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    255,
    255,
    255,
    0.5
  ); /* Change the opacity as desired */
}

.logo-bg.cleva {
  background-image: url("../images/cleva-bg.jpg");
}
.logo-bg.giftstarr {
  background-image: url("../images/giftstarr-bg.jpg");
}
.logo-bg.crunch {
  background-image: url("../images/crunch-bg.jpg");
}
.logo-bg.accelovate {
  background-image: url("../images/accelovate-bg.jpg");
}
.logo-bg.prosper {
  background-image: url("../images/prosper-bg.jpg");
}
.logo-bg.osper {
  background-image: url("../images/osper-bg.jpg");
}
.logo-bg.fps {
  background-image: url("../images/fps-bg.jpg");
}

.content.giftstarr {
  background-color: #293745;
}
.strip.giftstarr {
  background-color: #51606FFF;
  height:8px;
}

.grid-item {
  flex: 1;
  flex-grow: 0;
  flex-shrink: 0;
  margin: 5px; /* Adjust margin to create a 5px gap between divs */
  background-color: #f1f1f1;
  display: flex;
  flex-direction: column;
  height: 285px;
  text-decoration: none;
}

.grid-item img {
  width: 80%;
  height: auto;
  position: absolute;

  object-fit: cover;
}
.content {
  padding: 10px;
  color: white;
  flex-grow: 1;
  align-items: center;
  display: flex;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  line-height: 1.35;
}
.light-blue-strip {
  height: 8px;
  background-color: #95d1fb;
}
.light-blue {
  background-color: #4ba3f8;
}
.dark-blue-strip {
  height: 8px;
  background-color: #8c9fc2;
}
.dark-blue {
  background-color: #1f3d87;
}
.orange-strip {
  height: 8px;
  background-color: #f6c389;
}
.orange {
  background-color: #ef8933;
}
.grey-strip {
  height: 8px;
  background-color: #999999;
}
.grey {
  background-color: #333333;
}
.pink-strip {
  height: 8px;
  background-color: #e387a5;
}
.pink {
  background-color: #d12e50;
}
.violet-strip {
  height: 8px;
  background-color: #a0befa;
}
.violet {
  background-color: #4849f4;
}

/* Media queries for responsive layout */

/* Extra small devices (phones) */
@media screen and (max-width: 529px) {
  .grid-item {
    flex-basis: calc(100% - 10px);
    max-width: 370px;
  } /* CSS rules for phones */
}

/* Small devices (tablets) */
@media screen and (min-width: 530px) and (max-width: 789px) {
  .grid-item {
    flex-basis: calc((100% - 20px) / 2);
  } /* CSS rules for tablets */
}

/* Medium devices (laptops) */
@media screen and (min-width: 790px) and (max-width: 1049px) {
  .grid-item {
    flex-basis: calc((100% - 30px) / 3);
  } /* CSS rules for laptops */
}

/* Larger devices (laptops) */
@media screen and (min-width: 1050px) and (max-width: 1200px) {
  .grid-item {
    flex-basis: calc((100% - 40px) / 4);
    max-width: calc((100% - 40px) / 4);

  } /* CSS rules for laptops */
}
/* Large devices (laptops) */
@media screen and (min-width: 1201px) {
    .grid-item {
        flex-basis: calc((100% - 80px) / 8);
        max-width: calc((100% - 80px) / 8);
    }
}

footer.pdf {
    padding: 1em 10vw;
    font-size: small;
    font-family: "Arial", "Helvetica", sans-serif;
    color: gray;
	text-align: center;
}
