.tiles {
  width: 100%;
  display: flex;
  margin: 2rem 0;
  gap: 1rem;
  height: calc(95vh - 10rem);
}

.tile {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.tile-1,
.tile-2 {
  width: 100%;
  height: 100%;
  flex: 1;
  border: 1.5px solid var(--color-text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}

.tile h1 {
  line-height: 100%;
  text-transform: uppercase;
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: 2.5rem;
}

.tile a {
  font-size: 1rem;
  font-weight: 400;
}

.tile-1 {
  background: var(--color-text);
  color: var(--color-bg);
}

.tile-1 h1,
.tile-1 p {
  color: var(--color-bg);
}

.tile-1 a {
  color: var(--color-bg);
}

.tile-links {
  display: flex;
  flex-direction: column;
  text-decoration: underline;
  gap: 0.5rem;
}

.tile-links a img {
  width: 20px; /* Tamaño deseado para los iconos */
  height: auto; /* Ajusta automáticamente la altura según el ancho */
  vertical-align: top; /* Alinea verticalmente el icono con la parte superior del texto */
  margin-right: 5px; /* Espacio entre el icono y el texto del enlace */
}

.tile-1 a,
.tile-2 a {
  text-transform: uppercase;
  font-weight: 400;
}

.white-link {
  color: #fff; /* Color inicial del enlace */
  transition: color 0.3s ease; /* Transición para suavizar el cambio de color */
}

.white-link:hover {
  color: #aaa; /* Color del enlace cuando el cursor pasa por encima */
}

@media (max-width: 900px) {
  .tiles {
    flex-direction: column;
    height: calc(150vh - 10rem);
  }

  .tile-1,
  .tile-2 {
    flex: 2;
  }
}
