:root {
  --ink: #17110c;
  --iron: #24221d;
  --bronze: #b77924;
  --bronze-light: #e8b65f;
  --parchment: #f3e4bf;
  --paper: #fff7e3;
  --moss: #3e5134;
  --blood: #8b211b;
  --muted: #6b5a43;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  justify-content: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(21, 14, 8, .95), rgba(57, 36, 18, .88), rgba(21, 14, 8, .95));
  border-bottom: 1px solid rgba(232, 182, 95, .42);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.header_in {
  width: min(1200px, calc(100% - 40px));
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header_l a {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.header_l img {
  width: 48px;
  height: 54px;
}

.header_l span {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
}

.header_r_list {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.header_r li a {
  display: inline-flex;
  align-items: center;
  min-height: 76px;
  color: rgba(255, 247, 227, .9);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.header_r li a:hover {
  color: var(--bronze-light);
}

.menuicon {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(232, 182, 95, .45);
  border-radius: 6px;
  background: rgba(0, 0, 0, .18);
  cursor: pointer;
  position: relative;
}

.menuicon::after {
  position: absolute;
  top: 14px;
  left: 12px;
  width: 22px;
  height: 14px;
  content: "";
  border-top: 3px solid var(--paper);
  border-bottom: 3px solid var(--paper);
}

.menuicon::before {
  position: absolute;
  top: 23px;
  left: 12px;
  width: 22px;
  height: 3px;
  content: "";
  background: var(--paper);
}

.main {
  display: flex;
  justify-content: center;
}

.main_in {
  width: min(1000px, calc(100% - 40px));
  padding: 126px 0 100px;
}

@media screen and (max-width: 900px) {
  .header {
    position: relative;
  }

  .header_in {
    width: 100%;
    min-height: 70px;
    padding: 0 16px;
  }

  .header_l a {
    min-height: 70px;
  }

  .header_l span {
    font-size: 18px;
  }

  .header_l img {
    width: 42px;
    height: 47px;
  }

  .menuicon {
    display: block;
    flex: 0 0 auto;
  }

  .header_r {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(24, 16, 9, .98);
    border-bottom: 1px solid rgba(232, 182, 95, .35);
  }

  .header_r.mb_active {
    display: block;
  }

  .header_r_list {
    display: block;
    padding: 8px 0;
  }

  .header_r li a {
    width: 100%;
    min-height: 50px;
    justify-content: center;
  }

  .main_in {
    width: calc(100% - 32px);
    padding: 48px 0 72px;
  }
}
