body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 0 15px;
}

.navbar a{
    justify-content: center;
    align-items: center;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 25px;
}

.navbar-brand img {
    margin-top: 70px;
    margin-left: 480px;
}

.btn-outline-success {
    margin-top: 25px;
    background-color: #1155CC;
    color: white;
    font-weight: bold;
    padding: 10px;
    border-radius: 50px;
    text-decoration: none;
    margin-right: 100px;
}

.btn-outline-success-form {
    background-color: #1155CC;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    height: 45px;
}

.card-title {
    text-align: center;
}

.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.d-flex{
    display: flex;
}

.form-group {
    width: 350px;
    position: relative;
    margin-right: 10px;
}

.form-group select {
    height: 200px;
    font-size: 16px;
    padding: 5px;
}

.form-control {
    height: 45px;
    width: 350px;
    border: 1px solid #e0dddd;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#sugerencias1, #sugerencias2 {
    max-height: 250px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0dddd;
    border-radius: 5px;
    background-color: #fff;
    position: absolute;
    width: 100%;
    z-index: 1000;
}

#sugerencias1 option, #sugerencias2 option {
    cursor: pointer;
}

#sugerencias1 option:not(:last-child),
#sugerencias2 option:not(:last-child) {
    margin-bottom: 5px;
    padding: 5px;
}

#sugerencias1 option:hover,
#sugerencias2 option:hover {
    background-color: #e0e0e0;
}

/*FORMATO EN COLUMNAS */
.container-resultados {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.column-izquierda {
    width: 30%;
}

.column-derecha {
    width: 60%;
    margin-right: 100px;
    padding: 10px;
    padding-right: 10px;
}

/* COOKIES */
.card-body {
    margin: 0 auto;
    width: 95%;
    margin-left: 30px;
    margin-right: 30px;
}

.card-text {
    color: grey;
    text-align: justify;
    margin-bottom: 15px;
}

.subtitle {
    display: block;
    font-size: 1.8em;
    margin-top: 20px;
    margin-bottom: 10px;
}

.table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.table th, .table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

.table th {
    background-color: #f2f2f2;
    color: dimgrey;
}

.table td {
    background-color: #fafafa;
    color: grey;
}

ul {
    list-style-type: disc;
    margin: 15px 0 15px 40px;
    color: grey;
}

ul li {
    margin-bottom: 10px;
}

a {
    color: blue;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* FOOTER */
.container-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 25px;
    background-color: rgb(240, 237, 209);
}

.card-columns .col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card-group .col {
    padding: 0 10px; /* Espacio entre las tarjetas en la fila */
}

.col p{
    text-align: center;
}

.card {
    margin-bottom: 10px; /* Espacio entre las tarjetas */
}

.card a{
    text-decoration: none;
    color: grey;
}

.card-title{
    color: dimgray;
}

.card-body .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* Espacio entre las columnas */
}

.card-body .col-sm-6,
.card-body .col-sm-2 {
    width: auto; 
}

/* Estilo para el contenedor del texto */
.footer-card {
    position: relative; /* Ajuste de posición relativa */
}

/* Estilo para el contenedor del texto */
.footer-card .text-container {
    position: absolute; /* Posicionamiento absoluto */
    top: 50%; /* Alineación vertical al centro */
    left: 50%; /* Alineación horizontal al centro */
    transform: translate(-50%, -50%); /* Ajuste de posición para centrar */
    width: 80%; /* Ancho del contenedor de texto */
    text-align: center; /* Alinear texto al centro */
    color: white; /* Color de texto blanco */
    z-index: 1; /* Asegura que el texto esté encima de la imagen */
}

/* Estilo para el enlace dentro del contenedor */
.footer-card .text-container a {
    color: white; /* Texto blanco */
}

/* Estilo para la imagen */
.footer-card .footer-image {
    border-radius: 15px; /* Borde redondeado */
    width: 1100px;
    height: auto;
}

.text-container p{
    font-size: 25px;
}

.text-container a{
    color: white;
    background:dodgerblue;
    padding: 10px;
    font-weight: bold;
    font-size: 18px;
    border-radius: 50px;
    text-transform: uppercase;
    margin-top: 100px;
}

.custom-hover {
    background-color: rgb(100, 176, 179);
    padding: 10px;
    border-radius: 50px;
    text-decoration: none;
    
}

.card-body a{
    color: white;
}

.card-footer a{
    color: grey;
}

.card-footer p {
    text-align: center;
}

.custom-hover:hover {
    background-color: rgba(100, 176, 179, 0.8);
}


.btn-outline-success:hover,
.btn-outline-success-form:hover,
.text-container a:hover {
    background-color: rgba(30, 144, 255, 0.8); /* Azul claro */
}

.container-wide {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pinkstone {
    width: 100%;
    background: rgb(100, 176, 179);
    padding: 15px;
    text-align: center;
    box-sizing: border-box;
}

.pinkstone .btn-primary {
    text-decoration: none;
    color: white;
    font-size: 20px;
}