.header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #9ca3af;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logoimg {
  width: 48px;
  height: 48px;
  border: 2px solid #9ca3af;
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-elem {
  height: 20px;
  background-color: #d1d5db;
  border: 1px solid #9ca3af;
}

.hero {
  background-image: url("../images/kontor.jpg");
  background-size: cover;
  height: 100vh;
}

.section {
  border-bottom: 2px solid #9ca3af;
  padding: 80px 24px;
}

.section:nth-of-type(even) {
  background-color: #e6eaef;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

h1 {
  height: auto;
  background-color: #d1d5db;
  border: 1px solid #9ca3af;
  margin: 12px auto;
}

.h2 {
  height: auto;
  background-color: #d1d5db;
  border: 1px solid #9ca3af;
  margin: 12px auto;
}

.line {
  height: auto;
  background-color: #d1d5db;
  border: 1px solid #9ca3af;
  margin-bottom: 8px;
}

.image-box,
#image-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #d1d5db;
  border: 2px solid #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  overflow: hidden;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

@media (max-width: 900px) {
  .image-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.square-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.footer {
  background-color: #1f2937;
  border-top: 2px solid #111827;
  padding: 32px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

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