
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #f1f5f9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/*header*/

header {
    background: rgb(178, 178, 39);
    backdrop-filter: blur(10px);
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 0.1);
}

header h1 {
    margin-bottom: 15px;
    font-size: 2rem;
    font-weight: 600;
    
}


header a {
    margin: 0 15px;
    text-decoration: none;
    color:#214874;
    font-weight: 500;
    transition: 0.3s ease;

}

header a:hover {
    color: #bfdbfe;
    text-shadow: 0 0 8px #60a5fa;
}

/*main*/

main {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.targeta{
    text-decoration: none;
    color: inherit;
}

.targeta div{
    background: rgba(255, 255, 255, 0.06);
    padding:25px;
    border-radius: 15px;
    border: 1px solid rgba(155, 255, 255, 0.08);
    transition: transform(0.3s ease, box-shadow 0.3s ease);

}

.tarjeta div:hover{
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.tarjeta h2{
    margin-bottom: 10px;
    font-size: 1,4rem;
    color: #93c5fd;
}

.contenido p{
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e2e8f0;
}

/*footer*/
footer {
    margin-top: auto;
    padding: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer a {
    color: #93c5fd;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
}

footer a:hover {
    color: #bfdbfe;
}



