.nonstop-home {
    background-color: #000;
    padding-bottom: 50px;

    @media(min-width: 576px) {
        background-color: $ns-home-gray;
    }

    .nonstop-home-header {
        position: relative;
        padding: 12rem 0 5rem 0;
        min-height: 38rem;
        background-color: $ns-middlegray;
        text-align: center;

        &.bg-image {
            background-size: cover;
        }

        h1 {
            font-size: 2.2rem;
            font-family: $primary-font;
            margin-bottom: 1.5rem;
            width: 100%;
            letter-spacing: 0.02rem;

            span {
                color: $ns-yellow;
            }

            // @media(min-width: 420px) {
            //     font-size: 2.8rem;
            // }           

            // @media(min-width: 576px) {
            //     font-size: 4.2rem;
            //     margin-bottom: 2rem;
            // }

            // @media(min-width: 768px) {
            //     font-size: 46px;
            // }  
        }

        &__int {
            font-size: 2.4rem;
            font-family: $primary-font;
            font-family: $futura-bold;
            margin-bottom: 0;
            width: 100%;

            @media(min-width: 576px) {
                font-size: 3rem;
            }

            @media(min-width: 768px) {
                font-size: 3rem;
            }
        }

        &__sub {
            font-size: 2.4rem;
            font-family: $futura-bold;
            max-width: 30rem;
            margin: auto;
            margin-bottom: 2rem;
            letter-spacing: 0.04rem;

            .ns-icon {
                top: 0;
                width: 1.2rem;
                margin-left: 8px;

                @media(min-width: 425px) {
                    width: 1.4rem;
                }

                @media(min-width: 576px) {
                    width: 1.8rem;
                }

                @media(min-width: 768px) {
                    width: 2.2rem;
                }
            }

            span {
                color: $ns-yellow;
            }

            @media(min-width: 576px) {
                max-width: 50rem;
                font-size: 2.8rem;
            }

            @media(min-width: 768px) {
                max-width: 58rem;
                font-size: 3.4rem;
            }
        }

        .nonstop-home-header-points {
            display: flex;
            justify-content: space-between;

            @media(min-width: 321px) {
                display: inline-block;
                margin-left: 0.5rem;
            }

            @media(min-width: 1024px) {
                margin-left: 0;
            }

            p {
                font-family: $primary-font-bold;
                font-size: 1.4rem;
                margin-bottom: 0;
                line-height: 0;

                img {
                    max-width: 2rem;
                }

                @media(min-width: 321px) {
                    display: inline;
                }

                @media(min-width: 375px) {
                    font-size: 1.7rem;
                }

                @media(min-width: 425px) {
                    font-size: 1.9rem;
                }

                @media(min-width: 576px) {
                    font-size: 2.6rem;
                    display: inline-block;
                    padding: 0 0.8rem 0 0.4rem;

                    &:first-child {
                        border-right: 1px solid #656565;
                    }
                }
            }

            span {
                line-height: 1;
            }
        }

        .nonstop-home-header-cta {
            display: block;
            position: relative;
            max-width: 44rem;
            background: $ns-yellow;
            border-radius: 5rem;
            margin: auto;
            margin-top: 4rem;

            .ns-wrap {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 1rem 0.5rem 1rem 2rem;

                @media(min-width: 576px) {
                    padding: 1.2rem 1rem 1.2rem 3.5rem;
                }

                @media(min-width: 992px) {
                    max-width: 45rem;
                    top: 3rem;
                    border-radius: 10rem;
                    margin: auto;
                }
            }

            .ns-col {
                color: #000;
                text-align: left;

                a {
                    color: #000000;
                }

                .ns-heading {
                    font-family: $futura-bold;
                    font-size: 2.1rem;
                    line-height: 1;
                }

                .ns-text {
                    display: block;
                    font-family: $primary-font;
                    font-size: 1.4rem;
                    line-height: 1;

                    @media(min-width: 576px) {
                        font-size: 1.8rem;
                    }
                }

                .ns-points {
                    display: flex;
                    background-color: #000;
                    font-family: $futura-book;
                    font-size: 2.4rem;
                    color: #FFF;
                    border-radius: 3rem;
                    padding: 0.4rem 1.2rem;
                    margin-right: 4px;

                    @media(min-width: 576px) {
                        display: inline;
                        font-size: 2.8rem;
                        margin-right: 2px;
                    }

                    .ns-icon {
                        top: 0;
                        width: 2rem;
                        margin: 0 -.2rem 0 0.4rem;

                        @media(min-width: 576px) {
                            top: -0.3rem;
                            width: 2.6rem;
                            margin: 0 -0.4rem;
                        }
                    }
                }
            }
        }
    }

    .subnav {
        position: relative;
        bottom: -6rem;
        display: block;
        width: auto;
        text-align: left;
        margin-top: 2.5rem;
        padding: 0;
        background-color: $ns-home-gray;

        @media(min-width: 576px) {
            display: inline-block;
            text-align: center;
            padding: 0 5px;
            background-color: transparent;
        }

        @media(min-width: 1024px) {
            margin-right: 0.5rem;
        }

        li {
            display: inline-block;
            list-style-type: none;
            padding: 1.2rem 2rem;

            @media(min-width: 576px) {
                padding: 0.4rem 2rem;
            }

            &:first-child {

                .ns-icon {
                    width: 1.7rem;
                }
            }

            &.current {
                background: #000;

                @media(min-width: 576px) {
                    background: $ns-home-gray;
                }

                a {
                    border-bottom: 2px solid $ns-yellow;

                    @media(min-width: 576px) {
                        color: $ns-yellow;
                        border: none;
                    }

                    .ns-icon {
                        margin-left: 0;

                        @media(min-width: 576px) {
                            margin-left: 0.4rem;
                        }
                    }
                }
            }

            a {
                font-size: 1.8rem;
                font-family: $futura-bold;
                color: #FFF;
                text-transform: uppercase;
                letter-spacing: 1.9px;

                @media(min-width: 576px) {
                    font-size: 2rem;
                    line-height: 2;
                }
            }
        }
    }
}

.nonstop-video-grid {
    padding-top: 1rem;
    padding-bottom: 1rem;

    @media(min-width: 992px) {
        padding-bottom: 5rem;
        padding-top: 1rem;
    }

    &__inner {

        .row {
            margin-bottom: 2.5rem;
            flex-wrap: nowrap;
            overflow: auto;
            -webkit-overflow-scrolling: touch;

            @media(min-width: 768px) {
                flex-wrap: wrap;
            }

            .col-md-4 {
                min-width: 24.5rem;

                @media(min-width: 768px) {
                    min-width: 32rem;
                }

                @media(min-width: 768px) {
                    min-width: auto;
                }
            }
        }

        h2 {
            font-size: 1.6rem;
            font-family: $futura-bold;
            text-transform: uppercase;
            letter-spacing: 1.3px;
            margin-top: 1rem;
            margin-bottom: 1rem;

            @media(min-width: 576px) {
                margin-top: 4rem;
            }

            @media(min-width: 768px) {
                text-align: left;
                font-size: 2.4rem;
                margin-bottom: 2rem;
            }
        }

        &--item {
            cursor: pointer;
            margin: auto;

            @media(min-width: 768px) {
                margin-bottom: 2rem;
            }

            .nonstop-video-grid-image {
                position: relative;
                margin-bottom: 1rem;

                img {
                    max-width: 100%;
                    height: auto;
                }

                .double-points {
                    top: -3px;
                }


                .ns-play {
                    position: absolute;
                    top: 5px;
                    left: 8px;
                    width: 30px;
                }

                .nonstop-video-grid-label {
                    position: absolute;
                    bottom: 0;
                    right: 0;
                    background: #000;
                    padding: 0.5rem 1rem 0.5rem 1.5rem;
                    border-top-left-radius: 1.1rem;

                    .ns-icon {
                        margin: 0;
                        margin-right: .4rem;
                        top: -2px;
                    }

                    .ns-earn {
                        letter-spacing: 1px;
                    }

                    &.viewed .ns-earn {
                        display: none;
                    }

                    @media(min-width: 1200px) {
                        right: 0;
                    }

                    span {
                        font-size: 1.7rem;
                        margin-top: 0.4rem;
                    }

                    &.viewed {
                        background: rgba(40,40,40,.9)
                    }
                }

                .nonstop-video-grid-label-top {
                    position: absolute;
                    top: 0;
                    right: 0;
                    background: $ns-yellow;
                    padding: 0.7rem 0.5rem .3rem 0.5rem;
                    border-bottom-left-radius: 1.1rem;

                    @media(min-width: 1200px) {
                        right: 0;

                    }

                    span {
                        margin-top: 0.4rem;
                    }
                }
            }

            .nonstop-video-grid-meta {

                @media(min-width: 768px) {
                    text-align: left;
                }

                h3 {
                    font-size: 1.4rem;
                    text-transform: uppercase;
                    margin-top: 0;
                    margin-bottom: 0.3rem;
                    line-height: 1.4;
                    letter-spacing: 1.3px;

                    @media(min-width: 768px) {
                        font-size: 1.6rem;
                    }
                }

                p {
                    font-size: 14px;
                    color: #ccc;
                    font-family: $futura-book;
                    line-height: 1.3;
                    letter-spacing: 1px;

                    @media(min-width: 768px) {
                        font-size: 1.5rem;
                    }
                }
            }
        }
        a {
            color: inherit;
        }
    }

    &:nth-child(n+2) {
        margin-top: -1rem;
        @media(min-width: 992px) {
        margin-top: -5rem;
    }
}
}

.nonstop-home-ctas {
    background: #272727;
    padding-top: 0;
}

.nonstop-video-codes {
    text-align: center;
    margin: auto;
    background: #222;
    position: relative;

        @media(min-width: 992px) {
            padding-bottom: 4rem;
        }

.nonstop-video-codes
    &__bolts {

        @media(min-width: 992px) {
            position: absolute;
            background-size: cover;
            background-repeat: repeat-x;
            z-index: 0;
            width: 100%;
            height: 15rem;
        }
    }

    &__cta {
        position: relative;
        background: $ns-darkgray;
        padding: 2.5rem 1.8rem 3rem 1.8rem;
        margin: auto;
        margin-left: 0;
        margin-right: 0;
        top: 0px;

        .ns-container {
            display: inline-block;
            display: flex;
            text-align: center;
            flex-direction: column;
            align-items: center;

            @media(min-width: 992px) {
                align-items: center;
                flex-direction: row;
                justify-content: space-between;
                padding: 0 0.5rem;
            }
        }

        @media(min-width: 768px) {
            display: flex;
            justify-content: space-between;
            padding: 2rem 1.8rem 3rem 1.8rem;
        }

        @media(min-width: 992px) {
            max-width: 74rem;
            padding: 2.4rem;
            border-radius: 10rem;
            margin: auto;
        }

        h2 {
            font-size: 1.7rem;
            margin-bottom: 2rem;
            margin-right: 0.8rem;

            @media(min-width: 375px) {
                font-size: 2rem;
            }

            @media(min-width: 425px) {
                font-size: 2.4rem;
            }

            @media(min-width: 576px) {
                font-size: 2.8rem;
            }

            @media(min-width: 768px) {
                font-size: 3.2rem;
                margin-right: 0.8rem;
                margin-bottom: 2rem;
            }

            @media(min-width: 992px) {
                margin-bottom: 0;
            }
        }

        a {
            display: inline-block;
            font-family: $futura-bold;
            font-size: 1.4rem;
            background: $ns-yellow;
            border-radius: 2.5rem;
            padding: 0.4rem 3rem;
            color: #000;
            letter-spacing: 0.2px;
            text-transform: uppercase;

            @media(min-width: 567px) {
                font-size: 1.7rem;
            }

            @media(min-width: 768px) {
                letter-spacing: 1px;
                padding: 0.6rem 1.6rem;
            }
        }
    }

    &__title {
        position: relative;
        padding: 1.5rem 0 1rem 0;
        text-align: left;

        @media(min-width: 576px) {
            padding: 2rem 0 1.5rem 0;
        }

        @media(min-width: 992px) {
            padding: 7rem 0 1.5rem 0;
        }

        h3 {
            font-size: 1.6rem;
            text-transform: uppercase;
            margin-bottom: 1.5rem;
            letter-spacing: 1.3px;

            @media(min-width: 768px) {
                font-size: 2.4rem;
            }
        }
    }

    &__inner {
        
        &--item {
            cursor: pointer;
            display: flex;
            align-items: center;
            background: #000;
            border-radius: 6rem;
            padding: 0.4rem 1.2rem;
            margin: auto;
            margin-bottom: 3rem;
            padding: 0.8rem 1rem;

            @media(min-width: 768px) and (max-width: 992px) {
                padding: 0.2rem;
            }

            @media(min-width: 992px) {
                padding: 0.2rem 0.8rem 0.2rem 0.2rem;
            }

            &--icon {

                img {
                    width: 5.2rem;
                    margin-right: 0.5rem;
                    @media(min-width: 768px) {
                        padding: .25rem;
                    }
                }
            }

            &--title {
                max-width: 18.5rem;
                font-size: 1.3rem;
                line-height: 1.2;
                text-align: left;

                p {
                    font-size: 1.5rem;
                    line-height: 1.4;
                    font-family: $futura-bold;
                    margin-bottom: 0;
                    letter-spacing: 0.4px;

                    @media(min-width: 768px) {
                        font-size: 1.1rem;
                    }

                    @media(min-width: 992px) {
                        font-size: 1.6rem;
                    }

                    @media(min-width: 1024px) {
                        font-size: 1.6rem;
                    }
                }
                @media(min-width: 768px) and (max-width: 991px) {
                    max-width: 10.5rem;
                }
            }

            &--points {
                position: absolute;
                right: 2.5rem;

                //IE 10+ hack to center items vertically within this container
                @media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
                    transform: translateY(-50%);
                }

                span {
                    font-family: $futura-book;
                    font-size: 2.6rem;
                    float: right;
                    margin-left: 0.5rem;

                    @media(min-width: 768px) {
                        float: none;
                        font-size: 1.6rem;
                    }
                }

                &:first-child {
                    border-right: 1px solid #ccc;
                }

                .ns-icon {
                    width: 1.8rem;
                    height: 1.8rem;
                    margin: 1.2rem 0 0 0;
                    margin-left: .5rem;

                    @media(min-width: 768px) {
                        top: -2px;
                        height: 1.6rem;
                        width: 1.6rem;
                        margin-top: 0;
                    }
                }
                @media(min-width: 768px) and (max-width: 991px) { 
                    right: 1.5rem;
                }
            }
        }
    }
}
a .nonstop-video-grid__inner--item:hover {
    .nonstop-video-grid-meta h3 {
        color: $ns-yellow;
    }

    .ns-icon {
        @media(min-width: 769px) {
            animation: coinSpin 0.7s ease-in-out;
        }
    }

    .viewed .ns-icon {
        @media(min-width: 769px) {
            animation: none;
        }
    }


}


.ns-btn-overlay-close {
    border: none;
    background: transparent;
    cursor: pointer;
    height: 2.5rem;
    top: 4%;
    position: absolute;
    right: 6%;
    padding: 0;
    width: 2.5rem;
    z-index: 9999;

    @media(min-width: 768px) {
        right: 3%;
    }
    &:hover,
    &:active,
    &:visited {
        border: none;
        background: transparent;
    }
}

.ns-body-grey {
    background: #232323;
}


.ns-spend-summary {
    margin: 3rem 0;

    h2 {
        font-size: 1.6rem;
        font-family: $futura-bold;
        text-transform: uppercase;
        letter-spacing: 1.3px;
        margin-top: 1rem;
        margin-bottom: 1rem;

        @media(min-width: 768px) {
            text-align: left;
            font-size: 2.4rem;
            margin-bottom: 2rem;
        }
    }
}

.ns-spend-amount {
    font-size: 2.4rem;
    font-family: $primary-font;
    font-family: $futura-bold;
    background: #000;
    border: 2px solid #fff;
    display: block;
    line-height: 1;
    width: 122px;
    height: 122px;
    border-radius: 100%;
    padding: 20px;
    position: relative;
    text-align: center;

    span {
        font-size: 6rem;
    }

    img {
        margin: 0 auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    &.ns-amount-yellow {
        background: $ns-yellow;
        border: 0;
        color: #000;
    }
}

.ns-equals:after {
    content: '';
    background: url('../images/ns-equals.png') no-repeat;
    position: absolute;
    top: 44%;
    right: 44%;
    width: 50px;
    height: 50px;
}

.ns-learn-more-faq {
    background: #fff;
    padding: 3rem 1.5rem;
    text-align: left;

    h2 {
        color: #000;
        font-size: 2rem;
        margin-bottom: 1rem;
        text-align: center;

        @media(min-width: 576px) {
            font-size: 3.2rem;
            text-align: left;
        }
    }

    p {
        color: #000;
        font-size: 1.8rem;
        text-align: center;

        @media(min-width: 576px) {
            font-size: 2.4rem;
            text-align: left;
        }

        margin: 0;

        a, a:not([href]):not([tabindex]) {
            color: #000;
            position: relative;
            text-decoration: none;
            &:after {
                background-color: $ns-yellow;
                bottom: 0;
                content: '';
                left: 0;
                position: absolute;
                height: 3px;
                width: 100%;
                
            }
        }
    }

    .btn-nonstop-secondary {
        border-radius: 100px;
        border-color: #fff;
        min-height: 0;
        font-size: 1.8rem;
        margin-top: 1.5rem;
    }
    .btn-nonstop {
        background: transparent;
        border-color: #000;
        color: #000;
        &:hover,
        &:focus,
        &:active {
            background: #000;
            color: #fff;
            border-color: #000;
        }
    }
}

  @keyframes coinSpin
{
  0%    {transform: rotateY(0deg);}
  50%   {transform: rotateY(180deg); filter: grayscale(2); }
  100%  {transform: rotateY(360deg);}
}

.ns-white-bg {
    background: $white;
    color: #000;
}
.ns-supported-platforms {
    padding: 2rem 0 3rem 0;
        @media (min-width: 768px) {
        padding: 7rem 0;
    }
    .ns-row > [class*=ns-col-] span, > [class^=ns-col-] span {
        display: block;
      }
      .ns-sub-heading {
          font-family: $futura-bold;
          font-size: 2.2rem;
          &-footer {
              font-size: 20px;
          }
          @media(min-width: 576px) {
            font-size: 2.6rem;
          }
      }
      h2 {
          font-size: 3rem;
          
        @media (min-width: 768px) {
            font-size: 4rem;
        }

      }
      img {
        max-width: 220px;
        margin: 0 auto;
        @media (min-width: 768px) {
            max-width: 280px;
        }
      }
}

.ns-earning-points,
.ns-spending-points {
    h3 {
        font-size: 2.2rem;
        text-transform: uppercase;
        letter-spacing: .2rem;
        margin-bottom: 1rem;

        @media (min-width: 768px) {
            font-size: 3.4rem;
            text-transform: none;
            letter-spacing: inherit;
            margin-bottom: 2rem;
        }
    }
    p {
        font-size: 17px;
        font-family: $primary-font;
        line-height: 1.6;
        @media (min-width: 576px) {
            font-size: 20px;
        }
        @media (min-width: 768px) {
            font-size: 24px;
        }
    }
     img {
        display: block;
        margin: 0 auto;
        margin-top: 3rem;
        margin-bottom: 4rem;
        @media (min-width: 768px) {
            margin-top: 4rem;
            margin-bottom: 9rem;
        }
 }
}

.ns-spending-points {
    @media (max-width: 576px) {
        margin-top: 1.5rem;
    }
}
.ns-earning-points {
    img {
        float: right;
        max-width: 140px;
        margin: 0 auto;
        margin-left: 1rem;
        margin-top: 1.75rem;
        margin-bottom: 1rem;
        @media (min-width: 768px) {
            float: none;
            max-width: 100%;
            margin-left: auto;
            margin-top: 4rem;
            margin-bottom: 9rem;
        }
    }
}
.ns-section-video {

    @media(min-width: 1260px) {   
        background-image: url('../images/video-texture-left.svg'), url('../images/video-texture-right.svg');
        background-position: 1% 50%, 99% 50%;
        background-repeat: no-repeat;
    }
    @media(min-width: 1630px) {
        background-position: 10% 50%, 90% 50%;
    }
}
.ns-points-section {
    overflow: hidden;
    @media(min-width: 1260px) {    
    background-image: url('../images/ns-points-texture.svg'), url('../images/ns-points-texture.svg');
    background-position: -36% 101%, 147% 101%;
    background-repeat: no-repeat;
    }
    @media(min-width: 1560px) {
        background-position: -16% 101%, 126% 101%;
    }
    @media(min-width: 1630px) {
        background-position: -8% 101%, 119% 101%;
    }
    @media(min-width: 1814px) {
        background-position: -7% 101%,119% 101%;
    }
}