﻿/*
---------------------------------------------------------------------------------
languages start
---------------------------------------------------------------------------------
*/

.icon-container {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to the next line on smaller screens */
    gap: 10px; /* Space between the icons */
    justify-content: center;
    padding: 5px;
}
.icon-item {
    text-align: center;
    flex: 0 0 auto; /* Prevent items from growing/shrinking, but allow wrapping */
}
.icon-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}
.icon-item img {
    width: 50px; /* Base size for icons */
    height: 50px;
    border-radius: 50%; /* Makes the images circular if they are square */
    transition: transform 0.2s ease-in-out, border-color 0.2s ease-in-out;
    max-width: 100%; /* Ensure images scale down on smaller screens */
    height: auto; /* Maintain aspect ratio */
}
.icon-item img:hover {
    transform: scale(1.3); /* Slightly enlarge on hover */
    border-color: #007bff; /* Change border color on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .icon-item img {
        width: 50px;
        height: 50px;
    }
    .icon-container {
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .icon-item img {
        width: 50px;
        height:50px;
    }
    .icon-container {
        gap: 5px;
    }
}


/*
---------------------------------------------------------------------------------
languages end
---------------------------------------------------------------------------------
*/
