body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    text-align: center;
    padding: 20px;
    background-color: #f0f0f0;
    width: 100%;
}

.ad-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px;
}

.ad {
    display: flex;
    justify-content: center; /* Centrar la imagen horizontalmente */
    align-items: center; /* Centrar la imagen verticalmente */
    width: 80vw; /* Puedes ajustar este valor según lo desees. Este valor define el ancho máximo de las imágenes. */
    height: auto;
    margin: 10px 0;
    background-color: #f0f0f0; /* Color de fondo para imágenes que no llenen todo el ancho */
    border-radius: 10px;
}

.ad img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s;
}

.ad img:hover {
    transform: scale(1.05);
}
