@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: blue;
  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: blue;

}

/* 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;
}

.txt {
  max-width: 900px;
  width: 92%;
  white-space: pre-wrap;
  font-size: 15px;
  font-family: "Iceberg", serif;
    font-weight: 400;
  font-style: normal;
  margin-top: -20px;
}

#line1 {
  margin-bottom: 10px;
  white-space: pre-wrap;
  min-height: 160px;
}

/*--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;
  overflow: hidden;
}

/* 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;
}

.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;
}

.container {
  width: 100%;
  height: auto;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background: transparent;
  border-radius: 10px;
  margin-top: 135px;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.name {
  font-family: "Rye", serif;
  font-weight: 300;
  font-style: italic;
  font-size: 30px;
  padding-top: 0px;
}

.roles {
  font-size: 15px;
  font-style: bold;
  font-family: "Ewert", serif;
  font-weight: 400;
  color: #fff;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.socialIcons {
  margin-top: -90px;
  padding-bottom: 20px;
  display: flex;
  gap: 5px;
  justify-content: center;
}

.socialIcons a {
  text-decoration: none;
  padding: 10px;
  background-color: black;
  margin: 5px;
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease-in-out;
}

.socialIcons a i {
  font-size: 1.2em;
  color: white;
  /* White icon color */
  opacity: 1;
  transition: 0.3s ease-in-out;
}

.socialIcons a:hover {
  box-shadow: 0 0 25px rgb(200, 142, 226);
  transition: 0.3s ease-in-out;
}

.developer {
  text-align: center;
  font-size: 7px;
  background: black;
  color: white;
  width: 100%;
  margin-top: 40px;
}

.download-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  background: linear-gradient(145deg, #111, #1e1e1e);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  text-decoration: none;
  z-index: 1;
}

.download-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, #00ffff, #ff00ff, #00ffff);
  animation: rotate 4s linear infinite;
  z-index: -2;
}

.download-button::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: blue;
  border-radius: inherit;
  z-index: -1;
}

.download-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.25);
}

.download-button:hover .arrow {
  transform: translateX(6px);
}

.arrow {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease-in-out;
  color: #00ffff;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* 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) {
  .download-button {
    padding: 12px 24px;
    font-size: 14px;
    gap: 10px;
  }

  .arrow {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
.container{
     margin-top: 160px;
}
  .download-button {
    padding: 10px 20px;
    font-size: 13px;
    gap: 8px;
    justify-content: space-between;
  }

  .arrow {
    width: 18px;
    height: 18px;
  }
  .socialIcons{
    margin-top: 0px;
  }
}

@media (max-width: 768px) {
  .greeting {
    margin-top: 150px;
    font-size: 20px;
  }

  .name {
    font-size: 28px;
  }

  .roles {
    font-size: 18px;
  }

  .about {
    font-size: 13px;
    max-width: 90%;
  }
  .txt{
    font-family: "Iceberg", serif;
    font-weight: 400;
  font-style: normal;
  }
}