body {
    background: linear-gradient(135deg, #87CEEB, #fef9d7); 
    background-attachment: fixed;
    background-size: cover; 
    font-family: Arial, sans-serif; 
    color: #333;

}

main.principal {
    margin: 50px 30%;
    border-style:groove;
    border-color: red;
    min-height: 200px;
    background-color: palegoldenrod;
}

main#operations{
    margin: 50px 30%;
}
main#operations p{
    margin: 30px;
}


ul {
    color: darkgreen;
}

li {
    position: relative;
    margin: 10px;
}
main a:hover{
    cursor: crosshair;
   }

#perfil {
    margin: 0 0 0 100px;
    width: 200px;  
    height: 140px;  
    position: absolute;
}

h1 {
    width: 600px;
    margin: 0 auto 50px;
    text-align: center;
}
footer{
    text-align: center;
    margin: 100px;
}
aside#contacta{
    width: 100%; 
    margin: 200px 0 auto;
    padding: 20px; 
    background-color: #f4f4f4; 
    border-style:outset;
    text-align: center;
}
body#error404,body#error403{
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb; 
    border-radius: 8px; 
    padding: 10px 15px; 
    margin: 15px 0; 
    font-size: 16px; 
    font-weight: bold; 
    align-items: center; 
    box-shadow: 0 4px 6px rgba(23, 187, 199, 0.1); 
}

p#inicio{
    border-bottom: #f5c6cb;
    background-color:rgb(44, 216, 216);
    text-align: center;
    border: solid;
    margin-top: 100px;
    width: 90px;
    
  
}
div.errors{
    background:lightsalmon;
    border: 1px;
}
div#cookies{
    background-color: rgba(255, 255, 255, 0.9); 
    position: fixed;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    color: #333; 
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); 
    width: 400px; 
    text-align: center;
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    gap: 20px;
    /* backdrop-filter: blur(20px);  */
}

#boton_acept_cookie, #boton_cancel_cookie{
    display: inline-flex;
    background-color: #0056b3; 
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor:wait;
    font-size: 14px;
}




#boton_acept_cookie:hover {
    background-color: #003d80; 
}
div.button>form>button{
    margin-right: 20px;
}

 /* Estilo para los botones */
 .buttons {
    margin-top: 30px; /* Aumenta el espacio desde arriba */
    display: flex;
    flex-direction: column;
    gap: 20px; /* Espacio entre los botones */
}

.buttons button, body#swddbb form>a {
    font-size: 18px; /* Aumenta el tamaño del texto */
    padding: 12px 20px; /* Aumenta el tamaño del botón */
    background-color: #4CAF50; /* Color de fondo */
    color: white; /* Color del texto */
    border: none;
    border-radius: 5px; /* Bordes redondeados */
    cursor: pointer;
    transition: background-color 0.3s ease; /* Transición suave al pasar el ratón */
}

.buttons button:hover,body#swddbb form>a:hover {
    background-color: #45a049; /* Color de fondo al pasar el ratón */
}

/* Estilo general para los formularios */
body#ddbb form {
    margin-bottom: 20px;
}

body#ddbb input[type="file"], input[type="text"] {
    margin: 10px 0;
    padding: 10px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

body#ddbb button[type="submit"] {
    padding: 10px 15px;
    background-color: #008CBA; /* Color del botón de subir archivo */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

body#ddbb button[type="submit"]:hover {
    background-color: #007B9E; /* Cambio de color al pasar el ratón */
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.gallery-item {
    max-width: 300px;
}
body#swddbb img, video {
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
}
.description {
    margin-top: 5px;
    font-style: italic;
    color: #666;
}
.buttons {
    margin-bottom: 20px;
}
body#swddbb button {
    padding: 10px 20px;
    margin-right: 10px;
    cursor: pointer;
    color: white;
}
body#swddbb form>a{
    text-decoration: none;
    color: white;
    
}