/* Font */
@font-face{
	font-family: 'Bahnschrift'; 
	src: url(../font/bahnschrift.woff2); 
}

/* Reset */
*{
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* Global */
:root{
    --green: #459d47;
    --dark-green: #2a602c;
  }

*{
    font-family: 'Bahnschrift';
}

.section{
    display: flex;
    align-items: center;
    justify-content: center;
}

h2{
    margin-bottom: 50px;
  }
  
  p{
    margin-bottom: 25px;
  }
  
  .link{
      text-decoration: none;
      color: white;
  }
  
  .link:hover{
      color: darkgreen;
      text-shadow: 1px 1px 1px black;
  }
  
  .link:active{
      color: darkgreen;
      text-shadow: 1px 1px 1px black;
  }
  
  .title{
      font-size: calc(1.5em + 10px);
  }
  
  .title-big{
      display: flex;
      justify-content: center;
      margin-bottom: 10px;
      font-size: 65px;
  }
  
  .white{
      color: white;
      text-shadow: 1px 1px 1px black;
  }
  
  .red{
      color: red;
      text-shadow: 1px 1px 1px black;
  }
  
  .green{
      color: darkgreen;
  }

.container{
    width: 1200px;
    height: 90%;
    padding: 100px 0;
}

.text{
    text-shadow: 2px 2px 2px lightgrey;
}

/* Menu */
.menu__section{
    width: 100%;
    position: fixed;
    height: 100px;
    z-index: 5;
    background: var(--green);
    overflow: revert;
  }
  
  .container__menu{
    padding: 200px;
    width: 100%;
  }
  
  .menu__container{
    padding: 0 150px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
  }
  
  #nav__btn{
    display: none;
  }
  
  .fixed{
    position: fixed;
    width: 100%;
  }
  
  .exit-btn{
    display: none;
  }
  
  .logo__img{
    height: 68px;
    width: 115px;
    -o-object-fit: cover;
    object-fit: cover;
  }
  
  .menu{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
  
  .menu__link{
    position: relative;
    margin-left: 20px;
    text-decoration: none;
    font-size: 20px;
  }
  
  .menu__link:focus-visible{
    border: 0;
    outline: none;
  }
  
  .menu__link:after{
    position: absolute;
    content: "";
    top: -4px;
    bottom: -1px;
    left: -4px;
    right: -4px;
    border-radius: 3px;
    z-index: -1;
    -webkit-transition: 0.2s ease background-color;
    -o-transition: 0.2s ease background-color;
    transition: 0.2s ease background-color;
  }
  
  .menu__link:hover{
    color: var(--dark-green);
    -webkit-transition: 0.2s ease color;
    -o-transition: 0.2s ease color;
    transition: 0.2s ease color;
  }
  
  .menu__link:active{
    color: var(--dark-green);
    -webkit-transition: 0.2s ease color;
    -o-transition: 0.2s ease color;
    transition: 0.2s ease color;
  }
  
  .menu__link:focus-visible::after{
    background-color: var(--dark-green);
    -webkit-transition: 0.2s ease background-color;
    -o-transition: 0.2s ease background-color;
    transition: 0.2s ease background-color;
  }
  
  .menu__link:active::after{
    background-color: transparent;
    color: var(--dark-green);
  }
  
  .menu__link:first-child{
    margin-left: 0;
  }

/* Call */
.section__call{
    background: url(../media/background_big.webp);
    background-size: cover;
    background-position: center center;
}

.container__call{
    height: 100vh;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
}

.text__call{
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.btn__call{
    background: green;
    border: 0;
    border-radius: 4px;
    padding: 15px 30px;
    font-size: 20px;
    margin: 0 auto;
}

.btn__call:hover{
    background: darkgreen;
    border: 0;
    border-radius: 4px;
    padding: 15px 30px;
    font-size: 20px;
}

.btn__call:active{
    background: darkgreen;
    border: 0;
    border-radius: 4px;
    padding: 15px 30px;
    font-size: 20px;
}

/* About */
.container__about{
    justify-content: space-evenly;
    margin: 0 auto;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Production */
.section__production{
    background: url(../media/wood_big.webp);
    background-size: cover;
    background-position: center center;
}

.container__production{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.img{
    width: 80px;
}

.cards__production{
    display: flex;
    justify-content: space-between;
}

.card__production{
    width: 30%;
    height: 200px;
    background: #000000a1;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    display: flex;
}

.span__production{
    font-size: 20px;
    font-weight: bold;
}

/* Advantages */
.section__advantages{
    background: green;
}

.container__advantages{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cards__advantages{
    width: 75%;
    justify-content: space-between;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cards-line{
    display: flex;
    justify-content: space-between;
}

.cards-line:first-child{
    margin-bottom: 50px;
}

.card__advantages{
    width: 20%;
    padding: 10px 20px;
    justify-content: space-around;
    background: white;
    border-radius: 4px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
}

.number{
    height: 30%;
    font-size: 25px;
}

.text__advantages{
    height: 50%;
    font-size: calc(1em - 1px);

}

/* Specification */
.container__specification{
    width: 75%;
    height: 100%;
    justify-content: space-evenly;
}

.specification-blocks {
    width: 1200px;
    margin: 0 auto;
}

.specification-block{
    display: flex;
    justify-content: space-between;
    line-height: 25px;
    font-weight: 900;
}

.line{
    height: 2px;
    background: green;
    margin: 30px 0;
}

.span__specification{
    font-size: calc(1em + 5px);
}

.buttons{
    display: flex;
    justify-content: end;
}

.btn-order{
    margin: 0;
    padding: 10px 20px;
    background: white;
    border: 2px solid green;
    border-radius: 4px;
    font-size: calc(1em + 4px);
    color: green;
    font-weight: bold;
    margin-right: 10px;
    margin-top: 50px;
}

.btn-order:hover{
    margin: 0;
    padding: 10px 20px;
    background: darkgreen;
    border: 2px solid darkgreen;
    border-radius: 4px;
    font-size: calc(1em + 4px);
    color: white;
    font-weight: bold;
    margin-right: 10px;
    margin-top: 50px;
}

.btn-order:active{
    margin: 0;
    padding: 10px 20px;
    background: darkgreen;
    border: 2px solid darkgreen;
    border-radius: 4px;
    font-size: calc(1em + 4px);
    color: white;
    font-weight: bold;
    margin-right: 10px;
    margin-top: 50px;
}

.btn-download{
    margin: 0;
    width: 130px;
    height: 48px;
    background: green;
    border: 2px solid green;
    border-radius: 4px;
    font-size: calc(1em + 4px);
    color: white;
    font-weight: bold;
    margin-top: 50px;
}

.btn-download:hover{
    margin: 0;
    width: 130px;
    height: 48px;
    background: darkgreen;
    border: 2px solid darkgreen;
    border-radius: 4px;
    font-size: calc(1em + 4px);
    color: white;
    font-weight: bold;
    margin-top: 50px;
}

.btn-download:active{
    margin: 0;
    width: 130px;
    height: 48px;
    background: darkgreen;
    border: 2px solid darkgreen;
    border-radius: 4px;
    font-size: calc(1em + 4px);
    color: white;
    font-weight: bold;
    margin-top: 50px;
}

/* Footer */
footer{
    height: 50vh;
    background: url(../media/wood.jpg);
    background-size: 50% 100%;
}

.background{
    width: calc(50% - 5px);
    height: calc(100% - 10px);
    background: white;
    margin-left: 5px;
    margin-top: 5px;
    display: inline-block;
}

.container__footer {
    width: 1200px;
    height: 100%;
    margin: calc(-50vh - 5px) auto;
    display: flex;
    justify-content: space-between;
}

.price{
    width: 50%;
    justify-content: space-evenly;
    padding: 50px 0;
    display: flex;
    flex-direction: column;
}

.title__footer{
    margin-bottom: 25px;
}

.list{
    margin-left: 20px;
}

.contacts{
    width: 50%;
    justify-content: space-evenly;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
}

.city{
    line-height: 30px;
    margin-bottom: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.undertitle{
    margin-bottom: 10px;
}

/* Media */
@media(max-width: 1280px){
    /* Global */
    .container{
        width: 1100px;
    }
    /* Menu */
    .menu__container{
        padding: 0 50px;
    }

    /* Footer */
    .container__footer{
        width: 1100px;
    }
}

@media(max-width: 1150px){
    /* Global */
    .container{
        width: 1000px;
    }
    /* Menu */
    .menu__link{
        font-size: 15px;
    }

    /* Advantages */
    .card__advantages{
        padding: 10px;
    }

    .text__advantages{
        font-size: calc(1em - 3px);
    }

    /* Footer */
    .container__footer{
        width: 1000px;
    }
}

@media(max-width: 1024px){
    /* Global */
    .container{
        width: 750px;
    }

    .title-big{
        font-size: 50px;
    }

    /* Menu */
    .menu__container{
        flex-direction: column;
    }
    .menu{
        margin-bottom: 10px;
    }

    /* Advantages */
    .text__advantages {
        font-size: calc(1em - 7px);
        margin-bottom: 10px;
    }

    /* Footer */
    .container__footer{
        width: 750px;
    }
}

@media(max-width: 768px){
    /* Global */
    .container{
        width: 550px;
    }

    .title-big{
        font-size: 40px;
    }

    /* Menu */
    .container__menu{
        height: 68px;
    }

    .menu{
        display: none;
    }

    /* Production */
    .cards__production {
        flex-direction: column;
    }

    .card__production {
        width: auto;
        margin-bottom: 50px;
    }

    /* Footer */
    .container__footer{
        width: 550px;
    }
}

@media(max-width: 576px){
    /* Global */
    .container{
        width: 300px;
    }

    .title-big{
        font-size: 20px;
    }

    /* Call */
    .text__call{
        font-size: 15px;
    }

    /* Advantages */
    .cards-line{
        flex-direction: column;
    }

    .cards-line:first-child{
        margin-bottom: 0;
    }

    .card__advantages {
        width: auto;
        margin-bottom: 10px;
    }

     /* Specification */
     .span__specification {
        font-size: 1em;
    }

    .line{
        margin: 10px 0;
    }

    /* Footer */
    footer{
        height: 100vh;
        background-size: 100% 50%;
    }

    .background{
        width: calc(100% - 10px);
        height: calc(50% - 5px);
    }

    .container__footer{
        width: 300px;
        flex-direction: column;
    }

    .price{
        width: auto;
        padding: 40px 0;
    }
    .contacts{
        width: auto;
        padding: 30px 0;
    }
}