body {
  margin: 0;
  font-family: Arial;
  background: #f5f5f5;
  text-align: center;
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background: white;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: black;
}

/* HERO */
.hero {
  padding: 80px 20px;
}

.btn-cv {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: black;
  color: white;
  text-decoration: none;
  border-radius: 8px;
}

/* SECTIONS */
.about, .projects, .skills {
  padding: 60px 20px;
}

.about p {
  max-width: 400px;
  margin: 0 auto;
  font-size: 18px;
  
}

/* PROJECTS */
.cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 20px;
  width: 300px;
  border-radius: 15px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.card p {
  font-size: 14px;
}

/* BUTTONS */
.links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.links a {
  flex: 1;
  text-align: center;
  padding: 10px;
  background: #eaeaea;
  color: black;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}

.links a:hover {
  background: black;
  color: white;
}

/* SKILLS */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 100px);
  gap: 15px;
  justify-content: center;
}

.skills-grid span {
  background: #ddd;
  padding: 10px;
  border-radius: 5px;
}

/* FOOTER */
footer {
  background: black;
  color: white;
  padding: 30px;
}

.contact {
  text-align: center;
  padding: 40px;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px;
  font-size: 18px;
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}

.contact-item i {
  font-size: 22px;
}

.contact-item:hover {
  color: #ffffff;
  transform: scale(1.05);
}

html {
  scroll-behavior: smooth;
}