
.topics-title {
    width: 90%;
    margin: 0 auto;
    margin-top: 30px; 
    min-height: 200px;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
}

.topics-title-h1 {
    text-align: center;
    font-family: Orbitron, Arial, Helvetica, sans-serif;
    font-display: block;
    font-size: 50px;
    font-style: italic;
    color: #ffffff;
}

.topics-container {
    width: 90%;
    min-height: 150px;
    height: auto; 
    margin: auto;
    display: flex;
    justify-content: center; 
    gap: 45px; 
    flex-wrap: wrap; 
}

.container-each-topic {
    background-color: white;
    border-radius: 12px;
    border-top: 4px solid #3c86e8;
    padding-top: 8px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 200px;
    min-height: 145px;
    max-height: 145px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    transform-origin: center center;
}

.container-each-topic:hover {
    transform: scale(1.04);
    box-shadow: 4px 8px 18px rgba(0, 0, 0, 0.18); 
    z-index: 2;
    cursor: pointer;
}

.container-topics-name h1 {
    font-size: 22px;
    color: #4a4f63;
    font-weight: bold;
    margin: 0 0 5px 0;
    line-height: 1.2;
    font-family: 'Exo 2';
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-topics {
    height: 60px;
    width: auto;
}


.info-bubble {
    background-color: white;
    width: 83.5%; 
    max-width: 100%; 
    margin: 40px auto 50px auto;
    padding: 30px;
    border-radius: 25px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.info-bubble::before {
    content: '';
    position: absolute;
    top: -20px; 
    left: var(--arrow-pos, 50%);
    transform: translateX(-50%); 
    border-width: 0 20px 25px 20px;
    border-style: solid;
    border-color: transparent transparent white transparent;
    transition: left 0.4s ease-out;
    display: var(--arrow-display, block); 
}

.bubble-columns {
    display: flex;
    text-align: left; 
    gap: 40px; 
}

.bubble-left {
    flex: 1;
    border-right: 2px solid #ddd;
    padding-right: 40px;
}

.bubble-right {
    flex: 1;
}

.bubble-columns h3 {
    color: #3c86e8;
    font-family: Orbitron, Arial, Helvetica, sans-serif;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 15px;
}

#bubble-text-left, #bubble-text-right {
    font-family: 'Exo 2', sans-serif;
    font-size: 18px;
    color: #333333;
    line-height: 1.30;
    margin: 0;
    text-align: justify;
}

#bubble-text-right ul {
    padding-left: 20px;
}

@media (max-width: 992px) {
    .info-bubble::before {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .bubble-columns {
        flex-direction: column; 
        gap: 20px;
    }
    
    .bubble-left {
        border-right: none; 
        border-bottom: 2px solid #ddd; 
        padding-right: 0;
        padding-bottom: 20px;
    }
}