body,
html {
  padding: 0;
  margin: 0;
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
}

body {
  background: #E8D2F5;
}

img {
  width: 100%;
}

html,
body,
section {
  height: 100%;
}


.wrapper.default {
  position: relative;
  width: 100%;
  margin: 0 auto;
  background-image: url("../img/horoscope_bg.svg"), linear-gradient(180deg, #E8D2F5 0%, #E2E2F7 100%);
  background-size: auto;
  background-position: center top;
  background-repeat: repeat;
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
}

.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 {
  transform: translate(0%, 0%);
}

.logo {
  transform: rotate(0deg) perspective(1000px) rotateX(0deg);
  transition: 0.5s;
}

.logo:hover {
  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;
}

.header_content .back.active {
  transform: rotate(0deg) perspective(1000px) rotateY(360deg);
}


.single__box{
  text-align: center;
}
.single__title{
  color: #4E2575;
  font-size: 30px;
  position: relative;
  max-width: 200px;
  margin: 0 auto;
  font-weight: 700;
}

.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: -100px;
  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: -100px;
  transform: scale(-1, 1);
  z-index: 2;
}


.navigation{
  margin-top: 50px;
  position: relative;
  min-height: 470px;
}

.navigation ul{
  padding: 0;
  max-width: 550px;
  width: 100%;
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding-bottom: 60px;

}
.navigation::before{
  content: "";
  background-image: url('../img/duga_desk.svg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: contain;
  position: absolute;

  top: 12px;
  left: 50%;
  transform: translate(-50%,0%);
  width: 100%;
  height: 100%;
  /* z-index: -1; */
}


.navigation .tabs li a {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: #FFFFFF;
  color: #B197CA;
  border: 3px solid #B197CA;
  border-radius: 53px;
  width: 150px;
  height: 30px;
  font-size: 20px;
  text-align: center;
  color: #7F7F7F;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.7s;
}
.navigation .tabs li a:hover{
  color: #4E2575;
  border: 3px solid #4E2575;
}
.navigation .tabs li a.active{
  color: #4E2575;
  border: 3px solid #4E2575;
}
.navigation .tabs li:nth-child(1) {
  transform: rotate(-7deg) translate(0px, 19px);
}
.navigation .tabs li:nth-child(2) {
  z-index: 1;
}

.navigation .tabs li:nth-child(3) {
  transform: rotate(7deg) translate(0px, 17px);
}


.description_box {
  margin: 0 auto;
  color: #240C3A;
  max-width: 628px;
  width: 85%;
  padding: 0 10px 10px 10px;
  background: #FFFFFF;
  border: 3px solid #4E2575;
  border-radius: 20px;
  box-sizing: border-box;
  text-align: justify;
  opacity: 0;
  transition: 1.2s;
  z-index: 3;
}

.description_box.ready {
  opacity: 1;
}

.description_box h2 {
  font-size: 17px;
  font-family: 'Avenir Next LT Pro';
  font-weight: normal;
  font-style: normal;
  text-transform: uppercase;
  text-align: center;
}

.description_box p {
  font-size: 14px;

}

.description_box:after {
  content: '';
  position: absolute;
  bottom: -25px;
  height: 25px;
  width: 1px;
  background: transparent;
  z-index: -1;
}

/*end figure style*/
.description_box>* {
  display: none;
  opacity: 0;
  font-size: 14px;
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
}

.description_box>*.active {
  display: block;
  opacity: 1;
}


/*Убрать полосу прокрутки у элемента*/
.wrapper::-webkit-scrollbar {
  width: 0;
}

/*Убрать полосу прокрутки для всей страницы*/
::-webkit-scrollbar {
  width: 0;
}


@media all and (min-width: 360px) and (min-height: 560px) {
 

}

@media all and (min-width: 360px) and (min-height: 660px) {}

@media all and (min-width: 375px) and (min-height: 553px) {
  
}

@media all and (min-width: 375px) and (min-height: 700px) {}


/*Iphone 5S - Album - Chrome*/
@media screen and (min-width: 568px)and (min-height:244px) {

 
}


@media screen and (min-width: 568px) and (min-height: 500px) {

}

@media screen and (min-width: 1400px) and (min-height: 500px){
  /* header {
    background-image: url(../img/header.svg);
  } */
}


@media screen and (min-width: 568px) and (min-height: 560px) {

}


/*Iphone 8+, Iphone 6s+ - Port*/
@media all and (min-width: 768px) and (min-height: 905px) {
  

  .description_box>* {
    font-size: 20px;
  }

  .description_box {
    padding: 0 20px 20px 20px;
  }

  .description_box h2 {
    font-size: 25px;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .description_box p {
    font-size: 20px;
  }
}


@media all and (min-width: 768px) and (min-height: 1023px) {

}

@media all and (min-width: 1023px) and (min-height: 700px) {
  
}

@media all and (min-width: 1023px) and (min-height: 985px) {
 
}

/*Windows 1440*900 */
@media screen and (min-width: 1439px)and (min-height:788px) {
  
}

/* Андрій - комп*/
/*в браузере: 1520x722*/
@media screen and (min-width: 1519px)and (min-height:720px) {

}

/*1600x1200*/
/*в браузере: 1583x1050*/
@media screen and (min-width: 1580px)and (min-height:1049px) {
  
}

/*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) {

}

/*1920x1080*/
/*Мій комп на хромі*/
/*в браузере: 1903x969*/
@media screen and (min-width: 1900px)and (min-height:968px) {}

/*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) {

}

/*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);
  }
   /* tabs */
   .navigation ul{
    max-width: 500px;
  }
  .navigation::before{
    background-image: url('../img/duga_tab.svg');
  }
  .navigation .tabs li:nth-child(1) {
    /* transform: rotate(-24deg) translate(0px, 42px); */
  }
  .navigation .tabs li:nth-child(3) {
    /* transform: rotate(24deg) translate(0px, 42px); */
  }
}

@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;
  }
  .single__title::before {
    width: 53px;
    height: 45px;
    top: -1px;
    left: -7px;
  }
  .single__title::after {
    width: 53px;
    height: 45px;
    top: -1px;
    right: -7px;
    transform: scale(-1, 1);
  }
  
  .navigation .tabs li a {
    width: 122px;
    height: 26px;
    font-size: 18px;
  }
  .navigation ul{
    max-width: 400px;
    justify-content: space-evenly;
  }
  .navigation ul {
    max-width: 380px;
    padding-bottom: 30px;
  }
  .navigation .tabs li a {
    width: 100px;
    height: 24px;
    font-size: 12px;
  }
  .navigation .tabs li:nth-child(1) {
    transform: rotate(-11deg) translate(0px, 15px);
  }
  .navigation .tabs li:nth-child(3) {
    transform: rotate(11deg) translate(0px, 15px);
  }
}

@media screen and (min-width: 408px) and (max-width: 415px) and (max-height: 640px) {
  /*mob - vert*/
  /*Pixel*/
  /*8+*/
  .navigation .tabs li a {
    width: 100px;
    height: 24px;
    font-size: 13px;
  }
  .navigation ul {
    justify-content: space-evenly;
    max-width: 390px;
    padding-bottom: 25px;
  }
  .navigation .tabs li:nth-child(1) {
    transform: rotate(-11deg) translate(0px, 15px);
  }
  .navigation .tabs li:nth-child(3) {
    transform: rotate(11deg) translate(0px, 15px);
  }
}

@media screen and (max-width: 375px) {
  /*mob - vert*/
  /*разные*/
  .navigation .tabs li a {
    width: 100px;
    height: 24px;
    font-size: 13px;
  }
  .navigation ul {
    max-width: 310px;
    padding-bottom: 30px;
  }
  .navigation .tabs li:nth-child(1) {
    transform: rotate(-11deg) translate(0px, 15px);
  }
  .navigation .tabs li:nth-child(3) {
    transform: rotate(11deg) translate(0px, 15px);
  }
}

@media screen and (max-width: 320px) {
  .navigation .tabs li a {
    width: 100px;
    height: 24px;
    font-size: 13px;
  }
  .navigation ul {
    max-width: 310px;
    padding-bottom: 30px;
  }
  .navigation .tabs li:nth-child(1) {
    transform: rotate(-11deg) translate(0px, 15px);
  }
  .navigation .tabs li:nth-child(3) {
    transform: rotate(11deg) translate(0px, 15px);
  }
}

@media screen and (orientation: landscape) and (min-width: 480px) and (max-width: 950px) and (max-height: 500px) {
  /*mob horizontal*/
  /*all*/
  .back {
    width: 12px;
    height: 13px;
  }
  .single__title {
    font-size: 20px;
}
.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);
}
  .header__content{
    background-image: url(../img/header.svg);
    padding: 10px 0 50px;
  }
  .logo img {
    width: 100px;
    height: 33px;
}
.single__box {
  text-align: center;
  padding-bottom: 5px;
}
.navigation{
  margin-top: 20px;

}
.navigation ul{
  padding-bottom: 20px;
  min-height: 63px;
  max-width: 445px;
}
.navigation .tabs li:nth-child(1) {
  transform: rotate(-8deg) translate(0px, 15px);
}
.navigation .tabs li:nth-child(3) {
  transform: rotate(8deg) translate(0px, 14px);
}
.navigation .tabs li a{
  width: 128px;
  font-size: 15px;
}
}