/* Put your custom styles here */

/* Desktop view */
@media (min-width: 768px) {
    /* Ensure the dropdown works correctly in desktop */
    .dropdown-menu {
        top: 100%;
        right: 0;
        left: auto;
        transform: none;
    }
}

/* Mobile view */
@media (max-width: 767px) {
    /* Hide the globe icon in mobile view */
    #dropdown1 {
        display: none;
    }

.dropdown-menu li {
    margin: 0 4px !important; /* Force the margin with !important if necessary */
}

    /* Directly display the 3x5 grid of flags */
    .dropdown-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px;
        background-color: rgba(66, 70, 72, 0.9);
        opacity: 0.95;
        position: fixed;
        top: 60px;
        right: 10px;
        width: 100%;
        max-width: 300px;
        z-index: 999;
    }

    .dropdown-menu div {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .dropdown-menu li {
        flex: 1 1 20%;
        display: flex;
        justify-content: center;
        padding: 5px 0;
    }
}

body {
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
    width: 100%;
    height: 50px;

    /* Adjust this height to half the size of your menu bar */
    background-color: #183441;
    opacity: 0.6;
    filter: Alpha(opacity=50);
    font: bold;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-decoration: none;
    color: white;
    text-align: center;
    padding: 13px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

.image-container {
    display: flex;
    justify-content: space-around;

    /* Distribute space around the images */
    flex-wrap: wrap;

    /* Allow images to wrap to the next line if needed */
    padding-left: 10%;

    /* Adjust padding or use a percentage for padding */
    padding-right: 10%;
    margin-left: 71px;
}

.responsive-img {
    max-width: 30%;

    /* Make each image take up 30% of the container width */
    height: auto;

    /* Maintain the aspect ratio */
    margin: 0 1%;

    /* Add some margin between the images */
    padding: 0;
}