@import url('https://fonts.googleapis.com/css?family=Merriweather:300,900');
@import url('https://use.typekit.net/ptq4wnv.css');

body {
    background: url(i/bg/bg.png) no-repeat center bottom fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    font-family: Merriweather;
}

body.nobackground {
    background: #fff;
}

body.space {
    background-image: url(i/bg/bg-planet.png)
}

#planet-bg {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: url(i/bg/bg-planet.png) no-repeat center bottom fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    opacity: 0;
}

.logo {
    position: fixed;
    top: 60px;
}

#container {
    position: fixed;
    top: 0;
    left: 50vw;
    width: 50vw;
    height: 100vh;
}

.static-image {
    display: none;
}

#container>img {
    position: absolute;
}

#man img {
    left: 135px;
    bottom: 73px;
    width: 230px;
    position: absolute;
}

#man .shadow {
    bottom: -43px;
    left: 130px;
    width: 206px;
}

#man .man-skelet {
    opacity: 0;
}

#hooks {
    left: 137px;
    bottom: 313px;
    width: 218px;
    position: absolute;
}

.ground {
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    z-index: 0;
}

#ground-planet {
    opacity: 0;
}

#egypt {
    position: fixed;
    bottom: 70px;
    right: 0;
    width: 650px;
    opacity: 0;
}

#backscene {
    position: fixed;
    bottom: 50px;
    right: -20vw;
    z-index: -1;
}

#mountain,
.tower {
    position: fixed;
    right: 0;
}

#mountain {
    bottom: 84px;
    width: 660px;
}

.tower{
    display: none;
    bottom: 70px;
    width: 520px;
}

#city {
    position: fixed;
    right: 0;
    transform: rotate(-3deg);
    display: none;
    width: 520px;
    bottom: -100px;
}

#greece {
    width: 900px;
    bottom: 60px;
    position: fixed;
    right: 0;
    opacity: 0;
}

.rays {
    display: none;
    width: 65%;
    position: fixed;
    bottom: 50px;
    right: 0;
}

.hide {
    display: none !important;
}

.active {
    display: block !important;
}

.z-index-down {
    z-index: 1 !important;
}

#hat {
    left: 231px;
    bottom: 630px;
    width: 70px;
    z-index: 5 !important;
}

#sun {
    width: 180px;
    top: -180px;
    left: -180px;
}

#wave {
    width: 70vw;
    bottom: -20vh;
    right: -20vw;
    opacity: 1;
}

#drops {
    width: 500px;
    bottom: 30px;
    left: 0;
    opacity: 0;
}

#knives img {
    position: absolute;
}

#knives img:nth-child(1) {
    width: 60px;
    left: 10px;
    bottom: 145px;
}

#knives img:nth-child(2) {
    width: 70px;
    left: 46px;
    bottom: 170px;
}

#knives img:nth-child(3) {
    width: 35px;
    left: 390px;
    bottom: 170px;
}
#knives-ground {
    bottom: -30px;
}

#brick-left {
    width: 75px;
    top: -55px;
    left: -75px;
}

#brick-right {
    width: 60px;
    top: 50px;
    right: -59px;
}

.bricks-crushed {
    width: 60px;
    bottom: 630px;
    left: 240px;
    opacity: 0;
}

#head {
    width: 61px;
    bottom: 581px;
    left: 234px;
    display: none;
}

#head-beard {
    width: 74px;;
    bottom: 574px;
    left: 230px;
    display: none;
    z-index: 4 !important;
}

#head-stars {
    width: 250px;
    left: 145px;
    bottom: 560px;
    display: none;
}

#beard-hat {
    width: 120px;
    top: -75px;
    left: 200px;
    z-index: 5 !important;
}

#symbols {
    width: 280px;
    left: 125px;
    bottom: 530px;
    display: none;
}

#arm {
    width: 60px;
    bottom: 357px;
    left: 141px;
}

#wood-arm {
    width: 60px;
    bottom: 310px;
    left: 308px;
}

#iron-arm {
    width: 70px;
    bottom: 0;
    left: 160px;
    transform: rotate(-45deg);
}

#sputnik {
    width: 300px;
    top: -200px;
    left: -70vw;
}

#roads {
    width: 1020px;
    bottom: 0;
    left: -305px;
}

#mammoths {
    width: 500px;
    bottom: 0;
    right: -30vw;
}

#smoke {
    width: 280px;
    height: 250px;
    top: 0;
    left: 190px;
    opacity: 0;
}

#holes, #ground-with-holes, #legs {
    bottom: 0;
    left: -300px;
    display: none;
    position:absolute;
}

#legs {
    display: block;
}

#legs img{
    position:absolute;
}

#legs img:nth-child(1) {
    bottom: -140px;
    width: 70px;
    left: 30px;
    transform: rotate(30deg);
 }

#legs img:nth-child(2) {
    bottom: -120px;
    width: 70px;
    left: 288px;
}

#legs img:nth-child(3) {
    bottom: -300px;
    width: 65px;
    left: 366px;
}

#legs img:nth-child(4) {
    bottom: -100px;
    width: 60px;
    left: 824px;
}

#ears {
     width: 80%;
     top: -1000px;
     left: 20px;
}

#ears-man {
    width: 85px;
    bottom: 586px;
    left: 221px;
}

#smiles {
    width: 80%;
    top: -1000px;
    left: 20px;
    display: none;
}

#goats {
    position: fixed;
    //display: none;
    width: 600px;
    left: -600px;
    bottom: -3vh;
    transform: rotate(-2deg);
}

#goats img {
    position: absolute;
    width: 100px;
}

#goats img:nth-child(1) {
    left: 0px;
    bottom: 0px;
}

#goats img:nth-child(2) {
    left: 110px;
    bottom: 5px;
}

#goats img:nth-child(3) {
    left: 230px;
    bottom: 10px;
}

#goats img:nth-child(4) {
    left: 340px;
    bottom: 20px;
}

#goats img:nth-child(5) {
    left: 450px;
    bottom: 30px;
}

#greeks {
    position: fixed;
    width: 300px;
    left: -300px;
    bottom: -3vh;
}

#money1 {
    bottom: 6%;
    width: 65%;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: -1;
    display: none;
}

#money2 {
    width: 65%;
    top: 0;
    left: 0;
    z-index: -1;
    display: none;
}

#money3 {
    width: 55%;
    right: 4%;
    z-index: -1;
    display: none;
}

#dogs {
    width: 500px;
    left:0;
    bottom:0;
}

#scissors,
#needle, #syringes {
    width: 650px;
    left: -260px;
    bottom: 210px;
    display: none;
}

#code {
    width: 600px;
    top: -535px;
    left: 10px;
    display: none;
}


/** Add styles for text **/
.blockquote {
    font-size: 1.4rem;
    line-height: 2.1rem;
    font-weight: bold;
    width: 60%;
    float: left;
    margin-left: -30px;
    margin-bottom: 10px;
    padding-right: 10px;
    color: #666;
}

.blockquote::first-line {
    color: #b39346;
}

.quote {
    border: solid;
    border-image-source: url('i/quote-border.svg');
    border-image-slice: 30% 20%;
    border-image-width: 110px;
    text-align: center;
    width: 540px;
}

.quote-content {
    margin: 50px;
    margin-top: 70px;
}

.text {
    margin-left: 5%;
    padding-top: 50px;
    padding-bottom: 180px;
    max-width: 550px;
    width: 100%;
    position: relative;
}

.text a, .text a:visited {
    color: #b39346;
}

/*
.text::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 5%;
    max-width: 550px;
    width: 100%;
    height: 85px;
    background: #fff;
} */

.text__main {
  //  padding-bottom: 100px;
}

.text__main-title {
    font-size: 67px;
    text-align: center;
    line-height: 54px;
    margin-bottom: 25px;
}

.text__main-title, .text__subtitle-inner {
    color: #666;
    font-family: ff-carina;
}

.text__subtitle-quote {
    color: #666;
    padding-top: 10px;
}

.text__main-subtitle {
    font-size: 20px;
    text-align: center;
    margin-bottom: 25px;
    color: #666;
}

.text__icon {
    float: left;
    height: 100%;
}

.text__icon img {
    height: 48px;
    width: 48px;
    float: left;
    margin-right: 10px;
    fill: #666;
    position: relative;
}

.text__icon.icon-head img{
    bottom: 2px;
}

.text__icon.icon-limbs img{
    bottom: 4px;
}
.text__icon.icon-reproductive img{
    height: 50px;
    width: 50px;
    bottom: 4px;
}
.text__icon.icon-body img {
    bottom: 2px;
}

.text__icon.icon-genes img {
    height: 38px;
    width: 38px;
    bottom: -3px;
}

.text__main-icon {
    width: 100%;
    text-align: center;
    padding-bottom: 26px;
}

.text__main-icon img {
    float: none;
    margin: 0 auto;
}

.text__main-content {
    text-align: center;
    padding-bottom: 20px;
}

.text__main-authors {
    font-size: 12px;
    width: 80%;
    margin: 0 auto;
    padding-bottom: 40px;
}

.text__main-authors-item {
    width: 50%;
    float: left;
    padding-top: 15px;
}

.to-right {
    float: right;
}

.text__main-theme {
    font-weight: 900;
}

.text__subtitle {
    margin-top: 50px;
    margin-bottom: 20px;
}

.text__subtitle-inner {
    font-size: 45px;
    line-height: 1;
}

.text__subtitle-quote {
    margin-bottom: 10px;
    font-weight: 900;
    font-size: 19px;
}

.text__content {
    font-weight: 300;
    font-size: 16px;
    line-height: 26px;
}

.text__first-letter::first-letter {
    font-size: 123px;
    line-height: 57px;
    font-family: ff-carina;
    display: inline-block;
    float: left;
    margin-top: 40px;
    margin-bottom: 0;
    margin-right: 5px;
    color: #b39346;
}

.text-stars {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 25px;
    padding: 15px 0;
    color: #666;
}

.text__footer {
    width: 100%;
    padding-top: 40px;
}

.text__footer-title {
    font-size: 18px;
    line-height: 42px;
    margin-bottom: 10px;
}

.text__sharing {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    width: 65%;
    margin-bottom: 60px;
}

.text__sharing-item {
    width: 56px;
    height: 56px;
    border-radius: 100%;
    background: #b39346;
    margin-right: 10px;
}

.text__authors {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    color: #4a4a4a;
}

.text__authors-item {
    width: 50%;
    margin-bottom: 25px;
    padding-right: 10px;
}

.text__authors-title {
    font-weight: 900;
    font-size: 22px;
    text-transform: uppercase
}

.text__authors-name {
    font-size: 14px;
    line-height: 16px;
}


/** End add styles for text **/


/** media queries **/

@media (max-width: 1200px) {
    .text__main-authors-item {
        width: 100%;
    }

    .quote {
        width:400px;
        border-image-source: url(i/quote-border-medium.svg);
        border-image-slice: 27% 20%;
        border-image-width: 80px;
        margin-left: 0;
    }
    .quote-content {
        margin: 40px;
    }
}

@media (max-width: 1000px) {
    #container, #backscene, .ground, #egypt, #greeks, #goats {
        display: none;
    }

    #planet-bg {
        display: none;
    }

    body {
        background: #ffffff;
    }

    .text {
        //padding-top: 50px;
        padding-bottom: 20px;
    }
    .logo {
        position: fixed;
        top: -63px;
        height: 86px;
        width: 100%;
        background: #fff;
        z-index: 50;
        text-align: center;
    }

    .logo img {
        transform: rotate(-90deg);
        margin: 0 auto;
    }

    .container {
        width: 100%;
        max-width: 990px;
    }

    .col-lg-6 {
        padding-left: 0;
    }

    .text {
        max-width: 990px;
        margin-left: 0;

    }

    .text-block {
        margin: 0 auto;
        max-width: 600px;
        padding-left: 5%;
    }

    .static-image {
        display: block;
        margin: 0;
        padding-bottom: 30px;
    }
    .static-image img {
        width: 100vw;
    }
}

@media (max-width: 650px) {
    .blockquote {
        float: none;
        margin-left: 0;
        width: 100%;
    }

    .text__icon {
        float: left;
    }
}

@media (max-width: 480px) {
    .text__main-title {
        font-size: 46px;
        line-height: 40px;
    }

    .text__subtitle-inner {
        font-size: 30px;
    }

    .text__icon {
        position: relative;
        bottom: 10px;
    }

    .text__icon img {
        width: 36px;
        height: 36px;
        position: relative;
        bottom: -6px;
        margin-right: 10px;
    }

    .text__icon.icon-head img {
       bottom: -6px;
    }

    .text__icon.icon-limbs img {
        bottom: -5px;
    }

    .text__icon.icon-reproductive img {
        bottom: -4px;
        width: 40px;
        height: 40px;
    }

    .text__icon.icon-body img {
        bottom: -6px;
    }

    .text__icon.icon-genes img {
        bottom: -9px;
        width: 30px;
        height: 30px;
    }

}

@media (max-width: 410px) {
    .quote {
        width:320px;
        border-image-source: url(i/quote-border-mob.svg);
        border-image-slice: 15% 30%;
        border-image-width: 90px;
        margin: 0 auto;
    }

    .text__authors-item {
        width: 100%;
    }

}
