Close

Disaster Awareness E-Content

body { font-family: Arial, sans-serif; background-color: #f0f0f0; padding: 20px; display: flex; flex-direction: column; align-items: center; }

h1 { margin-bottom: 30px; text-align: center; color: #0000ff; }

.video-row { display: flex; justify-content: space-between; /* One left, one right */ gap: 20px; width: 100%; max-width: 1000px; margin-bottom: 20px; }

.video-box { flex: 1; /* Each video takes equal width */ max-width: 480px; /* Optional: control max width */ background: #fff; padding: 10px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); display: flex; flex-direction: column; align-items: center; }

.video-box h3 { margin-bottom: 10px; font-size: 16px; text-align: center; color: #ff6600; }

.video-container { position: relative; width: 100%; height: 0; padding-bottom: 56.25%; /* 16:9 aspect ratio */ }

.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* Responsive: stack videos on mobile */ @media screen and (max-width: 600px) { .video-row { flex-direction: column; align-items: center; } .video-box { max-width: 100%; } }

Aapda Mitra Volunteers