
 /*body*/

    body {
        margin: 0;
        font-family: "Open Sans";
        font-weight: 100;
        color: #333;
        background-image: url('asesores-politicos.jpg'); /* Cambia por la ruta de tu imagen */
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
    }
    /*header............................................................................*/

    .header1 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #4B2179;
        color: white;
        padding: 10px 20px;
        top: 0;
    }
    .header1 .logo a:last-child{
        display: none;
    }
    .logo {
        font-size: 1.5em;
        font-weight: bold;
    }
    
    nav ul {
        list-style: none;
        display: flex;
        padding: 0;
        margin: 0;
    }
    
    nav ul li {
        margin: 0 15px;
    }
    
    nav ul li a {
        color: white;
        text-decoration: none;
        font-weight: bold;
        font-weight: 100;
        font-size: 18px;
    }
    
    nav ul li a:hover {
        text-decoration: underline;
    }
    .icono_menu_nav{
        display: none;
    }

    /*banner section...................................................................*/

    .banner{
        background-image: url("img_pol_web2.png");
        background-repeat: no-repeat;
        background-size: cover;
        margin: 0;
        border-radius: 0;
    }
    section {
        padding: 40px 20px;
        background-color: rgba(255, 255, 255, 0.8);
        margin: 20px;
        border-radius: 10px;
    }
    .imgback2{
        position: absolute;
        top:85px;
        width: 100%;
        left: 0;
    }
    .imgback3{
        display: none;
    }
    .banner h2{
        position: relative;
        color: #fff;
        font-size: 24px;
        font-weight: 500;
        text-align: right;
    }
    .aliado{
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        color: #fff;
        margin-top: 280px;
    }
    .aliado h3{
        font-size: 32px;
        margin: 4px 0;
    }
    .aliado p{
        font-size: 24px;
        margin: 4px 0;
        font-weight: 300;
    }
    .redes_sociales{
        margin: 8px 0;
    }
    .redes_sociales img{
        margin-right: 16px;
    }
    .btn_consultas{
        padding: 10px 20px;
        background-color: #FFD700;
        font-size: 24px;
        border-radius: 12px;
        color: #4B2179;
        border-color: #FFD700;
        margin: 8px 0;
        width: 307px;
    }
    /*aca se describen las seccione, es el separador*/
    .descripcion_secciones{
        margin-top: 80px;
    }
    .descripcion_secciones h4{
        font-size: 24px;
        text-align: center;
        font-weight: 500;
        margin: 4px 0;
    }
    .descripcion_secciones p{
        font-size: 36px;
        text-align: center;
        margin: 8px 0;
    }
    /*seccion de descripcion*/
    .descripcion{
        display: flex;
        justify-content: space-evenly;
        margin-top: 80px;
        margin-bottom: 80px;
        padding: 0 60px;
    }
    .descripcion p{
        font-size: 24px;
        font-weight: 300;
    }
    .descripcion_img{
        text-align: center;
        width: 600px;
    }
    .descripcion_texto{
        margin-left: 36px;
        margin-top: 64px;
        width: 600px;
    }

    /*seccion de servicios*/
    .container_articulos{
        display: flex;
        justify-content: space-evenly;
    }
    .articulo{
        text-align: center;
        font-size: 21px;
    
    }
    .articulo p{
        width: 433px;
    }
    .articulo h4{
        font-weight: 700;
    }
    .articulo a{
        text-align: left;
        color: #4B2179;
        font-weight: 500;
    }
    /*foto fondo*/
    .foto_fondo{
        background-image: none;
        margin-top: 48px;
    }
    .foto_fondo img{
        width: 100%;
    }
    /*este es el blog*/
    .blog_articulos{
        margin-bottom: 80px;
    }
    .blog:hover{
        background-color: #FFD700;
        transition: background-color 0.2s;
    }
    .container_blog{
        display: flex;
        justify-content: space-evenly;
    }
    .blog{
        text-align: center;
        font-size: 21px;
        box-shadow: 2px 2px 7px darkgrey;
        border-radius: 12px;
        padding: 8px;
        transition: background-color 0.2s;
    }
    .blog p{
        width: 360px;
        font-size: 16px;
    }
    .blog img{
        border-radius: 8px;
    }
    .blog h4{
        font-weight: 700;
    }
    .blog a{
        margin-top: 16px;
        margin-bottom: 24px;
        color: #4B2179;
        font-weight: 500;
    }
    /*este es el footer*/
    
    .footer {
        background-color: #4B2179;
        display: flex;
        justify-content: space-between;
        margin: 0;
        padding: 16px 24px;
    }
    
    footer .social-links {
        margin: 10px 0;
    }
    
    footer .social-links a {
        color: white;
        margin: 0 10px;
        text-decoration: none;
    }
    footer .redes_sociales img{
        margin-left: 16px;
    }
    footer .social-links a:hover {
        text-decoration: underline;
    }
    
    footer article {
        margin-top: 20px;
    }
    
    /*este es el artículo*/
    .articulo_img img{
        width: 100%;
    }
    .autor_datos{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .autor_datos h4{
        margin: 0;
    }
    .autor_datos p{
        margin: 0;
    }
    .lectura{
        font-size: 24px;
        text-align: justify;
        margin: 24px 48px;
    }
    .autores img{
        width: 48px;
    
    }
    .autor {
        display: flex;
    }
    .autor img{
        width: 100px;
        height: 100px;
        margin-right: 16px;
    }
    
    /*pagina de contacto*/
    .pagina_contacto{
        display: flex;
        justify-content: space-evenly;
        margin-bottom: 80px;
    }
    .informacion_de_contacto{
        font-size: 24px;
        color: #ffffff;
        text-align: left;
        align-content: center;
    }
    .informacion_de_contacto p{
        width: 600px;
        padding: 0 80px;
    }
/*formulario.............................*/

.contact-form {
    margin-top: 80px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 600px;
}
h2 {
    text-align: center;
    font-family: "Open Sans";
}
label {
    font-family: "Open Sans";
    font-weight: bold;
    display: block;
    margin-top: 10px;
    padding: 0 16px;
}
input, textarea {
    font-family: "Open Sans";
    width: 95%;
    padding: 10px 4px;
    margin: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    height: 100px;
}
button {
    font-family: "Open Sans";
    margin-top: 15px;
    padding: 10px 15px;
    background: #FFD700;
    color: #000000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}
button:hover {
    background: #0056b3;
}

/* mapa de barranquilla.........................................*/
    iframe{
        width:100%; 
        height:350px; 
        border:0;
        margin: 36px 0;
    }


@media (max-width: 440px) {
    .header1 {
        justify-content: space-between;
        background-color: #4B2179;    
    }

    .header1 .logo a:last-child{
        display: block;
    }
    .header1 .logo a:first-child{
        display: none;
    }
    .header1 nav ul li{
        display: none;
    }
    .header1 nav ul a{
        display: block;
    }
    .banner{
        background-image: url("img_pol_mobile.png");
        background-repeat: no-repeat;
        background-size: cover;
        margin: 0;
        border-radius: 0;
    }
    .banner h2{
        font-size: 18px;
        margin-right: 16px;
    }
    .imgback2{
        display: none;
    }
    .imgback3{
        display: block;
        position: absolute;
        top:75px;
        width: 375px !important;
        left: 0;
    }
    .aliado{
        margin-top: 280px;
        margin-left: 0;
        margin-right: 24px;
    }
    .aliado h3{
        font-size: 18px;
        margin: 4px 0;
    }
    .aliado p{
        font-size: 14px;
        margin: 4px 0;
        font-weight: 300;
    }
    .redes_sociales{
        margin: 8px 0;
    }
    .redes_sociales img{
        margin-right: 16px;
    }
    .btn_consultas{
        padding: 10px 8%;
        background-color: #FFD700;
        font-size: 18px;
        border-radius: 12px;
        color: #4B2179;
        border-color: #FFD700;
        margin: 8px 0;
        width: 307px;
    }
    /*aca se describen las seccione, es el separador mobile*/
    .descripcion_secciones{
        margin: 80px 0;
        width: 100%;
    }
    .descripcion_secciones h4{
        font-size: 24px;
        text-align: center;
        font-weight: 500;
        margin: 4px 0;
    }
    .descripcion_secciones p{
        font-size: 16px;
        text-align: center;
        margin: 8px 0;
        width: 100%;
        padding: 0;
    }
    /*seccion de descripcion*/
    .descripcion{
        display: flex;
        flex-direction: column;
        justify-items: center;
        margin: 80px 0;
        padding: 0 16px;
    }
    .descripcion p{
        font-size: 16px;
        font-weight: 300;

    }
    .descripcion img{
        width: 200px;
        margin:auto;
        padding: 0 16px;
    }
    .descripcion_img{
        text-align: center;
    }
    .descripcion_texto{
        margin:0;
        text-align: center;
        width: 100%;
    }
    .btn_consultas{
        width: 260px;
    }
    /*seccion servicios*/

    .Servicios{
        padding: 0;
        margin: 0 16px 48px 24px;
    }
    .container_articulos{
        flex-direction: column;
    }
    .articulo{
        margin: 16px;
        padding: 0;
    }
    .articulo img{
        width: 60px;
    }
    .articulo h4{
        font-size: 16px;
    }
    .articulo p{
        width: 100%;
        font-size: 16px;
    }
    /*seccion blog*/
    .container_blog{
        flex-direction: column;
    }
    .blog_articulos{
        margin: 24px 0;
        padding: 0 24px;

    }
    .blog{
        margin-bottom: 24px;
    }
    .blog p{
        width: 100%;
        text-align: justify;
    
    }
    .blog img{
        width: 280px;
    }
    .foto_fondo img{
        display: none;
    }
    .foto_fondo{
        background-image: url("img_foto_fondo_mobile.png");
        background-size: contain;
        background-repeat: no-repeat;
        height: 180px !important;

    }
    /*footer*/
    .footer{
        flex-direction: column;
        text-align: center;
    }
    .footer .logo img:last-child{
        justify-items: center;
    }
    .footer .logo img:first-child{
        display: none;
    }
    footer .redes_sociales img{
        margin-left: 8px;
    }
    .redes_sociales img{
        width: 36px;
    }


    /*pagina de contacto................................................................................................*/


    .pagina_contacto{
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        padding: 0 16px;
    }
    .informacion_de_contacto{
        font-size: 21px;
        color: #ffffff;
        text-align: left;
        align-content: center;
    }
    .informacion_de_contacto p{
        width: 100%;
        padding: 0;
        text-align: center;
    }
    .informacion_de_contacto p:first-child{
        margin-top: 80px;
    }


    /*formulario nuevo................................................................................................*/

    .contact-form {
        margin-top: 48px;
        background: white;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        width: 340px;
    }
    h2 {
        text-align: center;
        font-family: "Open Sans";
    }
    label {
        font-family: "Open Sans";
        font-weight: bold;
        display: block;
        margin-top: 10px;
        padding: 0 16px;
    }
    input, textarea {
        font-family: "Open Sans";
        width: 90%;
        padding: 10px 4px;
        margin: 5px 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    textarea {
        height: 100px;
    }
    button {
        font-family: "Open Sans";
        margin-top: 15px;
        padding: 10px 15px;
        background: #FFD700;
        color: #000000;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        width: 100%;
    }
    button:hover {
        background: #0056b3;
    }

}