/* Common */

* {
  box-sizing: border-box;
  font-family: Roboto, "Times New Roman", Times, serif;
}

body {
  margin: 0;
  color: #000000;
}

a {
  text-decoration: none;
  color: #fff;
}

.person-info {
  display: flex;
  flex-direction: row-reverse;
}

.text {
  font-size: 18px;
  line-height: 1.55;
  font-weight: 300;
  margin: 5px 0 0 0;
  text-align: justify;
}

.text-section {
  font-size: 20px;
  line-height: 1.55;
  text-align: justify;
}

.text-section h6 {
  font-size: 20px;
  line-height: 1.55;
  display: inline;
  font-weight: 700;
}

.title {
  font-size: 26px;
  line-height: 1.23;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.section-title {
  font-size: 42px;
  line-height: 1.23;
  font-weight: 700;
  text-align: center;
  margin: 0 0 70px 0;
}

ul {
  margin: 0;
  padding: 0;
}

ul li {
  list-style: none;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.55;
  text-align: justify;
}

ul li span {
  margin: 0 5px 0 0;
}

/* Main */

header {
  height: 115px;
  display: flex;
  align-items: center;
  background-color: rgba(0, 55, 16, 1);
  position: fixed;
  width: 100%;
  top: 0;
}

.header-space {
  height: 115px;
}

.header__top-line,
.header__middle-figure,
.header__bottom-line {
  position: absolute;
  background-color: #01633d;
}

.header__top-line {
  width: 100%;
  height: 15px;
  top: 0;
}

.header__middle-figure {
  width: 40px;
  height: 40px;
  left: 0;
  top: 50%;
  margin: -20px 0 0;
}

.header__bottom-line {
  width: 100%;
  height: 15px;
  top: 100%;
  margin: -15px 0 0;
}

.title-container {
  width: 50%;
}

.home-link {
  color: #ffd725;
  font-weight: 600;
  width: 100%;
  height: 100%;
  display: block;
  display: flex;
  justify-content: center;
  font-size: 12px;
}

.home-link h1 {
  display: flex;
  align-items: center;
  margin: 0;
  letter-spacing: 1px;
}

.nav-bar {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-bar a {
  margin: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
}

.menu {
  position: relative;
  height: 100%;
}

.submenu {
  background-color: #fff;
  position: absolute;
  top: 50px;
  left: 10px;
  box-shadow: 0 0 3px #000;
  display: none;
}

.submenu-magazine {
  width: 240px;
}

.menu .submenu a {
  display: flex;
  align-items: center;
  color: #000;
  padding: 10px 20px 10px 10px;
  height: 35px;
  margin: 0;
}

.menu .submenu a:hover {
  background-color: #e2e2e2;
}

.menu-authors:hover .submenu-authors,
.menu-magazine:hover .submenu-magazine {
  display: block;
}

.footer-photo {
  width: 160px;
  height: 50px;
  margin-right: 15px;
}

@media screen and (max-width: 900px) {
  header {
    height: auto;
    flex-direction: column;
    padding: 20px 0;
    position: relative;
  }

  .title-container {
    width: 100%;
    margin: 0 0 20px 0;
    text-align: center;
  }

  .nav-bar {
    width: 100%;
    display: block;
  }

  .nav-bar a {
    height: 30px;
  }

  .menu a {
    height: 30px;
  }

  .header-space {
    display: none;
  }

  .submenu {
    top: 25px;
  }
}

/* Home content */

.divider {
  width: 100%;
  height: 1px;
  border-radius: 10px;
  background: linear-gradient(0.25turn, #fff, #acacac, #fff);
  margin: 30px 0 20px 0;
}

.divider-redaction {
  width: 100%;
  height: 1px;
  border-radius: 10px;
  background: linear-gradient(0.25turn, #fff, #003710, #fff);
  margin: 30px 0 20px 0;
}

.books-container__banners {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 30px 0 0;
}

.books-container__banners img {
  width: 100%;
  height: auto;
  object-fit: none;
}

.read-btn {
  width: 140px;
  display: inline-block;
  padding: 15px 0;
  background-color: #000000;
  margin: 20px 0 0;
  border-radius: 10px;
  text-align: center;
}

.home-content {
  max-width: 1100px;
  margin: auto;
  padding: 0 0 110px 0;
}

.book {
  width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 40px 30px 0;
}

.book:nth-child(3) {
  margin: 0;
}

.book h4 {
  margin: 20px 0 0 0;
}

.book p {
  margin: 8px 0 0;
}

.book img {
  width: 212px;
  height: 300px;
}

.year {
  text-align: center;
  font-size: 48px;
  font-weight: 500;
  color: #171717;
  margin-bottom: 10px;
  margin-top: 20px;
}

/* Footer */

footer {
  width: 100%;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #171717;
  padding: 0 40px;
  font-size: 20px;
  color: #fff;
}

@media screen and (max-width: 900px) {
  footer {
    flex-direction: column;
    height: auto;
    text-align: center;
    padding: 5px 0;
  }

  footer div {
    margin: 5px 0;
  }
}
