@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Roboto:wght@400;500;700&display=swap');
:root {
    --nc-blue: #00196e;
    --nc-darkblue: #0C142A;
    --nc-celeste: #29b2fe;
    --hover:0.5s all;
}
html{
    scroll-behavior: smooth;
}
.txt-center{
    text-align: center;
}
img.logo {
    width: 13%;
}
.navbar-brand {
    display: inline-block;
    padding-top: .3125rem;
    padding-bottom: .3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
    width: 50%;
}
.btn-asesoria{
    background-color: #fff;
    padding: 5px 30px 6px;
    border-radius: 50px;
    border: none;
    transition: var(--hover);
}
.btn-asesoria:hover{
    background-color: var(--nc-celeste);   
    transition: var(--hover);
}
.btn-asesoria a{
color: var(--nc-darkblue) !important;
transition: var(--hover);
font-weight: 600;
font-size: 14px;;
}
.btn-asesoria:hover a{
    color: #fff !important;
    transition: var(--hover);
    }
.main-banner {
        background-image: url(../img/portada_nb.jpg);
        background-size: cover;
        padding: 10% 0;
        height: 100vh;
        margin-top: -8%;
}
.main-banner h1{
    color: var(--nc-celeste);
    font-size: 60px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 0;
    font-family: 'Roboto', sans-serif;
}
.main-banner h2{
    color: #fff;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    font-family: 'Roboto', sans-serif;
}
img.arrow {
    position: absolute;
    bottom: 20%;
    left: 5%;
}
.bg-shadow-white {
    background-color: #fff;
    box-shadow: 0px 5px 11px 5px rgb(79 79 79 / 23%);
    padding: 157px 105px 163px 57px;
    margin: -5em auto 0;
    width: 65%;;
}
.bg-shadow-white h2{
   color: var(--nc-blue);
   font-family: 'Roboto', sans-serif;
  font-size: 38px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: 0.54px;
}
.bg-shadow-white h5 {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.39;
    letter-spacing: 0.26px;
    color: #333333;
}
.bg-shadow-white p {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.39;
    letter-spacing: 0.26px;
    color: #333333;
}
.bg-img-right{
    z-index: 2;
    margin-top: -5em;
   
}
.bg-img-right img {
    text-align: right !important;
    float: right;
    background-size: cover !important;
    width: 100%;
}
.servicios {
    margin: 10% 0 0;
    padding: 5% 0;
    background: rgb(255,255,255);
    background: linear-gradient( 
0deg
 , rgba(255,255,255,1) 45%, #001156dc 45%);
}
.servicios h2{
   font-family: 'Roboto', sans-serif;
  font-size: 38px;
  font-weight: bold;
  line-height: normal;
  letter-spacing: 0.54px;
  text-align: center;
  color: #ffffff;
}
.space.card-container {
    width: 12%;
}
.servicios .row{
    margin-top:2em !important;
}
/* Flip Cards CSS */
.card-container {
    perspective: 700px;
  }
  .card-flip {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    height: auto;
    transition: all 0.5s ease-out;
    background: white;
    border: none;
    box-shadow: 1px 1px 11px #59595991;
    text-align: center;
    padding: 2em 0;
    border-radius: 10px;
}
  .card img{
      width: 50%;
      text-align: center;
      margin: 0 auto;
  }
  .card-flip div {
    backface-visibility: hidden;
    transform-style: preserve-3d;
    height: 100%;
    width:100%;
    border: none;
  }
  .card-flip .front {
    position: relative;
    z-index: 1;
    padding: 1em;
}  
.card-flip .back {
    position: relative;
    z-index: 0;
    transform: rotateY(-180deg);
    padding: 3em 1em 0;
}
  .card-container:hover .card-flip {
    transform: rotateY(180deg);
  } 
  .card-title {
    /* margin-bottom: .75rem; */
    font-weight: 400;
    font-size: 22px;
    margin-top: 0.5em;
}
#form {
    margin: 0 auto -3%;
    padding: 10% 0 0;
    position: relative;
    background-image: url(../img/bg-form.png);
    background-repeat: no-repeat;
}
.message {
    
}
.bg-gris {
    background-color: #F1F1F1;
    padding: 5%;
}
.bg-gris h2 {
    margin-bottom: 80px !important;
}
.btn-submit {
    text-align: center;
    margin: 0 auto;
    background-color: var(--nc-blue);
    padding: 7px 40px 8px;
    border-radius: 24px;
    border: none;
    color: white;
    transition: var(--hover);
}
.btn-submit:hover {
    background-color: var(--nc-darkblue);   
    transition: var(--hover);
}
.btn-submit:focus {
outline:none;
border:none;
}
#footer {
    background-color: var(--nc-darkblue);
    padding: 7%;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}
#bottom-footer{
    background-color: #0B1521;
    padding: 1em 0 0.5em;
    margin:0 auto;
    text-align: center;
    color: #738191;
    font-size: 13px;
    font-size: 300;
}
#footer .logo {
    width: 13%;
}
/*RESPOSNIVE*/
@media(max-width: 1440px){
    .main-banner {
    background-position: bottom;
}
    .bg-shadow-white {
      width: 87%;
}
}
@media(max-width: 1366px){
    .bg-shadow-white {
      width: 93%;
}
}
@media(max-width: 1024px){
img.logo {
    width: 19% !important;
}
    .main-banner {
        background-position: center;
    margin-top: -15%;
}
.main-banner .col-lg-6.col-sm-12 {
    margin-top: 25%;
}
}
@media(max-width: 768px){
    .main-banner {
    background-position: center;
    margin-top: -17%;
}
    .bg-img-right {
    /* z-index: 2; */
    margin-top: 2em;
}
.card.card-flip {
    margin-bottom: 1em;
}
.space.card-container {
    width: 0;
}
.servicios .row {
    margin-top: 0em !important;
}
img.logo {
    width: 34%;
}
img.arrow {
    display: none !important;
}
}
@media(max-width:500px){
.main-banner {
    margin-top: -27%;
    padding: 4em 2.5em;
    background-image: url(../img/portada-mobile.jpg);
}
.main-banner .col-lg-6.col-sm-12 {
    margin-top: 97%;
}
.main-banner h1 {
    font-size: 34px;
}
.main-banner h2 {
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
    font-family: 'Roboto', sans-serif;
}
.bg-shadow-white h2 {
    margin-bottom: 1.5em;
    font-size: 28px;
}
.bg-shadow-white {
    margin-top: -3em;
    padding: 50px 30px;
    width: 82%;
}
.bg-shadow-white h2 {
    margin-bottom: 1.5em;
}
.bg-img-right {
    margin-top: 0em;
}
.bg-img-right .col-lg-6 {
    padding: 0 1.5em 0 0;
}
.bg-img-right img {
    text-align: right !important;
    float: right;
    background-size: cover !important;
    width: 100%;
}
.servicios {
    padding: 12% 10%;
}
img.logo {
    width: 70% !important;
}
.navbar-brand {
    width: 31%;
}
.card.card-flip {
    margin-bottom: 30px;
}
.card-flip .back {
    padding: 6em 1em 0;
}
.bg-gris {
    background-color: #F1F1F1;
    padding: 12%;
}
#footer {    
    padding: 13% 0;
}
#footer .logo {
    width: 40% !important;
}
.btn-submit {
    padding: 13px 40px 16px;
    border-radius: 35px;
    width: 100%;
}
}