.widget-section {
    padding-top: 36px;
}

.widget-container {
    background: #DAE0E5;
    padding: 26px 32px 35px;
    border-radius: 6px;
    color: #051854;
}

.widget-container__title {
    font-size: 40px;
    line-height: 50px;
    font-weight: bold;
    text-align: center;
}

.widget-container__tip {
    margin-top: 11px;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
}

.levels {
    margin-top: 64px;
}

.levels__inner {
    display: flex;
}

.levels-pagination {
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.levels-pagination__bullet {
    flex: 0 1 52px;
    background: #051854;
    height: 6px;
    border-radius: 2px;
}

.levels-pagination__bullet:not(:first-child) {
    margin-left: 4px;
}

.levels-pagination__bullet--active {
    background: #0092F3;
}

.level {
    background: #051854;
    border-radius: 6px;
    padding: 16px;
    color: #fff;
    cursor: pointer;
    transition: box-shadow 200ms ease-out;
    transform: translate3d(0, 0, 0);
    position: relative;
    z-index: 0;
    min-height: 198px;
    box-sizing: border-box;
}

.level.active {
    background: #0092F3;
}

.level__difficulty {
    display: inline-block;
    font-size: 16px;
    line-height: 22px;
    color: #051854;
    background: #fff;
    border-radius: 11px;
    padding: 0 8px;
}

.level__title {
    margin-top: 24px;
    font-size: 24px;
    line-height: 32px;
    font-weight: bold;
    text-transform: uppercase;
}

.level__img {
    z-index: -1;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 150px;
}

.level__prize {
    margin-top: 16px;
    font-size: 24px;
    line-height: 32px;
}

.level__prize b {
    font-weight: bold;
}

.level:nth-child(1) .level__img {
    width: 130px;
}

.level:nth-child(2) .level__img {
    width: 120px;
}

.level:nth-child(3) .level__img {
    width: 68px;
    right: 32px;
    top: 32px;
}

#widget {
    border-radius: 8px;
    overflow: hidden;
}

#widget.loading {
}

.widget__content {
    width: 100%;
    height: 100%;
}

.widget__content:not([src]) {
    display: none;
}

#widget[data-init] .widget__tip-container {
    display: none;
}

.widget__tip-container {
    height: 634px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("../images/widget-tip-bg.png");
    background-position: center;
    background-size: cover;
}

.widget-tip {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    position: relative;
    z-index: 0;
}

.widget-tip:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .8);
    z-index: -1;
}

@media screen and (max-width: 767px) {
    .widget-section {
        background: #DAE0E5;
        margin-top: 40px;
    }

    .widget-container {
        padding: 0 0 40px;
    }

    .widget-container__title {
        font-size: 24px;
        line-height: 30px;
    }

    .widget-container__tip {
        font-size: 14px;
        line-height: 18px;
        margin-top: 16px;
    }

    #widget {
        margin-top: 32px;
    }

    .widget-tip {
        margin: 0 22px;
        flex-direction: column;
        padding: 20px 22px 22px;
        max-width: 244px;
    }

    .widget-tip:before {
        border-radius: 6px;
    }

    .widget-tip span {
        font-size: 16px;
        line-height: 20px;
        margin-top: 8px;
        text-align: center;
    }

    .widget-tip img {
        height: 55px;
    }

    .level {
        min-width: 100%;
        min-height: 168px;
    }

    .level__difficulty {
        font-size: 12px;
        line-height: 19px;
    }

    .level__prize {
        margin-top: 8px;
        font-size: 14px;
        line-height: 18px;
    }

    .level__title {
        font-size: 16px;
        line-height: 16px;
    }

    .level:nth-child(1) .level__img {
        width: 111px;
    }

    .level:nth-child(2) .level__img {
        width: 100px;
    }

    .level:nth-child(3) .level__img {
        width: 65px;
    }
}

@media screen and (min-width: 768px) {
    .widget-tip {
        padding: 40px 50px 42px;
        max-width: 500px;
    }

    .widget-tip img {
        height: 109px;
    }

    .widget-tip:before {
        transform: skew(-13deg);
        border-top-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }

    .widget-tip span {
        font-size: 24px;
        line-height: 32px;
        margin-left: 24px;
    }

    .levels-pagination {
        display: none;
    }

    .level {
        margin-bottom: 32px;
    }

    .level:hover {
        box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .5);
    }
}

@media screen and (min-width: 768px) and (max-width: 1279px) {
    .level__title {
        font-size: 20px;
        margin-top: 54px;
    }

    .level__prize {
        font-size: 19px;
    }

    .level:nth-child(1) .level__img {
        width: 80px;
    }

    .level:nth-child(2) .level__img {
        width: 70px;
    }

    .level:nth-child(3) .level__img {
        width: 40px;
    }
}
