* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f8ff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #6ecafc;
    padding: 20px;
    flex-wrap: wrap;
}

.sello img {
    max-height: 100px;
    width: auto;
}

.titulo {
    text-align: center;
    flex: 1;
    margin: 0 20px;
}

.titulo h1 {
    font-size: 1.8rem;
    color: #003366;
}

.titulo h2 {
    font-size: 1.3rem;
    color: #003366;
}

.titulo h3 {
    font-size: 1.1rem;
    color: #003366;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: start;
    padding: 40px 20px;
}

.botones-container {
    display: grid;
    grid-template-columns: repeat(2, 280px);
    gap: 40px;
}

/* Estilos para botones y enlaces con clase .tab */
.tab {
    position: relative;
    padding: 35px 40px 30px 40px;
    font-size: 1.4rem;
    color: #fff;
    background-color: #87cefa;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    clip-path: polygon(
        0 18%, 10% 0, 90% 0, 100% 18%,
        100% 100%, 0 100%
    );

    display: flex;              /* Flex para centrar */
    justify-content: center;    /* Centro horizontal */
    align-items: center;        /* Centro vertical */
    text-decoration: none;      /* Sin subrayado */
    width: 100%;                /* Ocupa todo el ancho disponible */
    box-sizing: border-box;
}

/* Hover para botones y enlaces */
.tab:hover {
    transform: scale(1.05);
    background-color: #4682b4;
}

.tab:nth-child(even) {
    background-color: #add8e6;
}

.tab:nth-child(even):hover {
    background-color: #5a9bd4;
}

footer {
    background-color: #003366;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 10px;
    gap: 50px;
    font-size: 1rem;
    font-weight: 500;
    border-top: 3px solid #007acc;
}

.footer-item {
    text-align: center;
}
