body {
    background-color: #222;
    background-image: url("https://d1my5pqgs3ehwe.cloudfront.net/Infographics/2018/2018_09/2018_09_PtuskiSite/img/back-2k3.jpg");
    background-repeat: no-repeat;
    font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif;
    background-size: cover;
    background-attachment: fixed;
    background-position: 0 0;
}

.question {
    display: none;
    margin-right: auto;
    background-color: #fff;
    color: #6f645c;
    width: 640px;
    height: 530px;
    text-align: center;
    padding: 20px;
    position: absolute;
    top: 46%;
    margin-top: -265px;
    left: 50%;
    margin-left: -320px;
}

.case {
    background-color: rgba(256, 256, 256, 1);
    border-radius: 25px;
    position: relative;
}

.case::before {
    content: "";
    background: transparent;
    width: 220px;
    height: 190px;
    position: absolute;
    top: -85px;
    left: 0;
    border-radius: 5%;
    border: 40px solid white;
    z-index: -1;
    left: 50%;
    margin-left: -110px;
}



.question h1 {
    font-size: 32px;
    margin-top: 5px;
    color: #565659;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.question p {
    font-size: 20px;
    margin: 0
}

.question h2 {
    font-size: 28px;
    color: #000;
    margin-top: -0px;
    font-weight: 500;
    margin-bottom: 16px;
}


h3 {
    color: #000;
    font-weight: 700
}

.answer {
    position: relative;
    display: none;
    height: auto;
    padding: 10px 10px;
    /* background-color: #1da1f2; */
}

.answer img {
    margin-bottom: 5px;
}


h3 {
    margin: 0
}

a {
    text-decoration: none
}

.answer-drop {
    display: block;
    -webkit-animation-name: bounce2;
    animation-name: bounce2;
    -webkit-animation-duration: .8s;
    animation-duration: .8s
}

.driveOut {
    display: block;
    -webkit-animation-name: bounce3;
    animation-name: bounce3;
    -webkit-animation-duration: .6s;
    animation-duration: .6s
}

@-webkit-keyframes bounce2 {
    0% {
        -webkit-transform: translateY(-2000px);
        transform: translateY(-2000px);
    }

    70% {
        -webkit-transform: translateY(30px);
        transform: translateY(30px)
    }

    90% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px)
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

@keyframes bounce2 {
    0% {
        -webkit-transform: translateY(-2000px);
        transform: translateY(-2000px)
    }

    70% {
        -webkit-transform: translateY(30px);
        transform: translateY(30px)
    }

    90% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px)
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

@-webkit-keyframes bounce3 {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }

    100% {
        -webkit-transform: translateX(2000px);
        transform: translateX(2000px)
    }
}

@keyframes bounce3 {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }

    100% {
        -webkit-transform: translateX(2000px);
        transform: translateX(2000px)
    }
}

.question-driveIn {

    display: block;
    -webkit-animation-name: bounce1;
    animation-name: bounce1;
    -webkit-animation-duration: .6s;
    animation-duration: .6s;
    animation-timing-function: ease-in-out;
}

@-webkit-keyframes bounce1 {
    0% {
        -webkit-transform: translateX(-2000px);
        transform: translateX(-2000px);
    }

    /*  70% {transform: translateX(10px);}
    90% {transform: translateX(30px); } */
    100% {

        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes bounce1 {
    0% {
        -webkit-transform: translateX(-2000px);
        transform: translateX(-2000px);
    }

    /*  70% {transform: translateX(10px);}
    90% {transform: translateX(30px); } */
    100% {

        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

.logo-desktop.rfe-belarussian {
    background-image: url("https://d3es8o5ydin5vb.cloudfront.net/6C72572D-243E-4953-B81A-99995C92879C.png") !important;
}

.logo-mobile.visible-xs {
    background-image: url("https://d1my5pqgs3ehwe.cloudfront.net/Branding/RFE/infographics-branding/img/favicons/apple-icon-57x57.png") !important;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-10px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(10px);
    }
}

.modal-error {
    animation-name: shake;
    animation-duration: 0.6s;
}

/* Only for the birds project styles */
ul li {
    list-style: none;
    margin: 5px;
    padding: 0;
}

ul {
    margin: 5px;
    padding: 5px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ticket img:hover {
    transform: scale(1.05);
    transition: cubic-bezier(0.075, 0.82, 0.165, 1);
    transition-duration: 1.4s;
}

.pictures img {
    position: absolute;
    max-width: 400px;
    max-height: 400px;
    display: inline-block;
    top: 60px;
}

img.cloud {
    position: absolute;
    max-width: 210px;
    max-height: 105px;
    margin-top: 40px;
}

/* .cloud.right {
    position: absolute;
    max-width: 200px;
    max-height: 100px;
    margin-top: 50px;
} */

.left {
    left: 30px;
}

.right {
    right: 30px;
}

header.header-dark {
    background: transparent;
}

.allAnswers {
    display: none;
    height: 590px;
    position: absolute;
}

.buttons {
    position: absolute;
    bottom: -80px;
    left: 50%;
    margin-left: -200px;
    display: flex;
    justify-content: center;
    width: 400px;

}

.button {
    color: #333;
    background: white;
    width: 200px;
    height: 50px;
    margin: 8px;
    font-family: inherit;
    line-height: 48px;
    font-size: 24px;

}

.button:hover {
    background: #555;
    color: white;
    transition: .2s all ease-in-out;
}


.button:first-of-type {
    left: 0px;
}

.button:last-of-type {
    right: 0;
}

/* button:nth-of-type(2) {
    left: 50%;
    margin-left: -100px;
} */

section p {
    position: absolute;
    display: block;
    top: 440px;
    width: 600px;
    margin-left: -300px;
}

.share {
    /* background-color: red; */
    position: absolute;
    left: 50%;
    margin-left: -100px;
    bottom: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 200px;
}

.share span{
    /* font-weight: bold; */
    color: #000000;
}

.social-buttons{
display: flex;
justify-content: space-between;
}

.facebook{
    color: #3b5998;
    position: relative;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 30px;
}

.vk{
    color: #4d88d1;
    position: relative;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 30px;
}

.twitter{
    color: #1da1f2;
    position: relative;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 30px;
}

.share a:hover {
    color: #000;
    transition: color .2s ease-in-out;
}


@media screen and (max-width: 824px) {
    body {
        background-image: none;
        background-color: #ffffff;
        /* radial-gradient(rgba(255, 255, 255, .8) 30%, rgba(255, 255, 255, .9) 90%),
            url("img/back-2k3.jpg"); */

    }
  
    .question {
        width: 100%;
        height: auto;
        position: relative;
        margin-top: 7%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin-left: 0;
    }

    .case {
        background-color: transparent;
    }

    .case::before {
        border-color: transparent;
    }

    .question h1 {
        color: #111111;
    }

    .question ul {
        /* flex-direction: column; */
        justify-content: center;
        /* align-items: flex-start; */
    }

    .question img {
        text-align: center;
        /* width: 80%; */
    }

    ul li:nth-of-type(1) {
        order: -10;
    }

    ul li:nth-of-type(2) {
        order: -8;
        flex-shrink: 0;
    }

    ul li:nth-of-type(5) {
        order: -7;
    }

    ul li:nth-of-type(4) {
        order: -6;
    }

    ul li:nth-of-type(7) {
        order: -9;
    }

    ul li:nth-of-type(10) {
        order: -1;
    }

    header.header-dark {
        background: transparent none repeat scroll 0% 0%;
        transition: all 1s ease 0s;
    }

    .answer {
        background-color: transparent;
    }

    .allAnswers {
        display: none;
        height: auto;
        position: relative;
        background-color: transparent;
        top: inherit;
        bottom: inherit;
        left: inherit;
        right: inherit;
       
    }

    .driveOut {
        display: none;
    }

    .question-driveIn {
        display: block;
    }

    .question p {
        width: 90%;
        margin: auto;
        font-size: 16px;
        margin-bottom: 10px;
    }

    .question h2,.share,  .buttons,
    .left,
    .right,
    .question img,
    .question p {
        color: #000000;
        position: relative;
        top: inherit;
        bottom: inherit;
        left: inherit;
        right: inherit;
        margin: 0 auto;
    }

    .pictures {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        /* flex-wrap: wrap; */
    }

    .pictures img {
        width: 350px;
    }

    img.cloud {
        position: relative;
        width: 200px;
        margin: 10px;
    }

    .buttons {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .share{
        margin-top: 20px;
    }

    .share span{
        font-weight: bold;
        margin-bottom: 20px;
    }
   .social-buttons{
       align-items: flex-end;
   }
}

@media screen and (max-width: 420px) {
    .pictures{
        width: 100%;
    }

    .pictures img{
        width: 100%;
    }
}

.modal {
    padding: 30px;
    position: absolute;
    color: #222;
    background-color: white;
    z-index: 2;
    text-align: center;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.77);
}

.modal-about {
    display: none;
    /**/

    width: 640px;
    height: auto;
    /* -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%); */
    border: 7px solid white;

    color: #6f645c;


    padding: 20px;
    position: absolute;
    top: 48%;
    margin-top: -265px;
    left: 50%;
    margin-left: -320px;
    text-align: center;
}



.modal-about h1 {
    color: black;
    margin-top: 20px;
    padding: 5px;
}

.modal-about h3 {
    padding: 10px 5px 5px 5px;
}

.modal-about p {
    position: relative;
    margin: 5px;
    padding: 5px;
}

.about-driveIn {
    display: block;
    -webkit-animation-name: bounce2;
    animation-name: bounce2;
    -webkit-animation-duration: .5s;
    animation-duration: .5s;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
}

.about-driveOut {
    display: block;
    -webkit-animation-name: bounce3;
    animation-name: bounce3;
    -webkit-animation-duration: 1.4s;
    animation-duration: 1.4s;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
}


.modal a {
    color: #EA6903;
    text-decoration: none;
}

.modal a:hover {
    color: #5B6770;
    text-decoration: underline;
}


.modal-about-close {
    text-align: center;
    margin: 10px auto;
    display: block;
}

@media screen and (max-width: 824px) {

    .modal-about {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 7%;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        margin-top: 0;
        padding: 10px;
    }

    iframe {
        width: 100%;
        margin: 5px auto;
        text-align: center;
    }

    .modal-overlay {
        /* display: none; */
        background-color: rgba(255, 255, 255, 0.99);
    }

}
.odnoklassniki{
color: #ed812b;
position: relative;
width: 50px;
height: 50px;
line-height: 50px;
font-size: 30px;
}