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

.work h2 {
  color: #000;
  margin: 1em 0;
  font-size: 2em;
}

.work-card {
  display: flex;
  flex-direction: column;
  width: 80%;
  gap: 1em;
}

.work-card-content {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(255, 255, 255, 0.6);
  border-radius: 12px;
  padding: 3em;
  gap: 2em;
  margin-bottom: 1em;
}

.work-card-text h3 {
  margin-bottom: 1em;
  font-size: 1.5em;
  color: #2191fb;
}

.work-card-text p {
  line-height: 2em;
}

.work-card-text span {
  font-weight: 500;
}

.work-card-video {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
}

.work-card-video img {
  border: 2px #adb5bd solid;
  border-radius: 4px;
  width: 300px;
  height: 176px;
}

.project-link a {
  text-decoration: none;
  color: #2191fb;
}

.project-link {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1.1em;
  width: 100%;
  padding-top: 0.3rem;
  padding-inline: 0.5rem;
}

@media screen and (max-width: 1160px) {
  .work-card-content {
    padding: 1em;
    flex-wrap: wrap;
  }

  .work-card-text {
    width: 95%;
  }
}

@media screen and (max-width: 780px) {
  iframe {
    width: 105%;
  }
}
