/*=============== MEDIA QUERY ===============*/

@media only screen and (max-width: 360px) {

    .matt {

        font-size: 1.4rem;
    }

    .home_description .sleep {

        font-size: 1.9rem;
    }

    .details {

        margin-top: .5rem;
        font-size: 12px;
    }

    .nav_menu {
        height: 150vh;
    }

    .nav_menu .nav_list .nav_item {

        margin-left: .8rem;
    }

    .nav_menu .nav_list .nav_item .nav_link {

        font-size: 8px;
    }

    .nav_menu .nav_list .nav_item {

        margin-left: .8rem;
    }

    .home {
        min-width: 520px !important;
    }

    .muyu {

        height: 8px;
    }

    .nav-icon {

        margin-right: 25px;
    }

    .icon-link {

        margin-right: 3px;
    }

    .nav {

        justify-content: space-evenly;
    }

    footer {

        margin: 0 1.5rem;
        min-width: 470px;
    }

    .box-container {

        padding: 1rem;
    }

    .muyu svg {

        margin-top: inherit;
    }

    .side_menu {
        height: 200vh;
    }

    .main_2 {

        min-width: 500px !important;

    }

    .footer_2 {
        margin: 0 .7rem !important;
    }

    .owl-item {
        max-width: 325px !important;

    }

    .quick-img-text {

        font-size: 24px !important;
    }

    .quick-btn {

        width: 150px !important;
        padding: 1rem 0rem !important;

    }

    .main_3 {
        width: 500px !important;
    }

    .main_4 {
        width: 500px !important;
    }

    .sleeper{

        max-width: 325px !important;

    }

    .body_pillow{

        max-width: 325px !important;

    }
    
    .low_loft{

        max-width: 325px !important;

    }

}

@media only screen and (min-width: 360px) {

    .matt {

        font-size: 1.6rem;
    }

    .home_description .sleep {

        font-size: 2.1rem;

    }

    .details {

        margin-top: .5rem;
        font-size: 14px;
    }

    footer {

        margin: 0 1rem;

    }

    .box-container {

        padding: 0rem;
    }

    .nav_menu .nav_list .nav_item {

        margin-left: 1rem;
    }

    .newsletter_text {
        max-width: 350px;
    }

    .owl-item {
        max-width: 333px !important;

    }

    .owl-stage {
        min-width: 1000px !important;

    }

    .quick-img-text {
        bottom: 25px !important;
        left: 15px !important;
        font-size: 18px !important;
    }

    .quick-btn {

        width: 120px !important;
        padding: .8rem 0rem !important;
        bottom: 20px !important;
        right: 15px !important;
        font-size: 12px !important;

    }

    .sleeper{

        max-width: 325px !important;

    }

    .body_pillow{

        max-width: 325px !important;

    }
    
    .low_loft{

        max-width: 325px !important;

    }
    
}

@media only screen and (min-width: 600px) {

    .matt {

        font-size: 1.8rem;
    }

    .home_description .sleep {

        font-size: 2.3rem;
    }

    .details {

        margin-top: .5rem;
        font-size: 16px;
    }


    footer {

        margin: 0 5rem;
    }

    .box-container {

        padding: 0 1rem;
    }

    .nav_menu .nav_list .nav_item {

        margin-left: 1.5rem;
    }

    .owl-item:first-child {
        margin-left: inherit !important;

    }

    .quick-img-text {
        bottom: 30px !important;
        left: 20px !important;
        font-size: 24px !important;
    }

    .quick-btn {

        width: 150px !important;
        padding: 1rem 0rem !important;
        bottom: 25px !important;
        right: 20px !important;
        font-size: 12px !important;

    }

    .sleeper{

        max-width: 560px !important;

    }

    .body_pillow{

        max-width: 560px !important;

    }
    
    .low_loft{

        max-width: 560px !important;

    }

    .pillows-box{
        width: 275px !important;
    }

}

@media only screen and (min-width: 768px) {

    .matt {

        font-size: 2rem;
    }

    .home_description .sleep {

        font-size: 2.5rem;

    }

    .details {

        margin-top: .5rem;
        font-size: 16px;
    }

    .box-container {

        padding: 0 2rem;
    }

    .muyu_2 {

        display: none;
    }

    .side_menu {

        width: 35% !important;
    }

    .information_description .swiper-pagination {
        display: none;
        bottom: 20px !important;
    }

    .info-head_1 {
        display: none;
    }

    .information_description .swiper-slide {
        text-align: initial !important;
        font-size: initial !important;
        background: initial !important;
        justify-content: initial !important;
        align-items: initial !important;
    }

    .information_description .swiper-wrapper {
        display: initial !important;
    }

    .quiz-description p {
        line-height: 1rem;
    }

    .matt-box-container {
        padding: 0 3rem !important;
    }

    .help-box {

        width: 200px !important;

    }

    .swiper-wrapper {
        justify-content: space-evenly;
    }


    .information_description h2 {
        margin-bottom: 1.2rem !important;
    }


    .owl-item {
        max-width: 350px !important;
    }

    .info_2 .info-title {
        line-height: 2.2rem !important;


    }

    .information_description {
        top: 20px !important;
        width: 275px !important;
    }


    .info_2 .info-text {
        margin-top: 1rem;

    }

    .quick-img {
        width: 350px !important;
    }

    .quick-img-text {
        bottom: 25px !important;
        left: 15px !important;
        font-size: 16px !important;
    }

    .quick-btn {

        width: 100px !important;
        padding: .6rem 0rem !important;
        bottom: 20px !important;
        right: 15px !important;
        font-size: 12px !important;

    }

    .pillows-box{
        width: 325px !important;
    }

    .sleeper{

        max-width: 660px !important;

    }

    .body_pillow{

        max-width: 660px !important;

    }
    
    .low_loft{

        max-width: 660px !important;

    }
    



}

@media only screen and (min-width: 992px) {

    .matt {

        font-size: 2.4rem;
    }

    .home_description .sleep {

        font-size: 2.7rem;

    }

    .details {

        margin-top: .5rem;
        font-size: 16px;
    }

    .box-container {

        padding: 0 4rem;
    }

    .side_menu {

        width: 25% !important;
    }


    .info_2 .info-title {
        line-height: 3rem !important;

    }

    .information_description {
        top: 50px !important;
        width: 400px !important;
    }


    .matt-box-container {
        padding: 0 4rem !important;
    }


    .owl-item {
        max-width: 350px !important;
    }

    .quick-img {
        width: 400px !important;
    }

    .quick-img-text {
        font-size: 18px !important;
    }

    .quick-btn {

        width: 110px !important;
        padding: .8rem 0rem !important;
        font-size: 12px !important;

    }

    .sleeper{

        max-width: 1000px !important;

    }

    .body_pillow{

        max-width: 1000px !important;

    }
    
    .low_loft{

        max-width: 1000px !important;

    }



}

@media only screen and (min-width: 1200px) {

    .matt {

        font-size: 2.8rem;
    }

    .home_description .sleep {

        font-size: 4.2rem;
    }

    .details {

        font-size: 18px;
    }

    footer {

        margin: 0 8rem;
    }

    .nav_menu .nav_list .nav_item {

        margin-left: 3rem;
    }

    .box-container .box {

        max-width: 275px;
    }


    .matt-box-container {
        padding: 0 8rem !important;
    }

    .information_description {
        width: 500px !important;
    }


    .quick-img {
        width: 450px !important;
    }

    .quick-img-text {
        font-size: 20px !important;
    }

}

@media screen and (min-width: 1400px) {


    .box-container {

        grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    }

    .newsletter_email {

        width: 220px;
        height: 40px;
    }

    .newsletter_email::-webkit-input-placeholder {

        font-size: 11px;
    }

    .newsletter_email::-moz-placeholder {

        font-size: 11px;
    }

    .newsletter_email:-ms-input-placeholder {

        font-size: 11px;
    }

    .newsletter_email::-ms-input-placeholder {

        font-size: 11px;
    }

    .newsletter_email::placeholder {

        font-size: 11px;
    }

    .newsletter_submit {

        width: 45px;
        height: 40px;
    }


    .owl-item {
        max-width: 325px !important;
    }

    .owl-stage {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }


    .quick-img-text {
        font-size: 20px !important;
    }

    .quick-btn {

        width: 120px !important;

    }
}

@media screen and (min-width: 1600px) {

    .box-container {

        grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
    }

    .info_2 .info-text {
        font-size: .9rem !important;

    }

    .matt-box-container {
        padding: 0 10rem !important;
    }


    .quick-img {
        width: 500px !important;
    }

    .quick-img-text {
        font-size: 20px !important;
    }

    .quick-btn {

        width: 120px !important;
        padding: 1rem 0rem !important;

    }
}

@media only screen and (max-width: 767px) {

    #plus {

        cursor: pointer;
    }

    .nav-icon {

        display: flex;
        justify-content: space-between;
    }

    .nav_menu {

        display: none;
    }

    .nav {

        justify-content: space-between !important;
    }

    .muyu {

        display: none;
    }

    .side_menu {
        box-shadow: inherit !important;
    }

    .side_menu .nav_list .side_nav_item {

        margin: 1.9rem 0 !important;
    }

    .side_menu .contact .contact_box {

        margin: .9rem 0 !important;
    }

    .side-nav-icon {
        display: block !important;
    }

    .muyu_3 {
        display: block !important;
    }

    .side_subnav_content {
        margin-top: 1.36rem !important;
    }

    .home {
        height: 800px !important;
    }

    .icon-link {
        margin-right: 4px;
    }

    .box-container .box:nth-child(1) {

        grid-column: 1 / 3;
    }

    .box-container .box:nth-child(4) {

        grid-column: 1/3;
    }

    .swiper-pagination-bullet {
        background-color: #394E73 !important;
    }

    .box-container {

        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0 0 0 2rem !important;
    }

    .box-container .box {
        max-width: inherit !important;
    }

    .com-desc {
        max-width: 350px;
    }

    .questions {
        flex-direction: column;
        align-items: center;
    }

    .question {

        width: 350px !important;

    }

    .question .question-text {

        width: 325px !important;
    }

    .asked {
        max-width: inherit !important;
        margin-bottom: 2rem;
    }

    .help-box p {
        max-width: 250px;
    }

    .quiz {
        line-height: inherit !important;
    }

    .quiz-description {
        width: 85% !important;
        height: 7rem !important;
    }

    .quiz-description button {
        top: 75% !important;
        padding: 0.4rem 0rem !important;
        font-size: 14px !important;
    }

    .quiz-description p {
        min-width: 250px;
    }

    .quick-text {
        line-height: 1.8rem !important;
        padding: 0 2rem;
    }

    .quick-text h1 {
        margin-bottom: 1rem;
    }

    .quick-img {
        width: 100%;
        height: auto;
    }

    .quick-img-box_1 {
        width: 100%;
    }

    .quick-img-box_2 {
        width: 100%;
    }

    .information {
        position: inherit !important;
        background-color: rgba(245, 245, 245, 0.933);
    }

    .info-head_1 {
        text-align: center;
        margin: 1rem auto;
        max-width: 320px;
        font-family: semibold;
    }

    .info-head_2 {
        display: none;
    }

    .info_2 {
        display: initial !important;
        background-color: initial !important;

    }

    .information_description {
        position: inherit !important;
        display: flex;
        max-width: inherit !important;
    }

    .information_description h2 {
        color: black !important;
    }

    .info_2 .info-title {
        color: black !important;
        text-align: center;
        margin-top: .5rem !important;
        margin-bottom: .5rem !important;
        border-bottom: inherit !important;
        max-width: initial !important;
    }

    .info_2 .info-text {

        color: black !important;
        display: inherit !important;
        max-width: 365px;
        margin: 0 auto;
        text-align: center;
        margin-bottom: 1.2rem;

    }

    .matt-box-container {
        padding: inherit !important;
    }

    .quick-btn {
        width: 100px;
        padding: 0.8rem 0rem;
        bottom: 20px;
        right: 20px;
        font-size: 12px;
    }

    .quick-img-text {

        bottom: 30px;
        left: 20px;
        font-size: 16px;
    }
}


