@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap");

:root {
  --primary-color: #6324e0;
  --secondary-color: #ffffff;
  --bg-color: #0d0e0e;
  --nav-color: #1a1b1b;
  --sec-color: #1d1f1e;
}

body {
  font-family: "Cairo", sans-serif;
  background-color: var(--secondary-color);
  color: #333;
  scroll-behavior: smooth;
}

div.bar{
  position: fixed;
  top: 50px;
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  z-index: 999;
  animation: bar linear forwards;
  animation-timeline: scroll();
}

@keyframes bar {
  0%{
    width: 10px;
    background-color: #ffffff;
  }

  30%{
    background-color: #6324e0;
  }
  
  50%{
    background-color: #5500ff;
  }
  
  100%{
    width: 100%;
    background-color: #4a19b3;
  }
}

nav {
  background-color: var(--nav-color);
  color: #ffffff;
  position: relative;
}

.gap {
  gap: 30px;
}

.section-heading {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
}

.btn-primary:hover {
  background-color: #4a19b3;
}

.service-box,
.project-box,
.testimonial-box {
  transition: transform 0.3s ease-in-out;
}

.service-box:hover,
.project-box:hover,
.testimonial-box:hover {
  transform: translateY(-10px);
}

.cardd{
  transition: all 300ms ease-in-out;
}

.containerr:hover > :not(:hover){
  opacity: 0.5;
  filter: blur(5px);
  transform: scale(0.8);
  cursor: pointer;
}

footer {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-align: center;
  font-weight: bold;
  padding: 1rem 0;
}

.social-icons a {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 1.6rem;
  margin-left: 1rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--primary-color);
}

.container-fluid {
  max-width: 90%;
  margin: 0 auto;
}

.hidden {
  opacity: 0;
  transform: translateY(50px);
}

.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

#follow {
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
  animation: follow 2s ease-in-out infinite alternate;
}

.follow{
  position: relative;
}

.shapes-bg12{
  position: absolute;
  bottom: 1rem;
  left: 34rem;
  rotate: 220deg;
  animation: shapes1 3s infinite alternate linear;
}

.shapes1{
  width: 5rem;
}

@media (max-width: 1400px) {
  .shapes-bg12{
    position: absolute;
    bottom: 1rem;
    left: 28rem;
    rotate: 220deg;
    animation: shapes1 3s infinite alternate linear;
  }
}

@media (max-width: 1199px) {
  .shapes-bg12{
    position: absolute;
    bottom: 1rem;
    left: 23rem;
    rotate: 220deg;
    animation: shapes1 3s infinite alternate linear;
  }
}

@media (max-width: 940px) {
  .shapes-bg12{
    position: absolute;
    bottom: 1rem;
    left: 15rem;
    rotate: 220deg;
    animation: shapes1 3s infinite alternate linear;
  }
}

@media (max-width: 500px) {
  .shapes-bg12{
    position: absolute;
    bottom: 1rem;
    left: 6rem;
    rotate: 220deg;
    animation: shapes1 3s infinite alternate linear;
  }
}

@media (max-width: 400px) {
  .shapes-bg12{
    position: absolute;
    bottom: 1rem;
    left: 4rem;
    rotate: 220deg;
    animation: shapes1 3s infinite alternate linear;
  }
}

.contact{
  animation: contact 2s ease-out infinite alternate;
}

@keyframes shapes1 {
  0%{
      rotate: 220deg;
  }
  100%{
      rotate: 240deg;
  }
}

@keyframes follow {
  0%{

  }
  100%{
    transform: scale(1.1);
  }
}

@keyframes contact {
  0%{

  }
  100%{
    transform: translateY(-10px);
  }
}


.shapes-bg{
  position: absolute;
  top: 3rem;
  right: 15rem;
  animation: shapes 35s infinite alternate linear;
}

.shapes-bg2{
  position: absolute;
  bottom: 28rem;
  right: 33rem;
  animation: shapes 35s infinite alternate linear;
}

.shapes-bg3{
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  animation: shapes 35s infinite alternate linear;
}

.shapes-bg4{
  position: absolute;
  bottom: 6rem;
  right: 60rem;
  animation: shapes 35s infinite alternate linear;
}

.shapes-bg5{
  position: absolute;
  bottom: 1rem;
  left: 5rem;
  animation: shapes 35s infinite alternate linear;
}

.shapes-bg6{
  position: absolute;
  top: 1rem;
  left: 31rem;
  animation: shapes 35s infinite alternate linear;
}

.shapes-bg7{
  position: absolute;
  top: 28rem;
  left: 10rem;
  animation: shapes 35s infinite alternate linear;
}

.shapes-bg8{
  position: absolute;
  bottom: 22rem;
  left: 45rem;
  animation: shapes 35s infinite alternate linear;
}

.shapes-bg10{
  position: absolute;
  top: 27rem;
  right: -2rem;
  animation: shapes 35s infinite alternate linear;
}

.shapes-bg11{
  position: absolute;
  top: 13rem;
  left: 82rem;
  animation: shapes 35s infinite alternate linear;
}

.shapes{
  width: 8rem;
}

@media (max-width: 500px) {
  .shapes-bg,
  .shapes-bg2,
  .shapes-bg3,
  .shapes-bg4,
  .shapes-bg6,
  .shapes-bg7,
  .shapes-bg11 {
    display: none;
  }

  /* .shapes-bg5, */
  .shapes-bg8{
    top: 10rem;
    left: 8rem;
  }
}

@media (max-width: 1280px) {
  .shapes-bg,
  .shapes-bg2,
  .shapes-bg3,
  .shapes-bg4,
  .shapes-bg6,
  .shapes-bg7,
  .shapes-bg11 {
    display: none;
  }

  .shapes-bg8{
    top: 10rem;
    left: 8rem;
  }
}



@keyframes shapes {
  0%{
      rotate: 0deg;
  }
  100%{
      rotate: 360deg;
  }
}
