:root {
  --main-color: #131847db;
}

header {
  width: 1560px;
  height: 100px;
  float: left;
  position: fixed;
  z-index: 9999;
  background-color: transparent;
  transition: 2s background-color;
}

header:hover {
  background-color: var(--main-color);
}

.header_right_menu, .header_menu_elements {
  display: none;
}

.scrolled {
  background-color: var(--main-color);
}

.header_left {
  font-size: 35px;
  line-height: 35px;
  margin-top: 20px;
  margin-left: 20px;
  border: 2px solid #d3d3d345;
  padding: 10px;
  display: block;
  float: left;
  transition: 1s border;
  font-family: Georgia, serif;
  cursor: pointer;
  background-color: transparent;
}

.mirror_header .header_left {
  float: right;
  margin-left: 0px;
  margin-right: 20px;
}

.header_right {
  font-size: 20px;
  line-height: 30px;
  margin-top: 20px;
  margin-right: 15px;
  border: 2px solid #d3d3d345;
  padding: 10px;
  display: block;
  float: right;
  transition: 1s border, 1s background-color;
  font-family: Georgia, serif;
  cursor: pointer;
  background-color: transparent;
}

.mirror_header .header_right {
  float: left;
  margin-right: 0px;
  margin-left: 15px;
}

.header_right:hover, .header_left:hover {
  border: 2px solid white;
  background-color: #131847;
}

.header_right_flag {
  width: 40px;
  height: 40px;
  margin-top: 20px;
  margin-right: 15px;
  border: 2px solid #d3d3d345;
  border-radius: 50%;
  padding: 5px;
  display: block;
  float: right;
  transition: 1s border, 1s background-color;
  cursor: pointer;
  background-color: transparent;
}

.mirror_header .header_right_flag {
  float: left;
  margin-right: 0px;
  margin-left: 15px;
}

.header_right_flag img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  cursor: pointer;
}

#header_language {
  display: none;
}

#header_language:checked + .header_language_box {
  display: block;
}

.header_language_box {
  display: none;
  position: absolute;
  background-color: #ffffff45;
  border-radius: 5px;
  padding: 5px;
  right: 7px;
  bottom: -75px;
  height: 60px;
  transition: 0.5s background-color;
}

.mirror_header .header_language_box {
  right: auto;
  left: 7px;
}

.header_language_box:hover {
  background-color: #ffffffbf;
}

.header_language_box label {
  position: absolute;
  height: 20px;
  width: 20px;
  right: -10px;
  top: -10px;
  background-color: white;
  border-radius: 50%;
}

.header_language_box label img {
  height: 20px;
  width: 20px;
  object-fit: cover;
  cursor: pointer;
}

.header_language_box a {
  height: 40px;
  width: 40px;
  float: left;
  margin: 10px;
  border-radius: 50%;
  cursor: pointer;
}

.header_language_box a img {
  height: 40px;
  width: 40px;
  object-fit: cover;
  cursor: pointer;
  transition: 0.5s scale;
}

.header_language_box a img:hover {
  scale: 1.3;
}


















@media only screen and (max-width: 1570px) {
  header {
    width: 1260px;
  }
}


@media only screen and (max-width: 1260px) {

header {
  width: 900px;
  height: 65px;
}

.header_left {
  font-size: 25px;
  line-height: 30px;
  margin-top: 10px;
  margin-left: 10px;
  padding: 5px;
}

.mirror_header .header_left {
  margin-right: 10px;
}

.header_right {
  font-size: 15px;
  line-height: 30px;
  margin-top: 10px;
  margin-right: 10px;
  padding: 5px;
}

.mirror_header .header_right {
  margin-left: 10px;
}

.header_right_flag {
  width: 30px;
  height: 30px;
  margin-top: 10px;
  margin-right: 10px;
}

.mirror_header .header_right_flag {
  margin-left: 10px;
}

.header_right_flag img {
  width: 30px;
  height: 30px;
}

.header_language_box {
  bottom: -55px;
  height: 40px;
}

.header_language_box a {
  height: 30px;
  width: 30px;
  margin: 5px;
}

.header_language_box a img {
  height: 30px;
  width: 30px;
}

.header_language_box a img:hover {
  scale: 1.25;
}

}



@media only screen and (max-width: 900px) {

header {
  width: 720px;
  height: 50px;
  background-color: var(--main-color);
}

.header_left {
  font-size: 18px;
  line-height: 18px;
  margin-top: 10px;
  margin-left: 10px;
  padding: 5px;
}

.mirror_header .header_left {
  float: left;
  margin-left: 10px;
  margin-right: 0px;
}

.header_right {
  display: none;
}

.header_right_flag {
  width: 30px;
  height: 30px;
  margin-top: 5px;
  margin-right: 5px;
  padding: 3px;
}

.mirror_header .header_right_flag {
  margin-left: 0px;
  margin-right: 5px;
  float: right;
}

.header_right_flag img {
  width: 30px;
  height: 30px;
}

.header_language_box {
  padding: 0px;
  right: 10px;
  bottom: -45px;
  height: 40px;
}

.mirror_header .header_language_box {
  right: 5px;
  left: auto;
}

.header_language_box label {
  display: none;
}

.header_language_box a {
  height: 30px;
  width: 30px;
  margin: 5px;
}

.header_language_box a img {
  height: 30px;
  width: 30px;
}

.header_language_box a img:hover {
  scale: 1.2;
}

.header_right_menu {
  width: 30px;
  height: 30px;
  margin-top: 5px;
  margin-right: 5px;
  border: 2px solid #d3d3d345;
  border-radius: 50%;
  padding: 3px;
  display: block;
  float: right;
  transition: 1s border, 1s background-color;
  cursor: pointer;
  background-color: transparent;
}

.header_right_menu img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  cursor: pointer;
}

#header_menu:checked + .header_menu_elements {
  display: block;
}

.header_menu_elements {
  position: absolute;
  background-color: #d9d9d982;
  border-radius: 5px;
  padding: 0px;
  right: 0px;
  bottom: -144px;
  width: 294px;
  transition: 0.5s background-color;
}

.header_menu_element {
  font-size: 18px;
  line-height: 18px;
  width: 275px;
  text-align: center;
  margin: 2px 2px;
  border: 2px solid #d3d3d345;
  padding: 5px;
  display: block;
  float: left;
  transition: 1s border, 1s background-color;
  font-family: Georgia, serif;
  cursor: pointer;
  background-color: #131847b8;
}

.header_menu_element:hover {
  border: 2px solid white;
  background-color: #131847;
}

}


@media only screen and (max-width: 720px) {

header {
  width: 100%;
  min-width: 320px;
}

}