@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital@;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@;900display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@;700&display=swap');

body{
    background-color: black;
    color: #04146c;
    text-align: center;
    font-family: "Source sans 3", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}
main{
    width: 50%;
    background-color: white;
    margin: 0 auto;/*CENTRA EL CONTENEDOR PRINCIPAL*/
    padding: 1pt;/*AÑADE UN POCO DE ESPACIO INTERNO*/
    border: 2pt solid #6f81e9;
}
h1{
    font-weight: 900;
    font-size: 40px;
}
h2{
    font-weight: 400;
    font-size: 20px;
    color: white;
    position: relative; /*PASO 1 ESTABLECE EL CONTEXTO DE APILAMIENTO*/
    z-index: 1; /*PASO 4 PONE EL H2 EN UNA CAPA SUPERIOR*/

}
h2::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background-color: #04146c;
    z-index: -1;
}
h3{
    font-weight: 400;
}
img{
    width: 600px;
    
}
p{
    font-weight: 400;
    position: relative;
    z-index: 1;
}
p ::after{
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 70px;
    bottom: 0;
    background-color: #edf7ff;
    z-index: -1;

} 