@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@600&display=swap");

* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  cursor: auto;
}

nav {
  background: linear-gradient(
    115deg,
    rgba(240, 116, 39, 0.8),
    rgba(29, 87, 112, 0.8),
    rgba(240, 116, 39, 0.5),
    rgba(29, 87, 112, 1)
  );
  height: 80px;
  width: 100%;
  position: fixed;
  z-index: 1;
  border-bottom: #eb733b solid 4px;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

label.logo img {
  padding-left: 20px;
  padding-top: 10px;
  cursor: pointer;
}
nav ul {
  float: right;
  margin-right: 20px;
}
nav ul li {
  display: inline-block;
  line-height: 75px;
  margin: 0 5px;
  /* background: #1d5770ff; */
}
nav ul li a {
  color: white;
  font-size: 0.8rem;
  padding: 7px 13px;
  border-radius: 3px;
  text-transform: uppercase;
  cursor: pointer;
}

nav ul li .dash {
  text-decoration: underline;
  color: #74d3ce;
}

nav ul li .dash:hover {
  color: #f3711a;
  border-radius: 5px;
  box-shadow: 0 0 5px #74d3ce, 0 0 10px #74d3ce;
  transition: 0.5s;
}

.site_name {
  position: absolute;
  background: -webkit-linear-gradient(rgb(0, 207, 235), rgb(243, 241, 241));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  left: 150px;
  font-family: "Caveat", cursive;
  font-weight: 600;
  font-size: 1.2rem;
  height: 45px;
}

a.active,
a:hover {
  color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 0 5px #74d3ce, 0 0 10px #74d3ce;
  transition: 0.5s;
  /* background: #2B7695; */
}
.dash :active,
.dash :hover {
  color: #20b2aa;
  border-radius: 5px;
  box-shadow: 0 0 5px #20b2aa, 0 0 10px #20b2aa;
  transition: 0.5s;
}
.checkbtn {
  font-size: 30px;
  color: white;
  float: right;
  line-height: 80px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}
#check {
  display: none;
}
label.logo img {
  position: absolute;
  height: 70px;
}

.cont_for_btn_lang {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: #f3711a;
}
.select {
  visibility: hidden;
}
.drapo1 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  margin: 8px;
  height: 22px;
  background: url(/static/images/drapo_en.png) bottom center no-repeat;
  padding-bottom: 30px;
  color: antiquewhite;
  border-radius: 0px;
  border: none;
}

.drapo1:hover {
  cursor: pointer;
}

.drapo2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  margin: 8px;
  height: 22px;
  background: url(/static/images/drapo_ru.png) bottom center no-repeat;
  padding-bottom: 30px;
  color: antiquewhite;
  text-align: center;
  border-radius: 0px;
  border: none;
}

.drapo2:hover {
  cursor: pointer;
}

.cont_for_btn_lang select {
  background: #eb733b;
  color: #fff;
  background: none;
  cursor: pointer;
  font-size: 1rem;

  outline: none;

  margin: 0.5em;
}

.cont_for_btn_lang select:active {
  outline: none;
}

.cont_for_btn_lang select:hover {
  background: #eb733b;
  color: #fff;
  box-shadow: #f3711a;
  padding: 0;
  font-size: 1rem;
  font-weight: 400;
}

.btn_lang {
  color: #fff;
  padding: 0.2em;
  border-radius: 5em;
  display: flex;
  align-items: center;
  text-align: center;
  background: transparent;
  cursor: pointer;
  box-shadow: none;
}

.btn_lang:hover {
  background: #bae0df;
  color: #eb733b;
}

.btn_lang:active {
  outline: none;
  border: none;
}

.btn_lang:focus {
  outline: none;
  border: none;
}

.btn_lang img {
  width: 30px;
  height: 30px;
  cursor: pointer;
}

@media (max-width: 1552px) {
  .site_name {
    top: -22px;
  }
}

@media (max-width: 1200px) {
  label.logo img {
    font-size: 30px;
    padding-left: 50px;
  }
  nav ul li a {
    font-size: 16px;
  }
}

@media (max-width: 1200px) {
  .checkbtn {
    display: block;
  }

  ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: linear-gradient(
      115deg,
      rgba(240, 116, 39, 1),
      rgba(43, 118, 149, 0.8),
      rgba(240, 116, 39, 0.5),
      rgba(43, 118, 149, 1)
    );
    top: 80px;
    left: -100%;
    text-align: center;
    transition: all 0.5s;
  }
  nav ul li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }
  nav ul li a {
    font-size: 20px;
  }

  a:hover,
  a.active {
    background: none;
    color: rgb(0, 255, 200);
  }
  #check:checked ~ ul {
    left: 0;
  }
}

.with_logo {
  position: relative;
  align-content: space-between;
  text-align: left;
  margin: 0px;
  padding: 0px;
}
.with_logo a {
  position: relative;
  width: 900px;
  transform: translate(-25px, 12px);
}
.with_logo a .profile {
  position: relative;
  top: 9px;
  left: 9px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.with_logo .li_log {
  margin-left: 100px;
}

@media (max-width: 1200px) {
  .with_logo {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }
  .with_logo a {
    position: relative;
    width: 900px;
    transform: translate(-25px, 12px);
  }
  .with_logo a .profile {
    position: relative;
    top: 9px;
    left: 9px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }

  .with_logo .li_log {
    margin-left: 100px;
  }
}

@media (max-width: 1025px) {
  .with_logo {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }
  .with_logo a {
    position: relative;
    width: 900px;
    transform: translate(-50px, 12px);
  }
  .with_logo a .profile {
    position: relative;
    top: 9px;
    left: 19px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }

  .with_logo .li_log {
    margin-left: 100px;
  }
}

@media (max-width: 426px) {
  .with_logo {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }
  .with_logo a {
    position: relative;
    width: 900px;
    transform: translate(-150px, 12px);
  }
  .with_logo a .profile {
    position: relative;
    top: 9px;
    left: 10%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }

  .with_logo .li_log {
    margin-left: 100px;
  }
}

@media (max-width: 426px) {
  ul .with_logo li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }
  .with_logo {
    position: absolute;
    left: 20%;
  }
  .with_logo a .profile {
    position: relative;
    top: 9px;
    left: 19px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }

  .cont_for_btn_lang {
    position: absolute;
    left: 20%;
  }
}
