:root {
  --main-background-color: #262640;
  --underservice-background-color: white;
  --underservice-font-color: #262640;
  --underservice-contactFont-color: #505073;
  --underservice-mail-color: #2929cc;
  --underservice-underline-color: #c2c2d9;
  --underservice-highlight-color: #f7f7ff;
}

body,
html {
  height: 100%;
  width: 100%;
  margin: 0;
  display: flex;
  background-color: var(--main-background-color);
  font-family: "Mulish", sans-serif;
  color: var(--main-background-color);
}

.focus:focus-visible {
  outline: none;
}

.focus:focus {
  border: 2px solid var(--underservice-contactFont-color);
  border-radius: 4px;
}

.container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.underservice {
  background-color: white;
  border-radius: 22px;
  text-align: center;
  padding: 4rem 1.5rem;
  margin: auto;
}

@media screen and (min-width: 1280px) {
  .underservice {
    width: 960px;
  }
}

.underservice__container {
  flex-direction: column;
  display: flex;
}

.underservice__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.underservice__image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem;
}

.underservice__image img {
  width: 100%;
  height: auto;
}

.desktop {
  display: none;
}

.underservice__info__title h1 {
  font-size: 2rem;
  padding: 0 0 1rem;
  margin: 0;
  line-height: 1.375;
  font-family: "Mulish", sans-serif;
}

@media screen and (max-width: 767px) {
  .underservice__info__title h1 {
    font-size: 1.625rem;
  }
}

.underservice__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.underservice__header__logo {
  width: 8rem;
  height: 1.125rem;
}

.underservice__header__language-change {
  display: flex;
  align-items: center;
  border: none;
  padding: 0;
  background-color: transparent;
}

.globe {
  width: 14px;
  height: 14px;
  background-image: url("./img/globe.svg");
  background-size: contain;
  margin-right: 6px;
}

.language {
  font-size: 1rem;
  color: var(--underservice-mail-color);
  font-family: "Mulish", sans-serif;
}

.rotate180 {
  transform: rotate(180deg);
}

.chevron_closed {
  width: 10px;
  height: 7px;
  background-image: url("./img/chevron.svg");
  margin-left: 6px;
}

.languge-container {
  position: relative;
  display: flex;
  align-items: center;
}

.languge-menu {
  position: absolute;
  list-style-type: none;
  top: 100%;
  right: -6px;
  background-color: white;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  padding: 0;
  padding: 6px 0;
  margin: 0;
  margin-top: 5px;
  border: 1px solid var(--underservice-underline-color);
  border-radius: 6px;
}

.languge-menu::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--underservice-underline-color);
  border-left: 1px solid var(--underservice-underline-color);
  top: -4px;
  transform: rotate(45deg);
  right: 7px;
  background-color: white;
}

.languge-menu__button {
  text-align: left;
  padding: 12px 12px 12px 16px;
  border: none;
  background-color: transparent;
  width: 160px;
  height: 44px;
  color: var(--underservice-contactFont-color);
  font-size: 1rem;
  font-family: "Mulish", sans-serif;
}

.languge-menu__button:hover {
  padding: 12px 12px 12px 16px;
  border: none;
  background-color: #eeeefc;
  color: var(--main-background-color);
}

.languge-menu__button:focus {
  padding: 12px 12px 12px 16px;
  background-color: #eeeefc;
  color: var(--main-background-color);
}

.selected-language:focus {
  border-left: 3px solid #353559;
}

.selected-language {
  border: 3px solid #fff;
  border-left: 3px solid #353559;
  color: var(--main-background-color);
  background-color: var(--underservice-highlight-color);
}

.languge-menu__button--key-select {
  padding: 12px 12px 12px 16px;
  border: none;
  background-color: #eeeefc;
  color: var(--main-background-color);
}

.hidden {
  display: none;
}

.underservice__info__paragraph {
  font-size: 1rem;
  line-height: 1.5;
  font-family: "Mulish", sans-serif;
}

.underservice__info__paragraph p {
  margin: 0;
}

.underservice__info__line {
  border-bottom: solid 1px var(--underservice-underline-color);
  margin-bottom: 0.5rem;
  width: 6rem;
}

.underservice__info__contact {
  color: var(--underservice-contactFont-color);
  max-width: 433px;
  line-height: 1.5rem;
  font-size: 1rem;
  font-family: "Mulish", sans-serif;
}

@media (max-width: 1024px) {
  .underservice__info__contact {
    text-align: center;
  }
}

.underservice__info__contact--nowrap {
  white-space: nowrap;
}

.underservice__info__contact a {
  color: var(--underservice-mail-color);
  font-weight: 600;
  text-underline-offset: 4px;
}

@media (min-width: 768px) {
  .underservice {
    padding: 4rem 4rem 9.375rem 4rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }

  .underservice__info {
    padding-left: 6rem;
    padding-right: 6rem;
  }

  .underservice__image {
    padding: 6rem 0;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 1024px) {
  .underservice {
    text-align: center;
    text-align: left;
    margin-left: 4rem;
    margin-right: 4rem;
    padding: 6rem;
    line-height: 1.375;
  }

  .underservice__container {
    flex-direction: row;
    display: flex;
    justify-content: space-between;
  }

  .underservice__info {
    justify-content: left;
    align-items: flex-start;
    margin-right: 3rem;
    padding-left: 0;
    padding-right: 0;
    line-height: 1.5;
  }

  .underservice__info__paragraph {
    padding-bottom: 5.5rem;
  }

  .underservice__image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  .mobile {
    display: none;
  }
}
