.headerModular1 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  gap: 15%;
  position: relative;
}

.headerModular1.mobileVersion {
  display: none;
  flex-direction: column;
  padding: 0;
  gap: 0;
}

.headerModular1 > a {
  align-items: center;
  display: flex;
}

.headerModular1 > a > img {
  height: 2rem;
  text-decoration: none;
  list-style-type: none;
}

.headerModular1 > .middleLinks {
  flex: auto;
  justify-content: flex-start;
  align-items: center;
  display: flex;
  gap: 3rem;
}

.headerModular1 > .middleLinks > a {
  text-decoration: none;
  list-style-type: none;
  color: #565a66;
  font-size: 1.2rem;
}

.endLinks > a {
  color: #9399aa;
}

.endLinks > a:hover {
  cursor: pointer;
}

.regionWindow {
  position: absolute;
  width: 100%;
  left: 0;
  top: 100%;
  background-color: #f1f2f6;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.regionWindow > div {
  padding: 1rem 3rem;
  display: flex;
  flex-direction: row;
  width: 1300px;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
}

.regionWindow > div > .customSelection {
  flex: auto;
  display: flex;
  flex-direction: column;
  color: #05083f;
}

.regionWindow > div > .customSelection > label {
  margin-bottom: 0.7rem;
}

.regionWindow > div > .customSelection > .choosenFixed {
  background-color: white;
  border-top-right-radius: 7px;
  border-top-left-radius: 7px;
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow: hidden;
  transition-duration: 0.3s;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  gap: 1rem;
  border: 0.15rem solid #d7dae2;
}

.regionWindow > div > .customSelection > .choosenFixed.bottomCorners {
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
}

.regionWindow > div > .customSelection > .choosenFixed:hover {
  cursor: pointer;
}

.regionWindow > div > .customSelection > .choosenFixed > img {
  display: block;
  height: 1.3rem;
}

.regionWindow > div > .customSelection > .choosenFixed > span {
  flex: auto;
}

.regionWindow > div > .customSelection > .expandable {
  display: none;
  flex-direction: column;
  align-items: baseline;
  justify-content: stretch;
}

.regionWindow > div > .customSelection > .expandable > .customRegionOption {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  gap: 1rem;
  border: 0.15rem solid #d7dae2;
  overflow: hidden;
  margin-top: -0.175rem;
  background-color: #fff;
  transition-duration: 0.2s;
}

.regionWindow
  > div
  > .customSelection
  > .expandable
  > .customRegionOption:hover {
  cursor: pointer;
  background-color: #f7fcff;
}

.regionWindow
  > div
  > .customSelection
  > .expandable
  > .customRegionOption
  > img {
  display: block;
  height: 1.3rem;
}

.regionWindow
  > div
  > .customSelection
  > .expandable
  > .customRegionOption
  > span {
  flex: auto;
}

.headerModular1 > .endLinks > .button {
  color: #9399aa;
  transition-duration: 0.2s;
}

.headerModular1 > .endLinks > .button:hover {
  cursor: pointer;
  color: black;
}

.regionWindow > div > a {
  background-color: #2f2aea;
  color: white;
  text-decoration: none;
  list-style-type: none;
  border-radius: 1rem;
  margin-top: 2rem;
  padding: 0.75rem 2rem;
}

.headerModular1.mobileVersion > .mobileMenuContent {
  display: none;
}

.headerModular1 > .topPartOfMenu {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  width: 100%;
  padding: 1rem 1.5rem;
}

.headerModular1 > .topPartOfMenu > a {
  align-items: center;
  display: flex;
}

.headerModular1 > .topPartOfMenu > a > img {
  height: 1.7rem;
  text-decoration: none;
  list-style-type: none;
}

.headerModular1 > .topPartOfMenu > .mobileSandwich > i {
  font-size: 1.5rem;
}

.headerModular1 > .topPartOfMenu > .mobileSandwich > i:hover {
  cursor: pointer;
}

.headerModular1.mobileVersion > .mobileMenuContent {
  background-color: #f1f2f6;
  width: 100%;
  justify-content: center;
  flex-direction: column;
  padding: 1rem 1.5rem;
  gap: 1.5rem;
}

.headerModular1.mobileVersion > .mobileMenuContent > .mobileMenulinks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.headerModular1.mobileVersion > .mobileMenuContent > .mobileMenulinks > a {
  color: #05083f;
  text-decoration: none;
  list-style-type: none;
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-block;
  width: 100%;
  padding: 0.3rem 0.5rem 0.4rem 0.5rem;
  border-bottom: 0.1rem solid #d7dae2;
}

.headerModular1.mobileVersion > .mobileMenuContent > .mobileLanguage {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.headerModular1.mobileVersion > .mobileMenuContent > .mobileLanguage > .button {
  padding: 0.6rem 0.62rem;
  background-color: #e2e4e9;
  color: #05083f;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5rem;
}

.headerModular1.mobileVersion
  > .mobileMenuContent
  > .mobileLanguage
  > .button:hover {
  cursor: pointer;
}

@container (width < 1300px) {
  .headerModular1 {
    padding: 0.7rem 2rem;
  }

  .headerModular1 > a > img {
    height: 2rem;
  }

  .headerModular1 > .middleLinks {
    gap: 2.5rem;
  }

  .headerModular1 > .middleLinks > a {
    font-size: 1.1rem;
  }
}

@container (width < 1250px) {
  .regionWindow > div {
    width: 1000px;
  }
}

@container (width < 1050px) {
  .regionWindow > div {
    width: 800px;
  }
}

@container (width < 900px) {
  .headerModular1 > .middleLinks {
    gap: 2rem;
  }

  .regionWindow > div {
    flex-direction: column;
  }

  .regionWindow > div > .customSelection {
    width: 100%;
  }

  .regionWindow > div > a {
    margin-top: 0.5rem;
  }
}

@container (width < 700px) {
  .headerModular1.mobileVersion {
    display: flex;
  }

  .headerModular1 {
    display: none;
  }
}
