@import "animations.css";

/* ГЛОБАЛЬНОЕ */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --green: #459d47;
  --dark-green: #2a602c;
  --red: #cd272e;
}

body {
  height: 100vh;
  font-family: 'Bahnschrift';
}

::-webkit-scrollbar {
  display: none;
}

.main-page__content_description {
  margin-top: 40px;
  width: 600px;
  text-align: center;
  font-weight: 400;
}

.type_btn:hover {
  background-color: #2a602c;
  border-color: #2a602c;
}

/* HEADER */
header {
  display: flex;
}

.header {
  display: flex;
  position: fixed;
  width: 100%;
  font-family: 'Bahnschrift';
  text-align: right;
  align-items: center;
  height: 100px;
  z-index: 2;
  background-color: var(--green);
} 

.anime-left {
  animation: Left 1s alternate;   
}

.anime-right {
  animation: Right 1s alternate;   
}

.anime-up {
  animation: Up 1s alternate;
}

.alternate-aos-up {
  animation: alternate-aos-up 0.5s forwards;
}

.alternate-aos-left {
  animation: alternate-aos-left 0.5s forwards;
}

.alternate-aos-scale {
  animation: alternate-aos-scale 0.5s forwards;
}

.alternate-aos-right {
  animation: alternate-aos-right 0.5s forwards;
}

.transparent-block__logo2 {
  opacity: 0;
  margin-bottom: 40px;
}

.transparent-block__title {
  opacity: 0;
  font-size: 40px;
  margin-bottom: 40px;
}

.transparent-block__description {
  opacity: 0;
  width: 50%;
  font-size: 18px;
  margin-bottom: 20px;
}

.transparent-block {
  color: white;
  padding: 200px 100px;
  background-color: transparent;
  min-height: 100vh;
}

.transparent-block__content-blocks {
  min-width: 100%;
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
}

.transparent-block__block {
  opacity: 0;
  padding: 40px;
  width: 31%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
}

.transparent-block__image {
  width: 100px;
  height: 100px;
}

.transparent-block__block_logo {
  margin-bottom: 20px;
}

.transparent-block__block_title {
  font-size: 25px;
  font-weight: 400;
}

.specification-products {
  padding: 200px 100px;
}

.specifications__content-block, .specifications__title, .specifications__group-btns {
  opacity: 0;
}

.specification-products__title {
  font-size: 40px;
  max-width: 1100px;
  text-align: center;
  margin: 0 auto;
  color: white;
}

.specification-products__blocks {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 40px;
}

.specification-products__blocks_block {
  width: 23%;
  min-height: 200px;
  background-color: white;
  padding: 20px;
  margin-bottom: 40px;
  border-radius: 5px;
  opacity: 0;
}

.specification-products__blocks-num {
  font-size: 35px;
  color: #2a602c;
}

.specifivation-products__blocks_block-description {
  margin-top: 20px;
  color: black;
  font-size: 18px;
  line-height: 30px;
}

.specifications__title, .specifications__content-block_name {
  color: #2a602c;
}

.specifications {
  padding: 200px 100px;
}

.specifications__content-block {
  border-bottom: 1px solid var(--dark-green);
  display: flex;
  justify-content: space-between;
  padding: 30px 0px;
  font-size: 25px;
}

.specifications__title, .title {
  font-size: 40px;
}

.specifications__content-block_description {
  text-align: right;
}

.specifications__content-block:last-child {
  border-bottom: 0px;
}

.specifications__group-btns {
  display: flex;
  justify-content: flex-end;
}

#order {
  margin-right: 10px;
  background-color: white;
  color: green
}

#order:hover {
  background-color: var(--dark-green);
  color: white
}

#download, .contacts-price__right-block{
  color: white;
}

.contacts-price__right-block {
  min-width: 50%;
  padding: 95px 70px 95px 95px;
}

a {
  color: white;
  text-decoration: none;
}

.contacts-price__right-block_subtitle {
  font-size: 25px;
  font-weight: 400;
  margin: 40px 0px;
}

.font-mini {
  font-size: 18px;
}

.contacts-price__left-block_description {
  margin-bottom: 20px;
}

.contacts-price__left-block {
  margin: 5px 0px 5px 5px;
  padding: 95px 70px 95px 95px;
  background-color: white;
}

.contacts-price__right-block_adres {
  margin-top: 8px;
  margin-bottom: 20px;
}

ol {
  margin-left: 15px;
}

.title {
  margin-bottom: 40px;
  font-size: 40px;
}

.contacts-price__left-block > *, .contacts-price__right-block > * {
  opacity: 0;
}

#nav__btn {
  display: none;
}

.header__content_logo {
  margin-left: 100px;
  width: 115px;
  height: 68px;
}

.header__content {
  width: 100%;
  margin-right: 100px;
}

.header__content_link {
  font-family: 'Bahnschrift';
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-size: 20px;
}

.header__content_link:hover {
  color: #2a602c;
}

.type_btn {
  text-decoration: none;
  background-color: var(--green);
  padding: 8px 18px;
  border-radius: 5px;
  font-size: 25px;
  border: 2px solid var(--green);
}

.main-page__content_btn {
  margin-top: 40px;
  color: white;
}

.about-company {
  padding: 200px 100px;
  text-align: center;
}

.about-company__description {
  font-size: 18px;
}

.about-company__title {
  opacity: 0;
  font-size: 40px;
}

.about-company__description_text {
  opacity: 0;
  margin-top: 20px;
}

/* СТРАНИЦЫ */

.low_background {
  filter: brightness(70%);
  width: 100%;
  height: 100%;
  background-image: url('../img/wood_big.jpg');
  background-size: cover;
  background-position: center center;
  z-index: -5;
  position: fixed;
}

.scrolling_pages {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  position: fixed;
}

.scrolling_pages > *:not(:last-child) {  
  background-size: cover;
  background-position: center center;
}

.main-page {
  width: 100%;
  height: 100%;
}

.main-page {
  display: flex;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}

.main-page__background {
  animation: AnimeBackground 5s infinite alternate;
  z-index: -1;
  position: absolute;
  filter: brightness(80%)
}

.about-company, .specifications {
  background-color: white;
}

.specification-products {
  background-color: #459d47;
}

.contacts-price {
  width: 100%;
  height: 100%;
  display: flex;
  background-size: 50% 100%;
  background-repeat: repeat-x;
  background-image: url('../img/wood.jpg');
}

/* МЕДИАЗАПРОСЫ */
@media (min-width: 1400px) {  
  header {
    height: 100px;
    background-color: var(--green);
  }

  .header {
    z-index: 10;
    width: 20%;
  }

  .main-page__content_title {
    font-size: 100px;
  }

  .header__content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 5;
  }

  .main-page__content_description {
    font-size: 33px;
  }

  .header__content_logo {
    position: fixed;
    z-index: 10;
  }
}

@media (max-width: 1400px) {
  .header__content {
    display: flex;
    text-align: center;
    align-self: flex-end;
    justify-content: center;
    padding-bottom: 20px;
  }

  header {
    width: 100%;
    position: absolute;
    z-index: 1;
    height: 150px;
    background-color: var(--green);
  }

  .main-page__content_title {
    font-size: 100px;
  }

  .header {
    justify-content: center;
    text-align: center;
  }

  .low_background {
    padding-top: 150px;  
  }

  .header__content, .header__content_logo {
    margin: 0;
  }

  .main-page {
    margin-top: 150px;
  }

  .main-page__content_description {
    font-size: 33px;
  }
}

/* начало бургера 1150px */
@media (max-width: 1150px) {
  .specification-products__blocks-num { 
    font-size: 30px;
  }
  .specifivation-products__blocks_block-description {
    font-size: 16px;
  }
  .transparent-block, .specification-products, .about-company, .specifications, .contacts-price > * {
    padding: 150px 75px;
  }
  .transparent-block__block {
    padding: 30px;
  }
  .transparent-block__image {
    width: 80px;
    height: 80px;
  }
  .transparent-block__block_title {
    font-size: 20px;
  }
  .transparent-block__description {
    width: 75%;
  }
  .about-company__title, .transparent-block__title, .specification-products__title, .specifications__title, .title {
    font-size: 35px;
  }

  .about-company__description, .transparent-block__description, .specifications__content-block, .font-mini {
    font-size: 16px;
  }

  .header {
    height: 100px;
  }

  .main-page__content_title {
    font-size: 80px;
  }
/* ВЫПАДАЮЩЕЕ МЕНЮ */
  header {
    width: 100%;
    height: 10px;
    position: absolute;
    z-index: 1;
    background-color: transparent;
  }

  .nav_cross {
    width: 40px;
    height: 40px;
    margin-top: 30px;
    margin-left: 35px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .header__content_cross::after, .header__content_cross::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 4px;
    background-color: white;
  }

  .header__content_cross::after {
    transform: rotate(45deg);
  }

  .header__content_cross::before {
    transform: rotate(-45deg);
  }

  .header__content {
    display: none;
    width: 400px;
    position: fixed;
    height: 100%;
    background-color: var(--green);
    z-index: 2;
  }

  .header__content.open {
    animation: AnimeMenu 0.5s alternate;
  }

  .header__content.close {
    animation: AnimeMenuR 0.5s alternate;
  }
  
  #nav__btn {
    transform: translate(50px, 0px); 
    display: inline-block;
    position: absolute;
    width: 36px;
    height: 27px;
    left: 0;
    background: url('../img/burger.svg');
    border: 0;
  }

  .header__content_logo {
    transform: translate(-50px, 0px);
    margin-left: auto;
    order: 1;
    width: 98px;
    height: 58px;
  }

  .header__content_link {
    display: flex;
    margin-top: 20px;
    margin-left: 80px;
  }

  .header__content_link:first-child {
    margin-top: 50px;
  }

  .low_background {
    padding-top: 100px;  
  }

  .main-page {
    width: 100%;
    height: 100%;
    margin-top: 0px;
  }

  .main-page__content_description {
    width: 505px;
    font-size: 28px;
  }

  .type_btn {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .contacts-price {
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }
  .subtitle {
    font-size: 16px;
    margin-top: 22px;
    margin-bottom: 20px;
  }
  .title {
    font-size: 25px;
    margin-top: 22px;
    margin-bottom: 20px;
  }
  .contacts-price > * {
    width: 100%;
    padding: 45px 45px 45px 35px;
  }
  .contacts-price__left-block {
    margin: 5px 5px 0px 5px;
  }
  .specification-products__blocks_block {
    width: 46%;
    min-height: auto;
  }
  .specifivation-products__blocks_block-description {
    margin-top: 10px;
    line-height: 24px;
  }
  .specification-products__blocks-num { 
    font-size: 28px;
  }
  .specifivation-products__blocks_block-description {
    font-size: 16px;
  }
  .transparent-block__description {
    width: 100%;
  }
  .about-company__title, .transparent-block__title, .specification-products__title, .specifications__title {
    font-size: 30px;
  }
  .about-company, .transparent-block, .specification-products, .specifications {
    padding: 125px 50px;
  }
  .header {
    height: 80px;
  }
  .header__content_logo {
    width: 85px;
    height: 50px;
  }

  .low_background, .scroll {
    padding-top: 80px;  
  }

  .main-page__content_title {
    font-size: 60px;
  }

  .main-page__content_description {
    width: 400px;
    font-size: 22px;
  }

  .type_btn {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .specification-products__blocks_block {
    padding: 15px;
    width: 47%;
    margin-bottom: 30px;
  }
  .transparent-block__content-blocks {
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .transparent-block__block {
    padding: 20px;
    width: 48%;
    margin-bottom: 20px;
  }
  .transparent-block__image {
    width: 60px;
    height: 60px;
  }
  .transparent-block__block_title {
    font-size: 16px;
  }
  .about-company, .transparent-block, .specification-products, .specifications, .contacts-price > * {
    padding: 75px 25px;
  }
  .about-company__title, .transparent-block__title, .specification-products__title, .specification-products__blocks-num, .specifications__title, .title {
    font-size: 25px;
  }
  .about-company__description, .transparent-block__description, .specifivation-products__blocks_block-description, .font-mini {
    font-size: 14px;
  }
  #nav__btn {
    width: 25px;
    height: 18px;
    background: url('../img/burger_small.svg');
  }

  .low_background, .scroll {
    padding-top: 60px;  
  }

  .header__content {
    width: 100%;
  }

  .nav_cross {
    width: 30px;
    height: 30px;
    margin-top: 15px;
  }

  .header__content_link {
    margin-left: 60px;
  }

  .header__content_cross::after, .header__content_cross::before {
    width: 30px;
    height: 2px;
  }

  header, .header {
    height: 60px;
  }

  .main-page__content_title {
    font-size: 40px;
  }

  .main-page__content_description {
    width: 300px;
    font-size: 16px;
  }

  .type_btn {
    font-size: 16px;
    padding: 7px 10px;
  }

  .specifications__content-block {
    flex-wrap: wrap;
    padding: 20px 0px;
  }
  .specifications__content-block_name {
    margin-bottom: 20px;
  }
  .specifications__content-block_description {
    text-align: left;
    min-width: 100%;
  }
}

@media (max-width: 320px) {
  .type_btn {
    font-size: 14px;
  }
  .specification-products__blocks_block {
    padding: 15px;
    width: 100%;
    margin-bottom: 15px;
  }
  .transparent-block__block {
    width: 100%;
    padding: 20px;
  }
  .about-company, .transparent-block, .specification-products, .contacts-price > * {
    padding: 30px 15px;
  }
  #nav__btn {
    transform: translate(25px, 0px);
  }

  .header__content_logo {
    transform: translate(-25px, 0px);
  }

}
/* КОНТЕНТ */
#red {
  color: var(--red);
}

#white {
  color: #FFF;
}

.main-page {
  text-align: center;
}

.container-center {
  justify-content: center;
  display: flex;
}