.header-second {
  width: 100%;
  height: 82px;
  background-color: #f6f6f6;
}

.header-second-content {
  max-width: 960px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  padding: 16px;
  align-items: center;
  justify-content: space-between;
}

.header-second-content__field {
  font-size: 15px;
  font-family: "SBSD-regular", sans-serif;
}

.crumbs {
  max-width: 960px;
  margin: 0 auto;
  margin-top: 64px;
}

.content-second {
  position: relative;
  max-width: 850px;
  margin: 0 auto 64px;
}

.menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 255px;
  height: 100%;
  background-color: #fff;
  z-index: 100;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
}

.menu-burger {
  display: none;
  position: absolute;
  top: 20px;
  left: 10px;
  width: 30px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
}

.menu-burger span {
  width: 100%;
  height: 1px;
  background-color: #000;
  transition: all 0.2s;
}

.menu.active .menu-burger span {
  position: absolute;
  top: 50%;
}

.menu.active .menu-burger span:nth-child(2) {
  display: none;
}

.menu.active .menu-burger span:nth-child(1) {
  rotate: 45deg;
}

.menu.active .menu-burger span:nth-child(3) {
  rotate: -45deg;
}

.menu-content {
  padding: 20px;
  height: inherit;
  font-size: 18px;
  color: #2b2a32;
  font-family: "SBSD-regular", sans-serif;
  transition: all 0.5s ease 0s;
  background-color: #fff;
}

.menu-block__title:hover {
  color: #37b44b;
}

.menu-block__title.active {
  color: #000;
}

.menu-block__pages {
  padding-left: 15px;
  font-size: 16px;
}

.menu-block__pages ul {
  margin-top: 8px;
  list-style: none;
  line-height: 28px;
}

.menu-block__pages ul li:hover {
  color: #37b44b;
}

.menu-block__pages .active {
  color: #37b44b;
}

.menu-block {
  margin-top: 16px;
}

.crumbs {
  font-family: "SBSD-regular", sans-serif;
  color: gray;
}

.crumbs__slash {
  padding-right: 8px;
  font-size: 14px;
}

.crumbs__title {
  padding-right: 8px;
  transition: all 0.3s ease;
  color: #000;
}

.crumbs__title:hover {
  color: gray;
}

.chapter-second {
  color: #2b2a32;
  font-size: 20px;
  font-family: "SBSD-regular", sans-serif;
  line-height: 25px;
}

.theme {
  font-family: "SBSD-regular", sans-serif;
  margin-top: 24px;
}

.theme-header {
  display: flex;
  align-items: center;
}

.theme-title {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #2b2a32;
  font-size: 60px;
  line-height: 46px;
}

.theme-img {
  display: none;
  width: 260px;
}

.alpine {
  display: flex;
  align-items: center;
}

.alpine-img {
  width: 130px;
}

.alpine-title a {
  color: #ff7403;
}

.cube {
  position: absolute;
  right: 100px;
  top: 34px;
  width: 110px;
  height: 110px;
  background-color: rgb(229, 84, 73);
  transition: all 0.4s;
}

.theme-sections__field:hover .cube {
  transform: rotate(45deg);
}

.theme-sections__field {
  position: relative;
  width: 600px;
  margin-top: 32px;
  padding: 24px 32px;
  background-color: #fafafa;
}

.theme-sections__field .half-cyrcle {
  position: absolute;
  right: 100px;
  top: 23px;
  transition: all 0.5s;
  rotate: 45deg;
}

.theme-sections__field .half-cyrcle svg {
  width: 70px;
  height: 131px;
  rotate: 0deg;
}

.theme-sections__field:hover .half-cyrcle {
  rotate: 405deg;
}

.theme-sections__field .bublik {
  position: absolute;
  right: 80px;
  top: 20px;
  transition: all 0.5s;
}

.theme-sections__field .bublik svg {
  width: 120px;
  height: 120px;
}

.theme-sections__field:hover .galka {
  transform: scale(1.2);
}

.theme-sections__field .galka {
  position: absolute;
  right: 80px;
  top: 20px;
  width: 120px;
  height: 120px;
  border: 32px solid #ff7403;
  border-radius: 50%;
  transition: all 0.5s;
}

.theme-sections__field:hover .bublik,
.theme-sections__field:hover .check svg {
  transform: scale(1.2);
}

.theme-sections__field .check {
  position: absolute;
  right: 80px;
  top: 20px;
}

.theme-sections__field .check svg {
  width: 130px;
  transition: all 0.5s;
}

.theme-sections__field__title {
  font-size: 14px;
  line-height: 1.55;
}

.theme-sections__field__text {
  transition: all 0.2s ease-in-out;
  margin-top: 24px;
  color: #2b2a32;
  font-size: 20px;
  font-weight: 500;
}

.theme-sections__field:hover .theme-sections__field__text {
  color: #37b44b;
}

.theme-sections__field__time {
  font-size: 14px;
  margin-top: 24px;
}

.content-image {
  position: absolute;
  right: -232px;
  top: 254px;
  z-index: -1;
  height: 472px;
}

.content-image img {
  width: 430px;
}

.block-by {
  display: flex;
  font-size: 20px;
  align-items: center;
  margin-top: 10px;
}

.by-title a {
  color: #ff7403;
}

.by-img img {
  width: 130px;
  margin-right: 10px;
}

@media screen and (max-width: 1500px) {
  .menu {
    width: 50px;
    z-index: 100;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
  }

  .menu-content {
    position: absolute;
    left: -255px;
    z-index: -1;
    width: 255px;
    opacity: 0;
  }

  .menu.active {
    box-shadow: none;
    border-right: 2px solid #f6f6f6;
  }

  .menu.active .menu-content {
    left: 50px;
    width: 255px;
    opacity: 1;
    box-shadow: 10px 0px 10px -8px rgba(0, 0, 0, 0.4);
  }

  .menu-burger {
    display: flex;
    margin-top: 10px;
  }
}

@media screen and (max-width: 1199px) {
  .header-second-content,
  .crumbs {
    max-width: 767px;
  }

  .alpine {
    margin-top: 16px;
  }

  .theme-img {
    display: block;
  }

  .content-image {
    display: none;
  }

  .header-second-content {
    margin-left: 60px;
  }
  .crumbs {
    margin-left: 80px;
  }
  .content-second {
    max-width: 610px;
  }

  .chapter-second {
    font-size: 16px;
  }

  .theme-title {
    font-size: 44px;
  }
}

@media screen and (max-width: 767px) {
  .crumbs {
    margin-left: 24px;
    margin-right: 24px;
  }

  .theme-title {
    font-size: 29px;
    line-height: 32px;
  }

  .theme-header {
    flex-direction: column-reverse;
    gap: 24px;
    padding: 0 24px;
  }

  .theme-sections__field {
    width: 100%;
  }

  .theme-sections__field__text,
  .theme-sections__field__time {
    position: relative;
    max-width: 170px;
  }

  .theme-sections__field .half-cyrcle {
    right: 60px;
  }

  .theme-sections__field .bublik {
    right: 40px;
  }

  .theme-sections__field .check {
    right: 30px;
  }

  .menu {
    position: absolute;
    height: 82px;
    box-shadow: none;
    background-color: transparent;
  }

  .menu.active {
    height: 100%;
    background-color: #fff;
  }
}
