body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    color: #222;
}

.main-header {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-bottom: 1px solid #ddd;
}

.subtitle {
    margin-top: 5px;
    color: #666;
}

.content {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #222;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: 0.2s;
}

.card:hover {
    transform: scale(1.03);
}

.card img {
    width: 100%;
    display: block;
}

.card span {
    display: block;
    padding: 10px;
    font-size: 14px;
}

.wallpaper-view img {
    width: 100%;
    border-radius: 10px;
}

.main-footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    color: #777;
}


.wallpaper-view {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}

.full-wallpaper {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.download-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #007bff;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 20px;
    font-weight: bold;
    transition: 0.2s;
}

.download-btn:hover {
    background: #0056c7;
}

/* TAG CHIPS – estilo pastel suave */
.tag-chip {
    display: inline-block;
    background: #ece9ff; /* pastel suave */
    color: #6c5ce7;      /* morado suave */
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
    margin: 3px 4px 0 0;
    text-decoration: none;
    transition: 0.2s;
}

.tag-chip:hover {
    background: #6c5ce7;
    color: white;
}

/* BLOQUE DE RESOLUCIONES */
.resolution-block {
    margin-top: 25px;
    padding: 10px 5px;
    background: transparent; /* antes blanco */
    border-radius: 10px;
    box-shadow: none; /* antes sombra */
}

/* CHIPS DE RESOLUCIONES – estilo pastel suave */
.resolution-chip {
    display: inline-block;
    background: #e8f0ff; /* azul pastel suave */
    color: #1a4db8;      /* azul suave */
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
    margin: 6px 6px 0 0;
    text-decoration: none;
    transition: 0.2s;
}

.resolution-chip:hover {
    background: #1a4db8;
    color: white;
}














/* Botón hamburguesa panel de control*/
.menu-btn {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    color: #4a6cf7;
}

/* Sidebar responsive */
@media (max-width: 900px) {
    .sidebar {
        position: fixed;
        left: -260px;
        top: 0;
        height: 100%;
        width: 260px;
        background: white;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: 0.3s ease;
        z-index: 1000;
    }

    .sidebar.active {
        left: 0;
    }

    .menu-btn {
        display: block;
        margin-right: 15px;
    }

    .content {
        margin-left: 0 !important;
        padding: 20px;
    }

    /* Overlay */
    #overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: 900;
    }

    #overlay.active {
        display: block;
    }
}







