/*********************************************************************************/
/* Custom media queries                                                          */
/*********************************************************************************/
@media all and (max-width: 1920px) {

    #fun .content {
        background: url('../images/fun-bg.png');
        background-attachment: scroll;
        background-position: center 180%;
        background-repeat: no-repeat;
        background-size: cover;
    }

}


/* ----------------------------- */
@media all and (max-width: 1024px) {

    #intro h2 {
        max-width: 100%;
    }

    #cta.main.style1 {
        padding: 2.5em 0 5em 0;
    }

    .confirm-submit {
        left: 15%;
        width: 70%;
    }

}


/* ----------------------------- */
@media all and (max-width: 840px) {

    .media-body-video.desktop {
        display: none;
    }

    .media-body-video.mobile {
        display: block;
    }

    .explore-video-container.desktop {
        margin-bottom: -1em;
    }

    .media-body-video.mobile {
        padding-right: 0;
        width: 100%;
    }

    #explore .media-item-right {
        position: static;

        float: none;
        margin: 0 auto;
    }

}

/* ----------------------------- */
@media all and (max-width: 768px) {
    .main.style1 {
        padding: 10em 0;
    }

    .media-body-tools.mobile {
        display: none;
    }

    .media-body-tools.mobile {
        display: block;
        width: 100%;
    }

    .media-body-tools.desktop {
        display: none;
    }

    #tools2 .media-item {
        float: none;
        padding: 0;
        width: auto;
    }

    #toolsicons2 {
        margin-top: 35px;
    }

    #toolsicons2 ul li {
        width: 25%;

        text-align: center;
    }

    #toolsicons2 ul li p {
        width: auto;
    }

    #fun .content .container {
        padding-bottom: 22em;
    }

}


/* ----------------------------- */
@media all and (max-width: 736px) {

    #nav ul li a {
        margin-top: 0;
    }

    .main.style1 {
        padding: 6em 15px 6em 15px;
    }

    #fun .content .container {
        padding-bottom: 25em;
    }

    .explore-video-container.desktop {
        display: none;
    }

    .explore-video-container.mobile {
        display: block;

        margin-bottom: -1em;
    }

    #cta.main.style1 {
        padding-bottom: 2em;
    }

    .confirm-submit {
        top: 25%;
    }

}


/* ----------------------------- */
@media all and (max-width: 700px) {

    #fun {
        padding-bottom: 0;
    }

    #fun .fun-stars {
        right: -35px;
    }

}


/* ----------------------------- */
@media all and (max-width: 640px) {

    #fun {
        margin-bottom: -3em;
    }

    #fun .content {
        background-position: center 50%;
        background-size: 270%;
    }

    #fun .content .container {
        padding-bottom: 24em;
    }

    #fun .sub-container {
        bottom: 4em;
        left: 0;

        margin-left: 0;
        width: 100%;
    }

    #fun .fun-remark {
        padding-left: 1em;

        text-align: left;
    }

    #fun .fun-stars {
        right: -45px;
    }

    #fun .fun-stars img {
        max-width: 70%;
    }

    #one {
        background-size: 125%;
    }

}


/* ----------------------------- */
@media all and (max-width: 570px) {

    #fun {
        margin-bottom: -4em;
    }

    #fun .content {
        background-position: center 60%;
    }

    #fun .sub-container {
        bottom: 5em;
    }

    #one {
        height: 39em;
        padding-bottom: 39em;

        background-size: 180%;
        background-position: center 157%;
    }

    #tools2 .content {
        padding: 3em 1em 2em 1em;
    }

    #tools2 .media-item {
        margin: 0 auto;
        width: 100%;
    }

    #toolsicons2 {
        margin-top: 1em;
    }

    #toolsicons2 ul li {
        margin-bottom: 1em;
        width: 25%;
    }

    #toolsicons2 ul li img {
        width: 60px;
    }

    #intro .available,
    #cta .available {
        border-radius: 12px;
    }

    #feedback .container {
        width: 100% !important; /* to overcome width: 95%!important; */
    }

    #feedback .content header {
        padding: 0 1em;
    }

    #feedback .content .container {
        padding: 2em 1em;
    }

    .confirm-submit {
        left: 10%;
        top: 20%;

        width: 80%;
    }

    .confirm-submit__text {
        margin-top: 0;
        margin-bottom: 15px;
    }

    .confirm-submit__btn {
        margin-bottom: 5px;
    }

}


/* ----------------------------- */
@media all and (max-width: 480px) {

    #fun {
        margin-bottom: -6em;
    }

    #fun .content {
        background-position: center 58%;
    }

    #fun .sub-container {
        margin-bottom: 2em;
    }

    #fun .fun-remark {
        width: auto;

        font-size: 16px;
    }

    #fun .fun-stars {
        right: -86px;
    }

    #fun .fun-stars img {
        max-width: 60%;
    }

    #one {
        height: 40em;

        background-size: 200%;
        background-position: center 122%;
    }

    .content h2 {
        font-size: 28px;
        /*font-weight: 400;*/
        line-height: 38px;
    }

    .content p {
        font-size: 16px;
        line-height: 30px;
    }

    #tools2 .media-item {
        width: 80%;
    }

    #toolsicons2 ul li {
        margin-bottom: 1em;
        width: 50%;
    }

    #toolsicons2 ul li img {
        width: 60px;
    }

    #toolsicons2 ul li p {
        font-size: 12px;
    }

    .confirm-submit {
        left: 5%;
        width: 90%;
    }

}


/* ----------------------------- */
@media all and (max-width: 400px) {

    #fun {
        margin-bottom: -3em;
    }

    #fun .content {
        background-position: center 77%;
    }

    #fun .content .container {
        padding-bottom: 18em;
    }

    #fun .sub-container {
        margin-bottom: -1em;
    }

    #fun .fun-stars {
        right: -105px;
    }

    #fun .fun-stars img {
        max-width: 50%;
    }

    #cta p {
        line-height: 1.5em;
    }

}


/* ----------------------------- */
@media all and (max-width: 320px) {

    .main.style1 {
        padding: 5em 15px 5em 15px;
    }

    #intro .content h2 {
        font-size: 32px;
    }

    #intro .available {
        top: 1em;

        height: 2.6em;
        width: 7.4em;

        border-radius: 6px;
    }

    #fun {
        margin-bottom: -4em;
    }

    #fun .content {
        background-position: 57% 80%;
    }

    #fun .content .container {
        padding-bottom: 16em;
    }

    #fun .sub-container {
        margin-bottom: 0;
    }

    #fun .fun-stars {
        right: -90px;

        max-width: 75%;
    }

    #one {
        height: 48em;
        background-size: 240%;
        background-position: 56% 102%;
    }

    #explore .content {
        padding: 2em 1em;
    }

    .content h2 {
        text-align: left;
    }
    .content p {
        text-align: left;
    }

    #tools2 .media-item {
        width: 85%;
    }

    .explore-video-container {
        height: 236px;
        width: 300px;

        background-size: cover;
    }

    #cta .available {
        top: 0em;
        margin-top: 1em;
        margin-bottom: 0.1em;
        height: 2.6em;
        width: 7.4em;

        border-radius: 6px;
    }

    #cta .logo2 {
        left: 0;

        margin-top: -0.5em;
        margin-bottom: -1.5em;
    }

    #cta p {
        display: none;
    }

}
