/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

.tangram-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap; /* 👈 clave para que no bajen */
}

.tangram-item {
    flex: 1; /* 👈 todos ocupan el mismo espacio */
    opacity: 0;
    transform: translateY(30px);
}

.tangram-card {
    height: 110px;
    border: 1px solid #002b49;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    transition: all 0.3s ease;
}

.tangram-card span {
    font-size: 28px;
    font-weight: bold;
    color: #01cbfe;
}

.tangram-card small {
    font-size: 11px;
    opacity: 0.7;
}

.tangram-card:hover {
    transform: translateY(-10px) scale(1.05);
}

@media (max-width: 768px) {
    .tangram-row {
        flex-wrap: wrap;
    }

    .tangram-item {
        flex: 0 0 45%;
        margin-bottom: 15px;
    }
}

/* Letras */

.tangram-desc h5 {
    color: #4da3ff;
    margin-bottom: 10px;
}

.tangram-desc p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.6;
}

.tangram-desc div {
    transition: all 0.3s ease;
}

.tangram-desc div:hover {
    transform: translateY(-5px);
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 20px rgba(1, 203, 254, 0.6); /* sombra azulada */
  z-index: 10; /* para que quede encima de otros elementos */
}