.main_class_dt {
  background-image: url(../images/resources/resources.jpg);
  background-position: center center;
  background-size: cover;
}

.resources-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
}

.resources-container {
  width: 300px;
  padding: 20px;
  border: 1px solid grey;
  border-radius: 10px;
  background-color: #f1f4f9;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.res-image {
  width: 100%;
  height: 45%;
}

.res-image img {
  width: inherit;
  height: 100%;
  border-radius: 10px;
}

.res-content h2 {
  font-size: 18px !important;
  color: var(--orange);
}

.res-content p {
  font-size: 14px;
  height: 120px;
  overflow: hidden;
}

@media (min-width: 615px) {
  .resources-container {
    width: 400px;
  }

  .res-content {
    h2 {
      font-size: 25px;
    }
    p {
      font-size: initial;
    }
  }
}

@media (min-width: 930px) {
  .resources-container {
    width: 800px;
    height: 200px;
    flex-direction: row;
    align-items: center;
  }
  .res-image {
    width: 30%;
    height: 100%;
    img {
      width: 100%;
      height: 100%;
    }
  }

  .res-content {
    width: 70%;
    h2 {
      font-size: 25px;
    }
    p {
      font-size: initial;
    }
  }
}
