/* Estilos generales */

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

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}
.header-container {
    display: flex;
    background: linear-gradient(133deg, #009688 0%, #00BCD4 51%, #2989d8 100%);
    color: white;
    padding: 6px 8px;
    text-align: center;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    width: 35vh;
    height: 6.5rem;
    min-width : 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-content img {
    width: 5rem;
}

.logo-content h1 {
    font-size: 2rem;
    color: #2989d8;
    margin-left: 20px;
}
.logo-content h1 span {
    color: #ffcc00;
}

/* Header */
header {
    background: linear-gradient(135deg, #1e5799 0%, #207cca 51%, #2989d8 100%);
    color: white;
    padding: 0px 0;
    text-align: center;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 11px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #ffcc00;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #fff;
}

/* Secciones */
.section-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.section-card {
    background: white;
    border-radius: 15px;
    padding: 3px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.section-title {
    font-family: serif;
    color: #2989d8;
    margin-bottom: 5px;
    font-size: 1.5rem;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 1px;
}

.section-content {
    color: #555;
    font-family: math;
    font-size: small;
    margin-bottom: 10px;
}

/* Botones */
.btn {
    /* align-content: inherit; */
    display: inline;
    background: #2989d8;
    color: white;
    padding: 4px 20px;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 0px;
    transition: background 0.3s ease;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #1e5799;
}

.btn-yellow {
    background: #ffcc00;
    color: #333;
}

.btn-yellow:hover {
    background: #e6b800;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-radius: 20px 20px 0 0;
}

/* Responsive */
@media (max-width: 768px) {
    .section-container {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}
