/* BOTON*/
.separar {
  padding: 3%;
  display: inline-block;
  cursor: pointer;
}
.boton5 {
  color: #fff !important;
  font-size: 20px;
  font-weight: 500;
  padding: 0.5em 1.2em;
  background: #318aac;
  position: relative;
  border: 2px solid #318aac;
  outline: 1px solid;
  outline-color: rgba(49, 138, 172, 0.4);
  transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}
.boton5:hover {
  box-shadow: inset 0 0 20px rgba(49, 138, 172, 0.5), 0 0 20px rgba(49, 138, 172, 0.4);
  outline-color: rgba(49, 138, 172, 0);
  outline-offset: 80px;
  text-shadow: 10px 10px 60px #fff;
}
.titulo {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px;
  text-decoration: underline;
  color: #333333;
}

/* PORTADA NOTICIAS*/
.band {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;

    display: grid;
    gap: 20px;

    grid-template-columns: repeat(4, 1fr);

    grid-auto-flow: dense;
}

/* TABLET */
@media (min-width: 30em) {
    .band {
        grid-template-columns: 1fr 1fr;
    }
}
/* DESKTOP */
@media (min-width: 60em) {
    .band {
        grid-template-columns: repeat(4, 1fr);
    }
    /* CARD GRANDE */
    .item-1 h1 {
        font-size: 24px;
    }
}

/* CARD */
.card {
    background: white;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
    top: 0;
    transition: all .1s ease-in;
}
.card:hover {
    top: -2px;
    box-shadow: 0 4px 5px rgba(0,0,0,0.2);
}
.card article {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card h1 {
    font-size: 20px;
    margin: 0;
    color: #04809c;
}
.card p {
    flex: 1;
    line-height: 1.4;
}
.card span {
    font-size: 12px;
    font-weight: bold;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-top: 2em;
}
.card .thumb {
    padding-bottom: 60%;
    background-size: cover;
    background-position: center center;
}
/*///////////***************/
/* BATALLA DE ROBOTS*/
/*///////////***************/
html{
    scroll-behavior:smooth;
}
.oculto{
    color:white;
    background-color: white;
}
#Inicio{
    scroll-margin-top: 150px;
}
.Delitador {
    padding: 20px 90px;
    text-align: center;
}
.textgeneralmente {
    text-align: justify;
    font-size: 20px;
}
.idc-titulo{
    font-weight: 7px;
    text-align: center;
}

/******* MENU LATERAL DESLIZANTE***********/
/* Agrega un fondo negro a la barra de navegación superior */
.topnav {
    overflow: hidden;
    position: fixed;
    top: 80px;
    left: 15px;
    z-index: 1000;
}
/* El menú de navegación lateral */
.sidenav {
    height: 500px; /* 100% de altura completa */
    width: 0; /* Ancho 0 - cambia esto con JavaScript */
    font-size: 17px;
    position: fixed; /* Permanece en su lugar */
    z-index: 1001; /* Permanece encima */
    top: 110px;
    left: 10px;
    bottom: 600px;
    background-color: #eeeded; /* Negro */
    overflow-x: hidden; /* Deshabilita el desplazamiento horizontal */
    padding-top: 20px; /* Coloca el contenido a 60px desde arriba */
    transition: 0.5s; /* Efecto de transición de 0.5 segundos para deslizar el menú lateral */
}
/* Los enlaces del menú de navegación */
.sidenav a {
    margin: 0px 2px;
    padding: 4px 32px;
    top: 50px;
    text-decoration: none;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif !important;
    color: #676262;
    display: block;
    transition: 0.3s;
}
/* Cuando pasas el mouse sobre los enlaces de navegación, cambia su color */
.sidenav a:hover,
.offcanvas a:focus {
    color: #999;
}
/* Posiciona y estiliza el botón de cerrar (esquina superior derecha) */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}