body, html {
  padding: 0;
  margin: 0; }

body {
  background: #000316; }

img {
  width: 100%; }

html,body,section{
  height: 100%;
}


.wrapper.default{
  position: relative;
  max-width: 768px;
  width: 100%;
  margin: 0 auto;
  background: url(../img/horoscope_bg.jpg);
  background-size: auto;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
 /* min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);*/
}

header {
  position: relative;
  z-index: 50;
  transform: translate(0%, -100%);
  transition: 0.3s; }

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); }

.header_content {
  background: #00010C;
  border-bottom: 2px solid #7F818B;
  padding: 0 20px 0 10px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center; }
  .header_content .back {
    width: 10px;
    padding: 10px 13px 10px 10px;
    transform: rotate(0deg) perspective(1000px) rotateY(0deg);
    transition: 0.5s; }
    .header_content .back img {
      width: 100%; }
    .header_content .back.active {
      transform: rotate(0deg) perspective(1000px) rotateY(360deg); }
  .header_content .logo_box {
    max-width: 58px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); }

.main_box {
  z-index: 11;
  position: absolute;
  top: 55px;
  left: 50%;
  transform: translate(-50%, -200%);
  transition: 0.6s; }
  .main_box img {
    transform: rotate(0deg) perspective(1000px) rotateX(0deg);
    transition: 0.5s; }
  .main_box img:hover {
    transform: rotate(0deg) perspective(1000px) rotateX(360deg); }

.main_box.ready {
  transform: translate(-50%, 0%); }

.main_box .main_item {
  max-width: 65px;
  margin: 0 auto; }
.main_box .main_text {
  font-size: 15px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Avenir Next LT Pro';
  font-weight: normal;
  font-style: normal; }
.main_box img {
  width: 100%; height: auto;}

/*figure*/
.figure, .figure2 {
  position: absolute;
  width: 100%;
  height: 100%;
  /*height: 100vh;
  height: calc(var(--vh, 1vh) * 100);*/
  overflow: hidden;
  margin: 0;
  z-index: 1; }

.figure:after, .figure2:after {
  content: '';
  position: absolute;
  background: transparent;
  border: 1px solid #F7F7F7;
  transition: 0.3s;
  opacity: 0; }

.figure:after {
  width: 220px;
  height: 220px;
  left: 50%;
  top: 0%;
  border-radius: 100%;
  transform: translate(-50%, -100%);
  background: #000316; }

.figure2:after {
  border: 1px solid #B2B4B6;
  width: 300px;
  height: 300px;
  left: 50%;
  top: 0%;
  border-radius: 100%;
  transform: translate(-50%, -200%); }

.opacity.figure:after {
  opacity: 1;
  transform: translate(-50%, -50%);
  transition: 0.6s; }

.opacity.figure2:after {
  opacity: 1;
  transform: translate(-50%, -50%);
  transition: 0.6s; }

.navigation {
  opacity: 0;
  transition: 0.8s;
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -100%); }
  .navigation.ready .tabs {
    transition: transform 0.4s 0.08s, z-index 0s 0.5s;
    transform: translate(0%, -50%) scale(1);
    z-index: 2;
    color: #fff;
    width: 320px;
    height: 320px;
    padding: 0; }
  .navigation .tabs li {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(0%, -50%);
    transform-origin: center;
    transition: all 0.5s 0.1s;
    opacity: 0; }
  .navigation.ready .tabs li {
    transition: all 0.5s 0.1s;
    opacity: 1;
    z-index: 50;
    list-style: none; }
  .navigation .tabs li a {
    box-sizing: border-box;
    border: 1px solid #F7F7F7;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    position: absolute;
    font-size: 8px;
    text-align: center;
    color: #7F7F7F;
    background: #2A2A2A;
    text-decoration: none;
    text-transform: uppercase;
    font-family: sans-serif;
    font-family: 'Avenir Next LT Pro';
    font-weight: normal;
    font-style: normal;
    transition: 0.7s; }
    .navigation .tabs li a.active {
      color: #fff; }
  .navigation.ready .tabs li:nth-child(1) {
    transition-delay: 0.1s;
    transform: rotate(25deg) translate(0px, 175px); }
  .navigation.ready .tabs li:nth-child(1) a {
    transition-delay: 0.2s;
    transform: translate(-50%, -50%) rotate(335deg); }
  .navigation.ready .tabs li:nth-child(1) a:hover {
    transform: translate(-50%, -50%) rotate(335deg) perspective(1000px) rotateY(360deg);
    background: #318CE7; }
  .navigation.ready .tabs li:nth-child(2) {
    transition-delay: 0.2s;
    transform: rotate(0deg) translate(0px, 175px); }
  .navigation.ready .tabs li:nth-child(2) a {
    transition-delay: 0.3s;
    transform: translate(-50%, -50%) rotate(360deg); }
  .navigation.ready .tabs li:nth-child(2) a:hover {
    transform: translate(-50%, -50%) rotate(360deg) perspective(1000px) rotateY(360deg);
    background: #F07427; }
  .navigation.ready .tabs li:nth-child(3) {
    transition-delay: 0.3s;
    transform: rotate(-25deg) translate(0px, 175px); }
  .navigation.ready .tabs li:nth-child(3) a {
    transition-delay: 0.4s;
    transform: translate(-50%, -50%) rotate(385deg); }
  .navigation.ready .tabs li:nth-child(3) a:hover {
    transform: translate(-50%, -50%) rotate(385deg) perspective(1000px) rotateY(360deg);
    background: #5CE78B; }

.navigation.ready {
  opacity: 1;
  transform: translate(-50%, 0%);
  z-index: 10; }

.description_box {
  position: absolute;
  top: 250px;
  left: 50%;
  transform: translate(-50%, 200%);
  color: #fff;
  width: 95%;
  padding: 0 10px 10px 10px;
  background: #2A2A2A;
  border: 1px solid #D7D9DB;
  border-radius: 8px;
  box-sizing: border-box;
  text-align: justify;
  opacity: 0;
  transition: 1.2s;
  z-index: 3;
}
  .description_box.ready {
    opacity: 1;
    transform: translate(-50%, 0%); }
  .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;
    font-family: 'Roboto';
    font-weight: normal;
    font-style: normal; }
  .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: 'Roboto';
  font-weight: normal;
  font-style: normal;
}

.description_box > *.active {
  display: block;
  opacity: 1;
}


/*Убрать полосу прокрутки у элемента*/
.wrapper::-webkit-scrollbar {
  width: 0; }

/*Убрать полосу прокрутки для всей страницы*/
::-webkit-scrollbar {
  width: 0; } 
  

@media all and (min-width: 320px) and (min-height: 500px) {}
@media all and (min-width: 360px) and (min-height: 560px) {
  .description_box {
    top: 270px; }

  .main_box {
    top: 65px }

  .navigation .tabs li a {
    width: 66px;
    height: 66px;
    font-size: 10px; }

  .figure:after {
    width: 260px;
    height: 260px; }

  .figure:after {
    transform: translate(-50%, -50%); }

  .figure2:after {
    width: 345px;
    height: 345px;
    transform: translate(-50%, -50%); }

  .navigation.ready .tabs li:nth-child(1) {
    transform: rotate(25deg) translate(0px, 200px); }
  .navigation.ready .tabs li:nth-child(2) {
    transform: rotate(0deg) translate(0px, 200px); }
  .navigation.ready .tabs li:nth-child(3) {
    transform: rotate(-25deg) translate(0px, 200px); } }
@media all and (min-width: 360px) and (min-height: 660px) {
 }
@media all and (min-width: 375px) and (min-height: 553px) {
  .navigation .tabs li a {
    width: 66px;
    height: 66px;
    font-size: 10px; } }
@media all and (min-width: 375px) and (min-height: 700px) {

}


/*Iphone 5S - Album - Chrome*/
@media screen and (min-width: 568px)and (min-height:244px) {
  .description_box{
    top: 230px;
  }
  .main_box {
    top:55px;
  }
}


@media screen and (min-width: 568px) and (min-height: 500px){
  .description_box{
    top: 50%;
  }
  .main_box{
    top: 12%;
  }
  .header_content {
  padding: 10px 20px 10px 10px; }

  .navigation.ready .tabs li:nth-child(1) {
    transform: rotate(25deg) translate(0px, 205px); }
  .navigation.ready .tabs li:nth-child(2) {
    transform: rotate(0deg) translate(0px, 205px); }
  .navigation.ready .tabs li:nth-child(3) {
    transform: rotate(-25deg) translate(0px, 205px); } 
}


@media screen and (min-width: 568px) and (min-height: 560px){
  .navigation.ready .tabs li:nth-child(1) {
    transform: rotate(25deg) translate(0px, 220px); }
  .navigation.ready .tabs li:nth-child(2) {
    transform: rotate(0deg) translate(0px, 220px); }
  .navigation.ready .tabs li:nth-child(3) {
    transform: rotate(-25deg) translate(0px, 220px); } 
}


/*Iphone 8+, Iphone 6s+ - Port*/
@media all and (min-width: 768px) and (min-height: 905px) {
  .header_logo {
    max-width: 85px; }

  .header_content {
    padding: 10px 20px 10px 10px; }

  .header_content .logo_box {
    max-width: 78px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); }

  .main_box {
    top: 10%; }

  .main_box .main_item {
    max-width: 100px; }

  .main_box .main_text {
    font-size: 22px; }

  .navigation .tabs li a {
    width: 95px;
    height: 95px;
    font-size: 14px; }
  .navigation.ready .tabs li:nth-child(1) {
    transform: rotate(25deg) translate(0px, 290px); }
  .navigation.ready .tabs li:nth-child(2) {
    transform: rotate(0deg) translate(0px, 290px); }
  .navigation.ready .tabs li:nth-child(3) {
    transform: rotate(-25deg) translate(0px, 290px); }

  .figure:after {
    width: 378px;
    height: 378px;
    background: #2A2A2A; }

  .figure:after {
    transform: translate(-50%, -50%) scale(1); }

  .figure2:after {
    width: 490px;
    height: 490px;
    transform: translate(-50%, -50%) scale(1); }

  .description_box {
    top: 50%; }

  .description_box > * {
    font-size: 20px; }

  .description_box {
    max-width: 500px;
    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) {
  .main_box {top: 95px;}
  .wrapper{background-size: cover;}}
@media all and (min-width: 1023px) and (min-height: 700px) {
  .main_box {top: 65px;}}
@media all and (min-width: 1023px) and (min-height: 985px) {
  .main_box {top: 90px;}}
/*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: 90px;}}
/*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: 90px;}}
/*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) {
  .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*/
@media screen and (min-width: 3350px)and (min-height:1750px){}