#banner {
  margin: auto;
  overflow: visible;
  width: 70vw;
  height: 18vw;
  padding-bottom: 10px;
  padding-left: 2.5vw;
  padding-top: 15px;
}

body {
  padding-bottom: 300px;
}

.case-study-image {
  max-width: 155px;
  height: auto;
  padding-right: 5px;
  float: left;
}

.case-study-img {
  max-width: 155px;
  height: 155;
  padding-right: 5px;
  float: left;
}

.container {
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 350px);
  gap: 20px;
  grid-auto-flow: column;
  overflow: visible;
  width: 95%;
  padding-bottom: 3vw;
}

.cs_library_container {
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(1, 350px);
  gap: 20px;
  grid-auto-flow: column;
  overflow: visible;
  width: 95%;
  padding-bottom: 3vw; 
}

.container-2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 2vw;
  gap: 0px;
  grid-auto-flow: column;
  overflow: visible;
  width: 74%;
  padding-bottom: 3vw;
}

.close {
  float: right;
  border: none;
  cursor: pointer;
  color: black;
  font-size: 0.8em;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  background-color: #f9f9f9;
  min-width: 26vw;
  height: auto;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  z-index: 1;
  color: black;
  padding-bottom: 20px;
  border-radius: 1%;
}

.header {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    serif, "Apple Color Emoji", "Segoe UIEmoji", "Segoe UI Symbol";
  text-decoration: none;
  color: black;
  font-weight: bold;
  padding-left: 2.5vw;
  font-size: 1.5em;
}

.info-box {
  padding: 35px;
  width: 18vw;
  height: 275px;
  color: black;
  background-color: #ddd;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  border-radius: 1px;
  font-size: 0.9em !important;
}

.info-box:hover {
  background-color: #ab192d;
  transition: 0.4s;
  color: white;
}

p.related {
  font-weight: bold;
}

.related {
  width: 25vw;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    serif, "Apple Color Emoji", "Segoe UIEmoji", "Segoe UI Symbol";
  text-decoration: none;
  color: black;
  font-weight: bold;
  padding-bottom: 2em !important;
}

.related-text {
  font-size: 0.8em !important;
}

@media only screen and (max-width: 1000px) {
  .container {
    display: block;
    position: relative;
    float: left;
  }

  .container-2 {
    display: block;
    position: relative;
    float: left;
    width: 100%;
    margin-left: 0%;
  }

  .cs-library-container {
    display: block;
    position: relative;
    float: left;
    width: 100%;
    margin-left: 0%;
  }

  /* .header {
    float: left;
  } */

  .info-box {
    width: 98%;
    margin-bottom: 15px !important;
    font-size: 0.7em !important;
    height: auto;
  }

  .dropdown-content {
    position: relative;
    width: 68vw;
    font-size: 1.5em;
  }

  .related-text {
    font-size: 0.7em !important;
  }

  #banner {
    width: 100%;
    padding-left: 0px;
    height: 25vw;
    padding-bottom: 5px;
  }

  .case-study-image {
    max-width: 125px;
    height: 125;
    padding-right: 5px;
    float: left;
  }
}