@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Poppins:wght@400;500;700&family=Roboto:wght@700;900&family=Source+Code+Pro:wght@700&display=swap");
* {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  list-style: none;
  font-family: Poppins;
  scroll-behavior: smooth;
}

.preloader {
  position: absolute;
  display: flex;
  height: 100vh;
  width: 100%;
  justify-content: center;
  align-items: center;
  z-index: 2;
  opacity: 0.9;
  backdrop-filter: blur(5px);
}

.noscroll {
  overflow: hidden;
}

.loader {
  --path: #20305a;
  --dot: #ea6c4b;
  --duration: 3s;
  width: 44px;
  height: 44px;
  position: relative;
}

.loader:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  position: absolute;
  display: block;
  background: var(--dot);
  top: 37px;
  left: 19px;
  transform: translate(-18px, -18px);
  animation: dotRect var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
    infinite;
}

.loader svg {
  display: block;
  width: 100%;
  height: 100%;
}

.loader svg rect,
.loader svg polygon,
.loader svg circle {
  fill: none;
  stroke: var(--path);
  stroke-width: 10px;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.loader svg polygon {
  stroke-dasharray: 145 76 145 76;
  stroke-dashoffset: 0;
  animation: pathTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
    infinite;
}

.loader svg rect {
  stroke-dasharray: 192 64 192 64;
  stroke-dashoffset: 0;
  animation: pathRect 3s cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

.loader svg circle {
  stroke-dasharray: 150 50 150 50;
  stroke-dashoffset: 75;
  animation: pathCircle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
    infinite;
}

.loader.triangle {
  width: 48px;
}

.loader.triangle:before {
  left: 21px;
  transform: translate(-10px, -18px);
  animation: dotTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
    infinite;
}

@keyframes pathTriangle {
  33% {
    stroke-dashoffset: 74;
  }

  66% {
    stroke-dashoffset: 147;
  }

  100% {
    stroke-dashoffset: 221;
  }
}

@keyframes dotTriangle {
  33% {
    transform: translate(0, 0);
  }

  66% {
    transform: translate(10px, -18px);
  }

  100% {
    transform: translate(-10px, -18px);
  }
}

@keyframes pathRect {
  25% {
    stroke-dashoffset: 64;
  }

  50% {
    stroke-dashoffset: 128;
  }

  75% {
    stroke-dashoffset: 192;
  }

  100% {
    stroke-dashoffset: 256;
  }
}

@keyframes dotRect {
  25% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(18px, -18px);
  }

  75% {
    transform: translate(0, -36px);
  }

  100% {
    transform: translate(-18px, -18px);
  }
}

@keyframes pathCircle {
  25% {
    stroke-dashoffset: 125;
  }

  50% {
    stroke-dashoffset: 175;
  }

  75% {
    stroke-dashoffset: 225;
  }

  100% {
    stroke-dashoffset: 275;
  }
}

.loader {
  display: inline-block;
  margin: 0 16px;
}

body {
  position: relative;
}

nav {
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ea6c4b;

  background: #20305a;
  position: fixed;
  width: 100%;
  z-index: 1;
  color: rgb(255, 255, 255);
}

nav .logo {
  color: white;
  margin-left: 30px;
  cursor: pointer;

  animation-name: logo;
  animation-timing-function: 3s;
  animation-duration: 10s;
  animation-iteration-count: infinite;
}

@keyframes logo {
  25% {
    color: #ff884b;
  }
  50% {
    color: #7fb5ff;
  }
}

nav ul {
  margin-right: 30px;
}

nav .mainMenu {
  display: flex;
}

nav .mainMenu li a {
  display: inline-block;
  margin: 10px;
  padding: 5px 10px;
  text-decoration: none;
  text-transform: uppercase;
  color: #ea6c4b;
  font-size: 18px;
  transition: 0.2s ease;
}

nav .mainMenu li a:hover {
  border-bottom: 1px solid white;
}

nav .openMenu {
  font-size: 20px;
  margin: 20px;
  color: #ea6c4b;
  display: none;
  cursor: pointer;
}

nav .mainMenu .closeMenu,
.icons i {
  font-size: 20px;
  display: none;
  cursor: pointer;
  transition: 0.5s;
}

.icons a i {
  color: white;
}
.fa-facebook:hover {
  color: blue;
}
.fa-instagram:hover {
  color: #ff884b;
}
.fa-tiktok:hover {
  color: blue;
}
.fa-envelope:hover {
  color: #ff884b;
}

@media (max-width: 800px) {
  nav .mainMenu {
    height: 100vh;
    position: fixed;
    top: 0px;
    right: 0px;
    left: 0px;
    z-index: 10;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #20305a;
    transition: top 1s ease 0s;
    display: flex;
  }

  nav ul {
    margin-right: 0;
  }

  nav .mainMenu .closeMenu {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    left: 20px;
    color: #ea6c4b;
  }

  nav .openMenu {
    display: block;
  }

  nav .mainMenu li a:hover {
    background: none;
    background-color: #7fb5ff;
  }

  .icons i {
    display: inline-block;
    padding: 12px;
  }
}
