/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    background: linear-gradient( rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4) ), url('bglpdynamus_main_page.jpeg');
    background-size: cover; /* Opcional: para ajustar el tamaño de las imágenes */
  background-position:  center; /* Opcional: para ajustar la posición de las imágenes */
  background-repeat: no-repeat;
  color: white;

}


/* Encabezado */
header {
    background-color: #007bff;
    color: white;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    color: white;
}

/* Navegación */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.con {

    align-items: center;
}

nav {
    background-color: #333; 
    padding: 0.5rem;
    background-color: #832852;
    color: white;
    text-align: right;
}

nav a {
    color: rgb(238, 237, 237); 
    text-decoration: none; 
    padding: 0.5rem 1rem; 
    display: block;
    transition: background-color 0.3s;
}

nav a:hover {
    text-decoration: underline;
}

/* Contenido principal */
main {
    padding: 20px;
    background-color: white;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

main h2 {
    color: #007bff;
    margin-top: 0;
}

/* Sección de servicios */
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.service {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 10px;
    padding: 20px;
    width: 30%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service:hover {
    transform: scale(1.05);
}

.service h3 {
    margin-top: 0;
    color: #007bff;
}

.service p {
    line-height: 1.6;
}

/* Pie de página */
footer {
    background-color: #832852;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.round-button {
    background-color: #832852; /* Azul celeste */
    color: #FFFFFF; 
    border-radius: 50%; /* Hace el botón redondo */
    padding: 20px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    width: 200px; /* Ajusta el tamaño del botón */
    height: 200px; /* Ajusta el tamaño del botón */
    display: flex;
    align-items: center;
    transition: background-color 0.8s;
    margin-inline: right;
}

.round-button:hover {
   color: rgb(233, 236, 23);
}

footer p {
    margin: 0;
}

form {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 10px;
    padding: 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    color: black;
    margin: auto;
    max-width: 800px;
}