* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #222;
}
.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 14px;
}

a {
  text-decoration: none;
  color: #ae8c64;
  transition: all 0.5s ease;
}

a:hover {
  color: #5b432c;
}
a:visited {
  opacity: 0.7;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 40px;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 30px;
  color: #5b432c;
}

h2 {
  font-family: 'Playfair Display', serif;
  color: #5b432c;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 1px;
  margin: 10px 0;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.article, .links {
  flex-grow: 2;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6% 2% 10px;
}

/* ----- HEADER ----- */

.header-title {
  height: 140px;
  background-image: url(../img/path.png), url(../img/bg-ancient.jpg);
  background-repeat: no-repeat, no-repeat;
  background-position: left top, center top;
  padding: 44px 20px;
}

.header-logo {
  display: flex;
}

.header-logo-title {
  margin-top: 0;
  line-height: 1;
  color: #5b432c;
  transition: all 0.5s ease;
}

.header-logo-title:hover {
  color: #ae8c64;
}

.header-logo-link {
  color: #ae8c64;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-logo-img {
  margin-right: 10px;
  display: block;
}

.header-nav {
  background-color: #443f3d;
}

.header-nav-list {
  display: flex;
  justify-content: space-between;
}

.header-nav-list li {
  list-style: none;
  display: block;
  padding: 15px 5px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  line-height: 1;
  border-bottom: 3px solid #443f3d;
  flex-grow: 1;
  transition: all 0.5s ease;
}

.header-nav-list li:last-child {
  border-right: 0;
}

.header-nav-list a {
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.5s ease;
}

.header-nav-list li:hover {
  background-color: #2d2d2d;
  color: #ffe4c4;
  border-bottom: 3px solid #ae8c64;
}

.header-nav-list li:hover>a {
  color: #ffe4c4;
}

.menu-icon {
  z-index: 19;
  position: absolute;
  display: none;
  width: 30px;
  height: 30px;
  cursor: pointer;
  top: 50px;
  right: 20px;
}

.menu-icon-line {
  position: relative;
  width: 30px;
  height: 3px;
  background-color: #fff;
}

.menu-icon-line::before {
  position: absolute;
  left: 0;
  top: -10px;
  content: '';
  width: 30px;
  height: 3px;
  background-color: #fff;
  transition: transform 0.2s ease-in, top 0.2s linear 0.2s;
}

.menu-icon-line::after {
  position: absolute;
  left: 0;
  top: 10px;
  content: '';
  width: 30px;
  height: 3px;
  background-color: #fff;
  transition: transform 0.2s ease-in, top 0.2s linear 0.2s;
}

.menu-icon.menu-icon-active .menu-icon-line {
  background-color: transparent;
  position: fixed;
}

.menu-icon.menu-icon-active .menu-icon-line::before {
  transform: rotate(45deg);
  top: 0;
  transition: top 0.2s linear, transform 0.2s ease-in 0.2s;
}

.menu-icon.menu-icon-active .menu-icon-line::after {
  transform: rotate(-45deg);
  top: 0;
  transition: top 0.2s linear, transform 0.2s ease-in 0.2s;
}

.mobile-nav {
  z-index: 9;
  display: block;
  position: fixed;
  right: -95%;
  top: 0;
  height: 100%;
  width: 95%;
  padding: 100px 50px 50px;
  /*background-color: rgba(45, 45, 45, 0.98);*/
  background-image: url(../img/amien.png);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
  transition: transform 0.4s ease-in;
}

.mobile-nav__list {
  list-style-type: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-nav__item a {
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
}

.mobile-nav__item a:hover {
  color: #ffe4c4;
}

.mobile-nav--active {
  transform: translateX(-100%);
}


/* ----- CONTENT ----- */

.breadcrumbs {
  margin-bottom: 30px;
  font-weight: 600;
  color: #ae8c64;
}

.breadcrumbs::after {
  content: '';
  display: inline-block;
  width: 70px;
  height: 2px;
  background-color: #b6a48b;
  vertical-align: middle;
  margin-left: 10px;
  margin-top: -2px;
}

.breadcrumbs a {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #b6a48b;
  font-size: 16px;
}

.breadcrumbs a:hover {
  opacity: 0.5;

}
.row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 25px;
  margin-bottom: 25px;
}
.column-2 {
  width: 49%;
}
.column-2:first-child {
  margin-right: 2%;
}
.column-3 {
  width: 49%;
  margin-right: 2%;
}
.column-3:last-child {
  margin-right: 0;
}
.chapter h2, .map h2 {
  position: relative;
  margin-top: 30px;  
  margin-left: 28px;
}
.chapter h2::before, .map h2::before  {
  content: '';
  display: block;
  width: 18px;
  height: 5px;
  background-color: #ae8c64;
  position: absolute;
  top: 12px;
  left: -27px;
}

.article-img-float {
  float: right;
  margin: 5px 0 10px 20px;
}

.article-img-center {
  display: block;
  margin: 10px auto;
  text-align: center;
  font-size: 14px;
}

.box-images-center {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 10px auto;
  font-size: 15px;
  text-align: center;
  align-items: flex-start;
}

.box-images-center img {
  height: auto;
  display: block;
  margin: 10px 15px 20px;
}
.line-h {
  display: block;
  width: 25%;
  height: 2px;
  background-color: #b6a48b;
  margin: 30px 0;
}
.list-literature {
  margin-top: 40px;
  margin-bottom: 20px;
}

.list-literature a {
  font-size: 15px;
  font-weight: 600;
}

.read-more {
  margin-top: 20px;
  margin-bottom: 14px;
}

.read-more-list {
  list-style-type: none;
}

.read-more-list li {
  margin-bottom: 10px;
}

.quoter {
  display: block;
  background-color: #f8f8f8;
  padding: 20px 20px 20px 30px;
  border-left: 2px solid #b6a48b;
  border-radius: 2px;
  margin: 10px 0 20px 4%;
}

.quoter p {
  margin-bottom: 6px;
  font-size: 14px;
}

.quoter-autor {
  text-align: right;
  font-size: 14px;
}

.note {
  display: block;
  background-color: #f8f8f8;
  padding: 50px 25px 20px 60px;
  border-radius: 2px;
  margin: 20px auto 20px 10%;
  position: relative;
}
.note::before {
  content: 'NB!';
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: #ae8c64;
  font-style: italic;
  font-size: 20px;
  display: block;
  width: 47px;
  height: 21px;
  position: absolute;
  top: 11px;
  left: 15px;
  padding-bottom: 0px;
  border-bottom: 3px solid #e4d3bc;
   border-bottom-right-radius: 2px;
}
.list {
  margin: 0 0 15px 20px;
}
.list li {
  list-style-type: none;
  position: relative;
  margin-left: 20px;
  margin-bottom: 2px;
}
.list li::before {
  content: '';
  display: block;
  width: 9px;
  height: 2px;
  background-color: #b6a48b;
  position: absolute;
  top: 11px;
  left: -15px;
}

.timelist li {
  list-style-type: none;
  position: relative;
  margin-left: 20px;
  margin-bottom: 4px;
}
.timelist li::before {
  content: '';
  display: block;
  width: 9px;
  height: 2px;
  background-color: #b6a48b;
  position: absolute;
  top: 11px;
  left: -15px;
}

.literature h1 {
 font-size: 34px;
}

.list-liter  {
  margin: 0 0 15px 20px;
}
.list-liter li {
  margin-left: 5px;
  margin-bottom: 20px;
}
.links h1 {
  margin-bottom: 40px;
}
.links h2 {
  margin-top: 15px;
  margin-bottom: 20px;
}
.links h3 {
  margin-top: 10px;
  margin-bottom: 20px;
}
.links p {
  margin-top: 10px;
  margin-bottom: 35px;
}
.paginator {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}
.paginator-img {
  width: 30px;
  height: 30px;
  margin: 0 15px;
}
.paginator a:hover {
  opacity: 0.5;
}
/* ----- FOOTER ----- */

.footer {
  background-color: #2d2d2d;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  padding-top: 15px;
  padding-bottom: 15px;
}

.footer-copy {
  font-size: 14px;
  opacity: 0.4;
  color: #fff;
}

.footer-nav {
  display: flex;
  position: relative;
  align-items: center;
}

.footer-nav::before {
  content: '';
  display: block;
  width: 35px;
  height: 3px;
  background-color: #ae8c64;
  position: absolute;
  top: 11px;
  left: -26px;
}

.footer-nav li {
  list-style: none;
  margin-left: 30px;

}

.footer-nav li a {
  font-size: 14px;
  text-transform: uppercase;
  color: #ae8c64;
  transition: all 0.5s ease;
}

.footer-nav li a:hover {
  opacity: 0.5;
}


.footer-links {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 2% 30px;
}







@media (max-width: 1500px) {
  .header-nav-list a {
    font-size: 11px;
  }

  .header-nav-list li {
    padding: 10px 3px;
  }
}

@media (max-width: 1300px) {
  .header-nav-list a {
    font-size: 10px;
  }

  .header-nav-list li {
    padding: 5px 4px;
  }
}

@media (max-width: 1200px) {
  h2 {
    font-size: 22px;
  }

  .header-nav {
    display: none;
  }

  .menu-icon {
    display: flex;
    justify-content: center;
    align-items: center;
  }

}

@media (max-width: 991px) {
  h2 {
    font-size: 21px;
  }

  .breadcrumbs::after {
    display: none;
  }
  .row {
    flex-wrap: wrap;
  }
  .column-3 {
    width: 100%;
  }
  .literature h1 {
    font-size: 32px;
   }
}

@media (max-width: 768px) {
  h1 {
    font-size: 36px;
    margin-bottom: 50px;
  }

  h2 {
    font-size: 20px;
  }

  .article img {
    width: 45%;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-nav {
    order: 1;
    margin-bottom: 15px;
  }

  .footer-nav::before {
    display: none;
  }

  .footer-nav li:first-child {
    margin-left: 0;
  }

  .footer-copy {
    order: 2;
  }
  .literature h1 {
    font-size: 30px;
   }

}

@media (max-width: 576px) {
  .header-title {
    background-image: url(../img/bg-ancient.jpg);
    background-position: -835px top;
    background-repeat: no-repeat;
  }

  h1 {
    font-size: 32px;
    margin-bottom: 40px;
  }

  h2 {
    font-size: 18px;
  }

  .breadcrumbs {
    margin-bottom: 20px;
  }

  .breadcrumbs a {
    font-size: 14px;
  }

  .article img {
    width: 100%;
    height: auto;
    margin-left: 0;
    margin-right: 0;
  }
  .row {
    display: flex;
    flex-direction: column;
  }
  .column-2 {
    width: 100%;
  }
  .box-images-center {
    flex-direction: column;
    align-items: center;
  }
  .literature h1 {
    font-size: 26px;
   }

}

@media (max-width: 440px) {
  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 20px;
  }

  .footer-nav li {
    margin-left: 16px;
  }

  .header-title {
    background-position: -860px top;
  }
  .literature h1 {
    font-size: 22px;
   }
}

@media (max-width: 400px) {
  .header-title {
    background-position: -910px top;
    padding: 44px 16px;

  }

  .header-logo-img {
    display: none;
  }

  .header-logo-link {
    font-size: 16px;
  }

  h2 {
    font-size: 18px;
  }

}