* {
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  background: #0f0f1a;
  color: white;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* HEADER */
.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav__link {
  color: white;
  text-decoration: none;
}

/* HERO */
.hero__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.hero__text {
  flex: 1;
  max-width: 500px;
}

.hero__text h1 {
  font-size: 48px;
  font-family: "Archivo Black", sans-serif;
}

.hero__image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero__image img {
  width: 320px;
  height: 320px;
  object-fit: cover;

  border-radius: 50%; 
  border: 4px solid #6d6dff; 
}


.link-bar {
  text-decoration: none;
  color: white;
  font-weight: 600;
  margin-right: 20px;

  background-image: linear-gradient(90deg, #6d6dff, #a855f7);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 4px;

  padding-bottom: 8px;
}

/* FEATURES */
.features {
  margin-top: 80px;
  text-align: center;
}

.features__container {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.feature {
  background: #1a1a2e;
  padding: 20px;
  border-radius: 10px;
}

/* PROJECTS */
.projects {
  margin-top: 80px;
  text-align: center;
}

.projects__container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.project {
  width: 300px;
  background: #1a1a2e;
  border-radius: 15px;
  overflow: hidden;
}

.project__image {
  height: 180px;
}

.project__image--cafeteria {
  background: url("img/cafeteria.png") center/cover;
}

.project__image--landing {
  background: url("img/landing.png") center/cover;
}

/* CONTACTO */
.contact {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

.contact__card {
  background: radial-gradient(circle at center, #2a2a5a, #0f0f1a);
  padding: 60px;
  border-radius: 20px;
  text-align: center;
}

.contact__email a {
  color: #6d6dff;
  text-decoration: none;
}

.contact__social {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.contact__social img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: invert(1);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 20px;
  color: #b0b0c3;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero__content {
    flex-direction: column;
    text-align: center;
  }

  .hero__image {
    justify-content: center;
  }
}

