* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Jakarta";
}

@font-face {
  font-family: "Jakarta";
  src: url(../Plus_Jakarta_Sans/PlusJakartaSans-Italic-VariableFont_wght.ttf);
}

body {
  background-color: white; 
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

main {
  width: 100%;
  max-width: 700px;
}

header {
  text-align: center;
  margin-bottom: 50px;
}

header h1 {
  font-size: 40px;
  font-weight: 600;
  color: black;
  line-height: 1.3;
  margin-bottom: 20px;
}

header img {
  width: 120px;
  opacity: 0.4;
}

.container-article {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

article {
  display: flex;
  align-items: center;
  gap: 30px;
}

article img {
  width: 140px;
  height: 140px;
  border-radius: 15px;
  object-fit: cover;
  flex-shrink: 0; 
}

article div {
  max-width: 500px;
}

article h2 {
  font-size: 18px;
  font-weight: 600;
  color: black;
  line-height: 1.4;
  margin-bottom: 10px;
}

.fecha {
  font-size: 14px;
  color: gray;
}


@media (max-width: 600px) {

  article {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  article img {
    width: 120px;   
    height: 120px;
  }

  article h2 {
    font-size: 16px;
  }
}