@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

.inter-Inter {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: Inter, 'Segoe UI';
    line-height: 1.6;
    color: #000;
    background: #f8fafc;
}

/* Header */
.header {
    background: linear-gradient(135deg, #004570 0%, #001125 100%);
    color: white;
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo img {
    height: 4rem;
    padding: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.titulo{
    text-align: center;
    margin: 20px 20px 20px 20px;
    font-size: 2.5rem;
    color: #004570;
    font-weight: bold;}

.articulos{
    flex: 1;
    margin: 80px 20px 20px 20px;
    padding: 20px;
    background: white;
    border-radius: 15px;
}

.articulo{
    margin: 20px;
    margin-bottom: 50px;
    padding: 20px;
    background: #f0f0f0;
    border-radius: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.articulo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.articulo h3{
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #444;
    margin-bottom: 15px;
    padding: 10px;
}

.fecha{
    color: #777;
    font-size: 0.9rem;
    margin-top: 10px;
}

.lista-articulos{
    display: flex;
    flex-direction: column;
    padding: 50px;
}

.finArticulo{
    width: 95%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.finArticulo a {
    padding: 10px;
    border-radius: 10px;
    background: #dfedfd;
    text-decoration: none;
    color: #002872;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(13, 0, 85, 0.39);
    transition: color 0.3s ease;
}

.finArticulo a:hover {
    color: #316cd8;
}

.footer {
    background: #1e293b;
    color: white;
    padding: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    width: 90%;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.footer-section {
    width: fit-content;
    max-width: 25%;
    margin: 1rem 0;
}

.footer-section img{
    width: 4.5rem;
    margin-top: 1.5rem;
    margin-right: 0.5rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #f1f5f9;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.7;
}
@media (max-width: 768px) {
    .articulo {
        margin: 10px;
        padding: 15px;
        font-size: 4vw;
    }

    .articulo h3 {
        font-size: 1.5rem;
    }

    .titulo{
        font-size: 7vw;
    }

    .lista-articulos {
        padding: 10px;
    }

    .finArticulo a{
        font-size: 3vw;
        padding:5px;
    }

    .footer-content{
        width: 100%;
        flex-direction: column;
    }

    .footer-section{
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .articulo {
        margin: 5px;
        padding: 10px;
        font-size: 3vw;
    }

    .articulo h3 {
        font-size: 1.2rem;
    }

    .titulo{
        font-size: 6vw;
    }

    .lista-articulos {
        padding: 5px;
    }
}