:root {
  --orangered: #ff4800;
  --prorangered: #ff480081;
  --black: #000;
  --prblack: #00000071;
  --prwhite: #ffffff50;
  --prprwhite: #ffffffa2;
  --white: #fff;
  --blue: #4400ff;
  --prblue: #4400ff7a;
  --yelow: #eeff00;
  --pryelow: #eeff0077;
  --grey: #8a8a8a;
  --prgrey: #aaaaaa80;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}
@font-face {
  font-family: "MyFont2";
  src: url(/shrift/shrift7/Norse-Bold.ttf) format("truetype");
}
.none {
  display: none;
}
.nav {
  position: sticky;
  top: 0;
  /* width: 100%; */
  max-width: 1200px;
  margin: 0 auto;
  height: 70px;
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
  padding-inline: 3rem;
  z-index: 10;
  background: #000000d0;
  box-shadow: 2px 2px 4px var(--prblack);
  font-size: 1.3rem;
}
.menuOpen {
  position: absolute;
  right: 2rem;
  font-size: 3.5rem;
  cursor: pointer;
  display: none;
}
.menuClose {
  font-size: 3.5rem;
  cursor: pointer;
  position: absolute;
  top: 2rem;
  right: 2rem;
  display: none;
}
.menuOpen,
.menuClose {
  color: var(--white);
}
.logo {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}
.logo > p {
  font-size: 2rem;
  background: linear-gradient(
    to left,
    var(--blue) 0%,
    var(--yelow) 50%,
    var(--orangered) 100%
  );
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  margin-right: 2rem;
}
.links {
  display: flex;
  width: 100%;
  padding: 1rem;
  align-items: center;
  justify-content: space-around;
}
.links ul {
  display: flex;
  align-items: center;
  list-style: none;
}
.links ul li {
  text-align: center;
  margin-inline: 3rem;
  padding: 0.5rem;
  padding-inline: 1rem;
  font-size: 2rem;
  cursor: pointer;
}
.links ul li:hover {
  transform: scale(0.9);
}
.links img {
  height: 2rem;
}
.links ul li a,
.links a {
  color: var(--blue);
  font-family: "MyFont2";
  font-weight: bolder;
  text-shadow: 2px 2px 3px var(--black);
}

/* ========================================= */
@media (max-width: 1360px) {
  .links ul li {
    margin-inline: 1.8rem;
  }
}
@media (max-width: 1067px) {
  .links ul li {
    font-weight: 500;
    margin-inline: 1.2rem;
  }
}
@media (max-width: 896px) {
  .links ul li {
    margin-inline: 0.4rem;
  }
}
@media (max-width: 768px) {
  .logo {
    display: flex;
  }
  .links > a {
    display: flex;
    margin-bottom: 0.5rem;
    justify-content: center;
    padding-left: 3rem;
    align-items: center;
  }
  .otkl {
    display: none;
  }
  .links ul li {
    width: 17rem;
    text-align: center;
    padding: 1rem 0;
    margin-bottom: 0.5rem;
  }
  .none {
    display: block;
  }
  .menuOpen {
    display: block;
    font-weight: 700;
  }
  .links {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    padding-top: 50px;
    background-image: linear-gradient(
      45deg,
      var(--black) 0%,
      var(--white) 50%,
      var(--black) 110%
    );
    flex-direction: column;
    justify-content: center;
    transition: 0.3s linear;
    z-index: 100;
  }
  .nav.showMenu .links {
    left: 0;
  }
  .menuClose {
    display: block;
    font-weight: 700;
  }
  .links ul {
    flex-direction: column;
  }
  .max-icon-link {
    width: 17rem;
    padding: 0.5rem;
    position: relative;
    text-align: center;
    margin-inline: 3rem;
    padding-inline: 1rem;
    background: linear-gradient(
      -15deg,
      var(--orya) 0%,
      var(--ser) 50%,
      var(--orya) 100%
    );
    font-size: 1.3rem;
    font-family:
      "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
    cursor: pointer;
    clip-path: polygon(0% 0%, 87% 0%, 100% 50%, 87% 100%, 0% 100%, 10% 50%);
  }
  .max-icon-link::before {
    z-index: -1;
    content: "";
    position: absolute;
    left: 7px;
    background: linear-gradient(
      0deg,
      var(--orya) 0%,
      var(--ser) 50%,
      var(--orya) 100%
    );
    width: 170px;
    height: 50px;
    clip-path: polygon(0% 0%, 87% 0%, 100% 50%, 87% 100%, 0% 100%, 10% 50%);
    opacity: 0.3;
  }
}
@media (max-width: 425px) {
  .logo > p {
  font-size: 1.5rem;
}
}