.chooseLang {
  position: relative;
  width: 80px;
  height: 40px;
  cursor: pointer;
}

.chooseLang div {
  position: relative;
  width: 80px;
  height: 40px;
}

.lang {
  position: absolute;
  width: 36px;
  height: 24px;
  top: 8px;
  opacity: 0;
  transition: left 0.4s ease, opacity 0.4s ease;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  border: 1px solid transparent;
}

.ro-lang {
  background-image: url(https://flagicons.lipis.dev/flags/4x3/ro.svg);
  left: 22px;
  opacity: 1;
  z-index: 2;
}

.en-lang {
  background-image: url(https://flagicons.lipis.dev/flags/4x3/gb.svg);
  left: 22px;
  opacity: 0;
  z-index: 1;
}

/* When open, show both flags spaced out */
.chooseLang.open .ro-lang {
  left: 0px;
  opacity: 1;
  z-index: 2;
}

.chooseLang.open .en-lang {
  left: 44px;
  opacity: 1;
  z-index: 1;
}

/* Highlight chosen flag */
.lang.chosen {
  border: 2px solid #0
