.dropdown { position: relative; display: inline-block; z-index: 999999; } .dropbtn { background-color: rgba(255,255,255,0.1); padding: 10px 10px; margin-bottom: 0 !important; border: 1px solid rgba(255,255,255,0.15); cursor: pointer; border-radius: 5px; display: flex; align-items: center; position: relative; width: 250px; } .dropbtn span{ font-family: 'Lilita One'; line-height: 1; color: white; text-shadow: 2px 2px 0 #000, -2px -2px 0 #000, -2px 2px 0 #000, 2px -2px 0 #000, 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000; font-size: 22px; line-height: 1; user-select: none; -moz-user-select: none; -webkit-user-select: none; } .dropbtn .emoji { margin-right: 8px; /* Space between emoji and text */ pointer-events: none; } .dropdown-content { display: none; position: absolute; background-color: #333; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 1; border-radius: 5px; max-height: 500px; overflow: auto; width: 100%; } .dropdown-content a { color: white; padding: 12px 16px; text-decoration: none; display: flex; justify-content: flex-start; align-items: center; background-color: #19213e; width: 100%; } .dropdown-content a span{ font-family: "Nunito", sans-serif; pointer-events: none; } .dropdown-content a:hover { background-color: #575757; } .dropdown:hover .dropbtn { background-color: #555; } .flag{ width: 26px; height: 26px; margin-right: 6px; user-select: none; -moz-user-select: none; -webkit-user-select: none; } .chevron{ position: absolute; width: 24px; right: 10px; top: 0; bottom: 0; margin: auto; z-index: 99; user-select: none; -moz-user-select: none; -webkit-user-select: none; } .search-country-outer{ padding: 10px; background-color: #19213e; } .search-country{ color: white; padding: 9px 9px 6px 9px; text-decoration: none; display: flex; justify-content: flex-start; align-items: center; background-color: #19213e; border: none; width: 100%; outline: none !important; border: 1px solid #757575; border-radius: 5px; font-size: 16px; } .search-country::placeholder{ font-family: "Nunito", sans-serif; font-size: 18px; } .change-lang{ position: absolute; right: 0; top: 0; z-index: 999; } .change-lang .dropbtn{ width: 175px; } @media screen and (max-width: 600px){ .leaderBoard .dropdown{ width: 100%; } .dropdown { width: fit-content; margin-right: 15px; margin-top: 10px; } .dropbtn { padding: 4px 10px; width: 90%; margin: auto; } .dropdown-content { width: 90%; left: 0; right: 0; margin: auto; } }