/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
*{
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}
/* Variables */
:root{
  --main-color:#647bff;
  --body-color:#090a1a;
  --container-color:#171b3c;
  --heading-color:#222231;
  --box-color:#0d0f26;
  --bg-color:#fff;
}
body{
  color: var(--bg-color);
  background: var(--body-color);
  cursor: none;
}
.cursor{
  z-index: 999;
  position: fixed;
  background: #2696E8;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 20px #2696E8,
              0 0 60px #2696E8,
              0 0 100px #2696E8;
  animation: colors 5s infinite;
  transform: translate(-50%, -50%);
  display: none;
}

@keyframes colors{
  0%{
    filter: hue-rotate(0deg);
  }
  100%{
    filter: hue-rotate(360deg);
  }
}

.cursor:before{
  content: '';
  position: absolute;
  background: #2696E8;
  width: 50px;
  height: 50px;
  opacity: 0.2;
  transform: translate(-30%, -30%);
  border-radius: 50%;
}

html::-webkit-scrollbar{
  width: 0.5rem;
  background: transparent;
}
html::-webkit-scrollbar-thumb{
  background: var(--main-color);
}

/*======= Cursor click animation =======*/
.onclickcursor{
  z-index: 99999;
  position: fixed;
}

.onclickcursor .click-animation{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.onclickcursor .click-animation .shape{
  position: absolute;
  opacity: 0;
}

/*======= Circles =======*/
.onclickcursor .click-animation .shape.circle.big{
  width: 40px;
  height: 40px;
  border: 2px solid #4fb4f8;
  border-radius: 50%;
}

.onclickcursor .click-animation .shape.circle.small{
  width: 20px;
  height: 20px;
  border: 1px solid #2ca8fa;
  border-radius: 50%;
}

.onclickcursor.active .click-animation .shape.circle{
  animation: click-animation-circle 3s ease-out infinite;
}

@keyframes click-animation-circle{
  0%{
    opacity: 0;
  }
  5%{
    opacity: 1;
  }
  30%{
    opacity: 0;
    transform: scale(3);
  }
}

/*======= Triangles =======*/
.onclickcursor .click-animation .shape.triangle.yellow{
  border-style: solid;
  border-width: 0 5px 10px 5px;
  border-color: transparent transparent #f9de2d transparent;
}

.onclickcursor.active .click-animation .shape.triangle.yellow{
  animation: click-animation-triangle-yellow 3s ease-out infinite;
}

@keyframes click-animation-triangle-yellow{
  0%{
    opacity: 0;
  }
  5%{
    opacity: 1;
  }
  40%{
    opacity: 0;
    transform: scale(2.5) translate(50px, -50px) rotate(360deg);
  }
}

.onclickcursor .click-animation .shape.triangle.green{
  border-style: solid;
  border-width: 0 3.5px 7px 3.5px;
  border-color: transparent transparent #47eda0 transparent;
}

.onclickcursor.active .click-animation .shape.triangle.green{
  animation: click-animation-triangle-green 3s ease-out infinite;
}

@keyframes click-animation-triangle-green{
  0%{
    opacity: 0;
  }
  5%{
    opacity: 1;
  }
  40%{
    opacity: 0;
    transform: scale(2.5) translate(20px, 50px) rotate(360deg);
  }
}

/*======= Disc =======*/
.onclickcursor .click-animation .shape.disc{
  width: 8.5px;
  height: 8.5px;
  background: #d563f8;
  border-radius: 50%;
}

.onclickcursor.active .click-animation .shape.disc{
  animation: click-animation-disc 3s ease-out infinite;
}

@keyframes click-animation-disc{
  0%{
    opacity: 0;
  }
  5%{
    opacity: 1;
  }
  40%{
    opacity: 0;
    transform: scale(2) translate(-70px, -30px);
  }
}

/* Header */
header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}
.header-active{
  background: var(--box-color);
  transition: 0.4s;
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.logo{
  padding-left:24.5px;
  text-decoration:none;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--main-color);
}
.navbar{
  display: flex;
  align-items: center;
  column-gap: 1.5rem;
}
.nav-link{
  text-decoration:none;
  font-size: 0.94rem;
  padding-right: 24px;
  border-radius: 0.2rem;
  color: var(--bg-color);
}
ul.navbar{
list-style-type:none;
}
.nav-link:hover{
  padding: 10px 0;
  color: var(--main-color);
  background: var(--container-color);
  transition: 0.3s all linear;
}
/* Menu Icon */
.menu-icon{
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 5px;
  cursor: pointer;
  z-index: 200;
  transition: 0.3s;
}
.menu-icon div{
  padding-right: 20px;
  display: block;
  background: var(--bg-color);
  height: 2px;
  width: 24px;
  transition: 0.3s;
}
.move .line1{
  transform: rotate(-45deg) translate(-5px,5px);
}
.move .line2{
  opacity: 0;
}
.move .line3{
  transform: rotate(45deg) translate(-5px,-5px);
}
/*======= About section =======*/
.about{
	padding-top:100px;
	 padding-left:15px;
	 padding-right:15px;
}
.about h2{
  color:  var(--main-color);
  font-size: 2;
  font-weight: 600;
}
.about h3{
  color:  var(--main-color);
  font-size: 1;
  font-weight: 600;
}
.about p strong{
	color:  var(--main-color);
}
.about p a{
color:  var(--main-color);
}
.about p{
  margin: 25px 0;
 
}
.about ul{
	padding-left: 25px;
}
.about ul a{
color:  var(--main-color);
}
.social{
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
}
/*======= socials =======*/
.social .bx{
  font-size: 1.3rem;
  padding: 10px;
  border-radius: 50%;
  color: var(--bg-color);
  background: var(--container-color);
}
.social .bx:hover{
  background: var(--main-color);
  transition: 0.3s all linear;
}
/* Footer */
.footer{
  display: flex;
  align-items: center;
  flex-direction: column;
  row-gap: 1.4rem;
  padding: 30px 0;
}
.footer p{
  font-size: 0.9rem;
}
.footer-links{
  display: flex;
  align-items: center;
  column-gap: 1rem;
}
.footer-links a{
  text-decoration:none;
  font-size: 1rem;
  font-weight: 400;
  color: var(--bg-color);
}
.footer-links a:hover{
  color: var(--main-color);
  transition: 0.3s all linear;
}


@media (max-width:892px){
  .nav {
    padding: 12px 0;
  }
}
@media (max-width:775px){
  .logo {
    font-size: 1.1rem; 
  }
  .menu-icon{
    display: flex;
  }
  .navbar{
    position: absolute;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--box-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
    transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
  }
  .open-menu{
    right: 0;
    transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
  }
  .nav-link{
    display: block;
    margin: 1rem 0;
  }
}

@media (max-width:450px){
  .footer-links {
    flex-direction: column;
    row-gap: 1rem;
  }
}
@media (max-width:325px){
  .navbar{
    width: 100%;
  }
}

/*======= Media queries (max-width: 785px) =======*/
@media screen and (max-width: 785px){
  /*======= About section =======*/
  .about h2{
    font-size: 1.5em;
  }
.about h3{
    font-size: 1em;
  }
  .about p{
    font-size: 0.9em;
	width:100%;
  }
}