.cloud-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 200px; /* Set a minimum height for the cloud */
    margin: 0 auto;
    border-radius: 10px;
    border: 0px solid #ccc;
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
}
.cloud-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 20px; /* Set a minimum height for the cloud */
    margin: 0 auto;
    border-radius: 10px;
    border: 0px solid #ccc;
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
}

.word-cloud {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap onto the next line */
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 10px;
}

.cloud-item {
    margin: 5px;
    white-space: nowrap;
}

.cloud-link {
    color: #212529; /* Black color for links */
    text-decoration: none; /* No underline */
}

.cloud-link:hover {
    color: #212529; /* Keep it black on hover */
    text-decoration: underline; /* No underline on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cloud-container {
        min-height: auto; /* Allow the height to adjust dynamically */
        height: auto; /* Height will be flexible */
        padding-bottom: 20px; /* Add some extra padding for smaller screens */
    }

    .cloud-item {
        font-size: 80%; /* Slightly smaller font size for mobile */
    }
}