/*GENERALES*/
* {
    margin: 0;
    padding: 0;
}

body {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    background-color: #844C4C;

}

section.ini {
    margin: 25px;
}

img.img-log {
    width: 50%;
    justify-content: center;
    position: absolute;
    top: 10%;
    right: 25%;
}

.nosotros {
    background-image: url(../imagenes/);
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}

.img-noso {
    width: 80%;
}

.beige {
    background-color: #FFF6E9;
}


header {
    background-image: url(../imagenes/especialistas-en-derecho.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

h1 {
    color: #844C4C;
    margin: 45px -10px;
    padding: 15px;
    border-radius: 50px;
    font-size: 40px;
    background-color: #fff6e9cc;
    font-family: "Montserrat", sans-serif;
}

h2 {
    color: #844C4C;
    margin: 45px -10px;
    padding: 15px;
    border-radius: 50px;
    font-size: 30px;
    font-weight: bold;
    background-color: #FFF6E9;
    font-family: "Montserrat", sans-serif;
}

h3 {
    color: #844C4C;
    font-size: 35px;
    text-align: center;
    margin: 100px 0px;
    font-weight: bold;
    font-family: "Montserrat", sans-serif;
}

h4 {
    color: #FFF6E9;
    font-size: 12px;
}

.ah4 {
    color: #FFF6E9;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    margin: 30px;
}

.color {
    text-align: justify;
    color: #844C4C;
    border-radius: 50px;
    font-size: 18px;
    background-color: #fff6e9cc;
    padding: 54px 125px;
    margin-left: -11px;
    margin-right: 140px;
    margin-bottom: 80px;
    font-family: "Montserrat", sans-serif;
}

p {
    text-align: justify;
    color: #844C4C;
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
}

p.ima-pre {
    text-align: justify;
    font-size: 15px;
    color: #FFF6E9;
}

.ser {
    margin-top: 150px;
    margin-bottom: 150px;
    scroll-margin-top: 20ex;
}

.mis{
    margin-top: 50px;
    margin-bottom: 50px;
    scroll-margin-top: 20ex;
}

.val{
    margin-top: 50px;
    margin-bottom: 50px;
    scroll-margin-top: 10ex;
}

img.imag-ser {
    margin-bottom: 50px;
}

.casos {
    background-color: #FFF6E9;
    margin-bottom: 50px;
    margin-top: -50px;
}

.im-lo {
    width: 80%;
}

img.im-pre {
    border-radius: 50px;
    width: 100%;
}

.vision {
    background-image: url(../imagenes/vision.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
      margin-top: 50px;
    margin-bottom: 50px;
    scroll-margin-top: 10ex;
}

img.im-vi {
    width: 30px;
    margin-bottom: 50px;
}

p.visi {
    color: #FFF6E9;
    font-size: 20px;
    margin: 30px 50px;
}

p.misi {
    color: #FFF6E9;
    font-size: 22px;
}

img.im-re {
    width: 30%;
    margin-top: 750px;
    margin-bottom: 30px;
}

img.im-va {
    width: 30%;
    margin-bottom: 50px;
    margin-top: 740px;
}

a.mision {
    color: #FFF6E9;
    font-size: 25px;
}

p.casos-exito {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
}

p.p-vi {
    background-color: #fff6e9c4;
    padding: 30px 80px;
    font-size: 22px;
    margin: 50px 0px;
}

.mo {
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
    color: #FFF6E9;
    margin: 50px 80px;
}

a {
    color: #844C4C;
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    text-decoration: none;
    font-variant: small-caps;
}

a:hover {
    color: #fff6e9b8;
}

.inicio {
    color: #FFF6E9;
    margin: 40px;
}

/* nav bar */
.navbar {
    padding-top: 0;
    padding-bottom: 0;
    position: sticky;
    z-index: 4;
}

nav {
    position: sticky;
    top: 0;
}

a.navbar-brand.col-6.col-md-3 {
    width: 5%;
}

a.nav-link {
    padding: 30px 22px !important;
    font-size: 12px;
    color: #844C4C !important;
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    transition: all ease .5s;
}

li.nav-item {
    padding: 10px;
}

.active a.nav-link {
    color: #844C4C !important;
    font-weight: bold;
}

.nav-link {
    display: inline;
}

.nav-link:hover {
    font-weight: bold;
}

.btn-primary {
    color: #844C4C;
    background-color: #FFF6E9;
    font-family: 'Montserrat';
    border-color: unset;
}

a.btn-primary:hover {
    color: #844C4C;
    background-color: #fff6e9a1;
    border-color: none;
}

button.btn-primary:hover {
    color: #844C4C;
    background-color: #fff6e9a1;
    border-color: unset;
}

.modal-content {
    max-height: 100%;
    overflow: hidden;
    background-color: #844C4C;
}

button.btn.btn-primary {
    border: unset;
}

img.img-ini {
    border-radius: 50px;
    width: 100%;
    margin-top: -40px;
}

img.im-val {
    width: 100%;
    border-radius: 35px;
}

/*SEC*/
.claro {
    color: #844C4C;
    background-color: #FFF6E9;
    font-family: "Montserrat", sans-serif;
    border-radius: 50px;
    font-weight: bold;
    padding: 5px 100px;
}

.btn-secondary {
    border-color: #fff6e979 !important;
}

.claro:hover {
    background-color: #fff6e979 !important;

}

.secondary:focus {
    color: #844C4C;
    background-color: #fff6e979;
    border-color: #fff6e979;
    box-shadow: 0 0 0 .25rem rgba(130, 138, 145, .5);
}

.claro-1 {
    color: #844C4C !important;
    background-color: #FFF6E9;
    font-family: "Montserrat", sans-serif;
    border-radius: 20px;
    font-weight: bold;
}

.section-2 {
    margin-bottom: 50px;
}

figcaption {
    bottom: 114px;
    position: relative;
    background-color: #844c4cb3;
    color: #FFF6E9;
    padding: 25px;
    font-size: 30px;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    display: block;
    width: 100%;
    margin-bottom: -114px;
}

.card {
    border: 0px;
    border-radius: 100%;
    margin: 5px;
}

img.card-img {
    border-radius: 20px;
}

.contenedor-links {
    background-color: rgba(0, 0, 0, .3);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    height: 101%;
}

/* ANCHO MARGEN Y FONDO PARA LAS IMÁGENES QUE SERÁN LOS VÍNCULOS DENTRO DEL OVERLAY */
.contenedor-links a img {
    width: 40px;
    background-color: #FFF6E9;
    margin: 10px;
    opacity: 0;
    transition: all ease .4s;
}



/* ANCHO MARGEN Y FONDO PARA LAS IMÁGENES QUE SERÁN LOS VÍNCULOS DENTRO DEL OVERLAY */


/* HOVER PARA QUE CUANDO ESTEMOS EN CARD SE ACTIVEN CON OPACIDAD A 1 EL OVERLAY Y LOS LINKS */
.card:hover .contenedor-links a img,
.card:hover .card-img-overlay {
    opacity: 1;
}

/* HACER QUE EL OVERLAY INICIALPENTE SEA TRANSPARENTE CON OPACITY 0 */
.card-img-overlay {
    opacity: 0;
    transition: all ease .4s;
}

footer {
    background-color: #FFF6E9;
    color: #844C4C;
    font-family: "Montserrat", sans-serif;
}


@media (max-width: 3440px) {
    a.navbar-brand.col-6.col-md-3 {
        width: 10%;
    }

    a.nav-link {
        padding: 30px 22px !important;
        font-size: 20px;
        color: #844C4C !important;
        font-family: "Montserrat", sans-serif;
        text-transform: uppercase;
        transition: all ease .5s;
    }

    li.nav-item {
        padding: 10px;
    }

    img.img-nav {
        width: 150%;
    }

    p.visi {
        color: #FFF6E9;
        font-size: 40px;
        margin: 30px 50px;
    }

    a.mision {
        color: #FFF6E9;
        font-size: 42px;
    }

    h2 {
        color: #844C4C;
        margin: 45px -10px;
        padding: 15px;
        border-radius: 50px;
        font-size: 55px;
        font-weight: bold;
        background-color: #FFF6E9;
        font-family: "Montserrat", sans-serif;
    }

    p.misi {
        color: #FFF6E9;
        font-size: 40px;
    }

    .im-lo {
        width: 150%;
    }

    h3 {
        color: #844C4C;
        font-size: 55px;
        text-align: center;
        margin: 100px 0px;
        font-weight: bold;
        font-family: "Montserrat", sans-serif;
    }

    p.p-vi {
        background-color: #fff6e9c4;
        padding: 30px 80px;
        font-size: 40px;
        margin: 50px 0px;
    }

    img.im-va {
        width: 30%;
        margin-bottom: 50px;
        margin-top: 1200px;
    }
}

@media (max-width: 2000px) {
    a.navbar-brand.col-6.col-md-3 {
        width: 10%;
    }

    a.nav-link {
        padding: 30px 22px !important;
        font-size: 15px;
        color: #844C4C !important;
        font-family: "Montserrat", sans-serif;
        text-transform: uppercase;
        transition: all ease .5s;
    }

    li.nav-item {
        padding: 10px;
    }

    img.img-log {
        width: 50%;
        position: absolute;
        top: 10%;
        right: 25%;
    }

    img.im-re {
        width: 30%;
        margin-top: 680px;
        margin-bottom: 30px;
    }

    h2 {
        margin: 22px 0px;
        padding: 5px;
        font-size: 35px;
    }

    p.p-vi {
        background-color: #fff6e9c4;
        padding: 30px 50px;
        font-size: 25px;
        margin: 0px 0px;
    }

    p.misi {
        color: #FFF6E9;
        font-size: 25px;
    }

    p.visi {
        color: #FFF6E9;
        font-size: 25px;
        margin: 0px 0px;
    }

    a.mision {
        color: #FFF6E9;
        font-size: 28px;
    }

    img.im-va {
        width: 30%;
        margin-bottom: 50px;
        margin-top: 510px;
    }

    img.im-re {
        width: 30%;
        margin-top: 520px;
        margin-bottom: 50px;
    }
}

@media (max-width: 1750px) {
    a.navbar-brand.col-6.col-md-3 {
        width: 10%;
    }

    a.nav-link {
        padding: 30px 22px !important;
        font-size: 15px;
        color: #844C4C !important;
        font-family: "Montserrat", sans-serif;
        text-transform: uppercase;
        transition: all ease .5s;
    }

    .im-lo {
        width: 110%;
    }

    li.nav-item {
        padding: 10px;
    }

    h1 {
        color: #844C4C;
        margin: 45px -70px 35px 0px;
        padding: 10px;
        border-radius: 50px;
        font-size: 32px;
        background-color: #fff6e9cc;
        font-family: "Montserrat", sans-serif;
    }

    img.img-log {
        width: 50%;
        position: absolute;
        top: 10%;
        right: 25%;
    }

    img.im-re {
        width: 30%;
        margin-top: 680px;
        margin-bottom: 30px;
    }

    h2 {
        margin: 22px 0px;
        padding: 5px;
        font-size: 35px;
    }

    p.p-vi {
        background-color: #fff6e9c4;
        padding: 30px 50px;
        font-size: 20px;
        margin: 0px 0px;
    }

    p.misi {
        color: #FFF6E9;
        font-size: 20px;
    }

    p.visi {
        color: #FFF6E9;
        font-size: 20px;
        margin: 0px 0px;
    }

    a.mision {
        color: #FFF6E9;
        font-size: 23px;
    }

    img.im-va {
        width: 30%;
        margin-bottom: 50px;
        margin-top: 510px;
    }

    img.im-re {
        width: 30%;
        margin-top: 520px;
        margin-bottom: 50px;
    }
}

/* @media (max-width: 1501px) {
    a.navbar-brand.col-6.col-md-3 {
        width: 10%;
    }

    a.nav-link {
        padding: 30px 15px !important;
        font-size: 12px;
        color: #844C4C !important;
        font-family: "Montserrat", sans-serif;
        text-transform: uppercase;
        transition: all ease .5s;
    }

    li.nav-item {
        padding: 10px;
    }

    img.img-nav {
        width: 85%;
    }

    img.img-log {
        width: 55%;
        position: absolute;
        top: 8%;
        right: 24%;
    }

    img.im-re {
        width: 30%;
        margin-top: 550px;
        margin-bottom: 30px;
    }
} */

/* Large devices (less than 1200px) */

@media (max-width: 1200px) {
    a.navbar-brand.col-6.col-md-3 {
        width: 10%;
    }

    a.nav-link {
        padding: 30px 15px !important;
        font-size: 12px;
        color: #844C4C !important;
        font-family: "Montserrat", sans-serif;
        text-transform: uppercase;
        transition: all ease .5s;
    }

    li.nav-item {
        padding: 10px;
    }

    img.img-nav {
        width: 105%;
    }

    h2 {
        margin: 25px -10px;
        padding: 15px;
    }

    img.img-ini {
        margin-top: -25px;
    }

    h1 {
        margin: 25px -10px;
        padding: 15px;
        font-size: 25px;
    }

    h3 {
        margin: 60px 0px;
    }

    p {
        font-size: 14px;
    }

    .color {
        padding: 30px 75px;
        margin-left: -40px;
        margin-bottom: 55px;
    }

    .ser {
        margin-top: 60px;
        margin-bottom: 65px;
    }

    p.casos-exito {
        font-size: 25px;
        font-weight: bold;
    }

    .casos {
        margin-bottom: 20px;
    }

    img.im-pre {
        border-radius: 50px;
        width: 110%;
        margin-left: -45px;
    }

    p.misi {
        color: #FFF6E9;
        font-size: 18px;
    }

    img.im-re {
        width: 30%;
        margin-top: 480px;
        margin-bottom: 30px;
    }

    p.p-vi {
        background-color: #fff6e9c4;
        padding: 30px 80px;
        font-size: 18px;
        margin: 50px -12px;
    }

    img.im-vi {
        width: 30px;
        margin-bottom: 50px;
    }

    p.visi {
        color: #FFF6E9;
        font-size: 18px;
        margin: 0px 0px;
    }

    img.im-va {
        width: 30%;
        margin-bottom: 35px;
        margin-top: 450px;
    }

    .im-lo {
        width: 100%;
    }

    a.mision {
        color: #FFF6E9;
        font-size: 22px;
    }


}

/* Medium devices (less than 992px) */
@media (max-width: 992px) {
    img.img-nav {
        width: 150%;
    }

    a.nav-link {
        padding: 19px 12px !important;
        font-size: 11px;
        color: #844C4C !important;
        font-family: "Montserrat", sans-serif;
        text-transform: uppercase;
        transition: all ease .5s;
    }

    li.nav-item {
        padding: 10px;
    }

    img.img-log {
        width: 50%;
        justify-content: center;
        position: absolute;
        top: 7%;
        right: 25%;
    }

    img.img-ini {
        border-radius: 50px;
        width: 100%;
        margin-top: 0px;
    }

    h1 {
        margin: 25px -10px;
        padding: 5px;
        font-size: 18px;
    }

    .color {
        padding: 19px 80px;
        margin-left: -38px;
        margin-bottom: 50px;
    }

    p {
        font-size: 12px;
    }

    a {
        font-size: 14px;
    }

    p.ima-pre {
        text-align: justify;
        font-size: 16px;
        margin-bottom: 50px;
        color: #FFF6E9;
    }

    img.imag-ser {
        margin-bottom: 25px;
    }

    p.casos-exito {
        font-size: 22px;
        font-weight: bold;
    }

    p.misi {
        color: #FFF6E9;
        font-size: 13px;
    }

    a.mision {
        color: #FFF6E9;
        font-size: 15px;
    }

    img.im-pre {
        border-radius: 50px;
        width: 100%;
        margin-left: -45px;
    }

    img.im-re {
        width: 35%;
        margin-top: 350px;
        margin-bottom: 30px;
    }

    p.p-vi {
        background-color: #fff6e9c4;
        padding: 30px 80px;
        font-size: 16px;
        margin: 0px -12px;
    }

    img.im-vi {
        width: 15px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    p.visi {
        color: #FFF6E9;
        font-size: 12px;
        margin: 0px;
    }

    img.im-va {
        width: 30%;
        margin-bottom: 20px;
        margin-top: 400px;
    }

    img.im-val {
        width: 100%;
        margin-top: 0px;
        border-radius: 35px;
    }
}


/* Small devices (less than 768px) */
@media (max-width: 768px) {
    a.nav-link {
        padding: 19px 12px !important;
        font-size: 11px;
        color: #844C4C !important;
        font-family: "Montserrat", sans-serif;
        text-transform: uppercase;
        transition: all ease .5s;
    }

    li.nav-item {
        padding: 5px;
    }

    img.img-nav {
        width: 230%;
    }

    p {
        font-size: 15px;
        margin: 5px 2px;
    }

    a {
        font-size: 18px;
    }

    h1 {
        margin: 22px -10px;
        padding: 0px;
        font-size: 22px;
    }

    p.ima-pre {
        text-align: justify;
        font-size: 18px;
        margin-bottom: 50px;
        color: #FFF6E9;
    }

    img.im-va {
        display: contents;
    }

    img.im-re {
        display: contents;
    }

    p.misi {
        color: #FFF6E9;
        font-size: 15px;
    }

    p.visi {
        color: #FFF6E9;
        font-size: 15px;
        margin: 1px 10px;
    }

    a.mision {
        color: #FFF6E9;
        font-size: 18px;
    }

}


/* Extra small devices (less than 576px) */
@media (max-width: 576px) {
    img.img-nav {
        width: 350%;
    }

    .im-lo {
        width: 60%;
    }

    h3 {
        margin: 60px 0px;
        font-size: 30px;
    }

    h2 {
        margin: 20px 0px;
        padding: 10px;
        font-size: 30px;
    }

    p {
        font-size: 15px;
        margin: 5px 2px;
    }

    a {
        font-size: 17px;
    }

    h1 {
        margin: 16px -135px 16px 0px;
        padding: 10px;
        font-size: 18px;
    }

    p.ima-pre {
        text-align: justify;
        font-size: 22px;
        margin-bottom: 50px;
        color: #FFF6E9;
    }

    img.im-va {
        display: contents;
    }

    img.im-re {
        display: contents;
    }

    p.misi {
        color: #FFF6E9;
        font-size: 15px;
    }

    p.visi {
        color: #FFF6E9;
        font-size: 15px;
        margin: 1px 10px;
    }

    a.mision {
        color: #FFF6E9;
        font-size: 18px;
    }
}