.license {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.license {
  margin-top: 5rem;
}

.license-container {
  display: grid;
  place-items: center;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 2rem;
}

.license-header p {
  color: var(--clr-text-dark);
  font-size: 0.9rem;
  margin: 1.5rem 0;
  line-height: 1.8;
  text-align: center;
}

.license-header h1 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-align: center;
}

.license-card {
  display: flex;
  flex-direction: column;
  padding: 0 1.5em 1.5em 1.5em;
  cursor: pointer;
  overflow: hidden;
  max-width: 20rem;
  min-height: 15rem;
  border-radius: 0.5em;
  box-shadow: 0 10px 27px 0 rgb(0 0 0 / 10%);
}

.license-card img {
  width: 100%;
  width: calc(100% + 3rem);
  height: 15rem;
  margin-left: -1.5rem;
  object-fit: cover;
}

.license-container span {
  font-size: 0.8rem;
  color: var(--clr-text-dark);
  line-height: 1.8;
}

.license-header {
  max-width: 30rem;
}

.license-container {
  margin-top: 3rem;
}

.license-container h4 {
  font-size: 1.2rem;
  width: 15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 1rem 0 0.75rem 0;
}

@media (min-width: 768px) {
  .license h1 {
    font-size: 2rem;
  }

  
}
@media (min-width: 992px) {
  .license h1 {
    font-size: 2.8rem;
  }

 
}
