
/*Обнуление*/
*{
	padding: 0;
	margin: 0;
	border: 0;
}
*,*:before,*:after{
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
:focus,:active{outline: none;}
a:focus,a:active{outline: none;}
nav,footer,header,aside{display: block;}
input,button,textarea{font-family:inherit;}
input::-ms-clear{display: none;}
button{cursor: pointer;}
button::-moz-focus-inner {padding:0;border:0;}
a, a:visited{text-decoration: none;}
a {color: inherit;}
a:hover{text-decoration: none;}
ul li{list-style: none;}

body, html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Inter", sans-serif;
    min-width: 360px;
    color: #242424;
}
body::-webkit-scrollbar {
    width: 8px;               /* ширина scrollbar */
}
body::-webkit-scrollbar-track {
    background: #cecece;        /* цвет дорожки */
}
body::-webkit-scrollbar-thumb {
    background-color: grey;    /* цвет плашки */
    border-radius: 50px;       /* закругления плашки */
    border: 0px solid grey;  /* padding вокруг плашки */
}
.allwrapper {
    max-width: 1460px;
    padding: 0 30px;
    margin: auto;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 10px 0;
    box-shadow: 0 0 5px #424242;
    background-color: #fff;
    z-index: 100;
}
.back_nav {
    width: 100%;
    height: 70px;
}
.wrapper__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav__elem:first-child > img {
    width: 300px;
}
.nav__elem:nth-child(2)  {
    display: flex;
    font-size: 18px;
    font-weight: 600;
}
.nav__elem:nth-child(2) p {
    margin-left: 30px;
    padding: 10px 0px;
}
.nav__elem:nth-child(2) > p {
    background-color: #FFAD1D;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}
.nav__elem:nth-child(2) > p:hover {
    color: #5c5c5c;
    box-shadow: 0 0 5px #FFAD1D;
    transition: .3s;
}
.nav__elem a p {
    position: relative;
}
.nav__elem a p:after {
	content: "";
    display: block;
    position: absolute;
    right: 0;
    bottom: 0px;
    width: 0;
    height: 2px; /* Высота линии */
    background-color: transparent; /* Цвет подчеркивания при исчезании линии*/
    transition: width 0.5s; /* Время эффекта */
}

.nav__elem a p:hover:after {
	content: "";
    width: 100%;
    display: block;
    position: absolute;
    left: 0;
    bottom: 8px;
    height: 2px; /* Высота линии */
    background-color: #FFAD1D; /* Цвет подчеркивания при появлении линии*/
    transition: width 0.5s;  /* Время эффекта */
}
.nav__elem:nth-child(3) {
    display: none;
}
.modal_nav {
    display: none;
}
@media (max-width:990px) {
    .back_nav {
        width: 100%;
        height: 65px;
    }
    .allwrapper {
        width: 100%;
        padding: 0 16px;
        margin: auto;
    }
    .nav__elem:nth-child(2) {
        display: none;
    }
    .nav__elem:nth-child(3) {
        display: block
    }
    .nav__elem:first-child > img {
        width: 200px;
    }

    .hamburger .line{
        width: 40px;
        height: 4px;
        background-color: #424242;
        display: block;
        margin: 9px auto;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        margin-left: 15px;
      }
      .hamburger:hover{
        cursor: pointer;
      }
      
      /* ONE */
      
      #hamburger-1.is-active .line:nth-child(2){
        opacity: 0;
      }
      #hamburger-1.is-active {
        transform: scale(.9);
      }
      #hamburger-1.is-active .line:nth-child(1){
        -webkit-transform: translateY(13px) rotate(45deg);
        -ms-transform: translateY(13px) rotate(45deg);
        -o-transform: translateY(13px) rotate(45deg);
        transform: translateY(13px) rotate(45deg);
        width: 40px;
      }
      
      #hamburger-1.is-active .line:nth-child(3){
        -webkit-transform: translateY(-13px) rotate(-45deg);
        -ms-transform: translateY(-13px) rotate(-45deg);
        -o-transform: translateY(-13px) rotate(-45deg);
        transform: translateY(-13px) rotate(-45deg);
        width: 40px;
      }
    .modal_nav {
        display: block;
        position: fixed;
        top: 65px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        padding: 100px 30px;
        background-color: #fff;
    }
    .modal_nav.active {
        left: 0;
        transition: .3s;
    }
    .modal_nav a {
        display: block;
        font-size: 22px;
        margin-top: 20px;
    }
    .modal_nav > p {
        font-size: 22px;
        margin-top: 20px;
        width: 250px;
        margin: 50px 0;
        text-align: center;
        padding: 10px;
        background-color: #FFAD1D;
        border-radius: 5px;
    }
}

footer {
    background-color: #000;
    padding: 100px 0;
}
.wrapper__footer {
    display: flex;
    justify-content: space-between;
}
.footer__block {
    width: 30%;
}
.footer__block:first-child img {
    width: 80%;
    margin-bottom: 30px;
}
.footer__block:first-child p {
    width: 80%;
    color: #9D9D9D;
    font-size: 14px;
}
.footer__block:nth-child(2) {
    padding-top: 15px;
}
h3 {
    font-size: 24px;
    color: #fff;
}
.footer__block > .decor_line {
    width: 50px;
    margin-bottom: 30px;
}
.footer__block:nth-child(2) a {
    color: #9D9D9D;
    display: block;
    margin: 0 0 15px;
}
.footer__block:nth-child(2) a:hover {
    color: #fff;
}
.footer__elem {
    display: flex;
    margin-bottom: 15px;
}
.footer__elem img {
    display: block;
}
.footer__elem img {
    width: 20px;
}
.footer__elem p {
    margin: 0 10px;
    color: #fff;
}
.footer__elem article {
    color: #9D9D9D;
}

@media (max-width:990px) {
    footer {
        background-color: #000;
        padding: 30px 0;
    }
    .wrapper__footer {
        display: block;
    }
    .footer__block {
        width: 100%;
        max-width: 500px;
        margin-bottom: 30px;
    }
}