

.open-sans-google {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300 800;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}


/* Estilos generales */
body {
    font-family: "Open Sans", sans-serif;
    color: #333;
    padding-top: 56px; /* Para compensar el navbar fijo */
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0.7));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: -56px; /* Compensar el padding-top del body */
}

/* Navbar personalizada */
.navbar {
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background-color: #343a40 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-weight: 700;
}

/* Secciones */
section {
    padding: 80px 0;
}

/* Timeline biografía */
.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #007bff;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-year {
    position: absolute;
    left: -50px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0 0 4px white, 0 0 0 5px #007bff;
}

.timeline-content {
    padding-left: 20px;
}

/* Tarjetas */
.card {
    transition: all 0.3s;
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

/* Botones */
.btn {
    transition: all 0.3s;
}

/* Social links */
.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #007bff;
    transform: translateY(-3px);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        text-align: center;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-year {
        left: -30px;
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    section {
        padding: 60px 0;
    }
}