* {
    padding: 0px;
    margin: 0px;
}

/*=========TIPOGRAFIAS============*/

@font-face {
    font-family: "montserrat";
    src: url("font/Montserrat-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "montserrat";
    src: url("font/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "montserrat";
    src: url("font/Montserrat-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "montserrat";
    src: url("font/Montserrat-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}



/*SECTION MENU BLOG*/

.section-menu-blog {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.box-blog {
    display: flex;
    gap: 20px;
    margin-left: 5%;
    margin-top: 60px;
    margin-bottom: 60px;
}

.card-blog {
    display: block;
    text-align: center;
    width: 10%;
    height: 30px;
    line-height: 30px;
    background-color: #dddfe4;
    text-decoration: none;
    
}

.card-blog p {
    color: #4e4153;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;

}

.card-blog p:hover {
    background-color: #000000;
    color: #ffffff;
}

.btn-cabecera {
  margin-top: 60px;
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.btn-red,
.btn-outline {
  padding: 20px;
  background-color: #dc0014;
  color: #ffff;
  text-decoration: none;
  font-family: "Arial";
  width: 15%;
  height: 30px;
  line-height: 30px;
  transition: all 0.3s ease-out;
}

.btn-outline {
  border: 1px solid #ffffff57;
  background-color: transparent;
}

.btn-red:hover {
  transform: scale(1.1);
}

.btn-outline:hover {
  background-color: #ffffff25;
}


/* SECTION NOTICIAS */
.section-noticias {
    width: 100%;
    height: auto;
}

.content-noticias {
    display: flex;
    align-items: center;
    width: 90%;
    height: 100vh;
    margin: auto;
    gap: 60px;
    margin-bottom: 60px;
    border: 1px solid #e5e7eb;
    transition: all 0.25s ease;
}

.imagen-noticia {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.imagen-noticia img {
    object-fit: cover;
    width: 100%;
    height: 100vh;
    transition: transform 0.4s ease;
}

.text-noticia {
    width: 70%;
    margin-right: 50px;
}

.campo-titulo {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
}

.campo-titulo h4 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    color: #dc0014;
    margin-right: 30px;
    letter-spacing: 1px;
}

.campo-titulo span {
    font-size: 1.1rem;
    color: #6a7282;
    margin-right: 5px;
}

.text-noticia p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    color: #6a7282;
    line-height: 1.5;
}

.campo-titulo p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    color: #6a7282;
    font-weight: 200;
}

.text-noticia h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    transition: all 0.25s ease;
}

.bottom-noticia {
    align-items: center;
    display: flex;
    margin-top: 20px;
    gap: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    color: #dc0014;
}

.bottom-noticia a {
    text-decoration: none;
    color: #dc0014;
}

.content-noticias:hover {
    border: 1px solid #dc0014;
    color: #dc0014;
}

.content-noticias:hover .imagen-noticia img {
    transform: scale(1.1);
}

/* SECTION MAS NOTICIAS */
.noticias-generales {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.content-noticias-generales {
    width: 90%;
    height: 100%;
    margin: auto;
    display: flex;
    gap: 30px;
}

.box-noticias-generales {
    width: 100%;
    height: auto;
    margin: auto;
    margin-bottom: 80px;
    border: 1px solid #e5e7eb;
    transition: all 0.25s ease;
}

.box-noticias-generales:hover {
    border: 1px solid #dc0014;
    color: #dc0014;
}

.box-img-generales {
    overflow: hidden;
    height: 300px;
    width: 100%;
}

.box-img-generales img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.box-noticias-generales:hover .box-img-generales img {
    transform: scale(1.1);
}

.box-text-generales {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}



.box-fecha {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
}

.box-fecha h4 {
    margin-right: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    color: #dc0014;
    letter-spacing: 1px;
}

.box-fecha span {
    font-size: 1.2rem;
    margin-right: 5px;
    color: #6a7282;
}

.box-fecha p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    color: #6a7282;
}

.box-text-generales h2 {
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 10px;
}

.box-text-generales p {
    font-family: Arial, Helvetica, sans-serif;
    color: #6a7282;
}

.enlace-mas {
    margin-top: 20px;
}

.enlace-mas span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    color: #dc0014;
}

.content-noticias-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

/*FOOTER*/

.section-final {
    width: 100%;
    height: auto;
    padding-top: 50px;
    background-color: #1d2744;
    padding-bottom: 45px;
}

.box-final {
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    margin-bottom: 10px;
    margin: auto;
    gap: 100px;
    justify-content: center;
}

.text-final {
    width: 20%;
    color: #99a1af;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    line-height: 18px;
}

.text-final img {
    width: 70%;
}

.enlaces-final h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #fff;
}

.enlaces-final ul li {
    list-style: none;
    margin-bottom: 5px;
}

.enlaces-final ul li a {
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    color: #99a1af;
}

.enlaces-final ul li a:hover {
    color: #dc0014;
}

.contacto-final h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #fff;
}

.contacto-final ul li {
    list-style: none;
    margin-bottom: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    color: #99a1af;
}

.redes-final h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #fff;
}

.redes-final img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    background-color: #1d2744;
    border-radius: 50px;
    margin-right: 5px;
}

.redes-final img:hover {
    background-color: #dc0014;
}

.redes-final a {
    text-decoration: none;
}

.parte-final {
    width: 100%;
    text-align: center;
    margin-top: -50px;
}

.linea-final {
    width: 95%;
    margin: auto;
    border: 1px solid #ffff;
    margin-bottom: 30px;
}

.final {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    color: #99a1af;
}

@media (max-width: 480px) {

    /* ================= SECTION CABECERA ============ */

    .content-cabecera {
        width: 90%;
    }

    .top-inamec {
        width: 100%;
    }

    .content-cabecera p {
        margin-top: 5rem;
        font-size: 1.2rem;
    }

    /* ===================== SECTION MENU BLOG =================== */

    .box-blog {
        width: 90%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin-top: 3rem;
        margin-bottom: 2rem;
    }

    .card-blog {
        width: 100%;
    }

    /* =============== SECTION NOTICIA PRINCIPAL ============== */

    .section-noticias {
        height: auto;
        overflow: hidden;
    }

    .campo-titulo p{
        font-size: 0.8rem;
    }

    .content-noticias-link {
        height: auto;
        overflow: hidden;
    }

    .content-noticias {
        display: flex;
        flex-direction: column;
        width: 90%;
        overflow: hidden;
        gap: 2px;
        height: auto;
    }

    .imagen-noticia {
        width: 100%;
        height: 330px;
        overflow: visible;
    }

    .imagen-noticia img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .text-noticia {
        width: 90%;
        margin: 0px auto;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .campo-titulo {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    

    .campo-titulo span {
        margin-left: auto;
    }

    .text-noticia h2 {
        line-height: 1.5rem;
    }

    .text-noticia p {
        line-height: 1.2rem;
        font-size: 1rem;
    }

    /*================ SECTION NOTICIAS GENERALES ============ */
    .content-noticias-generales {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 90%;
        height: auto;
    }

    .box-noticias-generales {
        margin-bottom: 3rem;
        padding: 0px;
        width: 100%;
        overflow: hidden;
    }

    .box-noticias-generales img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .box-fecha {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .box-fecha span {
        margin-left: auto;
    }

    .enlace-mas {
        display: flex;
        align-items: center;
    }

    /* ======== FOOTER ======= */

    .box-final {
        margin-top: 3rem;
        gap: 40px;
    }

    .text-final {
        width: 100%;
    }

    .text-final img {
        width: 60%;
        margin: 0px auto;
        display: block;
    }

    .text-final p {
        margin-top: 1rem;
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .enlaces-final {
        width: 100%;
    }

    .enlaces-final h3 {
        margin-bottom: 1rem;
    }

    .enlaces-final ul li {
        margin-bottom: 1rem;
    }

    .enlaces-final ul li a {
        font-size: 1rem;
    }

    .contacto-final {
        width: 100%;
    }

    .contacto-final h3 {
        margin-bottom: 1rem;
    }

    .contacto-final ul li {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .redes-final {
        width: 100%;
        display: block;
        text-align: center;
    }

    .redes-final h3 {
        text-align: left;
        margin-bottom: 1rem;
    }

    .parte-final {
        margin-top: 0.5rem;
    }

    .linea-final {
        margin-bottom: 0.5rem;
    }

    .parte-final p {
        margin-top: 0px;
        width: 100%;
        font-size: 0.7rem;
    }
}