body {
  background-color: #f5f4f7;
}

.page-title {
  background: linear-gradient(
      270deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.2) 79.81%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.73) 0%, rgba(0, 0, 0, 0.73) 100%),
    url(../images/unidade.webp);
}

.unidade {
  padding: 5rem 0;
}

.unidade-header .container {
  max-width: 1300px;
}

.unidade-header h2 {
  color: #000;
  font-family: "Exo2", sans-serif;
  font-size: 2rem;
  font-style: normal;
  font-weight: 500;
  line-height: 115%;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  margin-bottom: 5rem;
}

.unidade-container {
  padding: 2.5rem 0;
  margin: 0 auto;
  background-color: #fff;
}

.unidade-container .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  border-radius: 10px;
  background: #fff;
}

.unidade-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.unidade-content__tab {
  display: flex;
  gap: 24px;
}

.unidade-content__tab-icon {
  width: 64px;
  height: 64px;
  padding: 16px;
  border-radius: 10px;
  background: #fdf2e6;
  display: flex;
  justify-content: center;
  align-items: center;
}

.unidade-content__tab-text h3 {
  color: #000;
  font-family: "Exo2", sans-serif;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.unidade-content__tab-text p {
  color: #6c727f;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 143%;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 10px;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* YOUTUBE */

.youtube {
  background-color: #000;
  margin-bottom: 30px;
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  cursor: pointer;
}

.youtube img {
  width: 100%;
  top: -16.84%;
  left: 0;
  opacity: 0.7;
  max-width: unset;
  margin: unset;
}

.youtube .play-button {
  width: 90px;
  height: 90px;
  background-color: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  z-index: 1;
  opacity: 0.8;
  border-radius: 50%;
}

.youtube .play-button:before {
  content: "";
  border-style: solid;
  border-width: 15px 0 15px 26px;
  border-color: transparent transparent transparent #000;
}

.youtube img,
.youtube .play-button {
  cursor: pointer;
}

.youtube img,
.youtube iframe,
.youtube .play-button,
.youtube .play-button:before {
  position: absolute;
}

.youtube .play-button,
.youtube .play-button:before {
  top: 50%;
  left: 50%;
  transform: translate3d(-45%, -50%, 0);
}

.youtube iframe {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

@media screen and (min-width: 425px) {
  .unidade-container .container {
    max-width: 1650px;
    padding: 2.5rem;
  }
  .unidade-container {
    padding: 0;
    background: none;
  }
  .unidade-header h2 {
    font-size: 2.5rem;
  }
}

@media screen and (min-width: 768px) {
  .unidade-header h2 {
    font-size: 3rem;
  }
  .unidade-container .container {
    padding: 5rem;
  }
}

@media screen and (min-width: 1024px) {
  .unidade-header h2 {
    font-size: 3.5rem;
  }
}

@media screen and (min-width: 1280px) {
  .unidade-container .container {
    gap: 128px;
  }
  .unidade-container .container {
    grid-template-columns: 1fr 1fr;
  }
}
