* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.wrapper{
  /* width: 100vw;
  height: 100vh; */
  display: flex;
  justify-content: center;
  align-items: start;
  box-sizing: border-box;
}
.container {
  max-width: 1380px;
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.skill-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #7e15ce;
}
.skills {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.skill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  border-radius: 50%;
  padding: 0.5rem;
  box-shadow: 0 0 10px #7e15ce;
  position: relative;
}

.skill:hover {
  background: rgb(148, 187, 233);
  background: radial-gradient(
    circle,
    rgba(238, 174, 202, 1) 0%,
    rgba(148, 187, 233, 1) 100%
  );
  animation: running-bg 1s ease infinite; /* Apply animation on hover, set to run infinitely */
}

@keyframes running-bg {
  0% {
    transform: translateY(0); 
    background: radial-gradient(
    circle,
    rgba(238, 174, 202, 1) 0%,
    rgba(148, 187, 233, 1) 100%
  );
  }
  50% {
    transform: translateY(-5px); 
    background: radial-gradient(
    circle,
    rgba(238, 174, 202, 1) 40%,
    rgba(148, 187, 233, 1) 90%
  );
  }
  100% {
    transform: translateY(0); 
    background: radial-gradient(
    circle,
    rgba(238, 174, 202, 1) 10%,
    rgba(148, 187, 233, 1) 90%
  );
  }
}
[data-width] {
  width: var(--width, 120px); 
}
[data-height] {
  height: var(--height, 120px); 
}

.skill h3{
  font-size: 1.1rem;
  font-family :'Times New Roman', Times, serif;
  font-weight: 400;
  position: relative;
  align-items: center;
}

.skill h3:before{
  content:'';
  position: absolute;
  bottom: 0%;
  left: 0%;
  right: 0%;
  width: 0%;
  height: 4px;
  background:#fff;
  align-items: center;
  filter: blur(1px);
}
.skill:hover h3:before{
  width: 100%;
}
.skill:hover h3 {
  color: white;
  font-weight: 600;
  
}





/* responsive start */

@media  only screen and (max-width : 1100){
  .skill-image {
    width: 100px;
    height: 80px;
  }
  [data-width] {
    width: var(--width, 30px); 
  }
  [data-height] {
    height: var(--height, 30px); 
  }
  
}
/*
@media (min-width: 769px) and (max-width: 1024px) {
  .navbar {
    justify-content: space-between; 
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 0;
  }

  .nav-links li {
    margin-left: 1rem;
  }
}
*/
@media (max-width: 820px) {
  .skills {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 0rem 1rem;
    margin-bottom: 1rem;
  }
  [data-width] {
    width: var(--width, 90px); 
  }
  [data-height] {
    height: var(--height, 80px); 
  }
}

@media (max-width: 450px) {
  
  .skills {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0rem 1rem;
    margin-bottom: 1rem;
  }
[data-width] {
  width: var(--width, 70px); 
}
[data-height] {
  height: var(--height, 60px); 
}
.skill h3{
  font-size: 14px;
  font-family :'Times New Roman', Times, serif;
  font-weight: 400;
  position: relative;
  align-items: center;
}
}
/* responsive end  */