.course-image {
    width: 4em; 
    height: auto;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.course-image:hover {
    transform: scale(1.15);
    z-index: 1;
    filter: brightness(1.2) saturate(1.5);
}

.course-button {
    display: block; /* Necessary for width and height */
    
    width: 95%;
    height: 25vh;
    font-size: 10vw;
    white-space: nowrap;

    background-color: #007BFF;
    color: black;

    border: none; 
    border-radius: 5px;

    transition: background-color 0.3s ease, transform 0.3s ease;

    text-decoration: none;
        
    /* Align inner text */
    display: flex;
    justify-content: center;
    align-items: center;
}

.course-button:hover {
    background-color: #0056b3;
    transform: scale(1.07);
    cursor: pointer;
}

.course-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: black;
}

header {
    background-color: #4CAF50;
    color: white;
    padding: 10px 0;
    text-align: center;
}

.ru {
    background-color: purple;
}

.de {
    background-color: yellow;
}

.en {
    background-color: blue;
}


nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

.no-underline {
    color: white;
    text-decoration: none;
}

main {
    padding: 20px;
}

.player {
    display: flex;
    justify-content: center;
    margin: 1em;
}

select {
    margin-right: 1em;
    border-radius: 0.5em;
}

#audio {
    border-radius: 1em;
}

div.text {
    display: flex;
    flex-wrap: wrap;
    margin: 1em;
    font-size: 1.25em;
}

p.text {
    flex: 0 0 100%;
    text-align: center;
}

hr {
    width: 80%;
}

.lessons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.lesson-button {
    height: 100%;
    width: 100%;
    border: none;
    font-size: 3vw;
    cursor: pointer;
}

.lesson-anchor {
    flex: 1 0 calc(30% - 1vh);
    max-width: 100%;
    margin: 1vh;
    height: 6vh;
}

.level-button {
    height: 100%;
    width: 100%;
    border: none;
    font-size: 3vw; 
    cursor: pointer;
}

.level-anchor {
    flex: 1 0 calc(30% - 1vh);
    max-width: 100%;
    margin: 1vh;
    height: 6vh;
    
}

#welcome-title {
    font-size: 6vw;
}

#choose-flag {
    font-size: 4vw;
    margin-top: 20vh;
}

.home-text {
    font-size: 1.5em;
    text-align: center;
    margin-top: 3vh;
}

.A1 {
}

.A2 {
    background-color: green;
}

.B1 {
    background-color: blue;
}

.B2 {
    background-color: orange;
}

.C1 {
    background-color: red;
}

.C2 {
    background-color: purple;
}




.footer {
	position: fixed;
	bottom: 3vh;
	left: 50%;
    transform: translate(-50%, -50%); /* Move left and up by half its size */
}

.footer-icon{
	text-decoration: none;
	margin: 1em;
}
.icon {
	width: 3.5em;
}
