* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.logo {
  cursor: pointer;
}

body {
  padding: 64px 140px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  font-family: "Inter", sans-serif;
  background-image: url("./media/bg.png");
  background-size: contain;
  background-repeat: repeat-y;
  --primary: #99001f;
}

nav {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.selection-box {
  border: 1px solid #e6e6e6;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  display: flex;
  height: 66px;
}

h1 {
  font-size: 48px;
  font-weight: bold;
  color: black;
}

h6 {
  font-size: 24px;
  font-weight: bold;
  color: #8a8a8a;
}

.nav-item {
  font-size: 20;
  font-weight: bold;
  text-decoration: none;
  color: black;
  transition: color 0.2s;
  height: 100%;
  padding-left: 24px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.nav-item:first-child {
  padding-left: 20px;
}
.nav-item:last-child {
  padding-right: 20px;
}

.blog-title {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px 0;
}

.nav-item:hover {
  color: var(--primary);
}

.switcher {
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  display: flex;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.switcher-content {
  border-bottom: 2px solid #d6d6d6;
  display: flex;
}

.switcher-item {
  color: #aaaaaa;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: bold;
  margin-bottom: -2px;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.switcher-item.active {
  color: black;
  border-color: var(--primary);
}

.article-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  margin-top: 80px;
}

small {
  font-size: 20px;
  color: var(--primary);
  font-weight: bold;
}

h2 {
  font-size: 32px;
  font-weight: bold;
}

a.art {
  position: relative;
  border-radius: 16px;
  color: black;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  height: 385px;
  background-size: cover;
  background-position: center;
}

br {
  line-height: 200%;
}

.header_image {
  height: 350px;
  border-radius: 16px;
  margin-top: 40px;
  object-fit: cover;
}

.art-content, .art-lead {
  font-size: 20px;
  line-height: 150%;
}

a.art-link {
  color: var(--primary);
  line-break: anywhere;
  text-decoration: underline;
}


.art-desc {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

#art-bw-bc {
  background-image: url("./media/art-bw-bc.png");
}

#art-bw-ho {
  background-image: url("./media/art-bw-ho.jpg");
}

#art-bw-hp {
  background-image: url("./media/art-bw-hp.jpg");
}
#art-ps-ll{
  background-image: url("./media/art-ps-ll.jpg");
}

#art-ps-tb{
  background-image: url("./media/art-ps-tb.jpg");
}

#art-gs-pl{
  background-image: url("./media/art-gs-pl.jpg");
}
#art-gs-sb{
  background-image: url("./media/art-gs-sb.jpg");
}

@media screen and (max-width: 900px) {
  body {
    padding: 32px 32px;
  }
  .article-list {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 30px;
  }
  h6 {
    font-size: 20px;
  }
  .switcher {
    width: 100%;
    overflow-x: scroll;
    scrollbar-width: none;
  }
  .switcher::-webkit-scrollbar {
    display: none;
  }
  .selection-box {
    display: none;
  }
  .blog-title {
    padding: 0;
  }
}