ahtml {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

/*body {
  margin-bottom: 60px;
}
*/
.busqueda ::placeholder {
    color: #101010 !important;
}


/* Estilos para el Navbar */
.navbar {
    padding: 10px 0; /* Ajusta según tus necesidades */
}


/* Alineación del ícono de búsqueda */
.busqueda input-group-append {
    display: flex;
    align-items: center;
}

/* Estilo para el botón de búsqueda */
.busqueda .btn-secondary {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/*Banner*/
.banner-container {
    position: relative;
    height: 70vh;
    overflow: hidden;
    background: url('../imagenes/fondo-banner.jpg') center no-repeat;
    background-size: cover;
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    text-align: center;
    margin-bottom: 50px; /* Ajusta según sea necesario */
}

.subscribe-btn {
    padding: 15px 30px;
    font-size: 32px;
    border-radius: 14px;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 35vh;
    overflow: hidden;
    margin-left: 0 auto;
    background-size: cover;
    min-height: 300px;
    background: no-repeat center center scroll;
    /*background-color: red;*/
    /* border: 1px solid black; */
    /*border-radius: 10px;*/
}
/*CODIGO PARA ACOMODAR LAS TARJETAS DE LOS ARTICULOS*/

.contenedor {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

    .contenedor card-header {
        height: 200px;
        width: 100%;
        object-position: 50% 50%;
        object-fit: cover;
    }

    .contenedor card-title {
        text-align: center;
        margin: 0;
    }

    .contenedor card-description {
        flex-grow: 1;
    }

    .contenedor card-header img {
        border-radius: 10px 10px 0 0;
    }

    .contenedor card-body {
        border-radius: 0 0 10px 10px;
        background-color: #fff;
        padding: 20px 15px;
        text-align: justify;
        border: 1px solid #ccc;
    }

.contenedor btn {
    display: block;
    background-color: #2e652a;
    padding: 5px;
    text-decoration: none;
    color: #fff;
    text-align: center;
    margin-top: 10px;
}


@media(min-width: 480px) {
    .contenedor {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .card {
        display: flex;
        flex-direction: column;
    }

    .card-body {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
}