body {
  font-family: 'Inter', sans-serif;
  background: #f9f9f9;
}

*, *::before, *::after {
  box-sizing: border-box;
}

header {      
  color: #333;
  background: #fff;
  padding: 15px 20px;
  font-family: 'Inter', sans-serif;      
  border: 1px solid #333;
  border-bottom: 3px solid #333;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

header .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

header .logo {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

header nav a {
  color: #333;
  text-decoration: none;
  margin-left: 20px;
  font-size: 16px;
  font-weight: 500;
}

@media (max-width: 600px) {
  header .header-container {
    flex-direction: column;
    align-items: center;
  }

  header nav {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  header nav a {
    margin: 0 10px;
  }
}

.headline {
  text-align: center;
  margin: 40px auto;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 1px;      
  color: #333;
}

@media (max-width: 600px) {
  .headline {
    font-size: 32px;
  }
}
    
.main {
  max-width: 1000px;
  margin: 20px auto 40px;
  padding: 0 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;      
}

.grid a {
  display: block;
  background: #fff;
  padding: 20px;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  color: #333;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-bottom: 3px solid #333;
  border-top: 1px solid #333;
  border-left: 1px solid #333;
  border-right: 1px solid #333;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.grid a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.pagination {
  margin-top: 40px;
  text-align: center;
}

.pagination a {
  margin: 0 5px;
  text-decoration: none;  
}

.pagination span {
  margin: 0 5px;
  font-weight: bold;
}

footer {      
  color: #333;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;        
}

footer a{
  color: #333;
  text-decoration: none;
}