.container {
    display: flex;
    flex-direction: row;
}

#left-sidebar {
    display: flex;
    flex-direction: column;
    width: 60px;
    height: 100vh;
    text-align: center;
    background-color: #FBFBFD;
    z-index: 200;
}

.top-tool img {
    padding: 8px;
    width: 30px;
}

.top-tool img:hover {
    background-color: rgba(147, 147, 147, 0.2);
    border-radius: 8px;
    /* transform: scale(1.1); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.left-sidebar-burger-menu {
    margin-top: 10px;
    /* padding: 15px 0 10px; */
    background-color: #FBFBFD;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* font-size: 170%; */
    font-weight: bold;
}


.sidebar-toggle-btn {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-area {
    position: absolute;
    width: 30px; 
    height: 30px;
    border-radius: 50%;
    pointer-events: auto; 
}


.sidebar-toggle-btn img {
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    
}

.sidebar-toggle-btn img.hover-effect {
    border-radius: 8px;
    background-color: rgba(147, 147, 147, 0.2);
    /* transform: scale(1.1); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#currentLangIcon.hover-effect {
    border-radius: 8px;
    background-color: rgba(147, 147, 147, 0.2);
    /* transform: scale(1.1); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* close btn */

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 17px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    transform: rotate(50deg);
}

/* Weather block */
.left-sidebar-weather {
    margin-top: 5px;
    position: relative;
    /* padding: 10px 0; */
    transition: opacity 0.3s ease, visibility 0s 0s;
}

/* Hover for top block elements in sidebar "burger menu"*/

/* "burger menu" */
.additional-data-hover-burger-sidebar {
    position: relative;
    cursor: pointer;
}

.additional-data-hover-burger-sidebar::after {
    /* content: "Burger menu"; */
    background-color: rgba(255, 255, 255, 0.6); 
    backdrop-filter: blur(10px); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    border-radius: 8px;
    padding: 10px;
    padding: 5px;
    position: absolute;
    top: -5px;
    left: 55px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0s 0.3s;
    font-weight: 500;
}

.additional-data-hover-burger-sidebar:hover::after {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0s 0s;
}


/* "Map sidebar" */
.additional-data-hover-map-sidebar {
    position: relative;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.additional-data-hover-map-sidebar::after {
    content: "Map points";
    background-color: rgba(255, 255, 255, 0.6); 
    backdrop-filter: blur(10px); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    border-radius: 8px;
    padding: 5px;
    position: absolute;
    top: -5px;
    left: 55px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0s 0.3s;
}

.additional-data-hover-map-sidebar:hover::after {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0s 0s;
}


/* "Monthly Weather" */
.additional-data-hover-monthly-forecast {
    position: relative;
    cursor: pointer;
}

.additional-data-hover-monthly-forecast::after {
    content: "Monthly Forecast";
    background-color: rgba(255, 255, 255, 0.6); 
    backdrop-filter: blur(10px); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    border-radius: 8px;
    padding: 5px;
    position: absolute;
    top: -5px;
    left: 55px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0s 0.3s;
}

.additional-data-hover-monthly-forecast:hover::after {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0s 0s;
}


/* "Language" */
.language-button {
    position: relative;
    cursor: pointer;
}

.language-button::after {
    /* content: "More languages will be available soon"; */
    background-color: rgba(255, 255, 255, 0.6); 
    backdrop-filter: blur(10px); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    border-radius: 8px;
    padding: 5px;
    position: absolute;
    top: -5px;
    left: 55px;
    white-space: nowrap;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0s 0.3s;
}

.language-button:hover::after {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0s 0s;
}


/* Hover for bottom block elements in sidebar "time"*/

.additional-data-hover {
    position: absolute;
    top: -5px;
    left: 55px;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.6); 
    backdrop-filter: blur(10px); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    border-radius: 8px;
    white-space: nowrap;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0s 0.3s;
}

.bottom-tool:hover .additional-data-hover {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0s 0s;
}


/* Left sidebar bottom tools block */
#left-sidebar-bottom {
    /* padding: 0 0 80px; */
    margin-top: auto;
}

#left-sidebar-bottom img {
    position: relative;
    bottom: -5px;
    width: 35px;
}

.bottom-tool {
    position: relative;
    padding: 0 0 10px;
}

.bottom-tool span:nth-of-type(1) {
    font-size: 13px;
    user-select: none;
}

.bottom-tool::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgb(198, 198, 198), transparent);
    transition: background 0.5s ease, height 0.3s ease; 
}

.bottom-tool:hover::after {
    height: 1px;
    background: linear-gradient(to right, transparent, rgb(88, 87, 87), transparent);
}


/* MOB */
@media screen and (max-width: 768px) {

    #map {
        margin-top: 55px;
    }
    
    .container {
        display: flex;
        flex-direction: column;
    }
    
    #left-sidebar {
        display: flex;
        flex-direction: row;
        height: 56px;
        width: 100%;
        justify-content: flex-end;
        overflow: hidden;
        position: fixed;
    }
    
    #burger-icon {
        width: 30px;
        height: 30px;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    #burger-icon.active {
        transform: rotate(180deg);
    }

    #left-sidebar-bottom {
        padding: 0 0 80px;
        margin-top: auto;
    }

    .top-tool img:hover {
        background-color: transparent;
    }
    
    .left-sidebar-burger-menu {
        order: 2;
    }
    
    .sidebar-toggle-btn {
        order: 1;
    }
    
    .top-tool {
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
    }

    .sidebar-toggle-btn img {
        background-color: transparent; 
    }
    .left-sidebar-burger-menu img {
        background-color: transparent; 
    }

    .left-sidebar-burger-menu {
        margin: 0;
        padding-right: 4px;
    }

    /* .sidebar-toggle-btn {
        padding-right: 2px;
    } */
    
    .top-tool:nth-child(3) {
        display: none;
    }
    
    .top-tool img {
        width: 30px;
    }
    
    .top-tool:hover {
        box-shadow: none;
    }
    
    .info-content-link {
        font-size: 10px;
        padding: 10px;
    }
    
    
    .fade-out {
        opacity: 0;
        transform: scale(0.8);
    }
    
    .fade-in {
        opacity: 1;
        transform: scale(1);
    }
    
    #left-sidebar-bottom {
        position: relative;
        right: 90%;
        bottom: 7px;
    }
    
    #left-sidebar-bottom span {
        font-size: 12px;
    }
    
    .bottom-tool {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        width: 120px;
        opacity: 0;
        transform: translateY(100%);
        transition: opacity 0.5s ease, transform 0.5s ease;
        overflow: hidden;
        background: none;
        padding-top: 4px;
    }
    
    .bottom-tool.active {
        opacity: 1;
        transform: translateY(0);
    }


    .bottom-tool::after {
       background: none;
    }
    
    .bottom-tool:hover::after {
        background: none;
    }

    .bottom-tool:hover .additional-data-hover {
        display: none;
        opacity: 1;
    }
       
    .bottom-tool::after {
        background: none;
    }  

    .left-sidebar-weather {
        margin-top: 0;
    }
    /* top hovers */
    .additional-data-hover-language::after {
        top: 4px;
        left: -164px;
        font-size: 10px; 
    }

    .additional-data-hover-burger-sidebar::after,
    .additional-data-hover-map-sidebar::after {
       display: none;
    }

    #left-sidebar-bottom {
        position: relative;
        right: 78%;
        bottom: 9px;
    }

    .bottom-tool::after {
       
        background: none;
    }
    
    .bottom-tool:hover::after {
        
        background: none;
    }

    .bottom-tool:hover .additional-data-hover {
        display: none;
        opacity: 1;
    }
       
    .bottom-tool::after {
        background: none;
    }  

    .close-btn {
        color: #FBFBFD;
        /* display: none; */
    }    

}


@media screen and (max-width: 480px) {

    .bottom-tool::after {
       background: none;
    }
    
    .bottom-tool:hover::after {
        background: none;
    }

    .bottom-tool:hover .additional-data-hover {
        display: none;
        opacity: 1;
    }
       
    .bottom-tool::after {
        background: none;
    }  

    /* .close-btn {
        display: none;
    }     */
}
@media screen and (max-width: 430px) {
    

    .bottom-tool::after {
       
        background: none;
    }
    
    .bottom-tool:hover::after {
        
        background: none;
    }

    .bottom-tool:hover .additional-data-hover {
        display: none;
        opacity: 1;
    }
       
    .bottom-tool::after {
        background: none;
    }  

    /* .close-btn {
        display: none;
    }     */
}

@media screen and (max-width: 375px) {

    .bottom-tool::after {
       
        background: none;
    }
    
    .bottom-tool:hover::after {
        
        background: none;
    }

    .bottom-tool:hover .additional-data-hover{
        display: none;
        opacity: 1;
    }
       
    .bottom-tool::after {
        background: none;
    }  

    /* .close-btn {
        display: none;
    } */
}
