/* cds */

body{
  background-image: linear-gradient(40deg, rgb(0 0 0 / 95%), rgba(37, 54, 58, 0.95)), url("../images/fondo-partitura-invert3.png");
  background-repeat: no-repeat;
  background-position: top center;
}

.section__cds {
  max-width: var(--max-width);
  margin: auto;
  padding: 7rem 1rem;
}

.section__header {
  font-family: "Fredoka", sans-serif;
  font-optical-sizing: auto;
  font-size: 2rem;
  font-weight: 300;
  line-height: 3.25rem;
  text-align: center;
  color: var(--white);
  padding-bottom: 1rem;
  border-bottom: 1px solid #4a585e;
}

.room__grid {
  margin: 3rem .5rem;
  display: grid;
  gap: 1rem;
}

.room__card {
  background-color: var(--extra-light);
  border-radius: 0 0 5px 5px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  margin-bottom: 1.5rem;
}

.room__card__image {
  position: relative;
  isolation: isolate;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  transition: all 0.5s;
}

.room__card__image:hover {
  filter: brightness(1.25);
}

.room__card__icons {
  position: absolute;
  right: 0.3rem;
  top: -1.1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  z-index: 1;
}

.room__card__icons span p{
  margin-bottom: 0;
  color: var(--extra-light);
  font-size: 0.8rem;
  font-weight: 400;
}

.room__card__icons span {
  display: inline-block;
  padding: 0 5px;
  font-size: 1.5rem;
  background-color: #23282b;
  border-radius: 5px;
  border: 1px solid #4a585e;
  box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.3);
  cursor: default;
}

.room__card__details {
  padding: 1rem;
}

.room__card h4 {
  font-family: "Fredoka", sans-serif;
  font-optical-sizing: auto;

  margin-bottom: .5rem;
  line-height: 1.5rem;
  font-size: 1.3rem;
  font-weight: 300;
  color: #000;
}

.room__card p {
  font-size: .9rem;
  line-height: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--background-color-1);
}

.room__card p span {
  color: #000;
  line-height: 1.2rem;
}

.room__card__details a{
  color: var(--primary-color);
}

.room__card__details a:hover{
  color: var(--secondary-color);
}

.room__card h5 {
  margin-bottom: .8rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2rem;
}

@media (width > 576px) {
  .room__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width > 768px) {
  .room__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section__cds {
    padding: 2rem 1rem;
  }
}

@media (width > 1024px) {
  .room__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}
