/* http://meyerweb.com/eric/tools/css/reset/
   v2.0-modified | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* make sure to set some focus styles for accessibility */
:focus {
    outline: 0;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type=search] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    max-width: 100%;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
 * Known issue: no IE 6 support.
 */

[hidden] {
    display: none;
}

/**
 * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
 *    `em` units.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
    font-size: 100%; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    -ms-text-size-adjust: 100%; /* 2 */
}

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */

a:focus {
    outline: thin dotted;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
    outline: 0;
}

/**
 * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * 2. Improve image quality when scaled in IE 7.
 */

img {
    border: 0; /* 1 */
    -ms-interpolation-mode: bicubic; /* 2 */
}

/**
 * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
 */

figure {
    margin: 0;
}

/**
 * Correct margin displayed oddly in IE 6/7.
 */

form {
    margin: 0;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct color not being inherited in IE 6/7/8/9.
 * 2. Correct text not wrapping in Firefox 3.
 * 3. Correct alignment displayed oddly in IE 6/7.
 */

legend {
    border: 0; /* 1 */
    padding: 0;
    white-space: normal; /* 2 */
    *margin-left: -7px; /* 3 */
}

/**
 * 1. Correct font size not being inherited in all browsers.
 * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
 *    and Chrome.
 * 3. Improve appearance and consistency in all browsers.
 */

button,
input,
select,
textarea {
    font-size: 100%; /* 1 */
    margin: 0; /* 2 */
    vertical-align: baseline; /* 3 */
    *vertical-align: middle; /* 3 */
}

/**
 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button,
input {
    line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */

button,
select {
    text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE 6.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
    *overflow: visible;  /* 4 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
    cursor: default;
}

/**
 * 1. Address box sizing set to content-box in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 * 3. Remove excess padding in IE 7.
 *    Known issue: excess padding remains in IE 6.
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
    *height: 13px; /* 3 */
    *width: 13px; /* 3 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 3+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 6/7/8/9.
 * 2. Improve readability and alignment in all browsers.
 */

textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}

/**
 * Remove most spacing between table cells.
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html,
button,
input,
select,
textarea {
    color: #222;
}


::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/*===Reset.css===*/

/*===FONTS===*/

/*light*/
@font-face {
   font-family: 'Helvetica Neue';
   src: local('Helvetica Neue Light'), local('Helvetica-Neue-Light'),
       url('/food-delivery/fonts/HelveticaNeueCyr-Light.woff2') format('woff2'),
       url('/food-delivery/fonts/HelveticaNeueCyr-Light.woff') format('woff'),
       url('/food-delivery/fonts/HelveticaNeueCyr-Light.ttf') format('truetype');
   font-weight: 300;
   font-style: normal;
 }

/*regular*/
@font-face {
   font-family: 'Helvetica Neue';
   src: local('Helvetica Neue Roman'), local('Helvetica-Neue-Roman'),
       url('/food-delivery/fonts/HelveticaNeueCyr-Medium.woff2') format('woff2'),
       url('/food-delivery/fonts/HelveticaNeueCyr-Roman.woff') format('woff'),
       url('/food-delivery/fonts/HelveticaNeueCyr-Roman.ttf') format('truetype');
   font-weight: 400;
   font-style: normal;
 }

 /*medium*/
 @font-face {
   font-family: 'Helvetica Neue';
   src: local('Helvetica Neue Medium'), local('Helvetica-Neue-Medium'),
       url('/food-delivery/fonts/HelveticaNeueCyr-Medium.woff2') format('woff2'),
       url('/food-delivery/fonts/HelveticaNeueCyr-Medium.woff') format('woff'),
       url('/food-delivery/fonts/HelveticaNeueCyr-Medium.ttf') format('truetype');
   font-weight: 500;
   font-style: normal;
 }

 /*bold*/
 @font-face {
   font-family: 'Helvetica Neue';
   src: local('Helvetica Neue Bold'), local('Helvetica-Neue-Bold'),
       url('/food-delivery/fonts/HelveticaNeueCyr-Bold.woff2') format('woff2'),
       url('/food-delivery/fonts/HelveticaNeueCyr-Bold.woff') format('woff'),
       url('/food-delivery/fonts/HelveticaNeueCyr-Bold.ttf') format('truetype');
   font-weight: 700;
   font-style: normal;
 }

/*===FONTS END===*/

/*===MAIN===*/ 
body {
   font-family: 'Helvetica Neue';
   font-weight: 400;
   font-size: 16px;
   color: #fff;
   background-color: #1A1A1A;
}

.wrapper {
   max-width: 1110px;
   margin: 0 auto;
   padding: 0 10px;
}

.section__titles {
    padding-top: 70px;
    width: 100%;
    text-align: center;
    position: relative;
}

.section__title {
    font-size: 100px;
    line-height: 150px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #303030;
    text-transform: uppercase;
}

.section__title::after {
    display: block;
    content: "";
    width: 60px;
    height: 3px;
    margin: 0 auto;
    background-color: #34C759;
}

.section__subtitle {
    font-size: 40px;
    line-height: 60px;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: #D9D9D9;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 110px;
    text-transform: capitalize;
}

.btn-up {
    position: fixed;
    z-index: 50;
    right: 35px;
    bottom: 30px;
    font-size: 40px;
}

.btn-up:hover .brn-up-svg {
    fill: #34C759;
}

.brn-up-svg {
    fill: white;
    width: 35px;
    transition: linear .3s;
}
/*===MAIN END===*/ 

/*===SLICK SLIDER START===*/
    /* Слайдер */
    .slick-slider{
        padding: 0 90px;
    }
    /* Слайдер запущен */
    .slick-slider.slick-initialized{}
    /* Слайдер с точками */
    .slick-slider.slick-dotted{}
    /* Ограничивающая оболочка */
    .slick-list {
        overflow: hidden;
    }
    /* Лента слайдов */
    .slick-track{
        display: flex;
    }
    /* Слайд */
    .slick-slide{
       
    }
    /* Слайд активный (показывается) */
    .slick-slide.slick-active{}
    /* Слайд основной */
    .slick-slide.slick-current{}
    /* Слайд по центру */
    .slick-slide.slick-center{}
    /* Клонированный слайд */
    .slick-slide.slick-cloned{}
    /* Стрелка */
    .slick-arrow{
        position: absolute;
        top: 50%;
        z-index: 10;
        font-size: 0;
        width: 20px;
        height: 20px;
        padding: 22px;
        border: 1px solid #303030;
        border-radius: 50%;
    }
    /* Стрелка влево */
    .slick-arrow.slick-prev{
        left: 0;
        background: url(/food-delivery/img/arrow-left.png) center no-repeat;
    }
    /* Стрелка вправо */
    .slick-arrow.slick-next{
        right: 0;
        background: url(/food-delivery/img/arrow-right.png) center no-repeat;
    }
    /* Стрелка не активная */
    .slick-arrow.slick-disabled{}
    /* Точки (булиты) */
    .slick-dots{}
    .slick-dots li{}
    /* Активная точка */
    .slick-dots li.slick-active{}
    /* Элемент точки */
    .slick-dots li button{}
/*===SLICK SLIDER END===*/

/*===HEADER START===*/
.header {
   position: absolute;
   width: 100%;
   top: 0;
   left: 0;
   border-bottom: solid 2px #ffffff21; 
}

.header__logo {
   margin: auto 0;
}

.header__wrapper {
   display: flex;
   height: 90px;
   justify-content: space-between;
   flex-wrap: wrap;
}

.header__logo-img {
   width: 250px;
}

.header__nav {
   margin: auto 0;
}

.header__list {
   display: flex;
   flex-wrap: wrap;
}

.header__item {
   margin-right: 40px;
   font-weight: 700;
}

.header__item:last-child {
   margin-right: 0;
}

.header__link {
   font-size: 17px;
   color: #ffffff;
   text-decoration: none;
   transition: linear color .3s;
}

.header__link:hover, .header__link:active {
   color: #34C759;
}
/*===HEADER END===*/

/*===INTRO START===*/
.intro {
   min-height: 80vh;
   background: url(/food-delivery/img/intro-bg.jpg) no-repeat center;
   background-size: cover;
   padding-bottom: 220px;

}

.intro__title {
   font-weight: 300;
   font-size: 72px;
   line-height: 87px;
   letter-spacing: 0.1em;
   text-transform: capitalize;
   text-align: center;
   padding-top: 170px;
}

.intro__title b {
   font-weight: 700;
}

.intro__text {
   margin: 0 auto;
   max-width: 600px;
   font-weight: 300;
   font-size: 16px;
   line-height: 26px;
   letter-spacing: -0.2px;
   text-align: center;
   opacity: 0.7;
   margin-bottom: 40px;
}

.intro__btn {
   display: block;
   width: 220px;
   height: 70px;
   margin: 0 auto 70px auto;
   font-size: 18px;
   line-height: 70px;
   font-weight: 700;
   color: #1A1A1A;
   background: #34C759;
   border-radius: 43px;
   text-align: center;
   letter-spacing: 0.2em;
   text-decoration: none;
   transition: linear background .25s;
}

.intro__btn:hover {
    background-color: #20873a;
}

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

.intro__contacts__item {
   text-align: center;
}

.intro__svg {
   width: 25px;
   fill: #fff;
   margin-bottom: 15px;
}

.intro__contact-title {
   font-weight: 500;
   line-height: 30px;
}

.intro__contact-subtitle  {
   font-weight: 500;
   font-size: 14px;
   opacity: 0.5;
}
/*===INTRO END===*/

/*===ABOUT START===*/
.about__wrapper {
    position: relative;
    background-color: #262626;
    padding-bottom: 90px;
}

.about__titles {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    padding-top: 30px;
    width: 100%;
    background-color: #262626;
    text-align: center;
}

.about__title {
    font-size: 100px;
    line-height: 150px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #303030;
    text-transform: uppercase;
}

.about__subtitle {
    font-size: 30px;
    line-height: 60px;
    letter-spacing: 0.2em;
    color: #D9D9D9;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 70px;
    text-transform: capitalize;
}

.about__slider-text {
    max-width: 700px;
    font-size: 16px;
    line-height: 30px;
    text-align: center;
    color: #A6A6A6;
    margin: 0 auto 90px auto;
}

.about__slider-items {
    position: relative;
    margin: 0 65px;
}

.slider-img{
    margin: 0 auto;
}
/*===ABOUT END===*/

/*===WORK START===*/
.work__cards {
    margin-top: 70px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.work__card {
    display: flex;
    flex-direction: column;
    max-width: 19%;
    background: #252525;
    padding: 0 25px;
    margin: 0 0 30px 0;
    border-radius: 5px;
    transition: all linear .3s;
}

.work__card:hover {
    background: #34C759;
    color: #191919;
}

.work__card:hover .work__card-text {
    color: #191919;
}

.work__card:hover .work__card-title::after {
    background-color: #191919;
}

.work__card-title {
    font-weight: 500;
    font-size: 23px;
    line-height: 27px;
    letter-spacing: -0.275px;
    text-transform: capitalize;
    padding-top: 35px;
}

.work__card-title::after {
    display: block;
    content: "";
    width: 55px;
    height: 2px;
    margin: 10px 0;
    background-color: #34C759;
    transition: all linear .3s;
}

.work__card-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: -0.1625px;
    color: #ffffff80;;
    padding-bottom: 40px;
    transition: all linear .3s;
}
/*===WORK END===*/

/*===DISHES START===*/
.dishes__items {
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(6,1fr);
}

.dishes__item {
    max-width: 350px;
    background: #252525;
    position: relative;
    padding-bottom: 30px;
    border-radius: 7px;
    grid-column: span 2;
    margin-bottom: 30px;
}

.dishes__item-img {
    border-radius: 7px 7px 0 0;
}

.dishes__item-title {
    margin: 30px 30px 0 30px;
    font-weight: 500;
    font-size: 32px;
    line-height: 30px;
    color: #D9D9D9;
}

.dishes__item-subtitle {
    font-weight: 300;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: -0.15px;
    color: #A4A8B2;
    margin-left: 30px;
    margin-bottom: 20px;
}

.dishes__item-text {
    font-size: 13px;
    line-height: 18px;
    color: #85878C;
    margin: 0 30px 35px 30px;
}

.dishes__items-order {
    display: block;
    margin-left: auto;
    margin-right: 25px;
    width: 100px;
    height: 40px;
    text-align: center;
    border-radius: 30px;
    font-weight: 700;
    font-size: 11px;
    line-height: 36px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffffff80;
    background-color: #262626;
    border: 2px solid #303030;
    box-sizing: border-box;
    text-decoration: none;
    transition: all linear .4s;
}

.dishes__items-order:hover {
    background-color: #34C759;
    border: 2px solid transparent;
    color: #252525;
}

/*star rating*/

.dishes__items-stats {
	overflow: hidden;
    width: 200px;
    position: absolute;
    bottom: 40px;
    left: -50px;
}
.dishes__items-stats:not(:checked) > input {
	display: none;
}
.dishes__items-stats:not(:checked) > label {
	float: right;
	width: 25px;
	padding: 0;
	cursor: pointer;
	font-size: 22px;
	line-height: 22px;
    color: lightgrey;

}
.dishes__items-stats:not(:checked) > label:before {
	content: '★';
}
.dishes__items-stats > input:checked ~ label {
	color: gold;
	text-shadow: 1px 1px #c60;
}
.dishes__items-stats:not(:checked) > label:hover,
.dishes__items-stats:not(:checked) > label:hover ~ label {
	color: gold;
}
.dishes__items-stats > input:checked + label:hover,
.dishes__items-stats > input:checked + label:hover ~ label,
.dishes__items-stats > input:checked ~ label:hover,
.dishes__items-stats > input:checked ~ label:hover ~ label,
.dishes__items-stats > label:hover ~ input:checked ~ label {
	color: gold;
	text-shadow: 1px 1px goldenrod;
}
.dishes__items-stats > label:active {
	position: relative;
}
/*===DISHES END===*/

/*===CHEFS START===*/
.chefs {
    margin-bottom: 120px;
}

.chefs__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 55px 0 20px 0;
}

.chefs__item-content {
    display: flex;
    margin-bottom: 30px;
}

.chefs__item-text {
    margin: auto 0 auto 20px;
}

.chefs__item-name {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
}

.chefs__item-subtitle {
    font-size: 12px;
    line-height: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
}

.img-sm {
    margin-left: 10px;
}
/*===CHEFS END===*/

/*===FOOTER START===*/
.footer {
    margin-top: 30px;
    padding-top: 40px;
    background: #252525;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.footer__contacts {
    padding-bottom: 40px;
}

.footer__logo {
    border-top: solid 2px #ffffff21; 
}

.footer__logo-img {
    display: block;
    width: 210px;
    margin: 30px auto 0;
    text-align: center;
    padding-bottom: 10px;
}

.footer__logo-text {
    text-align: center;
    font-weight: 500;
    font-size: 12px;
    line-height: 30px;
    color: #737373;
    padding-bottom: 30px;
}
/*===FOOTER END===*/

/*===RESPONSIVE START===*/
@media screen and (max-width: 1100px) {
    .about__slider-items {
        width: 35%;
        margin: 0 auto;
    }

    .dishes__item {
        grid-column: span 3;
        margin: 0 auto 30px auto;
    }
}

@media screen and (max-width: 1024px) {
    .work__card {
        max-width: 30%;
        margin: 0 auto 35px auto;
    }

    .chefs {
        margin-bottom: 70px;
    }

    .chefs__items {
        max-width: 35%; 
        margin: 55px auto 20px auto;
    }

    .chefs__item {
        margin-bottom: 50px;
    }

    .chefs__item-content {
        margin-bottom: 15px;
    }

@media screen and (max-width: 950px) {
    .slider-img {
        width: 100%;
    }

    .chefs__items {
        max-width: 45%;
    }
}

@media screen and (max-width: 740px) {
    .intro__title {
        font-size: 52px;
        line-height: 80px;

    }

    .dishes__item {
        grid-column: span 6;
    }

    .chefs__items {
        max-width: 55%;
    }

    .about__slider-items {
        width: 50%;
    }
}

@media screen and (max-width: 600px) {
    .brn-up-svg {
        opacity: 0.5;
        width: 25px;
    }

    .intro__title {
        font-size: 40px;
        line-height: 60px;
    }

    .intro__contacts {
        flex-direction: column;
    }

    .intro__contacts__item {
        margin-bottom: 35px;
    }

    .about__title {
        font-size: 80px;
    }

    .about__subtitle {
        font-size: 25px;
    }

    .section__titles {
        padding-top: 15px;
    }

    .work__card {
        max-width: 50%;
    }

    .chefs__items {
        max-width: 70%;
    }

    .section__title {
        font-size: 80px;
        line-height: 120px;
    }

    .section__subtitle {
        font-size: 30px;
        line-height: 45px;
        margin-top: 50px;
    }
}

@media screen and (max-width: 485px) {
    .btn-up {
        right: 10px;
        bottom: 10px;
    }
}
/*===RESPONSIVE END===*/