html {
  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;
}


.navbar {
    background-color: #396D9B !important;
}

.bg-pages {
    background-color: #e6e8fa;
}

/* Contenedor principal */
.icon-container {
    display: flex;
    justify-content: space-around; /* Espaciado uniforme */
    align-items: center;
    /*padding: 10px; */
    padding-top: 15px;
    padding-bottom: 15px;
    flex-wrap: wrap; /* Si no entra, baja a la siguiente línea */
}

/* Cada ítem */
.icon-item {
    display: flex;
    flex-direction: column; /* Imagen arriba, texto abajo */
    align-items: center;
    width: 70px; /* Tamaño adaptable */
    border: solid 2px #558E3C;
    border-radius: 20px;
    padding: 5px;
    background-color: #b4c4cb;
    box-shadow: #d8e4d7 8px 4px;
    opacity: 60%
}

    .icon-item.active {
        width: 72px; /* Tamaño adaptable */
        border: solid 1px #558E3C;
        border-radius: 18px;
        padding: 3px;
        background-color: #b4c4cb;
        box-shadow: #d8e4d7 15px 10px;
        opacity: 100%;
        transition: 0.5s;
    }

    .icon-item:hover {
        width: 72px; /* Tamaño adaptable */
        border: solid 1px #558E3C;
        border-radius: 18px;
        padding: 3px;
        background-color: #b4c4cb;
        box-shadow: #d8e4d7 15px 10px;
        opacity: 100%;
        transition: 0.5s;
    }

    /* Imagen */
    .icon-item img {
        width: 50px;
        height: 50px;
        object-fit: contain; /* Evita distorsión */
    }

    /* Texto debajo */
    .icon-item p {
        margin-top: 5px;
        font-size: 1rem;
        text-align: center;
        color: #333;
    }

/* Responsivo para pantallas pequeñas */
@media (max-width: 576px) {


    .icon-item img {
        width: 40px;
        height: 40px;
    }

    .icon-item p {
        font-size: 0.8rem;
    }
}


.logo-nav{
    height: 55px;
    margin: -10px;
}

.bg-footer{
    margin-top: 25px;
    padding-top: 25px;
    width: 100%;
    height: 50px;
    background-color: brown;
    position: absolute;
    bottom: 0;
}

.bg-inicio{
    height: 200px;
}

.bg-cards{
    background-color: lightblue;
    margin-top: 15px;
}

.btn-orange{
    background-color: darkorange;
}

.btn-red{
    background-color: firebrick;
}