html,
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1.6;
  background-color: #F9F8F4;
  color: #222;
}

body.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#main-header {
  width: 100%;
  padding: 2px 10px;
  top: 2px;
  position: sticky;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

#main-header a.brand {
  color: #999;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  display: inline-block;
  background: url('/images/icon-192.png') left center no-repeat;
  background-color: #F9F8F4;
  background-size: 1.5rem 1.5rem;
  padding-left: 2rem;
}

#main-header a.button-header {
  text-decoration: none;
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
}

header {
  text-align: center;
  margin: 0px 0 10px 0;
  width: 100%;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

header h1 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0px;
}

header p {
  font-size: 1.25rem;
  font-weight: 400;
  color: #666;
  margin-top: 0;
  margin-bottom: 20px;
}

.extensions-container {
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.extension {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
  overflow: hidden;
}

.extension-content,
.extension-image {
  padding: 20px;
  flex: 1 1 50%;
  box-sizing: border-box;
}

.extension-content h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #111;
}

.extension-content p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.extension-content .extension-links {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: row;
  gap: 0.65rem;
}

.extension-content .extension-links a {
  display: inline-block;
  line-height: 2.5rem;
  padding: 0 2rem;
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
  border-radius: 1.5rem;
  background: #0b57d0;
}

.extension-content .extension-links a > i {
  margin: 0 0.5rem 0 -0.5rem;
}

.extension-content .extension-links a:hover {
  background-color: #1656B7;
}

.extension-image {
  padding: 0;
  background-color: #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.extension-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0;
  padding: 20px;
  font-size: 0.9rem;
  width: 100%;
}

footer a {
  color: #0b57d0;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 860px) {
  .extension {
    flex-direction: column;
  }

  .extension-content,
  .extension-image {
    flex: 1 1 100%;
  }

  header h1 {
    font-size: 1.5rem;
  }

  footer,
  .extension-content .extension-links {
    font-size: 110%;
    flex-direction: column;
  }

  .extension-content .extension-links a {
    font-size: 110%;
    text-align: center;
  }
}