* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Open Sans", sans-serif;
}

.page-width {
    width: 1440px;
    max-width: 100%;
    margin: auto;
    display: flex;
    gap: 5%;
    margin-bottom: 20px;
}

/* Style the side navigation */
.sidenav {
    height: 110vh;
    position: sticky;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #2f2f2f;
    margin-top: 20px;
}

/* Side navigation links */
.sidenav a {
    color: white;
    padding: 16px;
    text-decoration: none;
    display: block;
}

/* Change color on hover */
.sidenav a:hover {
    background-color: #cfd1d4;
    color: #2f2f2f;
}

/* Style the content */
.content {
    color: #2f2f2f;
    overflow-x: clip;
}
.category-header-img-wrap {
    height: 200px;
    max-width: 100%;
    font-family: "Lato", sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    color: white;
    font-size: 4em;
    margin-top: 20px;
    padding: 20px;
}
.category-header-physical {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://www.unitestudents.com/UniteStudents/media/Campaigns/Black%20services/Newcastle/physical-wellbeing-header.webp);
  background-position: 70%;
}
.category-header-social {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://www.unitestudents.com/UniteStudents/media/Campaigns/Black%20services/Newcastle/social-wellbeing-header.webp);
  background-position: 10%;
}
.category-header-mental {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://www.unitestudents.com/UniteStudents/media/Campaigns/Black%20services/Newcastle/mental-wellbeing-header.webp);
  background-position: 70%;
}
.category-header-financial {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://www.unitestudents.com/UniteStudents/media/Campaigns/Black%20services/Newcastle/financial-wellbeing-header.webp);
  background-position: 60%;
}
h2 {
    font-family: "Lato", sans-serif;
    font-size: 1.6em;
    font-weight: bold;
    margin: 20px auto;
}
.listing-item-parent {
    display: flex;
    width: 100%;
    flex-flow: row wrap;
    gap: 10px;
}
.listing-item {
    flex: 1 0 40%;
    border: #cfd1d4 solid 2px;
    border-radius: 3px;
    padding: 15px;
}
.listing-item-desc {
    font-style: italic;
    font-size: 0.9em;
    margin-top: -10px;
}
.listing-item-empty {
    border: none;
}
.listing-item:hover {
    box-shadow: 0px 0px 5px 5px rgba(207, 210, 212, 0.75);
    -webkit-box-shadow: 0px 0px 5px 5px rgba(207, 210, 212, 0.75);
    -moz-box-shadow: 0px 0px 5px 5px rgba(207, 210, 212, 0.75);
}
.listing-item-empty {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
}
.listing-item-btn {
    border-radius: 3px;
    padding: 11px 20px;
    margin-right: 20px;
    border: 2px solid rgb(255, 220, 0);
    background-color: rgb(255, 220, 0);
    font-family: Lato, sans-serif;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    color: rgb(51, 51, 51);
    font-weight: bold;
    cursor: pointer;
}
.multiple-btn-wrap {
    display: flex;
}
.social-logo {
    margin-right: 20px;
}

@media screen and (max-width: 550px) {
    .category-header-img-wrap {
    font-size: 1.6em;
  }
  .listing-item-parent {
    flex-direction: column;
  }
}
@media screen and (min-width: 551px) and (max-width: 1023px) {
  .category-header-img-wrap {
    font-size: 3em;
  }
}