/* Reset and base styles  */
* {
    padding: 0px;
    margin: 0px;
    border: none;

}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:focus,
:active {
    /*outline: none;*/
}

a:focus,
a:active {
    /* outline: none;*/
}

/* Links */

a,
a:link,
a:visited {
    color: inherit;
    text-decoration: none;
    /* display: inline-block; */
}

a:hover {
    /* color: inherit; */
    text-decoration: none;
}

/* Common */

aside,
nav,
header,
section,
main {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.2;
}

p {
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.4;
}

ul,
ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

address {
    font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
    display: none;
}

button,
input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
    outline: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

label {
    cursor: pointer;
}

legend {
    display: block;
}

body {
    background-color: black;
    font-family: 'Raleway', sans-serif;
    line-height: 1.4;
}

header {
    max-width: 1540px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

/* .top_img_town_test>a {
    margin-left: 1335px;
} */

.top {
    color: #ff8335;
    max-width: 1540px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 15px 0 15px;
    min-height: 80px;
    display: flex;
    justify-content: space-between;
}

.top>nav {
    margin-top: auto;
    margin-bottom: auto;
}

.top>nav>ul {
    display: flex;
    gap: 60px
}

.top>nav>ul>li {
    /* text-transform: uppercase; */
    margin-top: auto;
    margin-bottom: auto;
    color: orange;
    font-size: 24px;
}

.top>nav>ul>li a {
    color: orange;
}

.top>nav>ul>li>img {
    width: 100px;
}

.top_nav_menu_burger {
    display: none;
    width: 24px;
    height: 24px;
}

.top_nav_menu_burger>span {
    display: block;
    width: 24px;
    height: 3px;
    margin-bottom: 5px;
    position: relative;
    background: #ff8335;
    border-radius: 0px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        opacity 0.55s ease;
}



.top>button {
    color: white;
    display: block;
    content: '';
    font-size: 24px;
    width: 250px;
    height: 71px;
    margin-top: auto;
    margin-bottom: auto;
}

.top_img_town_test {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
}

.top_img_town {
    max-height: 320px;
    /* padding-left: 90px; */
    max-width: 960px;
}

a.top_img_testbutton {
    background: url(../pic/testdrivebutton.svg) no-repeat;
    background-size: cover;
    min-width: 240px;
    min-height: 240px;
    display: block;
}

/*a.top_img_testbutton>img {
    max-width: 240px;
}*/

a.top_img_testbutton:hover {
    background: url(../pic/testdrivebuttonhover.svg) no-repeat;
    background-size: cover;
    max-width: 240px;
}

.top_img_yours {
    /* padding-left: 938px; */
    height: 260px;
    /* max-width: 912px; */
}

.top_img_motobyke {
    max-height: 840px;
    margin-top: -220px;
    max-width: 740px;
}

main {
    max-width: 1540px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    min-height: 80px;
    padding: 20px 15px 0 15px;
    /* background-image: url(../pic/motorbackground.png); */
    background-repeat: no-repeat;
    background-position-x: 515px;
    background-position-y: 200px;
}

.content_energy {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 60px;
    gap: 60px;
    justify-content: space-between;
}

.content_energy_kontur_text {
    /* -webkit-text-stroke: 2px white;
    color: transparent;  */
    text-shadow:
        0 0 5px white,
        0 0 5px white,
        0 0 5px white,
        0 0 5px white;
    /* Параметры тени */
    color: #000;
    font-weight: 900;
    /* Цвет текста */
}

.content_energy>h1 {
    max-width: 565px;
    text-transform: uppercase;
    font-size: 40px;
    font-weight: 900;
    /* font-family: 'Raleway', sans-serif; */
    color: white;
}

.content_energy_img {
    margin-left: auto;
    max-width: 565px;
    /* margin-right: auto; */
    padding-top: 20px;
}

.content_energy_img_size {
    max-width: 90%;
    border-radius: 45px;
}

.content_energy_p_text_left {
    margin-top: 0px;
    max-width: 100%;
    font-size: 22px;
    font-weight: 400;
    color: rgb(255, 255, 255);
    line-height: 1.5;
}

.content_energy_p_text_left>h2 {

    font-size: 28px;
    font-weight: 900;

}

.content_energy_p_text_left_br {
    padding-top: 15px;
}

.content_energy_p_text_left_bolid {
    font-weight: 900;
}

.content_energy_p_text_right {
    padding-top: 50px;
    text-transform: uppercase;
    padding-left: auto;
    max-width: 500px;
    font-size: 50px;
    font-weight: 900;
    color: darkgray;
}

.content_energy_button {
    margin-top: 60px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

.content_special_img {
    margin-left: auto;
    margin-right: auto;
    max-width: 504px;
}

.content_special>ul {
    display: grid;
    justify-content: center;
}

.content_special>ul>li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
    min-height: 470px;
    margin-bottom: 60px;
}

.content_special>ul>li>img {
    max-width: 535px;
}

.content_special_text {
    color: white;
    margin-top: auto;
    margin-bottom: auto;
    max-width: 760px;
}

.content_special_text>h2 {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 45px;
    padding-top: 90px;
    padding-bottom: 90px;
    text-shadow:
        0 0 5px white,
        0 0 5px white,
        0 0 5px white,
        0 0 5px white;
    /* Параметры тени */
    color: #000;

}

.content_special_text>p {
    font-size: 24px;
    color: rgb(255, 255, 255);
    font-weight: 700;
    line-height: 2;
}

.footer_button {
    display: flex;
    align-items: center;
  }

.footer_btn {
    display: inline-block;
    min-height: 50px;
    padding: 10px 80px;
    border-radius: 68px;
    font-size: 18pt;
    font-weight: bolder;
    line-height: 50px;
    background: #0f1f4b;
    color: orange;
    text-align: center;
    margin: auto auto auto auto;
}

.footer_btn:hover {
    background-color: #ff8335;
    color: #fff;
}

.footer_btn:active {
    position: relative;
    top: 1px;
}

footer>ul {
    font-size: 22pt;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1540px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 15px 20px 15px;
}

footer>ul>li {
    color: orange;
    text-align: center;
    align-items: center;
}

footer>ul>li a {
    color: orange;
}

@media (min-width: 1281px) and (max-width: 1530px) {
    header {
        min-height: auto;
    }

    main {
        display: grid;
        justify-content: center;
    }

    a.top_img_testbutton {
        display: none;
    }

    .top_img_motobyke {
        display: none;
    }

    .content_energy_img {
        margin-left: auto;
        max-width: 505px;
        margin-right: auto;
        padding-top: 10px;
    }

    .content_energy_img_size {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .content_special>ul>li {
        display: block;
    }

    .content_special_text>h2 {
        text-transform: uppercase;
        font-size: 40px;
        padding-top: 45px;
        padding-bottom: 45px;
        text-align: center;
    }

    .content_special_text>p {
        font-size: 32px;
        font-weight: 700;
        line-height: 2;
    }

    .content_energy {
        gap: 0;
    }

    .content_energy_p_text_left>h2 {
        font-weight: 700;
        font-size: 30px;
        padding-top: 25px;
        padding-bottom: 25px;
        text-align: center;
    }

    .content_energy_p_text_left {
        font-size: 16px;
        font-weight: 700;
        line-height: 2;
    }

    .footer_btn {
        font-size: 16pt;
    }
}


@media (max-width: 1280px) {

    .top_nav_menu_burger {
        display: block;
        margin-top: auto;
        margin-bottom: auto;
    }

    header {
        min-height: auto;
    }

    main {
        display: grid;
        justify-content: center;
    }

    nav {
        display: none;
    }

    .top_img_motobyke {
        display: none;
    }

    .content_energy {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .content_energy>h1 {
        font-size: 30px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .content_energy_img {
        margin-left: auto;
        max-width: 300px;
        margin-right: auto;
        padding-top: 10px;
    }

    .content_energy_img_size {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    a.top_img_testbutton {
        display: none;
    }

    .content_energy_p_text_left {
        text-align: center;
    }

    .content_special>ul>li {
        display: block;
    }

    .content_special_text>h2 {
        text-transform: uppercase;
        font-size: 25px;
        padding-top: 45px;
        padding-bottom: 45px;
        text-align: center;
    }

    .content_special_text>p {
        font-size: 16px;
        font-weight: 500;
        line-height: 1.5;
    }

    .content_energy {
        gap: 0;
    }

    .content_energy_p_text_left>h2 {
        font-weight: 700;
        font-size: 25px;
        padding-top: 15px;
        padding-bottom: 15px;
        text-align: center;
    }

    .content_energy_p_text_left {
        font-size: 16px;
        font-weight: 500;
        line-height: 1.5;
    }

    .footer_btn {
        font-size: 11pt;
    }

    footer>ul {
        font-size: 18pt;
        display: block;
    }

}