#languages {
    padding: 20px;
    max-width: 800px;
    margin: auto;
}

.language-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.language-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 15px;
    border: 2px solid black;
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    gap: 15px;
    width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.language-item:hover {
    cursor: pointer;
}

.language-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.language-flag {
    width: 40px;
    height: 30px;
    border-radius: 4px;
}

.language-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.language-details p {
    font-size: 1rem;
    color: #333;
    margin: 0;
}

.language-details p strong {
    color: #1976D2;
}

#language-toggler {
    display: flex;
    align-items: center;
    background-color: white;
    color: black;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    width: 55px;
    height: 40px;
    transition: background-color 0.3s ease;
    position: absolute;
    top: -10px;
    right: 50px;
    margin-top: 20px;
}

#download-resume {
    display: flex;
    align-items: center;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    width: 55px;
    height: 40px;
    transition: background-color 0.3s ease;
    position: absolute;
    top: -10px;
    right: 125px;
    margin-top: 20px;
}

#current-language {
    display: none;
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
}