* {
    padding: 0;
    margin: 0;
}
*, *::after, *::before {
    box-sizing: border-box;
}
body {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
}
ul {
    list-style: none;
}
  
a {
    text-decoration: none;
    color: #000;
}
img {
    max-width: 100%;
}
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
  }
  
  @media (min-width: 576px) {
    .container {
      max-width: 540px;
    }
  }
  
  @media (min-width: 768px) {
    .container {
      max-width: 720px;
    }
  }
  
  @media (min-width: 992px) {
    .container {
      max-width: 960px;
    }
  }
  
  @media (min-width: 1250px) {
    .container {
      max-width: 1240px;
    }
  }
/*.header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 24px 0;
}*/
.header-list {
    display: flex;
    position: relative;
}
.header-list__item {
    margin-right: 90px;
}
.header-list__item:nth-last-child(1) {
    margin-right: 0;
}
.header-list__anchor {
    font-size: 24px;
    font-weight: bold;
}
.header-logo {
    height: 145px;
}
.header-list__anchor--icon::after {
    content: '';
    width: 30px;
    height: 30px;
    background: url(../img/icon.png) no-repeat;
    background-size: contain;
    position: absolute;
    right: -50px;
    top: -47px;
}
.icon {
    width: 35px;
    display: none;
   }
.icon__line {
    background-color: #5d6672;
    height: 2px;
    width: 100%;
    border-radius: 5px;
    margin: 5px 0 5px auto;
    display: block;
    position: relative;
    transition: .25s;
}
/* banner */
.banner {
    padding: 30px 0 40px;
    text-align: center;
}
.banner-cup {
    text-align: center;
    position: relative;
}
.banner-cup__img {
    height: 250px;
}
.banner__desc-span {
    font-size: 24px;
}
.banner__desc {
    font-size: 18px;
    color: #000;
    max-width: 874px;
    margin: 35px auto 40px;
    text-align: center;
}
.banner__button {
    padding: 12px 50px 12px 30px;
    font-size: 15px;
    color: #fff;
    background-color: #000;
    border: none;
    position: relative;
}
.arrow {
    height: 15px;
    margin-left: 5px;
    text-align: center;
    position: absolute;
    top: 14px;
    right: 25px;
}
.video_container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.services {
    padding: 30px 0;
}
.services__wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.service {
    width: 33.333%;
    padding: 10px 5px;
    position: relative;
}
.service__img {
    display: block;
    margin: 0 auto;
}
.services__details {
    position: absolute;
    left: 5px;
    right: 5px;
    top: 10pX;
    bottom: 0;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.service__heading {
    text-transform: uppercase;
}
.service__text {
    font-size: 15px;
}
.service__button {
    margin-top: 20px;
    padding: 5px 10px;
    border: 1px solid #fff;
    color: #fff;
}
.service__button i {
    margin-right: 5px;
}
.fresh-coffee {
    padding: 30px 0;
}
.fresh-coffee__wrap {
    display: flex;
    align-items: center;
}
.fresh-coffee__col {
    width: 50%;
}
.fresh-coffee__img {
    width: 45vw;
    max-width: none;
}
.fresh-coffee__col:last-child {
    display: flex;
    border: 5px solid #000;
    padding: 30px 18px;
    position: relative;
}
.fresh-coffee__col:last-child::after {
    content: "";
    width: 60px;
    height: 60px;
    background-color: #fff;
    background-image: url(../img/down-arrow.png);
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(100%);
    position: absolute;
    bottom: 0;
    right: 60px;
    display: block;
}
.fresh-coffee__heading {
    font-size: 38px;
    width: 50%;
    text-transform: uppercase;
    color: #fff;
    transform: translateX(-45%);
    line-height: 1.5;
}
.fresh-coffee__text {
    width: 50%;
}

.coffie-products {
    padding: 30px 0;
    background: #eaeaea;
}
.slide {
    height: 217px;
    overflow: hidden;
    padding: 0 10px;
    position: relative;
}
.slide__img {
    height: 100%;
    display: block;
    margin: 0 auto;
}
.slide__details {
    position: absolute;
    top: 0;
    left: 10px;
    right: 10px;
    bottom: 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}
.slide:hover .slide__details {
    display: flex;
}
.slide__details-wrap {
    border: 3px solid #fff;
    padding: 15px 10px;
    border-radius: 10px;
    text-align: center;
}
.slide__price {
    font-size: 31px;
    display: block;
}
.slide__shop-now {
    background: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    margin-top: 15px;
    display: block;
}


.howto {
    padding: 65px 0 80px;
}
.howto__heading {
    line-height: 24px;
    color: #000;
    letter-spacing: 5px;
    margin-left: 30px;
    font-weight: bold;
    text-shadow: 0px 26px 81px rgba(0, 15, 26, 0.6);
}
.howto-flex {
    display: flex;
    padding-top: 30px ;
}
.service__img--height {
    max-height: 465px;
}
.video-tag::after {
    display: flex;
    justify-content: center;
    align-items: center;
    content: '';
    width: 143px;
    height: 143px;
    background: url(../img/video-tag.png) no-repeat;
    background-size: cover;
    position: absolute;
    left: 50%;
    top: 54%;
    transform: translate(-50%, -50%);
}
.howto-block {
    padding: 0 5px;
    position: relative;
}
 /*footer css*/
.footer {
    background: url(../img/footer.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    padding: 40px 0 40px;
    text-align: center;
}
.footer-block {
    text-align: center;
    padding-top: 65px;
}
.footer__heading {
    font-size: 50px;
    color: #fff;
}
.footer-email {
    display: flex;
    justify-content: space-between;
    max-width: 384px;
    margin: 20px auto 0;
    background-color: #000;
    padding: 15px 20px;
    border-radius: 24px;
    align-items: center;
}
.footer-text {
    width: 70%;
    color: #fff;
    font-size: 14px;
    background-color: #000;
    border: none;
}
.footer-text:focus {
    outline: none;
}
.footer-email__arrow {
    height: 12px;
}
.footer-lists {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
}
.footer-list__anchor {
    color: #fff;
    font-size: 13px;
}
.footer-list__item {
    margin-bottom: 5px;
    text-align: left;
}
.footer-list__item:first-child {
    margin-bottom: 18px;
    font-size:14px;
}
.footer-social {
    display: flex;
    max-width: 190px;
    margin: 20px auto 30px;
}
.footer-social__app {
    height: 13px;
    margin-right: 35px;
}
.footer-social-reserved {
    font-size: 13px;
    text-align: center;
    color: #fff;
    margin: 10px 0;
}
@media (max-width: 1199px) {
    .header-list__item {
        margin-right: 50px;
    }
}
@media(max-width:1024px) {
    .header-list__item {
        margin-right: 40px;
    }
    .header-list__anchor {
        font-size: 16px;
        font-weight: bold;
    }
    .header-list__anchor--icon::after {
        right: 1px;
        top: -55px;
    }
    .header-logo {
        height: 115px;
    }

    .service {
        width: 50%;
    }
    .fresh-coffee__wrap {
        display: block;
    }
    .fresh-coffee__col {
        width: auto;
    }
    .fresh-coffee__img {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }
    .fresh-coffee__col:last-child {
        border: none;
        display: block;
    }
    .fresh-coffee__col:last-child::after {
        display: none;
    }
    .fresh-coffee__heading {
        color: #000;
        transform: none;
        width: auto;
    }
    .fresh-coffee__text {
        width: auto;
    }
    .banner-cup__img {
        height: 230px;
    }
}

@media(max-width:767px) {
    .header  {
        justify-content: space-between;
        padding: 15px 20px 15px 0;
    }
    .header-list {
        display: none;
    }
    .header-logo {
        height: 90px;
    }
    .icon {
        height: 30px;
        display: block;
    }
    .header-nav {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
    }
    .icon--cross .icon__line:nth-child(1){
        transform: rotate(45deg);
        width: 90%;
        top: 5px;
    }
    .icon--cross .icon__line:nth-child(3){
        transform: rotate(-45deg);
        width: 90%;
        bottom: 9px;
    }
    .icon--cross .icon__line:nth-child(2){
        opacity: 0;
    }
    .service {
        width: 100%;
    }
    .footer__heading {
        font-size: 30px;
    }
    .footer-lists {
        display: flex;
        flex-wrap: wrap;
        margin-top: 50px;
    } 
    .header-nav {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
    }
    .banner-cup__img {
        height: 180px;
    }
    .howto-flex {
        display: flex;
        flex-wrap: wrap;
        padding-top: 30px;
    }
    .howto-block {
        margin-bottom: 20px;
    }
    
    .footer-list {
        width: 50%;
        text-align: center;
        margin-bottom: 30px;
    }
    .footer-list__item {
        margin-bottom: 16px;
         text-align: center;
    }
    .footer-block {
        text-align: center;
        padding-top: 20px;
    }
}