﻿/* styles.css */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: rgb(255, 249, 235);
}
main {
    flex: 1;
}
.custom-navbar {
    background: linear-gradient(to right, #73ad21, #c9e265);
}

    .custom-navbar .nav-link,
    .custom-navbar .navbar-brand,
    .custom-navbar .btn {
        color: #ecf0f1;
    }

    .custom-navbar .btn {
        background-color: #ffffff;
        color: rgb(115, 173, 33);
        padding: 7px 15px;
        border-radius: 15px;
        font-size: 18px;
    }

        .custom-navbar .nav-link:hover,
        .custom-navbar .btn:hover {
            color: #bdc3c7;
        }

/* Estilos para las secciones de texto e imagen */

/* Imagen posicionada en la esquina superior derecha */
.bear-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    /* Escala progresiva */
    max-width: 1400px;
    /* Evita que se pase de cierto tamaño en pantallas grandes */
    height: auto;
    z-index: -1;
    object-fit: contain;
    /* Ajuste más natural */
    transition: width 0.4s ease;
    /* Animación progresiva */
}

/* Contenedor de texto con transparencia */
.text-section {
    width: 35%;
    font-size: 110%;
    background-image: linear-gradient(to right, rgba(253, 253, 253, 0.85), rgba(255, 249, 235, 0.85));
    padding: 30px 40px 60px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 60px;
    margin-left: 0;
}

    /* Logo dentro de la sección */
    .text-section .main-logo {
        width: 90%;
        height: auto;
        margin-bottom: 10px;
    }

    /* Botón dentro de la sección de texto */
    .text-section .btn {
        margin-top: 15px;
        background-color: #73ad21;
        color: white;
        padding: 12px 30px;
        border-radius: 25px;
        font-size: 16px;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
        white-space: nowrap;
    }

/* Ajustes responsivos */
@media (max-width: 992px) {
    .text-section {
        width: 60%;
        font-size: 100%;
        padding: 20px;
    }

    .bear-img {
        width: 160%;
    }
}

@media (max-width: 768px) {
    .text-section {
        width: 85%;
        font-size: 95%;
        padding: 20px;
    }

        .text-section .btn {
            width: 100%;
            /* Botón ocupa todo el ancho del contenedor */
            padding: 12px 0;
        }

    .bear-img {
        width: 160%;
        /* se sigue reduciendo */
    }
}

@media (max-width: 480px) {
    .text-section {
        width: 95%;
        font-size: 90%;
        padding: 15px;
    }

        .text-section .main-logo {
            width: 90%;
            /* más chico en móviles */
        }

    .bear-img {
        width: 150%;
        /* más pequeño en móviles */
    }
}

.color-header {
    background-color: #ffffff;
    /* ejemplo: violeta */
    font-weight: bold;
}

.color-footer {
    background-color: #ffffff;
}


.card {
    background-color: rgba(68, 106, 15, 0.35);
    /* Verde muy transparente */
    backdrop-filter: blur(6px);
    /* 🔹 Efecto difuminado tipo glassmorphism */
    border-radius: 12px;
    border: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.row {
    color: #ffffff;
    /* Letras sólidas y claras */
}

.card-header,
.card-footer {
    letter-spacing: 1px;
    color: #73ad21;
    font-family: Arial, sans-serif;
    font-style: italic;
}

.form-control {
    background-color: #fff;
}

.form-label {
    color: #ffffff;
}

.text-white {
    color: white;
}

.mb-3-custom {
    text-align: center;
}

    .mb-3-custom img {
        display: block;
        margin: 0 auto;
    }

    .mb-3-custom h5 {
        margin-top: 0.5rem;
    }

.btn-verde {
    background-color: #73ad21;
    /* Verde personalizado */
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
}

    .btn-verde:hover {
        background-color: #5c8f1a;
        transform: scale(1.05);
        box-shadow: 0 0 10px rgba(115, 173, 33, 0.5);
    }

.container-fluid .card-group {
    height: 100%;
    min-height: 400px;
}

.card-img-top {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.row.col-md-8 {
    align-items: stretch;
}


/*html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: rgba(70, 111, 255, 0.1) !important;
}*/

/*.top-row {
    background-image: linear-gradient(-100deg, rgb(66, 129, 142) 0%, #05b540 70%);
    color: white !important;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;*/
    /*height: 3.5rem;*/
    /*display: flex;
    align-items: center;
}

@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: 40px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
.color-header {*/
    /*background-image: linear-gradient(-100deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
    /*background-image: linear-gradient(-100deg, rgb(66, 129, 142) 0%, #05b540 70%);*/
    /*background-color: rgb(0, 0, 133) !important;*/
    /*color: white !important;
}

.color-footer {*/
    /*background-image: linear-gradient(-100deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
    /*background-image: linear-gradient(-100deg, rgb(66, 129, 142) 0%, #05b540 70%);*/
    /*background-color: rgb(0, 0, 133) !important;*/
    /*color: white !important;
}

.btn-morado {
    color: #fff !important;
    background-color: rgb(105, 11, 155) !important;
    border-color: rgb(105, 11, 155) !important;
}

    .btn-morado:is(:hover) {
        color: #fff !important;
        background-color: rgb(66, 129, 142) !important;
        border-color: rgb(105, 11, 155) !important;
    }

.btn-verde {
    color: #fff;
    background-color: rgb(66, 129, 142) !important;
    color: white !important;
}

    .btn-verde:is(:hover) {
        color: #fff !important;
        background-color: rgb(105, 11, 155) !important;
        border-color: rgb(105, 11, 155) !important;
    }*/
/* Ocultar columna de datatable*/
/*th.ocultar, td.ocultar {
    display: none;
}*/