@charset "UTF-8";
/* --- Language Switcher Dropdown --- */
section.language {
  position: relative;
}

/* The main container for the dropdown */
.changeLanguage {
  position: absolute; /* Establishes a positioning context for the dropdown menu */
  top: 20px;
  right: 20px;
  display: inline-block; /* Allows the element to have a width and sit alongside other elements */
  width: 180px; /* Sets a fixed width for the dropdown */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* Modern, system-agnostic font stack */
  text-align: left; /* Ensures text is aligned to the left */
}

/* Styling for the list (ul) */
.changeLanguage ul {
  list-style: none; /* Removes the default bullet points */
  margin: 0;
  padding: 0;
  background-color: #ffffff; /* White background for the menu */
  border: 1px solid #e0e0e0; /* Light grey border */
  border-radius: 6px; /* Slightly rounded corners */
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow for a floating effect */
  overflow: hidden; /* Ensures content respects the rounded corners */
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out; /* Smooth transition for hover effects */
}

/* Styling for the list items (li) and links (a) */
.changeLanguage li a {
  display: block; /* Makes the entire area of the link clickable */
  padding: 10px 15px;
  text-decoration: none; /* Removes the underline from links */
  color: #333; /* Dark grey text color for readability */
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease; /* Smooth background color change on hover */
}

/* Adds a subtle line between options */
.changeLanguage li:not(:last-child) a {
  border-bottom: 1px solid #f0f0f0;
}

/* --- Dropdown Interaction --- */
/* Hide all list items except the first one by default */
.changeLanguage ul > li:not(:first-child) {
  display: none;
}

/* Display all list items when the main container is hovered */
.changeLanguage:hover ul > li {
  display: block;
}

/* Change background color of links on hover */
.changeLanguage li a:hover {
  background-color: #f5f5f5; /* Light grey background on hover for feedback */
}

/* --- Arrow Indicator --- */
/* Add a down-arrow to the first item */
.changeLanguage ul > li:first-child a {
  position: relative; /* Needed to position the arrow */
}

.changeLanguage ul > li:first-child a::after {
  content: "▼"; /* Down arrow character */
  font-size: 0.7em;
  position: absolute;
  right: 15px; /* Position the arrow on the right */
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%); /* Center the arrow vertically */
  color: #888; /* Grey color for the arrow */
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}

/* Change the arrow to point up on hover */
.changeLanguage:hover ul > li:first-child a::after {
  content: "▲"; /* Up arrow character */
}/*# sourceMappingURL=change_language.css.map */