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 {
    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 */
}



/* div para título, campos y boton de los enlaces */
#links { 
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 50vh;
    background-color: lightgray;
    padding: 20px;
    border: 1px solid black;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    color: rgb(255, 255, 255);
    /*color de fondo semitransparente*/
    background-color: rgba(255, 255, 255, 0.4);
    transition: background-color 0.3s; 
}

#links h2 {
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    /*color de texto extraño*/
    color: rgb(74, 248, 5);
    /*shadow de texto*/
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid black;
}

#links input {
    width: 300px;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid black;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    font-family: Arial, sans-serif;
}

#btnAgregar {
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
}

#divEnlaces {
    display: flex;
    width: 350px;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin-top: 20px;
}

#btnEnlaces {
    display: inline-block; /* los botones se colocan en linea */
    padding: 10px 20px;    
    border: none;
    border-radius: 5px;
    cursor: pointer;
    /* background-color y color compatibles con fondo oscuro */
    background-color: rgba(179, 24, 24, 0.5);
    color: white;
    margin-bottom: 20px;
    margin-right: 10px;
    transition: background-color 0.3s;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
}

.link-container {
    position: relative;
    display: inline-block;
    margin: 10px;
}

.btn-enlace {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
}

.btn-borrar {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 14px;
    cursor: pointer;
    color: red;
    background-color: white;
    border: 1px solid red;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
