﻿html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@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;
}

.navbar-custom {
    background-color: #092B05 !important;
}

.navobj {
    color: white !important;
}

.navobj:focus,
.navobj:hover {
    border-bottom: 2px solid #21cf48;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.SearchHome,
.Searchsucribe {
    width: 500px;
    border-radius: .60rem;
    border: 1px solid;
}

.SearchHome {
    background-color: #9cb39be3;
    border-color: #9cb39be3;
}

.Searchsucribe {
    background-color: #0E492D;
    border-color: #0E492D;
    max-width: 100%;
}

input.SearchHome,
input.Searchsucribe {
    transition: all 0.2s ease-in-out;
}

input.SearchHome:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(156, 179, 155, 0.4);
    background-color: #9cb39be3;
}

input.Searchsucribe:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(156, 179, 155, 0.4);
    background-color: #0E492D;
}

.truncate-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.next-cards {
    background-color: #0E492D !important;
    border-color: #0E492D !important;
}

.btnCards-slider {
    width: 90%;
    margin: 0 auto;
    display: block;
    border-radius: 0.7rem;
    background-color: #526B27;
}

.card {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.card .card-footer {
    border: none;
}

.card-img-top {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.btn-primary:hover,
.btn:focus {
    color: #fff;
    background-color: #526B27;
    border-color: #526B27;
}

.footer {
    background-color: #092B05;
}

.fotinfoinf {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: white;
    padding: 20px 40px;
}

.logofooter img {
    height: 100px;
}

.contRedes,
.fotsuscribe {
    max-width: 300px;
    text-align: center;
}

.fotsuscribe {
    text-align: right;
}

.fotsuscribe h6 {
    text-align: left;
}

.fotRedes {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.redIcon img,
.redIconHe img,
.redIconHeLo img {
    object-fit: contain;
    transition: transform 0.3s ease;
}

.redIcon img {
    width: 40px;
    height: 40px;
}

.redIcon img:hover,
.redIconHeLo img:hover {
    transform: scale(1.1);
}

.redIconHe img,
.redIconHeLo img {
    width: 15px;
    height: 15px;
}

.redIconHeLo {
    display: none;
}

.copyfooter {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    color: #ccc;
}

.navbar-brandicon {
    margin-left: 50px;
}

.cards-viewport {
    min-height: 650px;
    padding-bottom: 120px;
}

.navbar-nav .item1,
.navbar-nav .item2,
.navbar-nav .item3,
.navbar-nav .item4 {
    display: flex;
    margin-left: 50px;
}
.navbar-toggler {
    background-color: #526B27;
}
#mensaje-flotante {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 20px;
    background-color: #25D366;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebe5d;
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
}


.zoom-inside {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.zoom-inside img {
    transition: transform 0.1s ease;
    transform-origin: center center;
    will-change: transform;
}

.pagination .page-link {
    background-color: transparent;
    color: #526B27;
    border: 1px solid #526B27;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: rgba(82, 107, 39, 0.1);
    color: #526B27;
    border-color: #526B27;
}

.pagination .page-item.active .page-link {
    background-color: #526B27;
    color: #fff;
    border-color: #526B27;
    font-weight: bold;
    box-shadow: 0 0 5px rgba(82, 107, 39, 0.4);
}

.pagination .page-item.disabled .page-link {
    background-color: transparent;
    color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

.pagination .page-item {
    margin: 0 4px;
}

@media (max-width: 1366px) {
    .SearchHome {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .fotinfoinf {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .fotsuscribe {
        text-align: center;
    }
}

@media (max-width: 575px) {
    .redIconHe {
        display: none;
    }

    .redIconHeLo {
        display: inline-block;
        visibility: visible;
        opacity: 1;
    }
}
