/* ************************ Diseño para la web publica ************************ */
body {
    font-family: 'POPPINS', sans-serif;
    font-weight: bold;
    background: #fbfdfe;
}

.link-nav {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.link-nav:hover {
    color: rgb(255, 174, 0);
}

.link-black {
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.link-black:hover {
    color: rgb(255, 174, 0);
}

.link-white {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.link-white:hover {
    color: rgb(255, 174, 0);
}

.container-custom {
    width: 95%;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 0px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.hero {
    background: url('https://res.cloudinary.com/dtpvbfavr/image/upload/v1738796466/Public/img/fondos/ndbbs0qcm4j3tqo7sgne.jpg') center/cover no-repeat;
    height: 600px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
}

.btn-custom {
    background-color: #76E879;
    color: white;
    border: none;
}

.btn-custom:hover {
    background-color: #76E879;
}

.footer {
    --bs-bg-opacity: 1;
    background-color: #727272;
    color: white;
    padding: 20px 0;
}

.green-section {
    background-color: rgb(23, 166, 37, 0.8);
    color: white;
    padding: 20px 0;
}

.yellow-section {
    background-color: rgb(240, 255, 0, 0.5);
    color: rgb(0, 0, 0);
    padding: 20px 0;
}

.turquoise-section {
    background-color: #40E0D0;
    color: white;
    padding: 50px 0;
}

.orange-section {
    background-color: rgb(255, 123, 0, 0.5);
    color: rgb(0, 0, 0);
    padding: 50px 0;
}

.while-section {
    background-color: #fff;
    color: #000000;
    padding: 50px 0;
}

.grey-section {
    background-color: rgb(114, 114, 114, 0.5);
    color: #fff;
    padding: 50px 0;
}

.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Contenedores cuadrados */

.container-cero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

.image-container img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.grid div {
    background: #ff7b00;
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 120px;
}

.grid img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}


/* Animación de imagenes que cargan al bajar el scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Diseño de tarjetas */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 50px;
}

.custom-card {
    background: #fff;
    color: #727272;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
}

.custom-card img {
    width: 100%;
    height: auto;
}

.custom-card h5 {
    margin-top: 15px;
    font-weight: bold;
}

/* Web Gobierno ocotlan */

.web-orange-section {
    background-color: rgb(255, 123, 0, 1);
    color: rgb(255, 255, 255);
    padding: 50px 0;
}

.web-gray-section {
    background-color: rgb(151, 151, 153);
    color: rgb(255, 255, 255);
    padding: 50px 0;
}

/* diseño de contenedores de noticias */

.event-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.ver-mas-btn {
    margin-top: 30px auto 0;
    display: block;
    padding: 10px 24px;
    font-weight: 600;
    background-color: #2d2d2d;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.ver-mas-btn:hover {
    background-color: #1f1f1f;
}

/* Caja de enlaces */
#box {
    background-color: white;
    padding: 15px;
    color: #000000;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    border: 4px solid orange
}