header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;  /* Make sure it doesn't exceed the viewport */
    height: 60px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 100;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.logo a {
    text-decoration: none;
    color: #000;
    font-size: 23px;
    font-weight: bold;
    box-sizing: border-box;
}
.country-selector {
    position: relative;
}

.country-btn {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.country-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    width: max-content;
    box-sizing: border-box;
}

.country-menu ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.country-menu li {
    padding: 10px 20px;
    cursor: pointer;
}

.country-menu li:hover {
    background-color: #f0f0f0;
}

/* Отображение меню при нажатии на кнопку */
.country-selector:hover .country-menu {
    display: block;
}



        .show_img {
            cursor: pointer;
            color: blue;
            text-decoration: underline;
        }

        .img-container {
            overflow: hidden;
            max-height: 0;
            transition: max-height 0.5s ease-out;
        }

        .img-container img {
            width: 320px;
            display: block;
            cursor: pointer;
            /* Add cursor pointer to indicate image can be clicked */
        }

        .img-container.open {
            max-height: 1000px;
            /* Adjust this to be larger than the image height */
        }