
h1, h2, h3 {
    color: #ffbe00;
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    font-weight: bold;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

.serie-link {
    color: #39ff14;
    background: #23233a;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 16px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}
.serie-link:hover {
    background: #39ff14;
    color: #23233a;
}

.serie-fav {
    text-align: center;
    font-size: 1.1em;
    margin-top: 10px;
}

.cv-section img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Body */
body {
    background: #181828;
    color: #39ff14;
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

/* Header */
header {
    background: #6c3483;
    color: #fff;
    padding: 18px 0 10px 0;
    text-align: center;
    border-bottom: 3px solid #39ff14;
    border-radius: 0 0 16px 16px;
    font-size: 2rem;
    margin-bottom: 18px;
}

/* Navigation */
nav {
    background: #23233a;
    padding: 10px 0;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 18px;
}

nav a {
    color: #39ff14;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

nav a:hover {
    background: #39ff14;
    color: #23233a;
}

/* Links */
a {
    color: #39ff14;
    text-decoration: none;
}

/* Content Sections */
.cv-section {
    border: 2.5px solid #6c3483;
    border-radius: 14px;
    margin: 18px 12px;
    padding: 18px 24px;
    background: #23233a;
    color: #fff;
}

/* Lists */
ul {
    padding-left: 20px;
    list-style-type: none;
}

ul li {
    margin: 15px 0;
}

ul li a {
    color: #39ff14;
    background: #23233a;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid #6c3483;
    display: inline-block;
    transition: all 0.3s;
}

ul li a:hover {
    background: linear-gradient(90deg, #6c3483 60%, #39ff14 100%);
    color: #fff;
    border-color: #39ff14;
    box-shadow: 0 4px 12px rgba(57, 255, 20, 0.3);
    transform: translateX(10px);
}

/* Main Container */
.container-main {
    border: 7px solid #6c3483;
    border-radius: 30px;
    margin: 2rem;
    padding: 2rem;
    background: #23233a;
}

/* Container principal */
.container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 1rem;
}

/* Gallery styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin: 40px 0;
    padding: 20px;
}

.image-container {
    background: #23233a;
    border: 3px solid #6c3483;
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 16px rgba(108, 52, 131, 0.3);
}

.image-container:hover {
    transform: translateY(-8px);
    border-color: #39ff14;
    box-shadow: 0 8px 32px rgba(57, 255, 20, 0.4);
}

.image-container h3 {
    color: #ffbe00;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid #39ff14;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }
    
    .image-container {
        padding: 15px;
    }
    
    .image-container h3 {
        font-size: 1.5rem;
    }
}


/* Problema containers */
.problema-container {
    background: #23233a;
    border: 3px solid #6c3483;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.problema-title {
    color: #ffbe00;
    font-size: 2rem;
    margin-top: 0;
    text-align: center;
    font-weight: bold;
}

.problema-content {
    margin-top: 1.5rem;
}

.problema-content input[type="number"],
.problema-content input[type="text"] {
    width: 100%;
    padding: 12px;
    background: #181828;
    border: 2px solid #6c3483;
    border-radius: 8px;
    color: #39ff14;
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    margin-bottom: 10px;
    transition: border-color 0.3s;
}

.problema-content input:focus {
    outline: none;
    border-color: #39ff14;
    box-shadow: 0 0 8px rgba(57, 255, 20, 0.3);
}

.problema-content button {
    background: linear-gradient(90deg, #6c3483 60%, #39ff14 100%);
    color: #fff;
    border: 2px solid #39ff14;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 1rem auto;
}

.problema-content button:hover {
    background: linear-gradient(90deg, #39ff14 60%, #6c3483 100%);
    box-shadow: 0 4px 12px rgba(57, 255, 20, 0.4);
    transform: translateY(-2px);
}

.problema-content button:active {
    transform: translateY(0);
}

.problema-content pre {
    background: #181828;
    border: 2px solid #6c3483;
    border-radius: 8px;
    padding: 1rem;
    color: #39ff14;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    margin-top: 1rem;
    min-height: 60px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Footer */
footer {
    background: #23233a;
    color: #ff2a2a;
    text-align: center;
    padding: 14px 0 8px 0;
    border-top: 3px solid #6c3483;
    border-radius: 18px 18px 0 0;
    font-size: 1.1rem;
    margin-top: 40px;
}

.footer-link {
    color: #fff;
    background: linear-gradient(90deg, #6c3483 60%, #39ff14 100%);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 16px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 16px #0006;
    border: 2px solid #fff;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, border 0.3s;
}

.footer-link:hover {
    background: linear-gradient(90deg, #39ff14 60%, #6c3483 100%);
    color: #23233a;
    border: 2px solid #39ff14;
    box-shadow: 0 6px 24px #39ff1466;
}
