@keyframes sweep {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes order-button {
    form,
    to {
        box-shadow: 0px 0px 10px #6969696c;
    }
    50% {
        box-shadow: 0px 0px 10px 5px #6969696c;
    }
}

@font-face {
    font-family: 'Montserrat-Regular';
    src: url(/Action_service/css/fonts/NouvelR-Regular.ttf);
}

@font-face {
    font-family: 'Montserrat-Light';
    src: url(/Action_service/css/fonts/NouvelR-Light.ttf);
}

@font-face {
    font-family: 'Montserrat-Bold';
    src: url(/Action_service/css/fonts/NouvelR-Bold.ttf);
}

body {
    background: #212020;
}

header.main {
    display: none;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat-Bold';
    color: #fff;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    font-family: 'Montserrat-Regular';
    background-color: #212020;
}

main.Blure {
    filter: blur(5px);
}

main section,
nav.nano-menu {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 50px 0;
    justify-content: center;
    align-items: center;
}

span.nano-line {
    width: 100%;
    height: 3px;
    display: block;
    background: linear-gradient(269deg, #00000000 20%, #efdf00 50%, #00000000 80%);
}

section.nano-banner {
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    background-color: #000000;
    padding: 0;
    height: 70vh;
}

section.nano-banner video {
    position: relative;
}

section.nano-banner h1 {
    font-size: 50px;
    text-align: right;
    position: absolute;
    right: 5%;
    top: 5%;
    width: 30%;
    background-color: #00000061;
    color: #fff;
    padding: 20px 40px 20px 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Montserrat-Bold';
}

section.nano-banner h1 b {
    color: #ed6b21;
    font-family: 'Montserrat-Bold';
}

section.nano-banner img {
    max-width: 5%;
    position: absolute;
    top: 5%;
    left: 5%;
}

nav.nano-menu {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    padding: 50px 0;
    flex-wrap: nowrap;
    background: linear-gradient(to top, #212020 55%, #00000000 100%);
    /* background: linear-gradient(0deg, #00000000 0%, #212020 42%, #00000000 100%); */
    position: relative;
}

nav.nano-menu a {
    text-decoration: none;
    color: #fff;
    margin: 0 30px;
    cursor: pointer;
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 18px;
    transition: .5s;
    position: relative;
}

nav.nano-menu a:hover>img {
    transform: scale(1.1);
    transition: .5s;
}

nav.nano-menu a img,
section.nano-hendlex div.hendlex img {
    max-width: 100%;
    transition: .5s;
}

nav.nano-menu a span {
    position: absolute;
    width: 100%;
    font-size: 27px;
    transition: 1s;
}

img#topline {
    position: absolute;
    width: 100%;
    bottom: -1px;
}

img#topline_black {
    position: absolute;
    width: 100%;
    top: -1px;
}

section.nano-advantages {
    position: relative;
    padding: 50px 0;
    background-color: #000000;
}

.nano-advantages h2{
    color: #ed6b21;
    text-align: center;
}

section.nano-advantages h3 {
    font-size: 40px;
    color: #ed6b21;
}

section.nano-advantages ul {
    font-size: 25px;
}

section.nano-advantages ul li {
    color: #fff;
    margin-bottom: 30px;
}

section.nano-advantages ul li::marker {
    color: #ed6b21;
}

section.nano-video,
section.nano-video .video {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: stretch;
    align-self: center;
}

section.nano-video .video {
    width: 70%;
    flex-wrap: wrap;
}

section.nano-video .video div {
    width: 30%;
    margin: 1%;
}

section.nano-video .video h3 {
    font-family: "NouvelR-Regular";
}

section.nano-video .video video {
    width: 100%;
}

section.nano-hendlex {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
    position: relative;
    flex-wrap: wrap;
    /* background-color: #212020; */
    padding-bottom: 100px;
}

section.nano-hendlex h1 {
    width: 100%;
    text-align: center;
    font-size: 35px;
    text-transform: uppercase;
    color: #ed6b21;
}

section.nano-hendlex div.hendlex,
section.nano-hendlex div.hover {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: center;
    width: 20%;
    cursor: pointer;
    padding: 20px;
    position: relative;
}

section.nano-hendlex div.hendlex.open {
    position: fixed;
    top: 10%;
    z-index: 99;
    width: 80%;
    transition: 0.5s;
}

section.nano-hendlex div.hover {
    width: 100%;
    visibility: hidden;
    position: absolute;
    opacity: 0;
    background-color: #212020;
    z-index: 9;
}

section.nano-hendlex div.hendlex:hover div.hover,
section.nano-hendlex div.hendlex.open div.hover {
    box-shadow: 0px 0px 10px #585858;
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
}

section.nano-hendlex div.hendlex.open div.hover {
    flex-direction: row;
    flex-wrap: wrap;
}

section.nano-hendlex div.hendlex.open span {
    display: none;
}

section.nano-hendlex div.hendlex>img {
    opacity: 1;
    transition: .5s;
}

section.nano-hendlex div.hendlex:hover>img,
section.nano-hendlex div.hendlex.open>img {
    opacity: 0;
    transition: .5s;
}

div.hendlex.open div.nano-hover-name {
    width: 30%;
}

section.nano-hendlex div.hendlex h3 {
    text-align: center;
    font-family: 'NouvelR-Regular';
    font-size: 18px;
}

section.nano-hendlex div.hendlex.open>h3 {
    display: none;
}

section.nano-hendlex div.hover span {
    color: #e3fd00;
    text-transform: uppercase;
}

section.nano-hendlex div.options-hendlex p {
    color: #fff;
    text-align: justify;
    font-size: 20px;
    margin: 20px 0;
}

div.options-hendlex {
    display: none;
}

div.hendlex.open div.options-hendlex {
    display: flex;
    width: 60%;
    flex-direction: column;
}

div.options-hendlex ul {
    color: #fff;
    font-size: 18px;
    line-height: 2;
}

section.nano-cars-block {
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    width: 100%;
    flex-direction: row;
    background-color: #000000;
}

section.nano-cars-block h1 {
    font-size: 35px;
    text-align: center;
    width: 100%;
    color: #fff;
    text-transform: uppercase;
}

div.car-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 35%;
    margin-top: 50px;
    margin-right: 50px;
}

div.car-image p.background {
    background: linear-gradient(0deg, #444444, #a7a7a700);
    width: 70%;
    padding: 30% 5%;
    margin: auto;
    border-radius: 20px;
    position: absolute;
}

div.car-image img {
    width: 100%;
    position: relative;
    transition: 1s;
}

div.nano-choice {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    width: 30%;
}

div.nano-choice h2 {
    color: #ed6b21;
    text-transform: uppercase;
}

div.nano-choice select,
div.nano-choice button,
div.nano-choice input{
    margin: 10px 0;
    padding: 15px;
    background: #212020;
    color: #ed6b21;
    border: 1px solid;
    font-size: 18px;
    cursor: pointer;
}

div.nano-choice h2.type,
div.nano-choice select#nano-type,
div.nano-choice button,
div.nano-choice input#your_choice {
    visibility: hidden;
    transition: 1s;
    opacity: 0;
    position: absolute;
}

div.nano-choice h2.type 

div.nano-choice button {
    position: relative;
}

div.nano-choice h2.type.active,
div.nano-choice select.active#nano-type,
div.nano-choice button.active,
div.nano-choice input.active#your_choice {
    visibility: visible;
    transition: 1s;
    opacity: 1;
    position: relative;
}

div.nano-choice h2.type,
div.nano-choice h2.type.active,
div.nano-choice input#your_choice {
    transition: none !important;
}

.nano-price div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    transition: .5s;
}

div.nano-price input {
    margin: 0 2%;
    width: 5% !important;
    display: inline-block;
}

.nano-price label {
    color: #fff;
    font-size: 15px;
    width: 95%;
}

div.nano-choice button,
.discount-form button {
    background-color: #ed6b21;
    border: none;
    text-transform: uppercase;
    font-weight: bold;
    color: #000;
}
.discount-form button {
    width: auto !important;
    text-transform: uppercase;
    border-radius: 10px;
    font-size: 16px;    
}


form#nanoform button[type="submit"]:hover,
.discount-form button:hover {
    background-color: #ffdc4e;
    transition: 0.5s;
}

section.nano-from-order, 
.discount-form{
    position: fixed;
    height: 100vh;
    width: 100%;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    align-self: center;
    display: none;
}

section.nano-from-order.active,
.discount-form.active {
    display: flex;
}

form#nanoform,
.discount-form form {
    display: flex;
    position: relative;
    flex-direction: column;
    width: 400px !important;
    justify-content: center;
    align-items: center;
    margin: 0;
    background-color: #fff;
    padding: 20px 20px 10px 20px;
    border-radius: 35px;
    box-shadow: 1px 2px 20px 3px #000;
}

form#nanoform>#model,
form#nanoform>#type,
form#nanoform>#nanoChoice {
    display: none;
}

ul.name-choice {
    padding-left: 20px;
    font-size: 12px;
}

a.button-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background-color: #ed6b21;
    height: 30px;
    width: 30px;
    font-size: 20px;
    border-radius: 100%;
    text-align: center;
    padding: 0;
    margin: 0;
    transform: rotate(45deg);
    cursor: pointer;
}

form#nanoform div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: flex-start;
    margin-left: 30px;
}

form#nanoform div.nano-price.active div {
    margin: 0;
}

form#nanoform div.nano-price.active div div {
    flex-direction: row;
}

form#nanoform div.nano-price.active label {
    color: #000;
    font-size: 13px;
}

form#nanoform span {
    margin: 10px 0;
}

span.name-model-car,
span.price {
    font-size: 20px;
    font-weight: bold;
}

form#nanoform span.price {
    color: green;
}

input#theme,
input#nano {
    display: none;
}

input#phone,
input#model,
select#model-car-order,
select#nano-type-order,
input#your_choice-order,
.discount-form input {
    border: none;
    border-radius: 10px;
    background-color: #ececec;
    color: #000;
    width: 90%;
    font-weight: bold;
    outline:none;
}

.yellowButton {
    background-color: #ed6b21;
    border: none;
    text-transform: uppercase;
    font-weight: bold;
    color: #000;
    padding: 15px;
    font-size: 18px;
}

@media screen and (min-width:1200px){
    .yellowButton {
        max-width: 500px;
        padding: 15px 70px;
        margin: 0 auto;
    }
}

.yellowButton:hover {
    cursor: pointer;
}

.discount-form input:focus,
.discount-form input:hover {
    border: none !important;
    offset: none !important;
}

select#model-car-order,
select#nano-type-order {
    padding: 15px 10px;
}

form#nanoform button[type="submit"] {
    width: auto;
    text-transform: uppercase;
    border-radius: 10px;
    font-size: 16px;
    background-color: #ed6b21;
    ;
    transition: 0.5s;
}

section.nano-from-order select#model-car-order,
section.nano-from-order select#nano-type-order,
section.nano-from-order input#your_choice-order,
section.nano-from-order form#nanoform div.nano-price {
    display: none;
}

section.nano-from-order select.active#model-car-order,
section.nano-from-order select.active#nano-type-order,
section.nano-from-order input.active#your_choice-order,
section.nano-from-order form#nanoform div.nano-price.active {
    display: block;
    width: 90%;
}

div.otvet a.button-close {
    position: relative;
    top: -45px;
    right: 45px;
}

footer {
    display: none;
    /* background-color: #212020; */
}

p.footnote {
    font-family: 'Montserrat-Regular';
    color: #fff;
    /* background-color: #212020; */
    width: 60%;
    margin: 40px auto;
}

form h2 {
    color: #000;
}

#akcia_desc,
.results.hidden .container {
    width: 100%;
    margin: 0 auto;
    /* background-color: #212020; */
}

section.nano-order-button {
    padding: 0;
    justify-content: flex-end;
    align-items: flex-end;
    position: fixed;
    bottom: 2%;
    right: 2%;
    z-index: -1;
    opacity: 0;
    transition: 1s;
}

section.nano-order-button.active {
    display: flex;
    z-index: 9;
    opacity: 1;
    transition: .5s;
}

section.nano-order-button button {
    text-decoration: none;
    color: #ed6b21;
    font-size: 18px;
    background-color: #1b1b1b;
    padding: 10px 30px;
    box-shadow: 0px 0px 10px #6969696c;
    border: 1px solid #ed6b21;
    transition: 0.5s;
    animation: order-button 2s infinite ease-in-out;
    position: relative;
    z-index: 9;
}

section.nano-order-button button:hover {
    background-color: #ed6b21;
    color: #000;
    box-shadow: 0px 0px 10px 5px #69696928;
    transition: 0.5s;
}

section.nano-catalog {
    position: relative;
}

section.nano-catalog img {
    width: 100%;
}

section.nano-catalog h1 {
    color: #ed6b21;
    text-transform: uppercase;
    font-size: 30px;
    text-align: center;
}

section.nano-catalog a {
    position: absolute;
    color: #fff;
    font-size: 27px;
    border: 2px solid;
    text-decoration: none;
    padding: 1% 2%;
    transition: .5s;
    top: 55%;
}

section.nano-catalog a:hover {
    background-color: #fff;
    color: #000;
    transition: .5s;
}

.select-work {
    display: flex;
    flex-direction: column;
    color: #fff;
    display: none;
}

.select-work.active {
    display: flex;
}

.select-work__item {
    display: flex;
    align-items: center;
}

.select-work__item label {
    cursor: pointer;
}

.select-work__item input {
    margin: 10px !important;
}
 
@media screen and (max-width: 1400px) {
    section.nano-banner h1 {
        font-size: 30px;
    }
    nav.nano-menu a span {
        font-size: 20px;
    }
    section.nano-advantages ul {
        /* width: 75%; */
        font-size: 18px;
    }
    nav.nano-menu {
        background: linear-gradient(to top, #212020 60%, #00000000 100%);
    }
    section.nano-video .video,
    section.nano-hendlex div.hendlex.open div.hover {
        width: 95%;
    }
    section.nano-hendlex h1 {
        font-size: 25px;
    }
    section.nano-hendlex div.hendlex {
        width: 25%;
    }
    section.nano-cars-block h1 {
        font-size: 30px;
    }
    div.nano-choice {
        width: 35%;
    }
    div.car-image {
        width: 50%;
    }
}

@media screen and (max-width: 1024px) {
    main {
        width: 100%;
        overflow: hidden;
    }
    nav.nano-menu {
        justify-content: center;
        align-items: center;
        padding: 50px 0 0;
        margin-top: -100px;
    }
    nav.nano-menu a {
        padding: 20px 15px;
        margin: 15px 0;
        width: 50%;
        font-size: 16px;
    }
    div.car-image {
        margin-right: 0;
    }
    section.nano-video .video div,
    section.nano-hendlex div.hendlex {
        width: 45%;
    }
    section.nano-hendlex div.hendlex.open div.hover {
        flex-direction: column;
    }
    a.button-close {
        top: 15px;
        right: 35px;
    }
    div.hendlex.open div.nano-hover-name {
        width: 100%;
    }
    div.hendlex.open div.options-hendlex {
        width: 95%;
    }
    section.nano-banner h1 {
        font-size: 25px;
        width: 40%;
    }
    section.nano-cars-block {
        align-items: center;
        flex-direction: column;
    }
    div.nano-choice {
        width: 50%;
        margin-top: 30px;
    }
    div.nano-choice h2 {
        font-size: 20px;
        text-align: center;
        text-decoration: none;
    }
    div.car-image {
        width: 70%;
    }
    section.nano-hendlex div.hendlex.open {
        position: fixed;
        top: 0;
        width: 95%;
        margin: 0;
        padding: 0 20px;
        height: 100vh;
        overflow-x: hidden;
    }
    div.hendlex.open div.nano-hover-name {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    p.footnote {
        font-size: 12px;
        width: 95%;
    }
}

@media screen and (max-width: 800px) {
    section.nano-banner {
        overflow: hidden;
    }
    section.nano-banner h1 {
        font-size: 35px;
        width: 60%;
    }
    nav.nano-menu {
        justify-content: center;
        flex-wrap: wrap;
        padding: 0;
    }
    nav.nano-menu a {
        width: 85%;
    }
    section.nano-banner img {
        max-width: 10%;
    }
    section.nano-advantages h3 {
        font-size: 25px;
    }
    nav.nano-menu a span {
        font-size: 27px;
        width: 90%;
    }
    section.nano-banner video {
        position: relative;
        width: 200%;
    }
    nav.nano-menu {
        background: linear-gradient(to top, #212020 90%, #00000000 100%);
    }
    section.nano-video .video div,
    section.nano-hendlex div.hendlex,
    div.car-image {
        width: 95%;
    }
    div.nano-choice {
        width: 80%;
        margin-top: 30px;
    }
    section.nano-catalog h1 {
        font-size: 25px;
    }
    section.nano-catalog a {
        font-size: 20px;
        top: 60%;
    }
}

@media screen and (max-width: 650px) {
    section.nano-order-button {
        align-items: center;
        justify-content: center;
        bottom: 20px;
        right: 0;
    }
    section.nano-banner video {
        width: auto;
        height: auto;
        right: 50%;
    }
    section.nano-banner h1 {
        font-size: 20px;
        width: 60%;
        padding: 20px;
    }
    section.nano-advantages h3 {
        text-align: center;
    }
    section.nano-advantages ul {
        /* width: 80%; */
        font-size: 18px;
        padding: 0;
    }
    section.nano-advantages {
        padding: 50px 0 0 0;
    }
    div.nano-choice {
        width: 90%;
    }
}

@media screen and (max-width: 350px) {
    section.nano-banner h1 {
        font-size: 17px;
        width: 65%;
    }
}