body {
  font-family: "Bitter", sans-serif;
}
.page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 0;
  font-family: "Bitter", sans-serif;
  /* background: #7f4827; */
  scroll-behavior: smooth;
  overflow-x: hidden;
}
.page1 {
  background-image: url("/public/90years/images/back1.png");
}
.background {
  background-image: url("/public/90years/images/back1.png");
  min-height: 83.41vh;
  padding: 30px 0;
}
/*Header*/
.header {
  min-width: 320px;
  margin: 0 auto;
  width: 100%;
  background: #382d29;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-bottom: 1px solid rgba(202, 202, 202, 0.7);
  padding: 20px 0;
  background-image: url("/public/90years/images/back1.png");
  box-shadow: 5px 5px 31px 4px rgba(0, 0, 0, 0.4);
}
.logo {
  width: 130px;
  margin-left: 15px;
}
.logo_90 {
  width: 130px;
}
.back_link {
  text-decoration: none;
}
.menus {
  display: flex;
  list-style: none;
  margin: 0;
}
.menu-items {
  margin-right: 15px;
  margin-top: 7px;
}
.menu-items {
  text-decoration: none;
  color: #fff;
  margin-left: 10px;
  margin-top: 10px;
  font-size: 21px;
  font-weight: 500;
}
.menu-items:hover {
  color: rgb(243, 183, 133);
  transition: ease-in-out 0.7s;
}
/*Footer*/
.footer {
  background: #7f4827;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}
.footer-text {
  margin: 0;
  color: #fff;
  text-align: center;
}
/*Main*/
.main {
  background-image: url("/public/90years/images/back.png");
  background-size: cover;
  box-shadow: 5px 5px 31px 4px rgba(0, 0, 0, 0.4);
  padding-bottom: 150px;
  scroll-behavior: smooth;
}
.main__wrapper {
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
  padding-top: 250px;
}
.main__title {
  margin: 20px 0 0;
  text-transform: uppercase;
  color: #fff;
  font-size: 85px;
  font-weight: 900;
  color: transparent;
  background-image: url("/public/90years/images/7.jpg");
  background-size: cover;
  background-clip: text;
  margin: 0;
}
.main__subtitle {
  font-size: 60px;
  font-weight: 300;
  letter-spacing: 7px;
  margin: 0;
  color: #fff;
}
.main__text {
  color: #ffff;
  font-size: 60px;
  font-weight: 200;
  margin: 0;
  letter-spacing: 10px;
}
.main__text-section {
  color: #ffff;
  font-size: 60px;
  font-weight: 200;
  margin: 0;
  letter-spacing: 10px;
}
.text-container {
  margin-bottom: 20px;
}
/*Animated button*/
.animated-button2 {
  background: linear-gradient(-30deg, #3d240b 50%, #2b1a08 50%);
  padding: 20px 40px;
  margin: 35px 0;
  display: inline-block;
  -webkit-transform: translate(0%, 0%);
  transform: translate(0%, 0%);
  overflow: hidden;
  color: #f7e6d4;
  font-size: 20px;
  letter-spacing: 2.5px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.history {
  margin: 20px 0;
  padding: 10px 20px;
}
.animated-button2::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: #ad9985;
  opacity: 0;
  -webkit-transition: 0.2s opacity ease-in-out;
  transition: 0.2s opacity ease-in-out;
}
.animated-button2:hover::before {
  opacity: 0.2;
}
.animated-button2 span {
  position: absolute;
}
.animated-button2 span:nth-child(1) {
  top: 0px;
  left: 0px;
  width: 100%;
  height: 2px;
  background: -webkit-gradient(
    linear,
    right top,
    left top,
    from(rgba(43, 26, 8, 0)),
    to(#d98026)
  );
  background: linear-gradient(to left, rgba(43, 26, 8, 0), #d98026);
  -webkit-animation: 2s animateTop linear infinite;
  animation: 2s animateTop linear infinite;
}
@keyframes animateTop {
  0% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  100% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}
.animated-button2 span:nth-child(2) {
  top: 0px;
  right: 0px;
  height: 100%;
  width: 2px;
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(rgba(43, 26, 8, 0)),
    to(#d98026)
  );
  background: linear-gradient(to top, rgba(43, 26, 8, 0), #d98026);
  -webkit-animation: 2s animateRight linear -1s infinite;
  animation: 2s animateRight linear -1s infinite;
}
@keyframes animateRight {
  0% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
  100% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
}
.animated-button2 span:nth-child(3) {
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 2px;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(rgba(43, 26, 8, 0)),
    to(#d98026)
  );
  background: linear-gradient(to right, rgba(43, 26, 8, 0), #d98026);
  -webkit-animation: 2s animateBottom linear infinite;
  animation: 2s animateBottom linear infinite;
}
@keyframes animateBottom {
  0% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  100% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
}
.animated-button2 span:nth-child(4) {
  top: 0px;
  left: 0px;
  height: 100%;
  width: 2px;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(43, 26, 8, 0)),
    to(#d98026)
  );
  background: linear-gradient(to bottom, rgba(43, 26, 8, 0), #d98026);
  -webkit-animation: 2s animateLeft linear -1s infinite;
  animation: 2s animateLeft linear -1s infinite;
}
@keyframes animateLeft {
  0% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  100% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
}
/*About*/
.popup__container {
  max-width: 750px;
  color: #fff;
  width: 100%;
  margin: 0 auto;
  padding: 4rem;
  background-color: rgb(0 0 0 / 47%);
  font-size: 18px;
  line-height: 1.4em;
  border-radius: 10px;
  margin-top: 60px;
}
.popup__title {
  margin: 0;
  padding: 0 0 20px 0;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}
/*Cards*/
.cards {
  margin-top: 60px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.card {
  min-width: 300px;
  height: 250px;
  display: flex;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  justify-content: center;
  align-items: center;
  flex: 1 1 0;
  flex-direction: column;
  border-radius: 15px;
  transition: all 0.3s linear;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  text-decoration: none;
}
.card::after {
  content: "";
  position: absolute;
  inset: -3px;
  background-color: rgba(1, 0, 0, 0.301);
  z-index: 3;
}
.card:hover {
  transform: scale(1.05);
  box-shadow: 2px 30px 30px rgba(0, 0, 0, 0.5);
}
.card-title {
  text-decoration: none;
  color: #fff;
  font-size: 21px;
  font-weight: 400;
  text-align: center;
  margin-top: 11rem;
  padding: 6px;
  border-radius: 10px;
  z-index: 4;
}
.card{
  background-position: center center;
  background-size: cover;
}
/*Sections*/
.container {
  margin: 0 auto;
  max-width: 1060px;
}
.led {
  position: relative;
  z-index: 4;
  padding: 15px 0 60px 0;
}
.typing-demo-dif {
  white-space: nowrap;
  overflow: hidden;
  color: #7f4827;
  font-size: 3.5em;
  margin: 15px;
  letter-spacing: 10px;
  font-weight: 200;
  text-align: center;
}
/*Sidemenu*/
a,
.side_menu {
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}
/* MENU CONTAINER ----- */
.side_menu {
  background: rgb(133 120 110 / 90%);
  height: 100vh;
  right: -250px;
  position: fixed;
  top: 0;
  width: 250px;
  z-index: 100;
}
.opened {
  box-shadow: 0 0 0 10000px rgba(0, 0, 0, 0.4);
}
.side_menu .container {
  padding: 0 1.5em;
}
/* HAMBURGER STYLES ----- */
.burger_box {
  display: block;
  float: right;
  margin-right: -45px;
}
.burger_box a.menu-icon {
  display: inline-block;
  float: none;
  height: 25px;
  padding: 10px;
  opacity: 0.5;
  width: 25px;
  z-index: 100;
}
.burger_box a.menu-icon:hover,
.burger_box a.menu-icon.opened {
  opacity: 1;
}
.burger_box a.menu-icon.opened {
  background: rgb(76 74 74 / 100%);
  position: absolute;
  right: 260px;
  top: 5px;
}
.burger_box .menu-icon_box {
  display: inline-block;
  height: 25px;
  position: relative;
  text-align: left;
  width: 25px;
}
.burger_box .menu-icon_line {
  background: #fff;
  border-radius: 2px;
  display: inline-block;
  height: 3px;
  position: absolute;
  width: 100%;
}
.burger_box .menu-icon_line--1 {
  top: 2px;
}
.burger_box .menu-icon_line--2 {
  top: 10px;
}
.burger_box .menu-icon_line--3 {
  top: 18px;
}
.burger_box .menu-icon_line--1 {
  transition: top 200ms 250ms, transform 200ms;
  -webkit-transition: top 200ms 250ms, -webkit-transform 200ms;
}
.burger_box .menu-icon_line--2 {
  transition: opacity 0ms 300ms;
  -webkit-transition: opacity 0ms 300ms;
}
.burger_box .menu-icon_line--3 {
  transition: top 100ms 300ms, transform 200ms;
  -webkit-transition: top 100ms 300ms, -webkit-transform 200ms;
}
.burger_box .menu-icon.opened .menu-icon_box {
  transform: scale3d(0.9, 0.9, 0.9);
  -webkit-transform: scale3d(0.9, 0.9, 0.9);
}
.burger_box .menu-icon.opened .menu-icon_line {
  top: 10px;
}
.burger_box .menu-icon.opened .menu-icon_line--1 {
  transform: rotate3d(0, 0, 1, 45deg);
  -webkit-transform: rotate3d(0, 0, 1, 45deg);
  transition: top 100ms, transform 200ms 250ms;
  -webkit-transition: top 100ms, -webkit-transform 200ms 250ms;
}
.burger_box .menu-icon.opened .menu-icon_line--2 {
  opacity: 0;
  transition: opacity 200ms;
  -webkit-transition: opacity 200ms;
}
.burger_box .menu-icon.opened .menu-icon_line--3 {
  transform: rotate3d(0, 0, 1, -45deg);
  -webkit-transform: rotate3d(0, 0, 1, -45deg);
  transition: top 200ms, transform 200ms 250ms;
  -webkit-transition: top 200ms, -webkit-transform 200ms 250ms;
}
/* STAGGER LIST ----- */
.list_load {
  display: none;
  list-style: none;
  padding: 0;
}
.list_item {
  margin-left: -20px;
  opacity: 0;
  -webkit-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}
.list_item a {
  color: #fff;
  display: block;
  padding: 5px 10px;
  text-decoration: none;
}
.list_item a:hover {
  background: rgba(255, 255, 255, 0.2);
}
.menu_title {
  color: #fff;
}
/*Секции*/
.sections {
  margin: 0 auto;
  max-width: 1100px;
  width: 100%;
  padding-top: 20px;
  min-height: 82.7vh;
  padding-bottom: 50px;
}
.section {
  color: #554027;
  font-size: 20px;
}
.about-container {
  margin: 30px auto 0;
}
.font {
  font-size: 35px;
}
.title-sections {
  font-size: 30px;
  text-align: center;
  margin: 25px 0;
  letter-spacing: 3px;
}
.text-sections {
  margin: 7px 0;
  text-indent: 20px;
  font-size: 15px;
  font-weight: 400;
}
/*TAB*/
.text {
  font-size: 15px;
  margin: 0;
  margin-bottom: 4px;
  text-indent: 20px;
}
.text:nth-child(22) {
  margin-bottom: 7px;
}
.gallery {
  background-color: #00000005;
  padding: 20px;
  border-radius: 5px;
  border: solid 1px #0000001c;
}
.row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 13px;
}
.img-text {
  width: 50%;
  margin: 0;
  margin-left: 20px;
  border-right: 1px solid #0000001c;
  margin-right: 15px;
  padding-right: 15px;
  font-size: 15px;
}
.img-title {
  font-size: 13px;
  margin: 0;
}
.row-container {
  margin-left: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  width: 50%;
}
.content {
  padding: 20px 0 0;
  border-top: 1px solid #ddd;
}
input {
  display: none;
}
.label {
  display: inline-block;
  margin: 0 0 -1px;
  padding: 15px 25px;
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  color: #818181;
  border: 1px solid transparent;
  cursor: pointer;
}
.label:before {
  font-weight: normal;
  margin-right: 10px;
}
.tab {
  width: 220px;
}
.label:hover {
  color: #e79362;
}
.label.checked {
  color: #555;
  border: 1px solid #ddd;
  border-top: 2px solid orange;
  border-bottom: 1px solid #fff;
}
.years {
  width: 80px;
}
/*Скрытый текст*/
.content_block {
  overflow: hidden;
  position: relative;
}
.content_block.hide {
  height: 300px;
}
.content_block.hide:after {
  content: "";
  display: block;
  height: 100px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    #fff 75%
  );
}
.content_toggle {
  display: inline-block;
  font-size: 16px;
  text-decoration: underline;
  color: #db5b10;
  margin-bottom: 20px;
}
.content_toggle:hover {
  color: #db5b10;
}
/*Zoom*/
.pic-wrap {
  display: flex;
  justify-content: space-between;
}
.pic-wrap img {
  display: block;
  margin-bottom: 15px;
  width: 24%;
  cursor: pointer;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  z-index: -1;
  transition: 0.3s;
  display: flex;
  overflow: auto;
}
.modal.open {
  opacity: 1;
  z-index: 1;
}
.modal-body {
  width: 90%;
  max-width: 1000px;
  margin: auto;
  position: relative;
}
.modal-content {
  display: block;
  max-width: 100%;
}
.close {
  cursor: pointer;
  position: absolute;
  right: 8px;
  top: 5px;
  color: #fff;
}
.mfp-fade.mfp-bg {
  opacity: 0;
  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}
/* Адаптивка */
@media screen and (max-width: 1100px) {
  .main__text-section {
    margin: 0 60px;
  }
  .tab {
    width: 190px;
  }
  .tab:first-of-type {
    margin: 0 0 0 60px;
  }
  .content {
    margin: 0 60px;
  }
  .text-sections {
    margin: 7px 60px;
  }
  .section-wrapper {
    margin: 0 60px;
  }
  .years {
    width: 80px;
  }
  .years1 {
    width: 70px;
  }
}
@media screen and (max-width: 1050px) {
  .main {
    padding: 0 100px 150px;
  }
  .main__text {
    font-size: 40px;
  }
  .main__title {
    font-size: 70px;
  }
  .main__subtitle {
    font-size: 40px;
  }
  .animated-button2 {
    font-size: 16px;
    margin: 20px 0;
  }
  .typing-demo-dif {
    font-size: 3em;
  }
  .cards {
    padding: 0 20px;
  }
  .years1 {
    width: 60px;
  }
}
@media screen and (max-width: 900px) {
  .popup__container {
    padding: 25px 22px;
  }
  .popup__title {
    padding-bottom: 75px;
    font-size: 18px;
  }
  .tab {
    width: 150px;
  }
  .section {
    font-size: 35px;
  }
  .font {
    font-size: 50px;
  }
  .title-sections {
    font-size: 27px;
  }
  .years {
    width: 60px;
  }
  .years1 {
    width: 50px;
    padding: 15px 20px;
    font-size: 14px;
  }
  .logo_90 {
    width: 90px;
  }
}
@media (max-width: 800px) {
  .popup__container {
    max-width: 600px;
    font-size: 16px;
  }
  .popup__title {
    padding-bottom: 50px;
  }
  .pic-wrap {
    flex-wrap: wrap;
  }
  .pic-wrap img {
    width: 49%;
  }
  .years1 {
    width: 50px;
    padding: 12px 15px;
    font-size: 14px;
  }
  .tab:first-of-type {
    margin: 0 0 0 40px;
  }
  .content {
    margin: 0 40px;
  }
  .main__text-section {
    margin: 0 40px;
  }
  .text-sections {
    margin: 7px 40px;
  }
  .section-wrapper {
    margin: 0 40px;
  }
  .years {
    width: 50px;
    font-size: 14px;
  }
  .tab {
    width: 140px;
    font-size: 15px;
    padding: 12px 20px;
  }
  .title-sections {
    font-size: 25px;
  }
  .logo {
    width: 100px;
  }
}
@media screen and (max-width: 768px) {
  .header {
    padding-top: 28px;
  }
  .main {
    padding: 0 50px 90px;
  }
  .main__wrapper {
    padding-top: 100px;
  }
  .main__text {
    font-size: 35px;
  }
  .main__subtitle {
    font-size: 35px;
  }
  .main__title {
    font-size: 60px;
  }
  .animated-button2 {
    margin: 15px 0;
    padding: 20px 15px;
  }
  .container .led {
    padding: 0 0 60px;
  }
  .typing-demo-dif {
    font-size: 2.5em;
    margin: 10px;
  }
  .tab {
    padding: 10px 15px;
  }
  .years {
    width: 50px;
    padding: 12px 20px;
  }
  .years1 {
    width: 53px;
  }
}
@media screen and (max-width: 650px) {
  .label {
    font-size: 0;
  }
  .label:before {
    margin: 0;
    font-size: 18px;
  }
  .section {
    font-size: 27px;
  }
  .font {
    font-size: 45px;
  }
  .tab {
    width: 110px;
  }
  .img-text {
    font-size: 13px;
  }
  .text-sections {
    font-size: 14px;
  }
  .years {
    width: 45px;
    font-size: 13px;
    padding: 12px 16px;
  }
  .section-wrapper {
    font-size: 14px;
  }
  .years1 {
    font-size: 13px;
    width: 46px;
    padding: 10px 11px;
  }
  .popup__container {
    max-width: 500px;
    padding: 20px;
    margin: 30px auto 0;
    font-size: 15px;
  }
}

@media screen and (max-width: 605px) {
  .header {
    padding: 15px 0;
  }
  .menu-items {
    font-size: 18px;
  }
  .burger_box {
    margin-right: 0;
  }
  .main {
    padding: 0 35px 60px;
  }
  .main__wrapper {
    padding-top: 70px;
  }
  .main__text .main__subtitle {
    font-size: 25px;
  }
  .main__title {
    font-size: 45px;
  }
  .animated-button2 {
    font-size: 14px;
  }
  .tab:nth-of-type(8) {
    margin: 0 40px;
  }
  .tab {
    font-size: 13px;
    width: 105px;
    padding: 10px 13px;
  }
  .years {
    width: 45px;
    padding: 12px 14px;
  }
  .years1 {
    font-size: 13px;
    width: 46px;
    padding: 10px 11px;
  }
  .logo {
    display: none;
  }
}
@media screen and (max-width: 505px) {
  .popup__container {
    max-width: 320px;
    margin: 10px auto 0;
    font-size: 14px;
  }
  .popup__title {
    padding-bottom: 10px;
  }
}
@media screen and (max-width: 468px) {
  .main__title {
    font-size: 37px;
  }
  .main__text-section {
    margin: 0 20px;
  }
  .section {
    font-size: 20px;
  }
  .font {
    font-size: 30px;
  }
  .title-sections {
    font-size: 23px;
  }
  .tab {
    margin: 0 20px;
  }
  .tab:first-of-type {
    margin: 0 0 0 20px;
  }
  .content {
    margin: 0 20px;
  }
  .gallery {
    padding: 10px;
  }
  .tab:nth-of-type(8) {
    margin: 0 20px;
  }
  .section-wrapper {
    margin: 0 20px;
  }
}

@media screen and (max-width: 400px) {
  .label {
    padding: 15px;
  }
  .menu-items {
    font-size: 15px;
    margin: 10px 5px 0;
  }
}
@media screen and (max-width: 360px) {
  .main__text {
    font-size: 27px;
  }
  .main__subtitle {
    font-size: 27px;
  }
  .д
  .burger_box {
    margin-right: 10px;
  }
  .menu-icon {
    padding: 5px;
  }
  .main__title {
    font-size: 33px;
  }
  .animated-button2 {
    font-size: 12px;
  }
  .main {
    padding: 0 25px 50px;
  }
  .main__wrapper {
    padding-top: 50px;
  }
  .footer {
    font-size: 13px;
  }
  .container {
    padding: 10px 0 40px;
  }
  .typing-demo-dif {
    font-size: 2em;
  }
  .cards {
    margin: 40px 7px;
    padding: 0;
  }
  .section {
    font-size: 18px;
  }
  .font {
    font-size: 23px;
  }
  .title-sections {
    font-size: 20px;
  }
  .content {
    margin: 0 12px;
  }
  .img-text {
    font-size: 11px;
  }
  .popup__container {
    padding: 10px;
    max-width: 290px;
  }
  .logo_90 {
    width: 70px;
  }
}

@media screen and (max-width: 320px) {
  .header {
    max-width: 320px;
    margin: 0;
  }
  .tab {
    width: 75px;
  }
  a img {
    width: 70px;
    height: 100px;
  }
  .img-title {
    font-size: 11px;
  }
}
