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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;    
    line-height: 1.6;
    color: #000000;
    background-color: #f5f5f5;
    padding: 10px;
}

/* Main con Grid */
main {
    max-width: 100%;
    margin: 0;
    background: white;
    border-radius: 10px;    
    display: grid;
    grid-template-columns: repeat(3,1fr);
    padding-inline: 12%;
}

/* Header */
header {
    background: linear-gradient(135deg, #111827 10%, #374151 90%);
    color: white;
    text-align: center;
    padding: 40px;
    border-radius: 10px;
}

header h1 {
    font-size: 3.0em;
    margin-bottom: 40px;
    font-weight: 400;
}

header h3 {
    font-size: 1.4em;
    font-weight: 300;
    opacity: 1;
    margin-bottom: 15px;
}
.h3descriptivo {
    color: white;
}

header img {
    width: 250px;
    height: 250px;
    border-radius: 90%;
    border: 5px solid rgb(218, 218, 218);
    margin: 15px ;
    object-fit: cover;
}

/* Secciones */
section {
    padding: 45px;        
}
/* Títulos */
h2 {
    color: #111827;
    font-size: 1.8em;
    border-bottom: 3px solid #111827;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

h3 {
    color: #444;
    font-size: 1.4em;
    margin: 20px 0 10px 0;
}

h4 {
    color: #666;
    font-size: 1.1em;
    margin: 15px 0 8px 0;
}

h5 {
    color: #888;
    font-style: italic;
    margin-bottom: 10px;
}

/* Parrafos */
p {
    margin-bottom: 15px;
    text-align: justify;
}

/* Listas */
ul {
    list-style: none;
    padding-left: 5;
}

li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

li:before {
    content: "•";
    color: #000000;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Enlaces */
a {
    color: #30384b;
    transition: color 0.8s ease;
}

a:hover {
    color: #374151;
    text-decoration: underline;
}

/* Efectos especiales */
section {
    transition: transform 0.2s ease;
}

section:hover {
    transform: translateY(-3px);
}

/* Responsive Design Media Queries  */
/*Tablet */
@media screen and (max-width: 1024px) and (min-width: 768px) {

    /* Reduzco a 2 columnas */
    main {
        grid-template-columns: repeat(2,1fr);
        padding-inline:3%;
    }

    /* Ajustes para tablet, reducción de las dimensiones */
    header h1 {
        font-size: 2.5em;
        margin-bottom:30px ;
    }
    
    header img {
        width:200px;
        height: 200px;
    }
    
    section {
        padding:30px;
    }
}

/* Celular: 320px x 480px */
@media screen and (max-width: 767px) {
    /* Grid de 1 columna para Celular */
    main {
        grid-template-columns:1fr;
        padding-inline: 4%  ;
    }

    /* Header para Celular */
    header {
        padding: 25px;
    }
    
    header h1 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    
    header h3 {
        font-size: 1.0em;
    }
    
    header img {
        width: 150px;
        height: 140px;
    }
    
    /* Secciones más compactas */
    section {
        padding: 25px;
    }
    
    /* Títulos más pequeños */
    h2 {
        font-size: 1.5em;
    }
    
    h3 {
        font-size: 1.2em;
    }
}

