/* RELATED INFOGRAPHIC COVER 800x421*/

.related-graphic .left {background-image: url("https://multimedia.scmp.com/infographics/sport/article/3199517/qatar-world-cup-2022/img/cover.jpg");}

body, .related-graphic {background-color: #dfd8d2;}

.author-bottom .author {
    background-color: #dfd8d2;
    border-bottom: 1px solid #aaa;
}

main{overflow: visible}

.cover {
  position: relative;
  margin-bottom: 40px;
  margin-top: 0px;
  height: 75vh;
  background-image: url("../img/cover-bkg.jpg");
  background-size: cover;
  background-position: bottom;
}

.coverPele {
  position: relative;
  margin-bottom: 40px;
  margin-top: 0px;
  height: 75vh;
  background-image: url("../img/cover-pele.png");
  background-size: cover;
  background-position: bottom;
  animation: peleFloating 4s ease-in-out infinite;
}
@keyframes peleFloating {
    0% { transform: translate(0,  0px); }
    50%  { transform: translate(0, -60px); }
    100%   { transform: translate(0%, 0px); }    
}

#peleImg {
    position: absolute;
    top: 7%;
    left: 51%;
    height: 10%;
    animation: ballRoate 2s linear infinite;
}
@keyframes ballRoate {
    0% { transform: rotate( 0deg); }
    100%   { transform: rotate( -359deg); }    
}

.stickyQuote {
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
  z-index: -1
}

.quoteImg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
}

.qImage {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 0.3s;
}
#quotes1.fadeIn, #quotes2.fadeIn, #quotes3.fadeIn, #quotes3b.fadeIn, #quotes4.fadeIn, #quotes5b.fadeIn, #quotes5c.fadeIn, #quotes6.fadeIn, #circle.fadeIn {opacity: 1;}
#quotes5c.fadeOut {opacity: 0;}

#quotes5, #quotes5b, #quotes5d, #quotes5e, #quotes5f, #quotes3, #quotes3a, #quotes4, #limbs {transition: all 0.5s;}

 #quotes3.rotateA, #quotes3a.rotateA, #quotes4.rotateA, #limbs.rotateA {
    animation-name: rotateA;
    animation-duration: 0.2s;
    transform: rotate(30deg);
}
@keyframes rotateA {
    0%   {transform: rotate(0deg);}
    100% {transform: rotate(30deg);}
}

.quoteBoxes{
    width: 100%;
    max-width: 300px;
    top: 0;
    margin: 0 20% 0 auto;
    z-index: 1;
}

.quoteBox {margin-bottom: 100vh;}

.txtBox {
    background-color: #fff;
    border-radius: 10px;
    padding: 16px;
}
.quoteTxt {
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
    font-style: italic;
    text-align: left;
}

.speaker {
    font-family:Roboto;
    font-size: 15px;
    line-height: 20px;
    color: #666;
    text-align: right;
    margin-top: 8px;
    margin-bottom: 0;
}

.heart {
    display: inline-block;
    width: 100%;
    max-width: 460px;
    font-family:Roboto;
    font-size: 15px;
    line-height: 22px;
    font-weight: 300;
    padding: 0 60px;
    vertical-align:top;
}

.heart img {margin: 10px 0;}

.tricky {
  position: -webkit-sticky;
  position: sticky;
  top: 20%;
}

#trick {
    width: 100%;
    margin-top: 0px;
}

.trickContainer {
    display: flex;
    width: 5700px;
    align-items: flex-start;
}

.trickContainer img {
    height: 600px;
    width: auto;
}

.trick {
    width: 300px;
    margin-top: 100px;
}

.tricks p {
    width: 100%;
    max-width: 520px;
    font-family:Roboto;
    font-size: 15px;
    line-height: 22px;
    color: #000;
    margin-top: 60px;
}

.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 45px;
}

.space {width: 180px;}

.timelineTxt {
  position: absolute;
  width: 200px;
  visibility: hidden;
  z-index: 10;
  color: #000;
  padding: 10px;
  font-size: 15px;
  line-height: 19px;
  font-weight: 400;
  background-color: #eee;
  border-radius: 5px;
  transition: all 0.1s ease;
}

.related-graphic .right {background-color: #fff;}

.author-bottom .author .info .minifooter .profile a, .credits p {color: #999;}

.author-bottom .author .info .minifooter .social svg {fill: #aaa;}

.author-bottom .author .info .minifooter .social:after {background: #aaa;}

.clear40 {height: 40px;}

.max425 {
    width: 100%;
    max-width: 425px;
    margin: 0 auto;
}

.max240 {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
}

.max200 {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

/*------------------------- | KEYFRAMES | -----------------------------*/





/*------------------------- | MEDIA QUERIES | -----------------------------*/

@media only screen and (max-width: 770px){
    .quoteBoxes {margin: 0 auto;}
}


@media only screen and (max-width:660px) {
    .timelineTxt {width: 140px;}
    .show-desktop {display: none;}
    .show-mobile {display: block;}
}

@media only screen and (max-width:500px) {
    .heart h3 {margin-top: 40px}
    .heart img {
        width: 100%;
        max-width: 220px;
        margin: 10px 0;
        margin: 10px auto;
        display: block;
    }
    .trickContainer {width: 4300px;}
    .trickContainer img {height: 360px;}
    .trick:nth-child(1) {margin-left: -140px}
    .clear40 {height: 10px;}
}

@media only screen and (max-width:320px) {}