* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
  font-size: 16px; /* Base font size for rem units */
}
#x-icon {
  animation-name: bounce-2;
  animation-timing-function: ease;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}

@keyframes bounce-2 {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }

  100% {
    transform: translateY(0);
  }
}

body {
  min-height: 100vh;
  max-height: 100%;
  width: 100vw;
  /* background: url(images/blurry-gradient-haikei.png); */
  /* background: radial-gradient(#e2dff5, #b3a7f4, #ffffff); */
  background: linear-gradient(
    45deg,
    rgba(156, 142, 245, 1) 0%,
    rgba(183, 172, 248, 1) 50%,
    rgba(255, 255, 255, 1) 100%
  );
  background-repeat: no-repeat;
  background-size: 100%;
  /* -webkit-filter: blur(50px); */
  /* transition: ease ; */
}

#svg-sign {
  /* margin: 7px; */
  /* border: 2px solid black; */
  margin-top: 30px;
  margin-left: -60px;
  height: 70px;
}

#signature {
  /* stroke-dasharray: 728.6748657226562; */
  /* stroke-dashoffset: 728.6748657226562; */
  stroke-dasharray: 1099.19580078125;
  stroke-dashoffset: 1099.19580078125;
  /* transform: rotate(-20deg); */
  animation: sign 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation-fill-mode: both;
  animation-delay: 1.2s;
  backface-visibility: hidden;
  perspective: 1000;
}

@keyframes sign {
  to {
    stroke-dashoffset: 0;
  }
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem auto;
  height: 100%;
}

h1 {
  /* font-family: satisfy; */
  /* font-family: 'Pacifico', cursive; */

  /* font-family: 'Satisfy', cursive; */
  font-family: "Handlee", cursive;
  font-display: swap;
  font-size: xx-large;
  font-weight: 300;
  /* margin-bottom: 5rem; */
}

.profile-image {
  /* background: url('./images/nikhil\ \(Small\)\ \(Phone\).png'); */
  background: url('https://avatars.githubusercontent.com/u/61672294?v=4');
  filter: grayscale(100%);
  height: 125px;
  width: 125px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin: 1rem 0;
  /* filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4)); */
}

main svg {
  height: 30px;
  width: 30px;
  cursor: pointer;
  margin: 2rem 0;
  filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));
}

.card img {
  height: 60px;
  width: 60px;
  margin: 5px;
  filter: drop-shadow(3px 5px 4px rgb(0 0 0 / 0.4));
}

/* .card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  color: black;
  background-color: #ff8446;
  min-width: 240px;
  max-width: 50rem;
  margin: 20px;
  font-family: handlee, cursive;
  font-size: x-large;
  font-display: swap;
  border-radius: 6px;
  text-shadow: 2px 2px 7px plum;
  box-shadow: 1.6px 1.6px 4.9px -4px rgba(0, 0, 0, 0.1),
    4.3px 4.2px 11.7px -4px rgba(0, 0, 0, 0.081),
    8.8px 8.7px 22px -4px rgba(0, 0, 0, 0.079),
    17.1px 16.9px 39.3px -4px rgba(0, 0, 0, 0.077),
    35.3px 34.9px 73.5px -4px rgba(0, 0, 0, 0.074),
    100px 99px 176px -4px rgba(0, 0, 0, 0.063);
} */

a {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

#x-icon svg {
  width: 40px;
  height: 40px;
}

p {
  font-weight: 500;
  font-size: larger;
  font-display: swap;
}

@media screen and (max-width: 720px) {
  body {
    min-height: 100vh;
    max-height: 100%;
    width: 100vw;

    /* background: radial-gradient(#9c8ef5, #b7acf8, #ffffff); */
    background-repeat: no-repeat;
    background-size: cover;
    overflow-y: auto;
  }

  #svg-sign {
    position: relative;
    top: 10px;
    margin-top: 4px;
    height: 50px;
    left: -10px;
  }

  .profile-image {
    
    background: url('https://avatars.githubusercontent.com/u/61672294?v=4');
    /* filter: grayscale(100%); */
    height: 125px;
    width: 125px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 1rem 0;
    /* filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4)); */
  }
}

/* @media screen and (max-width:720px) {
    .card{
        width: 20rem;
    }
} */

.blur {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#linkedinimg {
  padding: 8px;
}

.skeleton {
  animation: skeleton-loading 1s linear infinite alternate;
}

@keyframes skeleton-loading {
  0% {
    background-color: hsl(200, 20%, 80%);
  }
  100% {
    background-color: hsl(200, 20%, 95%);
  }
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem; /* Add horizontal padding */
  height: 100%;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  color: black;
  backdrop-filter: blur(10px);
  min-width: 250px; /* Changed from 80vw */
  margin: 1rem auto;
  padding: 1rem;
  font-family: handlee, cursive;
  font-size: 1.5rem; /* Using rem instead of x-large */
  font-display: swap;
  border-radius: 6px;
  text-shadow: 2px 2px 7px plum;
  box-shadow: 1.6px 1.6px 4.9px -4px rgba(0, 0, 0, 0.1),
    4.3px 4.2px 11.7px -4px rgba(0, 0, 0, 0.081),
    8.8px 8.7px 22px -4px rgba(0, 0, 0, 0.079);
}

/* Media Queries */
@media screen and (max-width: 1024px) {
  html {
    font-size: 14px;
  }
  
  /* .card {
    width: 95%;
  } */
}

@media screen and (max-width: 768px) {
  html {
    font-size: 12px;
  }

  body {
    min-height: 100vh;
    max-height: 100%;
    width: 100vw;
    background: linear-gradient(
    45deg,
    rgba(156, 142, 245, 1) 0%,
    rgba(183, 172, 248, 1) 50%,
    rgba(255, 255, 255, 1) 100%
  );
    background-repeat: no-repeat;
    background-size: cover;
    overflow-y: auto;
  }

  #svg-sign {
    position: relative;
    top: 10px;
    margin-top: 4px;
    height: 40px; /* Reduced size */
    left: -10px;
  }

  .profile-image {
    height: 100px; /* Reduced size */
    width: 100px; /* Reduced size */
  }

  .card img {
    height: 45px; /* Reduced size */
    width: 45px;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 10px;

  }

  /* .card {
    width: 100%;
    margin: 1rem 0.5rem;
    padding: 0.75rem;
  } */

  .card img {
    height: 35px;
    width: 35px;
    margin: 3px;
  }

  #x-icon svg {
    width: 30px;
    height: 30px;
  }

  main svg {
    height: 25px;
    width: 25px;
    margin: 1.5rem 0;
  }
}
