﻿/* General Mobile Reset */
body, html {
    font-size: 16px;
    line-height: 1.5;
}

/* Media Queries for Responsive Design */

/* Devices with max-width 768px (Tablets and small desktops) */
@media (max-width: 768px) {
    .header-area li {
        display: block;
        margin: 8px 0;
    }
    .hero-area {
        padding: 80px 0;
        text-align: center;
    }
    .double-content h2 {
        font-size: 120px;
        line-height: 1.2;
    }
    .double-content {
        margin: 0 auto;
    }
    .hero-btn a {
        padding: 12px 32px;
        font-size: 16px;
    }
    .single-trending-item {
        width: 100%; /* Adjust to full width */
        height: auto; /* Adapt height to content */
        flex-direction: column; /* Stack content vertically */
    }
}

/* Devices with max-width 576px (Phones) */
@media (max-width: 576px) {
    .hero-area {
        padding: 60px 0;
        background-size: cover;
    }
    .double-content h2 {
        font-size: 60px;
        line-height: 1.1;
    }
    .trending-slider .single-trending-item {
        width: 100%;
        height: auto;
        margin-bottom: 16px;
    }
    .gaming-btn a {
        font-size: 14px;
        padding: 8px 16px;
    }
    ul.filter-project {
        flex-wrap: wrap;
        padding: 8px;
    }
    ul.filter-project li {
        flex: 1 1 calc(50% - 10px); /* Two per row */
        margin: 5px;
    }
    footer.footer-area {
        padding: 20px;
    }
}

/* Ensure flexible images and containers */
img, .wrapper {
    width: 100%;
    height: auto;
}
