/* General Mobile Phones */
@media only screen and (max-width: 767px) {
    html, body {
        max-width: 100%;
        
    }

    .main-container {
        width: 100%;
        height: 371px;
    }

    .subheading {
        font-size: 1.8rem;
        margin: 2rem auto 2rem;
    }

    .subheading br {
        display: none;
    }

    .content {
        font-size: 18px;
        display: flex;
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center content if needed */
        margin-bottom: 1rem;
    }
    .mobileReverse {
        flex-direction:column-reverse
    }

    .content img {
        max-width: 100%;
        
    }

    .content .details {
        width: 100%;
        font-size: 16px;
        margin: 1rem 0;
        padding-left: 1rem;
    }

    .content div {
        font-size: 18px;
        width: 100%;
        margin-top: 1rem;
    }

    .banner {
        
        width: 100%;
        
    }

    .averagesContainer, .leftPrice, .rightPrice {
        font-size: 0.8rem;
        padding: 2px 6px;
    }

    .btn, .smlBtn {
        padding: 8px 15px;
        font-size: 1rem;
    }

    .btn-login, .btn-signup {
        font-size: 12px;
        padding: 3px 6px;
    }    
    .btn-login {
        right: 27%;
    }

    .btn-watch-video {
        min-width: 100px;     
    }
    .btn-watch-video, .btn-watch-video i {
        font-size: 12px;
    }

    .page-content {
        max-width: 95%;        
    }

    .footerNav a {
        font-size: 12px;
    }

    .image-text {
        font-size: 2rem;
        line-height: 2rem;
        bottom: 15%;
    }

    .main-navigation {
        width: 95%;
        top: 6px;
        
        padding: 0.5rem;
    }

    .primary-menu {
        position: relative;
    }

    .hamburger-menu {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        cursor: pointer;
    }

    .hamburger-menu div {
        background-color: white;
        height: 4px;
        width: 100%;
        margin: 6px 0;
        border-radius: 2px;
    }

    .primary-menu-menu {
        display: none;
        flex-direction: column;
        background: black;
        position: absolute;
        top: 50px;
        right: 0;
        width: 100%;
        border-radius: 5px;
    }

    .primary-menu-menu.open {
        display: flex;
    }

    .primary-menu-menu li {
        border-bottom: 1px solid #444;
    }
    .footerNavContainer {
        display: flex;
        flex-direction: column;
        width: 95%;
    }
    footer .disclaimer {
        padding: 0;
        margin: 3rem 0;
        max-width: 99%;
    }
}

/* Tablets (iPads) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .main-container {
        width: 100%;
        height: auto;
    }

    .subheading {
        font-size: 2.5rem;
        margin: 3rem auto;
    }

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

    .content img {
        max-width: 90%;
    }

    .details {
        width: 90%;
    }

    .banner {
        height: auto;
        width: 100%;
    }

    .averagesContainer, .leftPrice, .rightPrice {
        font-size: 1rem;
        padding: 3px 8px;
    }

    .btn, .smlBtn {
        padding: 10px 18px;
        font-size: 1.1rem;
    }

    .btn-watch-video {
        min-width: 180px;
        font-size: 1.1rem;
    }

    .page-content {
        max-width: 100%;
        padding: 0 2rem;
    }

    .footerNav a {
        font-size: 14px;
    }

    .image-text {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }

}

/* Small Tablets/Phablets */
@media only screen and (min-width: 600px) and (max-width: 768px) {
    .main-container {
        width: 100%;
        height: auto;
    }

    .subheading {
        font-size: 2rem;
        margin: 2.5rem auto;
    }

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

    .content img {
        max-width: 100%;
    }

    .details {
        width: 95%;
    }

    .banner {
        height: auto;
        width: 100%;
    }

    .averagesContainer, .leftPrice, .rightPrice {
        font-size: 0.9rem;
        padding: 2px 7px;
    }

    .btn, .smlBtn {
        padding: 9px 16px;
        font-size: 1.05rem;
    }

    .btn-watch-video {
        min-width: 170px;
        font-size: 1.05rem;
    }

    .page-content {
        max-width: 95%;
        padding: 0 1.5rem;
    }

    .footerNav a {
        font-size: 13px;
    }

    .image-text {
        font-size: 2.2rem;
        line-height: 2.2rem;
    }

    .disclaimer {                
        margin: 1rem 0;
        padding: 0;
        max-width: 90%;
    }
    .details i {             
        margin-right: 5px;
    }

}

@media screen and (max-width: 320px) {
    .content .details {   
        font-size: 15px;     
        padding-left: 3px;        
    }    
    .details i {             
        margin-right: 3px;
        font-size: 0.8rem;
    }
    .footerNavContainer {
        display: flex;
        flex-direction: column;
        width: 95%;
    }
}        