* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Gilroy';
    src: url("../fonts/Gilroy-Semibold.ttf");

}

@font-face {
    font-family: 'Merriweather';
    src: url("../fonts/Merriweather-Black.ttf");
}

body {
    background-color: #191411;
    font-family: 'Gilroy', sans-serif;
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.button {
    background: linear-gradient(95.61deg, #DA8023 0%, #E2B438 100%);
    border-radius: 8px;
    width: 260px;
    height: 62px;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0;
    cursor: pointer;
    outline: none;
    font-size: 18px;
    color: #191411;
}


.button:hover {
    background: linear-gradient(95.61deg, #ac6115 0%, #9e7a19 100%);
}

.common-title{
    font-family: 'Merriweather', sans-serif;
    font-size: 64px;
    line-height: 80px;
    text-align: center;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.main {
    overflow: hidden;
    background-image: url("../images/main_bg.png");
    background-position: top center;
}
.header {
    padding: 40px 0;
}

.header .container {
    display: flex;
    align-items: center;
}

.logo img {
    vertical-align: bottom;
}

.menu {
    margin-left: 191px;
}

.menu-list {
    list-style: none;
    display: flex;
}

.menu-item {
    margin-right: 88px;
}

.menu-item a {
    font-size: 18px;
    color: #FFFFFF;
    text-decoration: none;
    cursor: pointer;
}

.menu-item a:hover {
    border-bottom: 2px solid white;
}

.currency {
    border: 1px solid #FFFFFF;
    border-radius: 5px;
    width: 45px;
    height: 45px;
    padding: 6px;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
    line-height: 32px;
    margin-left: auto;
    user-select: none;
}

.main-content {
    padding-top: 103px;
    padding-bottom: 199px;
}
.main-content .container {
    position: relative;
}

.main-info {
    max-width: 608px;
}

.main-small-info {
    background: #D3320F;
    border-radius: 100px;
    padding: 12px 16px;
    display: inline-block;
    font-size: 18px;
}

.main-title {
    font-family: 'Merriweather', sans-serif;
    font-size: 120px;
    line-height: 130%;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 56px;
}

.main-text {
    font-size: 24px;
    line-height: 29px;
    margin-bottom: 56px;
}
.main-image {
    position: absolute;
    top: -123px;
    left: calc(100% - 991px);
}

.why {
    background-image: url("../images/whybg.png");
    background-position: top center;
    background-size: initial;
    padding-bottom: 180px;
}


.why-items {
    margin-top: 60px;
    display: grid;
    gap: 100px;
    grid-template-columns: repeat(3, 312px);
    justify-content: center;
}
.why-item {
    text-align: center;
}

.why-item-title {
    font-size: 24px;
    line-height: 29px;
    padding: 24px 0;
}

.why-item-text {
    font-size: 16px;
    line-height: 140%;
}
.products {
    background-image: url("../images/burgers_bg.png");
    background-position: top center;
    background-size: 1400px;
    padding-bottom: 180px;
}
.products-items {
    display: grid;
    grid-template-columns: repeat(3, 384px);
    gap: 24px;
    margin-top: 60px;
}

.products-item {
    padding: 30px;
    background: #211A16;
    border: 1px solid #353535;
    border-radius: 16px;
}
.products-item-image {
    height: 250px;
}
.products-item-image img {
    max-width: 100%;
}
.products-item-title {
    font-size: 24px;
    line-height: 29px;
    padding: 24px 0;
}
.products-item-text {
    font-size: 16px;
    line-height: 140%;
    margin-bottom: 24px;
}

.products-item-extra {
    display: flex;
    justify-content: space-between;
}

.products-item-price {
    font-size: 32px;
    line-height: 39px;
    margin-bottom: 8px;
}
.products-item-weight {
    font-size: 16px;
    line-height: 18px;
    color: #757575;
}

.button.product-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 182px;
    height: 62px;
}

.button.product-button span:first-child {
    margin-right: 10px;
}

.order {
    background-image: url("../images/order_bg.png");
    background-position: top center;
    background-repeat: no-repeat;
    padding-bottom: 180px;
    overflow: hidden;
}

.order .container {
    position: relative;
}
 .order-image {
     position: absolute;
     top: 0;
     right: calc(100% - 764px);
     z-index: -1;
 }
 .order-form {
     background: #211A16;
     border: 1px solid #353535;
     border-radius: 16px;
     margin-top: 60px;
     max-width: 426px;
     box-sizing: border-box;
     padding: 60px 40px;
     margin-left: 674px;
 }

 .order-form-text {
     font-size: 24px;
     line-height: 29px;
     text-align: center;
 }
 .order-form-inputs {
     display: flex;
     flex-direction: column;
     margin-top: 40px;
 }
 .order-form-input {
     background: linear-gradient(95.61deg, #DA8023 0%, #E28438 100%);
     width: 344px;
     height: 62px;
     border-radius: 8px;
     margin-bottom: 20px;
     display: flex;
     align-items: center;
     justify-content: center;
 }
 .order-form-input input {
     padding: 20px 10px;
     background: #211A16;
     border-radius: 8px;
     width: 342px;
     height: 60px;
     box-sizing: border-box;
     outline: none;
     border: 1px solid transparent;
     color: white;
 }

.order-form-inputs button {
    width: 344px;
    height: 62px;
}
.footer {
    padding: 60px 0;
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rights {
    font-size: 16px;
    line-height: 20px;
}
*{
    scroll-behavior: smooth;
}

@media screen and (max-width: 1225px) {
    .main, .products, .order {
        background: none;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .header .container {
        flex-wrap: wrap;
        max-width: 420px;
        justify-content: center;
    }

    .header .logo {
        order: 1;
    }

    .menu {
        margin: 20px 0;
        order: 3;
        flex-basis: 100%;
    }

    .menu ul { /*там другой класс*/
        justify-content: space-between;
    }

    .menu-item {
        margin-left: 5px;
        margin-right: 5px;
        text-align: center;
    }

    .currency {
        margin-left: 20px;
        order: 2;
    }

    .main-image {
        z-index: -1;
        opacity: 0.4;
    }

    .why-items {
        grid-template-columns: auto;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .products-items {
        grid-template-columns: repeat(auto-fill, minmax(290px, 384px));
        justify-content: center;
    }

    .products-item {
        padding: 15px;
    }

    .products-item-image {
        height: auto;
    }

    .order {
        padding-bottom: 20px;
    }

    .order-image {
        width: 800px;
    }

    .order-form {
        margin-left: auto;
        margin-right: auto;
        max-width: 426px;
        width: auto;
        padding: 20px;
    }

    .order-form-input {
        max-width: 100%;
        width: auto;
    }

    .order-form-input input {
        width: calc(100% - 2px);
    }

    .order-form-inputs .button {
        width: 100%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 570px) {
    .main-title {
        font-size: 65px;
        margin-top: 20px;
    }

    .common-title {
        font-size: 36px;
        line-height: 46px;
    }

    .footer .container {
        flex-direction: column;
        justify-content: center;
    }

    .rights {
        margin-top: 20px;
    }
}
