:root {
  --bg-color: hsl(0, 0%, 100%);
  --text-color: hsl(0, 0%, 0%);
  --accent-color: hsl(208, 26%, 60%);
  --accent-color-shade: hsl(0, 0%, 65%);

  --header-font: "Zen Maru Gothic", sans-serif;
  --main-font: sans-serif;
}

h1,
h2,
h3 {
  font-family: var(--header-font);
}

body {
  font-family: var(--main-font);
  font-size: 12px;

  background-color: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
  position: relative;
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) transparent;
}

.link-back {
  position: absolute;
  right: 1rem;
  top: 0.5rem;
}

.section-title {
  font-size: 12px;
}

.main-left {
  margin: 1rem;
  margin-top: 0;
  padding-block: 0.5rem;
  min-height: 100vh;
}

.main-links {
  padding-block: 2rem;
  padding-inline: 3rem;
  min-height: 100vh;
}

.margin-text-block {
  margin-bottom: 0.5rem;
}

/*index*/

.index-title {
  font-size: clamp(0.9rem, 2.5vw + 0.4rem, 2rem);
  letter-spacing: 0.25rem;
}

.hero-img {
  width: 300px;
  padding: 0.1rem;

  @media (min-width: 50rem) {
    width: 560px;
  }
}

.index-message {
  font-style: italic;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 0.4rem;
}

.index-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.nav-list {
  display: flex;
  gap: 0.3rem;
  list-style-type: none;
  padding-left: 0;
}

.whereabouts {
  display: none;

  @media (min-width: 50rem) {
    display: block;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    text-align: right;
  }
}

address {
  margin-top: 0.5rem;
  line-height: 1.2;
  letter-spacing: 0.25rem;

}

/* links */

.links-section {
  margin-bottom: 1rem;
  
}

.link-btn-list {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  padding-left: 0;
  width: 20rem;

  >li {
    margin-right: 0.2rem;
    margin-bottom: 0.2rem;
  }
}

.link-btn {
  position: relative;
  display: block;
  background-color: hsl(208, 26%, 60%, 0.5);;
  transition: all 0.3s ease-in-out;

  &:hover {
    background-color: transparent;
  }
}

.link-btn img {
  display: block;
  width: 88px;
  height: 31px;
  filter: grayscale(100%);
  mix-blend-mode: multiply;

  transition: all 0.3s ease-in-out;

  &:hover {
    filter: grayscale(0%);
  }
}

/* archive */

.archive-table {
  max-width: 25rem;
}

table {
  border: 1px dashed var(--text-color);
  margin-top: 1rem;

  border-collapse: collapse;
  width: 100%;
}

thead {
  text-align: left;
}

th,
td {
  width: 50%;
  padding: 8px 16px;
}

tr {
  border-bottom: 1px dashed var(--text-color);
}

.file-icon {
  margin-right: 0.3rem;
}

.archive-title {
  font-size: 1rem;
}

.archive-list {
  list-style-type: circle;
  margin-block: 0.75rem;
  padding-left: 1rem;
  max-width: 40rem;
  font-size: 0.7rem;

  > li {
    margin-bottom: 0.5rem;
  }
}

.zen-koan-list {
  > li {
    margin-bottom: 1rem;
  }
}

.concept-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 0.5rem;
}

.concept-image {
  width: 7rem;
  flex-shrink: 0;

  @media (min-width: 90rem) {
    width: 10rem;
  }
}

.concept-title {
  color: var(--accent-color);
}

.concept-author {
  color: var(--accent-color-shade);
  text-align: right;
}
/* about */
.main-center {
  display: flex;
  align-items: center;
  min-height: 100vh;
  margin-inline: 3rem;

  @media (min-width: 50rem) {
    max-width: 45rem;
    margin-inline: auto;
  }
}

.flex-column {
  flex-direction: column;
  justify-content: center;
}

.about-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  > div {
    flex: 1;
  }

  @media (min-width: 50rem) {
    flex-direction: row;
  }
}

.archive-h2 {
  font-size: 0.9rem;
}

.text-block {
  max-width: 75ch;
}

