:root {
  --primary-bg: rgb(0, 208, 176);
  --black-bg: #000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Fustat", "Changa", sans-serif;
  position: relative;
  z-index: -1;
  background-color: var(--primary-bg);
}

body #container {
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  overflow: hidden;
  position: relative;
  z-index: -1;
  mix-blend-mode: lighten;
}

.content {
  display: grid;
  place-content: center;
  height: 100%;
  padding-bottom: 100px;
}

a {
  text-decoration: none;
  color: #333;
}

ul {
  list-style: none;
}

video {
  z-index: -5;
  width: 600px;
  height: 350px;
}

/* h1 {
  text-align: center;
  padding-inline: 200px;
  color: white;
  font-size: 5rem;
} */

p {
  text-align: center;
  font-size: 1.4rem;
  color: #333;
}

/* @media (max-width: 992px) {
  h1 {
    font-size: 4rem;
  }
} */

ul {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

li:hover svg {
  transition-duration: 200ms;
  box-shadow: none;
  scale: 1.1;
}

li:hover svg#youtube path {
  stroke: #eee !important;
}

li:hover svg#facebook path {
  stroke: #eee !important;
}
li:hover svg#twitter path {
  fill: #eee;
}
li:hover svg#harage path {
  fill: #eee;
}
li svg#insta {
  margin-top: 4px;
}
li:hover svg#insta circle:first-of-type {
  fill: #eee;
}
li:hover svg#insta circle:last-child {
  stroke: #eee;
}
li:hover svg#insta rect,
li:hover svg#insta path {
  stroke: #eee;
}

li a {
  width: 100%;
  height: 100%;
  /* display: grid; */
  /* place-items: center; */
  /* rotate: -90deg; */
}
li.circle::before {
  background: #000;
}

.contact-container {
  position: absolute;
  width: 100%;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-container a:hover svg {
  transition-duration: 400ms;
  scale: 1.2;
}

.contact-container a:hover:first-child path,
.contact-container a:hover:first-child rect {
  stroke: white;
}
.contact-container a:hover:last-child path {
  fill: white;
}

.contact-container img {
  width: 30px;
}

.contact-container div::before {
  top: 50%;
  opacity: 0;
  direction: ltr;
  position: absolute;
  white-space: nowrap;
  transform: translateY(-50%);
}

.contact-container div.email::before {
  content: "info@alomercars.com";
  left: 50%;
}

.contact-container div.whatsapp::before {
  content: "(+996)\a 999999999";
  right: 50%;
}

.contact-container img.whatsapp {
  width: 2.5rem;
}

.circle {
  position: relative;
  width: var(--size, 200px);
  height: var(--size, 200px);
  border-radius: 100%;
  background-color: transparent;
  border: 10px solid var(--primary-bg);
  outline: 20px solid #333333;
  position: absolute;
  top: var(--top);
  left: var(--left);
  opacity: 0.2;
  z-index: -4;
}

.circle:nth-child(2n) {
  -webkit-animation: rotate 5s infinite ease-in-out;
  animation: rotate 5s infinite ease-in-out;
}

.circle.top {
  left: 20px;
  top: 10px;
}

.circle.left {
  rotate: -90deg;
  transform-origin: left left;
  right: 47px;
}

.circle.right {
  rotate: 90deg;
  left: 46px;
  z-index: 4;
}

.circle.right::before {
  left: 15px;
}

.circle.bottom {
  rotate: 180deg;
  left: 20px;
  top: 66px;
}

.circle::before {
  content: "";
  position: absolute;
  left: 5px;
  top: -25px;
  -webkit-clip-path: polygon(5% 0, 100% 0, 100% 100%, 50% 100%);
  clip-path: polygon(5% 0, 100% 0, 100% 100%, 50% 100%);
  background-color: var(--primary-bg);
  width: 50px;
  height: 50px;
}

@-webkit-keyframes rotate {
  0% {
    rotate: 0deg;
  }
  100% {
    rotate: 360deg;
  }
}

@keyframes rotate {
  0% {
    rotate: 0deg;
  }
  100% {
    rotate: 360deg;
  }
}

.background {
  width: 100%;
  height: 100%;
  top: 0;
  position: absolute;
  z-index: -1;
}

.background div {
  width: 35px;
  height: 35px;
  background: radial-gradient(#333333aa, transparent, transparent);
  -webkit-animation: var(--animation-delay) up infinite;
  animation: var(--animation-delay) up infinite;
  position: absolute;
  left: var(--left);
}

@-webkit-keyframes up {
  0% {
    opacity: 0.8;
    scale: 0;
    bottom: 0;
  }

  100% {
    opacity: 0;
    scale: 8;
    bottom: 90%;
  }
}

@keyframes up {
  0% {
    opacity: 0.8;
    scale: 0;
    bottom: 0;
  }

  100% {
    opacity: 0;
    scale: 8;
    bottom: 90%;
  }
}

@media (max-width: 676px) {
  ul {
    left: 50%;
    top: 20px;
    flex-direction: row;
    transform: translateX(-50%);
    gap: 1rem;
  }
  li svg#harage {
    margin-left: 10px;
  }

  li svg#insta {
    margin-top: 0;
  }
  .content {
    padding-bottom: 50px;
  }
  video {
    width: 450px;
    height: 250px;
  }
  h1 {
    font-size: 3rem;
    padding-inline: 20px;
  }
  p {
    font-size: 1.2rem;
  }
}
