@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

* {
  margin     : 0;
  padding    : 0;
  box-sizing : border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  background: #8e8e9d;
  padding   : 40px 20px;
  color     : #333;
}

.container {
  max-width    : 970px;
  margin       : 0 auto;
  background   : #fff;
  border-radius: 4px;
  padding      : 30px;
  box-shadow   : 0 5px 10px rgba(0, 0, 0, 0.2);
}

.lang {
  text-align: right;
}

.button {
  display         : inline-block;
  padding         : 6px 12px;
  font-size       : 14px;
  border          : 1px solid #ccc;
  border-radius   : 4px;
  text-decoration : none;
  color           : #333;
  background-color: #fff;
}

.button:hover { background-color: #f5f5f5; border-color: #adadad; }
.button.current { background-color: #e6e6e6; border-color: #8c8c8c; }

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

header img {
  width: 150px;
}

header h1 {
  font-size: 36px;
}

header p {
  color: #555;
}

section + section {
  margin-top: 28px;
}

section h2 {
  font-size     : 14px;
  font-weight   : 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color         : #777;
  margin-bottom : 10px;
}

.cards {
  display              : grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap                  : 14px;
}

.card {
  display        : block;
  padding        : 18px;
  border         : 2px solid #d3d3d3;
  border-radius  : 4px;
  text-decoration: none;
  color          : inherit;
  transition     : border-color 0.15s, box-shadow 0.15s;
}

.card:hover,
.card:focus-visible {
  border-color: #8e8e9d;
  box-shadow  : 0 3px 8px rgba(0, 0, 0, 0.12);
  outline     : none;
}

.card h3 {
  font-size    : 18px;
  margin-bottom: 6px;
}

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

.card .host {
  display   : block;
  margin-top: 10px;
  font-size : 12px;
  color     : #8e8e9d;
}

footer {
  margin-top: 30px;
  text-align: center;
  font-size : 13px;
  color     : #777;
}

footer a {
  color: inherit;
}

@media (max-width: 600px) {
  header h1 { font-size: 28px; }
  .container { padding: 20px; }
}
