html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Didact Gothic', sans-serif;
    background-color: #C2F2E4;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 1rem 2rem;
    box-sizing: border-box;
    background-color: #35C8B4;
}

.header-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    font-family: 'Prosto One', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #EDF7BE;
}

.top-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-nav a {
    text-decoration: none;
    color: #EDF7BE;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Didact Gothic', sans-serif;
}

.page-content {
    margin-top: 120px;
    margin-bottom: 150px;
    width: 100%;
    box-sizing: border-box;
    flex: 1;
}

.hero {
    width: 100%;
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #A4CF4A;
    font-family: 'Prosto One', sans-serif;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #35C8B4;
    font-family: 'Prosto One', sans-serif;
}

.hero-description {
    font-size: 1.2rem;
    font-weight: 400;
    color: #1E6158;
    font-family: 'Didact Gothic', sans-serif;
}

.footer {
    width: 100%;
    background-color: #A4CF4A;
    padding: 3rem 2rem;
    border-top: 3px solid #EDF7BE;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    box-sizing: border-box;
    margin-top: 4rem;
}

.footer h3 {
    font-family: 'Prosto One', sans-serif;
    color: #EDF7BE;
    font-size: 1.8rem;
    margin: 0;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.footer li {
    font-size: 1.1rem;
}

.footer a {
    text-decoration: none;
    color: #EDF7BE;
    font-weight: 500;
    font-size: 1.1rem;
    font-family: 'Didact Gothic', sans-serif;
    transition: color 0.3s;
    white-space: nowrap;
}

.footer a:hover {
    color: #35C8B4;
}

@media (max-width: 767px) {
    .footer ul {
        flex-direction: column;
        gap: 1rem;
    }
}

.page-content section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

html {
    scroll-behavior: smooth;
}

p, li {
    font-family: 'Didact Gothic', sans-serif;
    color: #1E6158;
}

h1, h2 {
    font-family: 'Prosto One', sans-serif;
    color: #1E6158;
}

.logo {
    text-decoration: none;
    color: #EDF7BE;
    font-weight: 700;
    font-family: 'Prosto One', sans-serif;
    font-size: 1.2rem;
}

#modalito {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-contenido {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

#modal-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

#modal-desc {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
}

#cerrar {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
}

#cerrar:hover {
    color: #ff0000;
}

.row {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.col {
    width: 100%;
}

.card {
    display: flex;
    gap: 2rem;
    align-items: center;
    background-color: #EDF7BE;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.col:nth-child(even) .card {
    flex-direction: row-reverse;
}

.card-img-top {
    width: 50%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.card-img-top:hover {
    transform: scale(1.05);
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1E6158;
    margin: 0;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.btn-group {
    display: flex;
    gap: 0.5rem;
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 2px solid;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

.btn-outline-secondary {
    color: #35C8B4;
    border-color: #35C8B4;
    background-color: transparent;
}

.btn-outline-secondary:hover {
    background-color: #35C8B4;
    color: white;
}

.text-body-secondary {
    color: #1E6158;
    font-size: 0.9rem;
    font-weight: 500;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

@media (max-width: 768px) {
    .card,
    .col:nth-child(even) .card {
        flex-direction: column;
    }
    
    .card-img-top {
        width: 100%;
        max-width: 100%;
    }
}

.card-description {
    font-size: 1rem;
    color: #1E6158;
    line-height: 1.6;
    margin: 1rem 0 0 0;
}

.sobre-mi-contenedor .contenido {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}

.texto {
    flex: 1;
    min-width: 250px;
}

.dibujito {
    max-width: 400px;
    width: 100%;
    height: auto;
    border: 3px solid #35C8B4;
    border-radius: 8px;
}