body {
  background: #58535E;
  color: #f0f0f0;
  font-family: sans-serif;
  margin: 0;
}

nav {
  text-align: center;
  padding: 20px;
  background: #2a2a35;
}

nav a {
  background-color: #3a3a45;
  color: white;
  text-decoration: none;
  width: 90px;
  height: 90px;
  line-height: 90px;
  margin: 8px;
  border-radius: 30%;
  display: inline-block;
  text-align: center;
  font-size: 14px;
  transition: 0.15s;
  box-shadow: 0 6px #1a1a20;
  cursor: pointer;
}

nav a:hover {
  transform: translateY(2px);
  box-shadow: 0 3px #1a1a20;
  background-color: #50505f;
}

nav a:active {
  transform: translateY(6px);
  box-shadow: 0 0 #1a1a20;
}

h1 {
  text-align: center;
  margin-top: 30px;
}

.container {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 40px auto;
  max-width: 1000px;
}

.section {
  background: #77787B;
  padding: 20px;
  border-radius: 15px;
  width: 260px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

h2 {
  margin-top: 0;
}

ul {
  padding-left: 20px;
}

ul a {
  color: white;
  text-decoration: none;
  position: relative;
}

ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #00bfff;
  transition: 0.2s;
}

ul a:hover::after {
  width: 100%;
}

ul a:hover {
  color: #00bfff;
}

img {
  display: block;
  margin: auto;
  max-width: 200px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

img:hover {
  transform: translateY(-5px);
  transition: 0.2s;
}

@media (max-width: 600px) {

  nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  nav a {
    width: 22vw;
    height: 22vw;
    line-height: 22vw;
    font-size: 12px;
  }

  .container {
    flex-direction: column;
    align-items: center;
  }

  .section {
    width: 90%;
  }

}

.card {
  display: flex;
  align-items: center;
  gap: 20px;

  background: #2f2f3a;
  border: 4px solid white;
  padding: 15px;
  margin: 20px auto;

  max-width: 700px;
  color: white;

  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.card img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  background: black;
}

.card-text {
  flex: 1;
}

.date {
  text-align: center;
  font-size: 18px;
  margin-top: 10px;
  opacity: 0.8;
}

@media (max-width: 600px) {
  .card {
    flex-direction: column;
    text-align: center;
  }

  .card img {
    width: 80%;
    height: auto;
  }
}