/* pump */
#boxPump {
    width: 40%;
    overflow-x: hidden;
}

#boxPump > canvas {
    position: absolute;
    bottom: 38px;
}

/*#boxPump > img { height:80vh; margin-left: -110px; }*/
#boxRight2 {
    position: absolute;
    bottom: 100px;
    left: 55%;
    height: 690px;
    width: 700px;
}

#boxRight2 > #copilot {
    width: 90%;
}

#boxSubContent2 {
    font-size: 18px;
    padding: 35px 0;
}

#boxSubContent2 b {
    font-weight: 800;
}

#boxSubContent2 #boxSubContent {
    max-width: 615px;
}

#playBtn2 {
    font-size: 18px;
    padding: 10px 10px;
    font-weight:600;
    width:auto;
}

#boxSucceeded {
    width: 100%;
    max-width: 640px;
}

#boxSucceeded > .promo,
#boxFailed > .promo {
    font-weight: 800;
    font-size: 20px;
}

#playBtn3 {
    margin-top: 40px;
    font-size: 30px;
}

/* extra question */
#boxAnswer2 {
    margin-top: 25px;
}

#boxAnswer2 > input {
    border: 0;
    outline: 0;
    text-align: center;
    width: 110px;
}

#boxAnswer2 > span {
    margin-left: 5px;
}

#confirmBtn {
    margin: 25px 0 10px;
}

@media (max-width: 1650px) {
    body {
        font-size: 20px;
    }

    /*#boxIFrame { height: 100%; }*/
    #boxContent {
        max-width: 1000px;
    }

    #boxInnerContent {
        max-height: 550px;
    }

    #boxSubContent {
        font-size: 16px;
    }

    #boxRight2 {
        bottom: 50px;
        height: 520px;
        width: 500px;
    }

    #boxSubContent2 {
        font-size: 16px;
    }
}

@media (max-width: 1199px) {
    #main {
        height: 100%;
    }

    #boxHeader {
        width: 100%;
        max-width: 1040px;
    }

    #boxIFrame {
        height: calc(100vh - 113px);
    }

    #boxContent {
        height: auto;
    }

    #boxInnerContent {
        flex-direction: column;
        max-height: 100%;
    }

    #boxCan {
        width: 100%;
        order: 2;
        text-align: center;
        padding-bottom: 40px;
    }

    #boxCan > img {
        width: 20%;
    }

    #boxRight {
        width: 100%;
        order: 1;
        padding: 20px;
    }

    #boxInnerRight {
        width: 100%;
        max-width: 800px;
        margin: 20px auto 0;
    }

    #boxSubContent + div {
        text-align: center;
    }

    #boxPump {
        width: 100%;
        order: 2;
        position: relative;
        height: 570px;
    }

    #boxPump > canvas {
        bottom: 0;
        left: calc(50% - 201px);
    }

    #boxRight2 {
        position: static;
        width: 100%;
        height: auto;
        order: 1;
        padding: 20px;
        z-index: 100;
    }

    #playBtn2 {
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 1000px) {
    body {
        font-size: 20px;
    }

    #boxCan > img {
        width: 30%;
    }
}

@media (max-width: 920px) {
    body {
        font-size: 18px;
    }

    #main > header {
        height: 50px;
    }

    #boxHeader {
        padding: 10px 20px;
    }

    #boxLanguage {
        font-size: 15px;
        padding-top: 6px;
    }

    #boxClub > img {
        width: 50px;
    }

    #boxIFrame {
        height: calc(100vh - 88px);
    }

    #boxSubContent {
        font-size: 14px;
    }

    #boxSubContent .sly-checkbox {
        display: block;
    }

    #boxSubContent .sly-checkbox > span {
        font-size: 14px;
    }

    #boxSubContent2 {
        font-size: 14px;
    }

    #boxInnerRight {
        margin: 0;
    }

    #boxPump {
        height: 600px;
    }

    #boxPump > canvas {
        left: calc(50% - 198px);
    }

    #boxCongrats {
        margin-right: 0;
    }
}

@media (max-width: 637px) {
    #boxIFrame {
        height: calc(100vh - 106px);
    }
}

@media (max-width: 600px) {
    body {
        font-size: 15px;
    }

    #boxPump {
        height: 450px;
    }

    #playBtn2 {
        font-size: 25px;
    }
}

@media (max-width: 450px) {
    #boxHeader, #boxRight, #boxRight2 {
        padding: 10px;
    }

    #boxPump {
        height: 300px;
    }

    #boxPump > canvas {
        left: calc(50% - 94px);
    }
}

@media (max-width: 380px) {
    #boxPump > canvas {
        right: 0;
    }
}

@media (max-width: 354px) {
    #boxIFrame {
        height: calc(100vh - 124px);
    }
}
