@import url('https://fonts.googleapis.com/css2?family=Iceberg&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ewert&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kalnia+Glaze:wght@100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rye&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sevillana&display=swap');

/* scroll */
.scroll-up-btn {
  position: fixed;
  bottom: 50px;
  right: 20px;
  background-color: #2f4ad0;
  color: white;
  padding: 12px 24px;
  border-radius: 50%;
  font-size: 17px;
  display: none;
  cursor: pointer;
  box-shadow: 0 8px 6px -6px #555;
  transition: all 0.3s ease;
}

.scroll-up-btn:hover {
  background-color: #1a3f8e;
}

/* PRELOADER */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.pl {
  display: block;
  width: 6.25em;
  height: 6.25em;
}

.pl__ring,
.pl__ball {
  animation: ring 2s ease-out infinite;
}

.pl__ball {
  animation-name: ball;
}

:root {
  --hue: 223;
  --bg: hsl(var(--hue), 10%, 10%);
  --fg: hsl(var(--hue), 10%, 90%);
}
@keyframes ring {
  from {
    stroke-dasharray: 0 257 0 0 1 0 0 258;
  }

  25% {
    stroke-dasharray: 0 0 0 0 257 0 258 0;
  }

  50%,
  to {
    stroke-dasharray: 0 0 0 0 0 515 0 0;
  }
}
@keyframes ball {

  from,
  50% {
    animation-timing-function: ease-in;
    stroke-dashoffset: 1;
  }

  64% {
    animation-timing-function: ease-in;
    stroke-dashoffset: -109;
  }

  78% {
    animation-timing-function: ease-in;
    stroke-dashoffset: -145;
  }

  92% {
    animation-timing-function: ease-in;
    stroke-dashoffset: -157;
  }

  57%,
  71%,
  85%,
  99%,
  to {
    animation-timing-function: ease-out;
    stroke-dashoffset: -163;
  }
}
/* animation  */
#particles-js {
  position: fixed;
  pointer-events: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

/*--BODY--*/
body {
  margin: 0;
  padding: 0;
  background-color: black;
  color: white;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  width: 100%;
  height: 100%;
  position: relative;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  background-color: transparent;
  align-items: center;
  color: white;
  padding: 5px 10px;
  position: fixed;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  z-index: 1000;
  height: 50px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 60px;
  top: 0;
}

header {
  animation: slideFade 1s ease-in-out forwards;
}

@keyframes slideFade {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/*-LOGO-*/
.logo a {
  font-weight: bold;
  font-size: 35px;
  padding-left: 20px;
  text-decoration: none;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 2px #fff;
  position: relative;
}

/*-MENU-*/
.menu {
  display: flex;
  justify-content: center;
  border-radius: 25px;
  padding: 0 30px;
  margin: 0;
  z-index: 2000;
}

.menu li {
  list-style: none;
}

.menu li a {
  color: white;
  font-family: "Rye", serif;
  font-weight: 300;
  font-size: 13px;
  padding: 9px 19px;
  margin: 0 10px;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  top: 0px;
}

.menu li a::before {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  transition: 0.2s;
  border-radius: 20px;
}

.menu li a:hover::before {
  background: linear-gradient(to bottom, red, red);
  box-shadow: 0px 3px 15px 0px white;
  transform: scale(1.2);
}

.menu li a:hover {
  color: black;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  margin-right: 30px;
}

.contact-container {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 10px;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin-top: -10px;
}

.contact-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  width: 50%;
  margin-top: 30px;
  animation: scalein 1.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards 0.2s;
}

@keyframes scalein {
  from {
    transform: scale(0.7);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.contact-left h2 {
  font-weight: 300;
  color: #fff;
  font-size: 2rem;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

.contact-left hr {
  border: none;
  width: 50%;
  height: 5px;
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 10px;
}

.contact-inputs {
  width: 400px;
  height: 25px;
  border: 2px solid #fff;
  outline: none;
  padding-left: 10px;
  font-weight: 400;
  color: black;
  /* Ensure text is black */
  border-radius: 30px;
  font-size: 0.9rem;
  background: white;
  /* Background set to white */
  transition: border 0.3s ease, background 0.3s ease;
}

.contact-left textarea {
  width: 400px;
  height: 40px;
  padding: 10px;
  border-radius: 15px;
  font-size: 1rem;
  background: white;
  /* Background set to white */
  color: black;
  /* Ensure text is black */
  border: 2px solid #fff;
  outline: none;
  transition: border 0.3s ease, background 0.3s ease;
}

.contact-inputs::placeholder,
.contact-left textarea::placeholder {
  color: gray;
  /* Lighter placeholder text */
}

.contact-inputs:focus,
.contact-left textarea:focus {
  border: 2px solid #1a3f8e;
  background: white;
  /* Ensure background stays white */
  color: black;
  /* Ensure text stays black */
}

 button {
  margin-top: 20px;
      position: relative;
      font-weight: bold;
      color: white;
      border-radius: 2rem;
      cursor: pointer;
      width: 120px;
      height: 45px;
      border: none;
      background-color: #3653f8;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      font-size: 16px;
    }

    .span-mother,
    .span-mother2 {
      position: absolute;
      display: flex;
      justify-content: center;
      width: 100%;
      overflow: hidden;
      pointer-events: none;
    }

    .span-mother span,
    .span-mother2 span {
      display: inline-block;
    }

    .span-mother span {
      transform: translateY(0);
    }

    .span-mother2 span {
      transform: translateY(-1.2em);
    }

    /* Hover animations */
    button:hover .span-mother span {
      transform: translateY(1.2em);
    }

    button:hover .span-mother2 span {
      transform: translateY(0);
    }

    /* Transition timing for wave effect */
    .span-mother span,
    .span-mother2 span {
      transition: transform 0.3s;
    }

    .span-mother span:nth-child(1),
    .span-mother2 span:nth-child(1) {
      transition-delay: 0s;
    }

    .span-mother span:nth-child(2),
    .span-mother2 span:nth-child(2) {
      transition-delay: 0.05s;
    }

    .span-mother span:nth-child(3),
    .span-mother2 span:nth-child(3) {
      transition-delay: 0.1s;
    }

    .span-mother span:nth-child(4),
    .span-mother2 span:nth-child(4) {
      transition-delay: 0.15s;
    }

    .span-mother span:nth-child(5),
    .span-mother2 span:nth-child(5) {
      transition-delay: 0.2s;
    }

    .span-mother span:nth-child(6),
    .span-mother2 span:nth-child(6) {
      transition-delay: 0.25s;
    }

    /* Optional: hover visual feedback */
    button:hover {
      background-color: #2c45d3;
      box-shadow: 0 0 10px rgba(54, 83, 248, 0.4);
    }


.developer {
  text-align: center;
  font-size: 7px;
  background: black;
  color: white;
  width: 100%;
  margin-top: -60px;
}


/* Responsive Styles FOR ALL DEVICES*/


@media screen and (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 60px;
    right: 0;
    background: linear-gradient(to bottom, blue, red);
    padding: 140px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(221, 214, 214, 0.2);
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    margin: 20px 0;
  }

  .menu-toggle {
    display: block;
  }

  .logo a {
    padding-left: 5px;
  }
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
  }

  .contact-left {
    align-items: center;
    text-align: center;
  }

  .contact-left h2 {
    font-size: 2rem;
  }

  .contact-inputs,
  .contact-left textarea {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .contact-container {
    gap: 5px;
    padding-bottom: 3px;
  }

  .contact-left {
    margin-top: 10px;
  }

  .contact-left h2 {
    font-size: 2rem;
  }

  .contact-inputs {
    height: 20px;
    font-size: 0.6rem;
    padding-left: 8px;
  }

  .contact-left textarea {
    height: 35px;
    font-size: 0.8rem;
    padding: 8px;
  }

  .contact-left button {
    padding: 12px 22px;
    font-size: 0.8rem;
  }

  .contact-left hr {
    width: 70%;
  }
.developer {
   margin-top: -120px;
}
}