/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

body, html {
  padding: 0;
  margin: 0; }

body, html{
  background: #FFEEEB url(../img/mobile_bg.webp);
  background-size: 450px;
  background-position: center;
  background-repeat: repeat-y;
}

.bg__stars_right{
  background: url('../img/bg_items/bg__starts_right.webp');
  background-size: 25px;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: -2%;
  right: 10%;
  height: 64px;
  width: 38px;
}

img {
  width: 100%; }

html,body,section{
  height: auto;
}


.wrapper{
  position: relative;
  max-width: 768px;
  width: 100%;
  margin: 0 auto;
}

header {
  position: relative;
  z-index: 50;
  /*transform: translate(0%, -100%);*/
  -webkit-transform: translate(0%, 0%);
      -ms-transform: translate(0%, 0%);
          transform: translate(0%, 0%);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s; 
}

header.ready {
/*  transform: translate(0%, 0%); */
}

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

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

.header_content {
  padding: 8px 20px 0 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; 
}
.header_content .back{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 42px;
  height: 42px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 4px 8px 4px 8px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  border-radius: 14px;
  -webkit-box-shadow: -3px 3px 0px 0px rgba(33,28,25,1);
  box-shadow: -3px 3px 0px 0px rgba(33,28,25,1);
  border: 1px solid #211C19; 
  cursor: pointer;
  background: #fff;
  position: absolute;
  top: 20px;
  left: 18px;
}
.header_content .back.active {
  -webkit-transform: rotate(0deg) perspective(1000px) rotateY(360deg);
          transform: rotate(0deg) perspective(1000px) rotateY(360deg); 
}
.text_back{
  color: #211C19;
  text-align: center;
  font-family: Poppins;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 0.28px;
  display: block;
  margin-top: -4px;
}

.header_content .back img {
  width: 100%; }
.header_content .logo_box {
  max-width: 95px;
  margin-left: auto;
  margin-right: auto;
}

.main_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.main_box.ready {

}
.main_box .main_text {
  color: #211C19;
  text-align: center;
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 21.6px */
  letter-spacing: 0.36px;
  border-radius: 14px;
  border: 1px solid #211C19;
  background: rgba(255, 255, 255, 0.16);
  display: inline-block;
  padding: 4px 16px;
  margin: 0px auto 12px;
}


.navigation {
  opacity: 0;
  -webkit-transition: 0.8s;
  -o-transition: 0.8s;
  transition: 0.8s;
 }

.description_box {
  width: 95%;
  max-width: 300px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 16px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-align: justify;
  z-index: 3;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;

  box-sizing: border-box;
  -webkit-box-shadow: -3px 3px 0px 0px rgba(33,28,25,1);
  box-shadow: -3px 3px 0px 0px rgba(33,28,25,1);
  border: 1px solid #211C19;
  background: #FFF6F5;
  border-radius: 13px;
  position: relative;
  margin-bottom: 12px;
}


.description_box img{
    display: block;
    height: 165px;
    width: 100%;
}
 
.description_box:after {
    content: '';
    position: absolute;
    bottom: -25px;
    height: 25px;
    width: 1px;
    background: transparent;
    z-index: -1;
}

.description_box img {
  border-radius: 10px; 
  width: 100%;
  height: 164px;
  overflow: hidden;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  margin-bottom: 5px;
}
.description_box span{
    color: #211C19;
    font-size: 14px;
    font-family: Poppins, sans-serif;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: 0.36px;
    word-wrap: break-word;
}
.description_box .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  height: auto;
  margin: 0px;
  padding: 10px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-box-shadow: -3px 3px 0px 0px rgba(33,28,25,1);
  box-shadow: -3px 3px 0px 0px rgba(33,28,25,1);
  border: 1px solid #211C19;
  background: #FFF6F5;
  border-radius: 13px;
  position: relative;
  margin-bottom: 16px;
  text-decoration: none;
}
.description_box:after {
  content: '';
  position: absolute;
  bottom: -25px;
  height: 25px;
  width: 1px;
  background: transparent;
  z-index: -1; }

/*end figure style*/

/*Убрать полосу прокрутки у элемента*/
.wrapper::-webkit-scrollbar {
  width: 0; }

/*Убрать полосу прокрутки для всей страницы*/
::-webkit-scrollbar {
  width: 0; }

figure{
  margin: 0;
}

/*end figure style*/
.description_box > * {
  -ms-flex-item-align: stretch;
      -ms-grid-row-align: stretch;
      align-self: stretch;
  text-align: justify;
  font-family: Nunito, sans-serif;
  font-style: normal;

  font-size: 14px;
  color: #211C19;
  font-size: 14px;
  font-weight: 400;
  line-height: 16.80px;
  letter-spacing: 0.28px;
  word-wrap: break-word;
  width: 100%;
  margin-top: 0;
  margin-bottom: 10px;
}



/*Убрать полосу прокрутки у элемента*/
.wrapper::-webkit-scrollbar {
  width: 0; 
}

/*Убрать полосу прокрутки для всей страницы*/
::-webkit-scrollbar {
  width: 0; }

.section_content{
    padding-bottom: 25px;
}

.description_box .item img {
    border-radius: 8px
}

.description_box ul,
.description_box ol{
    -webkit-box-sizing: border-box;
            box-sizing: border-box;   
}

@media all and (min-width: 360px) and (min-height: 535px) {
  .main_box .main_text {
    font-size: 16px;
    padding: 8px 16px;
    margin: 10px auto 23px;
  }
  .header_content .logo_box {
    max-width: 116px;
  }
}

@media all and (min-width: 360px) and (min-height: 560px) {
    .header_content .logo_box{
      max-width: 116px;
    }
    .section_content{
      padding-top: 0px;
    }
    .description_box {
        max-width: 330px;
    }
}
@media all and (min-width: 374px){
    .description_box span{
        font-size: 18px;
        line-height: 21.60px;
    }
    .description_box>* {
        font-size: 16px;
        line-height: 19.20px;
    }
    .description_box img{
        height: 200px;
        margin-bottom: 10px;
    }
    .description_box .item{
        padding-bottom: 15px;
    }
    .main_box .main_text{
      margin-top: 0;
    }
}

@media all and (min-width: 374px) and (min-height: 660px) {
  .main_box .main_text{
    margin-top: 10px;
  }
  .header_content .logo_box{
    max-width: 186px;
  }
}

@media all and (min-width: 390px) and (min-height: 553px) {
  .header_content .logo_box{
    max-width: 186px;
  }
  .main_box .main_text{
    font-size: 16px;
    padding: 8px 16px;
  }
  .description_box{
    max-width: 370px;
  }

}




@media all and (min-width: 450px) and (min-height: 900px) {
    body, html {
        background: #FFEEEB url(../img/main_bg.webp);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .description_box{
        padding: 16px;
    }
}

/*Iphone 5S - Album - Chrome*/
@media screen and (min-width: 568px) {
  body, html {
      background: #FFEEEB url(../img/main_bg.webp);
      background-size: 1920px;
      background-position: center;
      background-repeat: repeat-y;
  }
  .description_box>* {
      color: #211C19;
      font-size: 14px;
      line-height: 16.80px;
      letter-spacing: 0.28px;
      word-wrap: break-word;
      width: 100%;
  }
  .description_box{
      max-width: 500px;   
  }
  .description_box img{
      max-width: 270px;
      margin: 0 auto 12px;
  }

  .main_box .main_text{
    font-size: 14px;
    padding: 7px 16px;
  }
  .header_content .back{
    top: 4px;
    padding: 4px 8px;
  }
  /*.header_content .logo_box{
    display: none;
  }*/
}
@media screen and (min-width: 568px) and (min-height: 315px){
  .header_content .logo_box{
    display: block;
    max-width: 92px;
  }
  .header_content .back{
    top: 20px;
  }
}

@media screen and (min-width: 568px) and (min-height: 500px){
  .header_content {
    padding: 10px 20px 10px 10px;
  }
 
}

@media screen and (min-width: 568px) and (min-height: 330px){
  .header_content .logo_box{
   max-width: 130px;
  }
  .section_content{
   padding-top: 10px;
  }

}
@media screen and (min-width: 667px) and (min-height: 330px){
  .description_box{
    max-width: 500px;   
  }
}




@media all and (min-width: 768px) and (min-height: 768px) {
  body, html {
    background: #FFEEEB url(../img/main_bg.webp);
    background-size: 1920px;
    background-position: center;
    background-repeat: repeat-y;
  }
  .bg__stars_right{
      top: 0;
      width: 50px;
      height: 75px;
      background-size: contain;
  }
  .description_box {
      max-width: 500px;
  }
  .description_box>* {
      font-size: 16px;
      line-height: 19.20px;
  }
  .header_content .logo_box{
    max-width: 186px;
  }
}


/*Iphone 8+, Iphone 6s+ - Port*/
@media all and (min-width: 768px) and (min-height: 905px) {

  .header_content .logo_box{
    max-width: 280px;
  }
  
  .header_content {
    padding: 10px
  }


  .main_box .main_text {
    font-size: 22px; }

  .description_box {
    max-width: 500px;
    padding: 20px 20px 20px 20px;
  }
  .description_box .item{
    max-width: 370px;
    margin: 0 auto;
  }

  .description_box > *{
    font-size: 16px;
    line-height: 20px;
  }
  .description_box{/*only for title*/
    font-size: 20px;
    line-height: 30px;
  }
  .description_box .item{
    width: 100%;
  }

  .header_content .back{
    padding: 4px 9px 4px 9px;
  }
  .text_back{
    font-size: 14px;
    margin-top: -5px;
  }
  .description_box img{
    max-width: 390px;
    height: 188px;
  }

}
@media all and (min-width: 768px) and (min-height: 1023px) {
  .wrapper{background-size: cover;}
}


@media all and (min-width: 1200px) and (min-height: 600px){
  .header_content .logo_box{
    max-width: 116px;
  }
  .main_box .main_text{
    margin-top: 0;
  }
  .header_content{
    padding-bottom: 0;
  }
  .header_content .back{
    padding: 5px 9px;
  }
  .header_content .back{
    position: absolute;
    top: 30px;
    left: 18px;
    width: 50px;
    height: 50px;
    padding: 5px 9px;
  }
  .header_content {
    padding: 20px 20px 0px 10px;
  }
  .main_box .main_text{
    margin: 0 auto 23px;
  }
}



@media all and (min-width: 1200px) and (min-height: 800px){
  .header_content .logo_box{
    max-width: 280px;
  }
}
/*Windows 1440*900 */
/* Андрій - комп*/
/*в браузере: 1520x722*/
/*1600x1200*/
/*в браузере: 1583x1050*/
/*1600x787*/
/*в браузере: 1600x787 - Asus X75*/
/*1680x1050*/
/*в браузере: 1663x900*/
/*1920x1080*/
/*в браузере: 1903x930*/
/*1920x1080*/
/*Мій комп на хромі*/
/*в браузере: 1903x969*/
/*1920x1200*/
/*в браузере: 1903x1050*/
@media screen and (min-width: 1900px)and (min-height:1049px) {
  .wrapper{background-size: cover;}}
/*2K*/
/*2048x1536*/
/*в браузере: 2031x1386*/
@media screen and (min-width: 2030px)and (min-height:1380px) {
  .description_box {top: 32%;}}
/*4K windows*/
/*3840x2160*/
/*в браузере: 2543x1300*/
@media screen and (min-width: 2540px)and (min-height:1299px){
  .description_box {top: 32%;}}
/*Media Requests*/
/*PC*/
/*4k mac*/
/*6720x3780*/
/*в браузере: 3360x1755*/