.associated-habitats {
    display: flex;
    flex-wrap: wrap;
    font-family: 'Open Sans', sans-serif;
}

.associated-habitat {
    color: white;
    margin-right: 10px;
    margin-bottom: 10px;
    width: 200px;
}

.image-section {
    padding: 5px;
    background-color: #1C7244;
}

.habitat-image {
    width: 100%;
    height:120px;
    background-color: gray;
}

.habitat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-section {
    padding: 5px;
    background-color: #1C7244;
    display: flex;
    justify-content: space-between;
}

.habitat-type {
    font-weight: bold;
    color: #FFF;
    font-size: 16px;
}

.icon {
    font-size: 14px;
    padding-right:5px;
    padding-top: 2px;
    transition: transform 0.3s ease-in-out;
}

.content-section {
    padding: 5px;
    background-color: #1C7244;
    display: none;
}
.show {
    display: block;
}
.habitat-content {
    padding: 14px;
    background-color: #FFF;
    color: #000;
    overflow: hidden;
    height: 0; /* Start collapsed */
    transition: height 0.3s ease-in-out;
}

.expanded {
    height: 100%;
}

.rotate {
    transform: rotate(180deg);
}

.modifier {
    margin-top: 5px;
    font-size: 14px;
}

.modifier-title {
    font-weight: bold;
    font-size: 14px;
}

.modifier-content {
    overflow-wrap: break-word;
}