body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f1f1f1;
    color: #333;
    overflow: hidden;
    transition: background-color 0.5s ease;
}


#dashboard-index {
    width: 100%;
    height: 100%;
    padding: 20px;
    background-color: #0a0a0a;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* imagenes centradas, que no excedan el body y que no se repitan */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* Capa semitransparente */
    background-color: rgba(0, 0, 0, 0.7); /* Cambia el color y la opacidad */
    background-blend-mode: overlay; /* Mezcla el color con la imagen */
}

#homeImg {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100px;
    height: auto;
    cursor: pointer;
}

#enlaces {
    position: absolute;
    display: flex;
    justify-content: center;
    width: 50%;
    margin: 20px auto;
    gap: 10px;
}

button {
    padding: 10px 20px;
    background-color: rgba(76, 175, 80, 0.5); /* fondo con transparencia */
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#reloj-digital-a {
    /* posicionado y centrado encima de enlaces */
    position: absolute;
    width: 500px;
    height: 200px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    font-weight: bold;
    color: rgba(29, 4, 250, 0.7);
    text-align: center;
    background-color: rgba(226, 208, 208, 0.5); /* fondo con transparencia */
    background-blend-mode: overlay; /* Mezcla el color con la imagen */
    border-radius: 10px;
}

#crea-contrasena-a {
    /* posicionado y centrado a la izquierda de enlaces */
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}


#links-interesantes-a {
    /* posicionado y centrado a la derecha de enlaces */
    position: absolute;
    right: 20px;
    top: 60%;
    transform: translateY(-60%);
    width: 380px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#meteo-a {
    /* posicionado y centrado debajo de enlaces */
    position: absolute;
    height: 200px;
    width: 680px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: bold;
    color: white;
    border: 1px solid white;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    /* Capa semitransparente */
    background-color: rgba(0, 0, 0, 0.4); /* Cambia el color y la opacidad */
    background-blend-mode: overlay; /* Mezcla el color con la imagen */
    border-radius: 10px;
}

#meteo-a h5 {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    font-weight: bold;
}

#meteo-a h2 {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    font-weight: bold;
}

#meteo-a p {
    border: 1px solid white;
    padding: 5px;
} 