*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    font-size: 62.5;
}

.navbar-expand-lg{
    height: 77px;
    background-color: #C40000;
    color: white;
}
.navbar-expand-lg .navbar-collapse{
    flex-direction: column;
}
.nav-link{
    color: white;
}

.row{
    width: 100%;
    text-align: center;
    color: #1048A2;
    margin: 0;
}
.container-first-section{
    width: 90%;
    margin: 3% auto;
}
.container__text-tittle{
    margin: 5% 0 2% 0;
    text-align: center;
    color: #1048A2;
    padding: 0;
    font-family: 'Bebas Neue';
    font-size: 3rem;
    
}

.card{
  margin-top: 5%;
  width: 25rem;
  border-radius: 35px;
  height: auto;
}
.card-container{
  flex-wrap: wrap;
  justify-content: space-between;
}
.card-img, .card-img-top{
  border-radius: 35px 35px 0 0 !important;
 }
.card-text{
    text-align: left;
    font-family: 'Montserrat', sans-serif;
}
.card-body__buttom{
  background-color: #C40000;
  color: #ffff;
  border-style: none;
  border-radius: 10px;
  padding: 2px 5px;
}
.card--roja{
    background-color: rgba(196, 0, 0, 0.8);
    color: white;
    text-align: center;

}

.second-section{
    background-image: url(../img/fondo_dos.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

}

.card-img-top--rojo{
    width: 60%;
    margin: 0 auto;
    margin-top: 10%;
}

.card-text2{
    font-size: 1.3rem;
}

.navbar-brand {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  footer {
    background-color: #C40000;
    color: white;
  }
  
  .container-fluid {
    margin: 0 auto;
    padding: 0 15px;
  }
  
  .footer-row-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 85px;
  }
  
  .footer-row-1 img {
    margin-top: 2%;
    max-height: 100%;
  }
  
  .footer-row-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
  }
  
  nav {
    display: flex;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
  }
  
  nav li {
    margin: 0 10px;
  }
  
  nav a {
    color: white;
    text-decoration: none;
  }
  
  .footer-row-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
  }
  

  @media(max-width: 1432px){
    .card{
      width: 20rem;
    }
  }

  @media(max-width: 735px){
        .card-container{
          justify-content: center !important;
        }
        .container__text-tittle {
          font-size: 2rem;
        }

  }

  @media(max-width: 430px){
    .card-img-top--rojo{
      width: 60%;
      margin: 0 auto;
      margin-top: 10%;
      height: 180px !important;
  }
      .card-text2{
        font-size: 1rem;
      }


  }