/* Global Styles */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, rgb(45, 52, 54), rgb(39, 174, 96), rgb(9, 132, 227));
  background-size: 400% 400%;
  animation: gradientShift 8s infinite alternate;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  flex-direction: column;
}

.container {
  text-align: center;
}

h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

/* Cards Section */
.cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  width: 220px;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.card i {
  font-size: 40px;
  margin-bottom: 10px;
}

h2 {
  font-size: 1.5rem;
  margin: 10px 0;
}

p {
  font-size: 1rem;
}

/* Résume Button with RGB Gradient and Glow */
.resume-button a {
  display: inline-block;
  margin-top: 30px;
  padding: 15px 30px;
  background: linear-gradient(90deg, red, green, blue);
  background-size: 300% 300%;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background-color 0.3s, transform 0.3s;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  animation: rgbShift 5s infinite alternate;
}

/* Hover Effect: Glow and Scale */
.resume-button a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.7), 0 0 30px rgba(0, 132, 255, 0.6);
}

/* Footer */
footer {
  margin-top: 30px;
  font-size: 1rem;
}

.author {
  background: linear-gradient(90deg, red, green, blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 3s infinite;
}

/* Animations */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes rgbShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes gradientText {
  0% { background-position: 0%; }
  100% { background-position: 100%; }
}
