header {
  width: 100vw;
  height: 80vh;
  background: url('/assets/images/img-new/bgofc.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}


header h1 {
  font-weight: 700;
  font-size: 78px;
  text-transform: uppercase;
  text-shadow: #000000 2px 2px 2px;
}

main {
  width: 80vw;
  position: relative;
  padding: 50px;
  top: -50px;
  display: flex;
  margin: auto;
  background-color: rgb(73, 72, 72);
  border-radius: 10px;
}

main h1 {
  font-size: x-large;
  padding: 0 0 30px 0;
  text-transform: uppercase;
  color: white !important;
}

main .wrapper {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 30px;
  grid-row-gap: 30px;
}

main .card {
  width: 90% !important;
  border-radius: 20px;
}

.card img {
  width: 100%;
  height: 350px;
}

.card .card-footer {
  background-color: white;
  display: flex;
  margin: 0 !important;
  padding: 50x;
  border: none;
  justify-content: center;
}

@media (max-width: 575.98px) {
  header {
    height: 60vh;
    position: static !important;
  }

  .header-1 {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('/assets/images/img-new/bg-mobile-1.jpeg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  .header-2 {
    height: 60vh;
  }

  .header-2 {
    height: 60vh;
    padding: 0 12% !important;
  }

  .header-3 {
    height: 60vh;
  }

  header h1 {
    font-size: 36px !important;
  }

  header h2 {
    font-size: 20px;
  }

  main {
    width: 100%;
    position: static;
    border-radius: 0px;
    padding: 0;
  }

  main h1 {
    padding: 30px 30px 0 30px;
    font-size: large;
    text-transform: uppercase;
    color: white !important;
  }

  main .wrapper {
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
    padding: 30px 0;
  }

  main .card {
    width: 90% !important;
    border-radius: 20px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  header {
    height: 60vh;
    position: static !important;
  }

  .header-1 {
    height: 60vh;
  }

  .header-2 {
    height: 60vh;
  }

  .header-2 {
    height: 60vh;
    padding: 0 12% !important;
  }

  .header-3 {
    height: 60vh;
  }

  header h1 {
    font-size: 36px !important;
  }

  header h2 {
    font-size: 20px;
  }

  main {
    width: 100%;
    position: static;
    border-radius: 0px;
    padding: 0;
  }

  main h1 {
    padding: 30px 30px 0 30px;
    font-size: 28px;
    text-transform: uppercase;
    color: white !important;
  }

  main h3 {
    padding: 0;
    font-size: small;
    text-align: center;
    width: 100%;
    color: white;
  }

  main .wrapper {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    padding: 30px 30px;
  }

  main .card {
    width: 100% !important;
    border-radius: 20px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  header {
    height: 40vh;
    position: static !important;
  }

  .header-1 {
    height: 40vh;
  }

  .header-2 {
    height: 40vh;
  }

  .header-2 {
    height: 40vh;
    padding: 0 12% !important;
  }

  .header-3 {
    height: 40vh;
  }

  header h1 {
    font-size: 56px !important;
  }

  header h2 {
    font-size: 24px;
  }

  main {
    width: 100%;
    position: static;
    border-radius: 0px;
    padding: 0;
  }

  main h1 {
    padding: 30px 30px 0 30px;
    font-size: 28px;
    text-transform: uppercase;
    color: white !important;
  }

  main h3 {
    padding: 0;
    font-size: small;
    text-align: center;
    width: 100%;
    color: white;
  }

  main .wrapper {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    padding: 30px 30px;
  }

  main .card {
    width: 90% !important;
    border-radius: 20px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  main {
    width: 100%;
    height: 100%;
    border-radius: 0px;
    padding: 0;
    margin: 0;
    top: 0;
  }

  main h1 {
    padding: 60px 30px 0 30px;
    font-size: 28px;
    text-transform: uppercase;
    color: white !important;
  }

  main h3 {
    padding: 0;
    font-size: medium;
    text-align: center;
    width: 100%;
    color: white;
  }

  main .wrapper {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    padding: 60px 30px;
  }

  main .card {
    width: 100% !important;
    border-radius: 20px;
  }
}
