@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;
}

/* scroll */

/* 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;
  }
}

/* PRELOADER */

/*--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;
}

/* animation  */
#particles-js {
  position: fixed;
  pointer-events: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

/* 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;
}

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;
}

/*-main-*/
.container {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0px auto;
  max-width: 1200px;
  padding-top: 100px;
}

.container .text h1 {
  font-size: 40px;
  padding-left: 190px;
  margin-top: 65px;
  font-family: "Rye", serif;
  font-weight: 300;
  font-style: italic;
}

.container .txt {
  font-size: 15px;
  font-style: italic;
  margin-bottom: 35px;
  color: #fff;
  font-family: "Iceber", serif;
  font-weight: 300;
  font-style: normal;
  padding-left: 150px;
  font-style: normal;
  text-align: center;
  max-width: 800px;
  width : 100%;
}

#line1 {
  white-space: pre-wrap;
  min-height: 160px;
}

.container .photo {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 100%;
  border-radius: 20px;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideLeft 2s ease-out forwards;
}


@keyframes slideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glow {
  0% {
    box-shadow: 0 0 10px #fff;
  }

  100% {
    box-shadow: 0 0 25px #fff, 0 0 40px #fff;
  }
}

.container .photo img {
  max-width: 100%;
  width: 250px;
  height: 250px;
  border-radius: 15px;
}

.container .text {
  flex: 2;
  padding-left: 20px;
  font-size: 13px;
  font-style: italic;
  color: #fff;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 400;
  font-style: normal;
  opacity: 0;
  transform: translateX(50px);
  animation: slideRight 1s ease-out forwards;
}

@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/*socialIcons*/
.socialIcons {
  margin-top: -20px;
  padding-bottom: 20px;
  display: flex;
  gap: 5px;
  padding-left: 100px;
  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;
  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;
}

/*skills*/
.skills-section {
  padding: 5px;
  text-align: center;
}

.skills-section h1 {
  margin-bottom: 50px;
  font-size: 1.5rem;
  font-family: "Ewert", serif;
  font-weight: 400;
  font-style: normal;
  padding-left: 0px;
}

.skills-box {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 80px;
  margin-left: 250px;
  max-width: 800px;
}

.skills-box {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 80px;
  margin-left: 250px;
  max-width: 800px;

}

.skills-box .skill {
  position: relative;
  margin: auto;
  width: 80px;
  line-height: 64px;
  text-align: center;
  color: #fff;
  font-size: 0.7rem;
  border: 2px solid #f6a9bd;
  border-radius: 10px;
  background: transparent;
  transition: all 0.3s;
  cursor: pointer;
}

.skills-box .skill::before,
.skills-box .skill::after {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid #fff;
  transition: all 0.5s;
  -webkit-animation: clippath 3s infinite linear;
  animation: clippath 3s infinite linear;
  border-radius: 10px;
}

.skills-box .skill::after {
  -webkit-animation: clippath 3s infinite -1.5s linear;
  animation: clippath 3s infinite -1.5s linear;
}

@-webkit-keyframes clippath {

  0%,
  100% {
    -webkit-clip-path: inset(0 0 98% 0);
    clip-path: inset(0 0 98% 0);
  }

  25% {
    -webkit-clip-path: inset(0 98% 0 0);
    clip-path: inset(0 98% 0 0);
  }

  50% {
    -webkit-clip-path: inset(98% 0 0 0);
    clip-path: inset(98% 0 0 0);
  }

  75% {
    -webkit-clip-path: inset(0 0 0 98%);
    clip-path: inset(0 0 0 98%);
  }
}

@keyframes clippath {

  0%,
  100% {
    -webkit-clip-path: inset(0 0 98% 0);
    clip-path: inset(0 0 98% 0);
  }

  25% {
    -webkit-clip-path: inset(0 98% 0 0);
    clip-path: inset(0 98% 0 0);
  }

  50% {
    -webkit-clip-path: inset(98% 0 0 0);
    clip-path: inset(98% 0 0 0);
  }

  75% {
    -webkit-clip-path: inset(0 0 0 98%);
    clip-path: inset(0 0 0 98%);
  }
}

.skill {
  background: linear-gradient(45deg, blue, darkgoldenrod);
  border: 2px solid transparent;
  transition: background 1s ease, border-color 0.5s ease;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.skill::before,
.skill::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  transition: border-color 0.5s ease, opacity 0.5s ease;
  pointer-events: none;
}

.skill.active {
  background: linear-gradient(45deg, blue, darkgoldenrod);
  box-shadow: 0 0 15px gold;
}

.skill.active::before,
.skill.active::after {
  border-color: gold;
  opacity: 0.5;
}

.skills-box .skill:hover::before,
.skills-box .skill:hover::after {
  border-color: gold;
  opacity: 0.5;
}

.skills-box .skill:hover {
  background: linear-gradient(45deg, blue, darkgoldenrod);
}

.developer {
  margin-top: 50px;
  text-align: center;
  font-size: 7px;
  background: black;
  color: white;
  width: 100%;
}

.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;
  margin-left: 100px;
}

.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 screen and (max-width: 768px) {
  .container {
    flex-direction: column;
    padding-top: 120px;
  }

  .container .photo {
    margin-bottom: 20px;
    height: 250px;
    width: 250px;
  }

  .container .text {
    padding-right: 30px;
    text-align: center;
    max-width: 450px;
    font-size: 13px;
    ;
  }

  .container .txt {
    font-size: 15px;
    font-style: italic;
    margin-bottom: 35px;
    color: #fff;
    font-family: "Iceberg", serif;
    font-weight: 400;
    padding-left: 0px;
    font-style: normal;
  }
}

@media (max-width: 768px) {
  .skills-section {
    padding: 30px;
  }

  .skills-section h1 {
    font-size: 1.5rem;
  }

  .skills-box .skill {
    width: 75px;
    font-size: 0.6rem;
    line-height: 54px;
  }
}

@media (max-width: 480px) {
  .skills-box {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-left: 0px;
  }

  .container .text h1 {
    padding-left: 45px;
  }

  .socialIcons {
    padding-left: 30px;
    justify-content: center;
  }

  .btn {
    margin-left: 70px;
  }

  .skills-box .skill {
    width: 120px;
    box-sizing: border-box;
    font-size: 0.8rem;
    line-height: 50px;
    margin: 0;
    border-right: none;
  }
}

@media (max-width: 768px) {
  .download-button {
    padding: 12px 24px;
    font-size: 14px;
    gap: 10px;
  }

  .arrow {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .download-button {
    padding: 10px 20px;
    font-size: 13px;
    gap: 8px;
    justify-content: space-between;
    margin-left: 27px;
  }

  .arrow {
    width: 18px;
    height: 18px;
  }
}