/*--- Topics Menu ---*/
.sidebar-topics{
    position: absolute;
    width: 260px;
    left: -200px;
    height: clamp(600px, 90vh, 90vh);
    display: flex;
    flex-direction: row;
    background-color: transparent;
    z-index: 1000;
    transition: all 0.5s ease-in-out;
}

.topics {
    background: rgb(219, 245, 255);
    display: flex;
    flex-direction: column;
    width: 200px;
    height: 100%;
    align-items: center;
}

.topics-btn {
    background: rgb(219, 245, 255);
    border-radius: 0px 10px 10px 0px;
    border-color: transparent;
    margin-top: 10px;
    width: 60px;
    height: 40px;
    color: black;
    font-size: 25px;
    line-height: 20px;
}

.topics-btn:hover {
    cursor: pointer;
}

.topics-btn:active {
    background-color: rgb(182, 234, 255);
}

.sidebar-topics.active {
    left:0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.topics button {
    display: block;
    width: 150px;
    margin-top: 20px;
    padding: 0.5em;
    border: none;
    background-color: #fff;
    cursor: pointer;
    border-radius: 6px;
    text-align: center;
}

.topics button:hover {
    background-color: #2f3a9b;
    color: white;
}
.topics button.active{
    background-color: #2f3a9b;
    color: white;
}
