body {
    font-family: 'Archivo', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e5e5e5;
    box-sizing: border-box;
}

main {
    width: 100%;
    text-align: center;
    padding: 0;
}

.main-square {
    width: 100%;
    height: calc(100vh - 20px);
    margin: 10px 0;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.main-square::before {
    content: '';
    background-image: url('/images/fondo.png');
    background-size: cover;
    background-position: center;
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.floating-squares {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    top: -200px;
    z-index: 1;
    gap: 40px; /* Use gap to set the space between the text blocks */
}

.text-block {
    background-color: #ffffff;
    flex: 1; /* Allow the text block to grow and fill the available space */
    margin: 0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1;
    position: relative;
    transition: transform 0.3s ease; /* Add transition for the lift effect */
}

.text-block:hover {
    transform: translateY(-10px); /* Lift the text block when hovered */
}

.text-block h3 {
    font-weight: 700;
    color: #16213e;
    margin-bottom: 10px;
}

.text-block p {
    color: #16213e;
    margin-bottom: 20px;
}
