html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: #000; /* Fondo negro */
    font-family: 'Josefin Sans', sans-serif; /* Usa la fuente de Google Fonts */
}

/* --- Estilos para el nuevo encabezado --- */
.header-container {
    display: flex;
    justify-content: center;
    position: relative;
    padding: 20px 0;
}

.header-content {
    background-color: #FF4500; /* Naranja */
    border-radius: 100px;
    width: 80%;
    max-width: 900px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.header-portafolio {
    font-size: 2.5rem;
    color: #000;
    font-weight: bold;
    display: flex; /* Permite alinear los enlaces de "Portafolio" y "Currículum" */
    gap: 20px; /* Espacio entre los enlaces */
}

    .header-portafolio a {
        color: #000;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .header-portafolio a:hover {
            color: #333; /* Un color ligeramente más oscuro al pasar el ratón */
        }

.header-name {
    font-size: 2.5rem;
    color: #000;
    font-weight: 300;
    font-style: italic;
    padding-left: 20px; /* Separación del texto "Portafolio" */
}

.header-image-container {
    /* Posicionamiento corregido para evitar superposición */
    position: absolute;
    right: 12%; /* Ajusta este valor si necesitas mover la imagen a la izquierda o derecha */
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.header-image-round {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #000;
    background-color: #F5F5DC; /* Color del papel */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
/* Responsive */
@media (max-width: 1200px) {
    .header-content {
        width: 90%;
    }
}

@media (max-width: 992px) {
    .header-portafolio, .header-name {
        font-size: 2rem;
    }

    .header-image-round {
        width: 100px;
        height: 100px;
    }

    .header-image-container {
        right: 5%;
    }
}

@media (max-width: 768px) {
    .header-content {
        width: 95%;
        padding: 0 20px;
        height: 80px;
    }

    .header-portafolio, .header-name {
        font-size: 1.5rem;
    }

    .header-portafolio {
        gap: 10px;
    }

    .header-image-round {
        width: 80px;
        height: 80px;
    }

    .header-image-container {
        right: 2%;
    }

    .header-container {
        padding: 10px 0;
    }
}

@media (max-width: 576px) {
    .header-content {
        height: 70px;
        border-radius: 50px;
        padding: 0 15px;
    }

    .header-portafolio, .header-name {
        font-size: 1.2rem;
    }

    .header-image-round {
        width: 70px;
        height: 70px;
        border-width: 3px;
    }

    .header-image-container {
        right: 0%;
    }
}