* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding: 0%;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #000000; /* Azul oscuro para texto */
    background-color: #089e53; /* Fondo verde claro */
}

header {
    background: #1B4965; /* Azul profundo */
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1;
}

.intro_per ul {

    list-style:outside;
    margin-left: 5%;
}
nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 1.5rem;
}

nav ul li a {
    color: #E6F0FA; /* Azul claro para enlaces */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.divi_two {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    gap:0px;
}

img.img_personal
{
    max-width: 190px;
    margin: 10% 45%;
    border-radius: 0% 70% 0% 70%;
   grid-column: 1;
   grid-row: 1;
}

.intro_per
{
    padding-top: 15%;
    grid-column: 2;
    grid-row: 1;
}

.slogan
{
    padding-top: 1px;
    grid-column: 1/3;
    grid-row: 3;
    text-align: center;
}
.slogan  h3 {
    color: #1B4965; /* Azul profundo para títulos */
    text-decoration: none;
    font-size: 1.2rem;
}

.line_separator 
{
    background: #021e30; /* Azul profundo */
    padding: 0.6rem;
    position: sticky;
    top: 0;
    z-index: 1;
}

.navegacion {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.item {
    background: #E6F0FA; /* Fondo azul claro */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.item:hover {
    transform: translateY(-5px);
}

.item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.item h3 {
    margin: 1rem;
    text-align: center;
}

.item h3 a {
    color: #1B4965; /* Azul profundo para títulos */
    text-decoration: none;
    font-size: 1.2rem;
}

.item h3 a:hover {
    color: #19381d; /* Verde vibrante al pasar el ratón */
}

.exp_ini {
    padding: 1rem;
    text-align: center;
}

.exp_ini article {
    font-size: 0.9rem;
    color: #202b23; /* Verde oscuro para texto */
}


footer {
    background: #1B4965; /* Azul profundo */
    color: #8fbeec; /* Azul claro para texto */
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

footer ul li {
    margin: 0 1rem;
}

footer ul li a {
    color: #dde9f5; /* Azul claro para enlaces */
    text-decoration: none;
}

footer ul li a:hover {
    color: #62C370; /* Verde vibrante al pasar el ratón */
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        text-align: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .portafolio {
        grid-template-columns: 1fr;
    }
}