SDG 7 – Affordable and clean energy

@media (max-width: 768px) { .dos-columnas { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: stretch; /* Asegura que ambas columnas tengan misma altura */ } .dos-columnas .et_pb_column_2 { display: flex; flex-direction: column; justify-content: center; height: auto; min-height: 100%; } }

Goals

Goal 7.1

7.1 By 2030, ensure universal access to affordable, reliable and modern energy services.

Goal 7.2

7.2 By 2030, substantially increase the share of renewable energy in the energy mix.

Goal 7.3

7.3 By 2030, double the global rate of improvement in energy efficiency.

Goal 7.a

7.a By 2030, enhance international cooperation to facilitate access to clean energy research and technology, including renewable energy, energy efficiency and advanced and cleaner fossil fuel technologies, and promote investment in energy infrastructure and clean technologies.

Goal 7.b

7.b By 2030, expand infrastructure and upgrade technology to provide modern and sustainable energy services for all in developing countries, in particular least developed countries, small island developing States and landlocked developing countries, in line with their respective support programmes.

SDG-1
SDG-2
SDG-3
SDG-4
SDG-5
SDG-6
SDG-7
SDG-8
SDG-9
SDG-10
SDG-11
SDG-12
SDG-13
SDG-14
SDG-15
SDG-16
SDG-17
.horizontal-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 5px; padding: 20px; } .slide { flex: 0 0 auto; width: 70px; height: 70px; scroll-snap-align: start; transition: transform 0.3s ease; } .slide img { width: 100%; height: 100%; object-fit: cover; } /* Zoom en móvil */ @media (max-width: 768px) { .slide { width: 30vw; /* Más compacto que 80vw */ height: auto; aspect-ratio: 1 / 1; scroll-snap-align: center; transition: transform 0.3s ease; } .slide img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; /* Elimina redondeo si no se desea */ } .zoomed { transform: scale(1.1); z-index: 2; } } const container = document.querySelector('.horizontal-slider'); const slides = document.querySelectorAll('.slide'); function updateZoomedSlide() { let center = container.scrollLeft + container.offsetWidth / 2; slides.forEach(slide => { const rect = slide.getBoundingClientRect(); const slideCenter = rect.left + rect.width / 2; if (Math.abs(slideCenter - window.innerWidth / 2) { if (window.innerWidth <= 768) { updateZoomedSlide(); } }); window.addEventListener('resize', updateZoomedSlide); window.addEventListener('load', updateZoomedSlide); @media (max-width: 768px) { .dos-columnas { display: flex; flex-direction: row !important; /* Fuerza horizontal */ flex-wrap: nowrap; gap: 12px; /* Ajusta según separación deseada */ } .dos-columnas > div { flex: 1 1 50%; /* Cada columna ocupa la mitad */ min-width: 0; /* Evita desbordamiento */ } }