:root {
  --customized: #000;
  --primary-color: #fff;
  --secondary-color: #00ffff;
  --third-color: #080808;
  --fourth-color: #79afaf;
  --fifth-color: #ababab;
  --six-color: #262626;
  --seven-color: #84d1d1;
  --eight-color: #1f242d;
  --ninth-color: #081b29;
  --ten-color: #2c6bed;
  --highlight-color: #3498db;
}

section {
  scroll-margin-top: 100px;
}

/* ----------------------------- Navigation delay variables replaced with classes ------------------------------ */
.nav-link.i1 {
  --i: 1;
  animation-delay: calc(0.1s * var(--i));
}
.nav-link.i2 {
  --i: 2;
  animation-delay: calc(0.1s * var(--i));
}
.nav-link.i3 {
  --i: 3;
  animation-delay: calc(0.1s * var(--i));
}
.nav-link.i4 {
  --i: 4;
  animation-delay: calc(0.1s * var(--i));
}
.nav-link.i5 {
  --i: 5;
  animation-delay: calc(0.1s * var(--i));
}

.icon.i7 {
  --i: 7;
  animation-delay: calc(0.2s * var(--i));
}
.icon.i8 {
  --i: 8;
  animation-delay: calc(0.2s * var(--i));
}
.icon.i9 {
  --i: 9;
  animation-delay: calc(0.2s * var(--i));
}
.icon.i10 {
  --i: 10;
  animation-delay: calc(0.2s * var(--i));
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  color: var(--primary-color);
  color: var(--primary-color);
  background: url(../img/background.png) no-repeat center center fixed;
  background-size: cover;
}

/* ----------------------------------------------- NAVIGATION ---------------------------------------------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 10%;
  background: #051129;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.menu-icon {
  display: none;
  font-size: 28px;
  color: var(--primary-color);
  cursor: pointer;
  margin-right: -80%;
}

.logo {
  position: relative;
  font-size: 25px;
  text-decoration: none;
  font-weight: 600;
  color: var(--primary-color);
  cursor: default;
  opacity: 0;
  animation: slideRight 1s ease forwards;
}

.logo span {
  color: var(--secondary-color);
}

.navbar ul {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.navbar ul li {
  margin-left: 35px;
}

.navbar ul li a {
  position: relative;
  display: inline-block;
  font-size: 25px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  opacity: 0;
  animation: slideTop 0.5s ease forwards;
  animation-delay: calc(0.2s * var(--i));
}

.navbar ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 3px;
  width: 0;
  background: var(--secondary-color);
  border-radius: 10px;
  transition: width 0.3s ease;
}

.navbar ul li a:hover {
  color: var(--secondary-color);
}

.navbar ul li a:hover::after,
.navbar ul li a.active::after {
  width: 100%;
}

.navbar ul li a.active {
  color: var(--secondary-color);
  font-weight: 600;
}

/* ----------------------------------------------------------------- HOME -------------------------------------------------------------------*/

#home {
  position: relative;
  width: 100%;
  justify-content: space-between;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 90px 10% 0;
}

.home-content {
  max-width: 600px;
}

.home-content h3 {
  font-size: 32px;
  font-weight: 700;
  opacity: 0;
  animation: slideButton 1s ease forwards;
  animation-delay: 0.7s;
}

.home-content h3:nth-of-type(2) {
  margin-bottom: 30px;
  animation-delay: 0.7s;
}
.home-content h3 span {
  color: var(--secondary-color);
}

.home-content h1 {
  font-size: 56px;
  font-weight: 700;
  margin: -3px 0;
  animation: slideRight 1s ease forwards;
  animation-delay: 0.2s;
}

.home-content p {
  font-size: 20px;
  opacity: 0;
  animation: slideLeft 1s ease forwards;
  animation-delay: 1s;
}

.home-social-media a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid var(--secondary-color);
  border-radius: 50%;
  font-size: 20px;
  color: var(--secondary-color);
  text-decoration: none;
  transition: 0.5s ease;
  opacity: 0;
  animation: slideLeft 1s ease forwards;
  animation-delay: calc(2s * var(--i));
  margin: 30px 15px 30px 0;
}

.home-social-media a:hover {
  background: var(--secondary-color);
  color: var(--ninth-color);
  box-shadow: 0 0 20px var(--secondary-color);
}

.btn-box {
  display: inline-block;
  padding: 12px 28px;
  background: var(--secondary-color);
  border-radius: 40px;
  font-size: 16px;
  color: var(--ninth-color);
  letter-spacing: 1px;
  text-decoration: none;
  font-weight: 600;
  animation: slideTop 1s ease forwards;
  animation-delay: 0.2s;
  box-shadow: 0 0 5px var(--secondary-color), 0 0 2px var(--secondary-color);
}

.btn-box:hover {
  box-shadow: 0 0 5px var(--secondary-color), 0 0 5px var(--secondary-color),
    0 0 50px var(--secondary-color), 0 0 100px var(--secondary-color),
    0 0 200px var(--secondary-color);
}

.home-img .img-box {
  position: relative;
  width: 32vw;
  height: 32vw;
  margin-top: 10px;
  border-radius: 50%;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.home-img .img-box::before,
.home-img .img-box::after {
  content: "";
  position: absolute;
  width: 615px;
  height: 615px;
  background: conic-gradient(
    transparent,
    transparent,
    transparent,
    var(--secondary-color)
  );
  transform: rotate(0deg);
  animation: rotate-border 10s linear infinite;
}

.home-img .img-box::after {
  animation-delay: -5s;
}

.home-img .img-box .img-item {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--eight-color);
  border-radius: 50%;
  border: 0.1px solid var(--eight-color);
  display: flex;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
}

.home-img .img-box .img-item img {
  position: absolute;
  top: -30px;
  display: block;
  width: 105%;
  object-fit: cover;
  mix-blend-mode: lighten;
}

.sub-title {
  text-align: center;
  font-size: 60px;
  padding-bottom: 70px;
}

.sub-title span {
  color: var(--secondary-color);
}

@keyframes rotate-border {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes slideRight {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes slideTop {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes slideButton {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes slideLeft {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

@media screen and (max-width: 1024px) {
  #home {
    flex-direction: column-reverse;
    height: auto;
    padding: 100px 5% 50px;
    text-align: center;
    align-items: center;
  }

  .home-img .img-box .img-item img {
    margin-top: 30px;
  }

  .home-img .img-box {
    width: 50vw;
    height: 50vw;
    margin-bottom: 30px;
  }

  .home-content {
    max-width: 100%;
  }

  .home-content h1 {
    font-size: 48px;
  }

  .home-content h3 {
    font-size: 28px;
  }

  .home-content p {
    font-size: 18px;
    padding: 0 10px;
  }
}

@media screen and (max-width: 768px) {
  #home {
    padding: 90px 10% 0;
    margin-top: 50px;
  }
  .navbar ul li {
    margin-left: 15px;
  }

  .navbar ul {
    flex-wrap: wrap;
  }
  .header .logo {
    font-size: 17px;
  }
  .home-img .img-box .img-item img {
    margin-top: 30px;
  }

  .navbar ul li a {
    font-size: 14px;
    gap: -50px;
    margin: 0;
  }

  #home {
    padding: 50px 5%;
    text-align: center;
  }

  #home .home-content {
    max-width: 100%;
    margin-bottom: 30px;
  }

  #home .home-content h1 {
    font-size: 36px;
  }

  #home .home-content h3 {
    font-size: 20px;
  }

  #home .home-content p {
    font-size: 16px;
    padding: 0 10px;
  }
}

@media screen and (max-width: 480px) {
  .header .logo {
    font-size: 12px;
  }
  #home {
    padding: 30px 5% 50px;
    text-align: center;
    flex-direction: column-reverse;
    align-items: center;
  }
  .navbar ul li {
    margin-left: 15px;
  }

  .navbar ul {
    flex-wrap: wrap;
  }

  .home-img .img-box .img-item img {
    margin-top: 30px;
  }

  .navbar ul li a {
    font-size: 9px;
    margin: 0;
  }

  .home-img .img-box {
    width: 70vw;
    height: 70vw;
  }

  .home-content h1 {
    font-size: 32px;
  }

  .home-content h3 {
    font-size: 20px;
  }

  .home-content p {
    font-size: 15px;
  }

  .btn-box {
    padding: 8px 20px;
    font-size: 13px;
  }

  .home-social-media a {
    width: 35px;
    height: 35px;
    font-size: 16px;
    margin: 20px 10px;
  }

  .sub-title {
    font-size: 36px;
  }
}
