body,
html {
    padding: 0;
    margin: 0
}
body {
    background: #2A2A2A
}
img {
    width: 100%
}
html,body,section{
  height: 100%;
}
.wrapper {
    position: relative;
    background-image: url("../img/food_bg.svg"), linear-gradient(180deg, #E8D2F5 0%, #E2E2F7 100%);
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    overflow-x: hidden
}
.termz__box{
  display: none;
}
.header__content{
    position: relative;
    background-image: url('../img/header.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    display: flex;
    justify-content: center;
    padding: 10px 0 120px;
  }

header.ready {
    -webkit-transform: translate(0%, 0%);
    transform: translate(0%, 0%)
}

.logo {
    -webkit-transform: rotate(0deg) perspective(1000px) rotateX(0deg);
    transform: rotate(0deg) perspective(1000px) rotateX(0deg);
    -webkit-transition: 0.5s;
    transition: 0.5s
}

.logo:hover {
    -webkit-transform: rotate(0deg) perspective(1000px) rotateX(360deg);
    transform: rotate(0deg) perspective(1000px) rotateX(360deg)
}

.back{
  position: absolute;
  top: 10px;
  left: 10px;
  width: 18px;
  height: 30px;
  padding: 10px;
}

  .back img{
    width: 100%;
  }
  
  .logo img {
    width: 138px;
    height: 64px;
  }
  .single__box{
    text-align: center;
    padding-top: 20px;
  }
  .single__title{
    color: #4E2575;
    font-size: 30px;
    position: relative;
    max-width: 200px;
    margin: 0 auto;
    min-height: 100px;
    font-family: 'Nunito';
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
  }
  
  .single__title::before {
    position: absolute;
    content: '';
    background-image: url('../img/category_arrow.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 136px;
    height: 45px;
    top: 16px;
    left: -110px;
    z-index: 2;
  }
  
  .single__title::after {
    position: absolute;
    content: '';
    background-image: url('../img/category_arrow.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 136px;
    height: 45px;
    top: 16px;
    right: -110px;
    transform: scale(-1, 1);
    z-index: 2;
  }

.description_box {
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    background: #FFFFFF;
    border: 4px solid #4E2575;
    border-radius: 20px;
    color: #4E2575;
    width: 95%;
    font-family: 'Nunito';
    font-weight: 800;
    font-style: normal;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: justify;
    opacity: 0;
    -webkit-transition: 1.2s;
    transition: 1.2s;
    z-index: 3;
    padding: 10px;
    box-sizing: border-box;
    font-size: 18px
}

.description_box.ready {
    opacity: 1;
    -webkit-transform: translate(-50%, 0%);
    transform: translate(-50%, 0%)
}

.description_box:after {
    content: '';
    position: absolute;
    bottom: -25px;
    height: 25px;
    width: 1px;
    background: transparent;
    z-index: -1
}

.description_box img {
    border-radius: 8px
}

.description_box h2 {
    text-transform: uppercase;
    font-family: 'Nunito';
    font-weight: normal;
    font-style: normal;
    display: block;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    text-transform: uppercase;
    text-decoration: none;
    color: #4E2575;
}

.description_box ul,
.description_box ol {
    padding-left: 15px
}

.description_box li {
    padding-left: 0px
}
.description_box p{
    margin: 0;
    padding: 0 10px;
}
figure{
    margin: 0;
    margin-bottom: 10px;
}

.description_box img{
    height: auto;
    width: 100%;
}

@media all and (min-width: 320px) and (min-height: 500px) {}

@media all and (min-width: 360px) and (min-height: 560px) {
    .main_box {
        top: 55px;
    }

    .figure:after {
        width: 260px;
        height: 260px
    }

    .figure:after {
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%)
    }
}

@media all and (min-width: 360px) and (min-height: 660px) {
    .description_box {
        font-size: 14px
    }

    .main_box {
        top: 55px;
    }
}

@media all and (min-width: 375px) and (min-height: 700px) {
    .main_box {
        top: 60px;
    }
}

@media all and (min-width: 415px) and (min-height: 612px) {
    .description_box>* {
        font-size: 16px
    }
}
/*Iphone 5S - Album - Chrome*/
@media screen and (min-width: 568px)and (min-height:244px) {
  .description_box{
    width: 70%;
  }
  .main_box {
    top:55px;
  }
}
@media screen and (min-width: 568px) and (min-height: 500px){
  .description_box{

    width: 70%;
  }
  .main_box{
    top: 12%;
  }
  .header_content {
  padding: 10px 20px 10px 10px; }
}
@media all and (min-width: 768px) and (min-height: 768px) {
    .description_box {

        max-width: 550px
    }
}

@media all and (min-width: 768px) and (min-height: 905px) {
    .header_content {
        padding: 10px 20px 10px 10px
    }
    .header_content .logo_box {
        max-width: 139px;
        position: absolute;
        left: 50%;
        top: 30%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%)
    }
    .main_box {
        top: 10%
    }
    .main_box .main_item {
        max-width: 100px
    }
    .main_box .main_text {
        font-size: 22px
    }
    .figure:after {
        width: 378px;
        height: 378px;
        background: #2A2A2A
    }
    .figure:after {
        -webkit-transform: translate(-50%, -50%) scale(1);
        transform: translate(-50%, -50%) scale(1)
    }
    .description_box {
        max-width: 500px;
        padding: 20px
    }
    .description_box>* {
        font-size: 20px
    }
}

@media all and (min-width: 768px) and (min-height: 1023px) {
  .main_box {top: 85px;}
  .description_box span {font-size: 20px}}
@media all and (min-width: 1023px) and (min-height: 700px) {
  .main_box {top: 75px;}
  .description_box li {margin-left: 18px}
  .description_box {max-width: 550px}}
@media all and (min-width: 1023px) and (min-height: 985px) {
  .main_box {top: 85px;}}
/*Windows 1440*900 */
@media screen and (min-width: 1439px)and (min-height:788px) {
  .main_box{top: 70px;}}
/* Андрій - комп*/
/*в браузере: 1520x722*/
@media screen and (min-width: 1519px)and (min-height:720px) {
  .main_box {top: 70px;}}
/*1600x1200*/
/*в браузере: 1583x1050*/
@media screen and (min-width: 1580px)and (min-height:1049px) {
  .main_box {top: 85px;}}
/*1600x787*/
/*в браузере: 1600x787 - Asus X75*/
@media screen and (min-width: 1599px)and (min-height:786px) {}
/*1680x1050*/
/*в браузере: 1663x900*/
@media screen and (min-width: 1660px)and (min-height:899px) {}
/*1920x1080*/
/*в браузере: 1903x930*/
@media screen and (min-width: 1900px)and (min-height:929px) {
  .main_box {top: 85px;}}
/*1920x1080*/
/*Мій комп на хромі*/
/*в браузере: 1903x969*/
@media screen and (min-width: 1900px)and (min-height:968px) {}
/*1920x1200*/
/*в браузере: 1903x1050*/
@media screen and (min-width: 1900px)and (min-height:1049px) {}
/*2K*/
/*2048x1536*/
/*в браузере: 2031x1386*/
@media screen and (min-width: 2030px)and (min-height:1380px) {
}
/*4K windows*/
/*3840x2160*/
/*в браузере: 2543x1300*/
@media screen and (min-width: 2540px)and (min-height:1299px){
}
/*Media Requests*/
/*PC*/
/*4k mac*/
/*6720x3780*/
/*в браузере: 3360x1755*/
@media screen and (min-width: 3350px)and (min-height:1750px){}

@media screen and (max-width: 1024px) and (max-height: 1366px) {
    /*tab - vert*/
    .header__content{
      background-image: url('../img/header_2.svg');
      padding: 10px 0 80px;
    }
    .single__title::before {
      width: 108px;
      height: 45px;
      top: 15px;
      left: -87px;
    }
    .single__title::after {
      width: 108px;
      height: 45px;
      top: 15px;
      right: -87px;
      transform: scale(-1, 1);
    }

  }
  
  @media screen and (max-width: 500px) {
    /*mob -vert*/
    /*all*/
    .header__content{
      background-image: url('../img/header_3.svg');
      padding: 10px 0 70px;
    }
    .logo img {
      width: 120px;
      height: 53px;
    }
    .back{
      width: 12px;
      height: 20px;
    }
    .single__title{
      font-size: 20px;
      min-height: 60px;
      text-transform: uppercase;
      font-family: 'Nunito';
      font-weight: 800;
    }
    .single__title::before {
      width: 53px;
      height: 45px;
      top: -3px;
      left: -7px;
    }
    .single__title::after {
      width: 53px;
      height: 45px;
      top: -3px;
      right: -7px;
      transform: scale(-1, 1);
    }
    

  }
  