body {
  background: linear-gradient(45deg, #ff0000, #0000ff);
  margin: 0;
  padding: 0;
  height: 100vh;
  min-height: 100vh;
  display: block;
  color: white;
}
.contact {
  background-image: url(jk.jpg);
  margin: 0;
  padding: 0;
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}
.re {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
 padding: 20px;
 margin-bottom: 20px; 
 transition: all 0.3s ease; 
  margin: 0;
  padding: 20;
  
}
.nav-link :active{
  text-size-adjust: 20px;
}

.skills-section {
  background-color: #f8f9fa;
  padding: 20px;
}

.skill-card {
  background-color: #fff; 
  border-radius: 10px; 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
  padding: 15px;
  margin-bottom: 20px; 
  transition: box-shadow 0.3s ease; 
}

.skill-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}


.skill-title {
  font-size: 1.2rem; 
  font-weight: bold;
  margin-bottom: 10px; 
}


.skill-card1 {
  background-color: #fc3131; 
  border-radius: 10px; 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
  padding: 15px; 
  margin-bottom: 20px; 
  transition: box-shadow 0.3s ease; 
  
}
.skill-card2 {
  background-color: #794dfc; 
  border-radius: 10px; 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
  padding: 15px; 
  margin-bottom: 20px; 
  transition: box-shadow 0.3s ease; 
}


  
.vibrate {
  animation: vibrate 0.5s linear infinite;
}

@keyframes vibrate {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 0); }
  40% { transform: translate(2px, 0); }
  60% { transform: translate(-2px, 0); }
  80% { transform: translate(2px, 0); }
  100% { transform: translate(0); }
}
.nav-item {
  transition: transform 0.3s ease; 
  color: #fc0202;
}

.nav-item:hover {
  transform: scale(1.4); 
  transform: perspective(30deg);
}
.skills-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.skill-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
  position: relative;
}

.skill-image:hover {
  transform: scale(1.2) rotate(5deg) translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  filter: brightness(1.2) saturate(1.1) hue-rotate(10deg);
}

.skill-image::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
}

.skill-image:hover::before {
  opacity: 1;
}
#skill1{
  display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}