/* nuevo */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "PT Sans", sans-serif;
  font-size: 16;
}
a {
  text-decoration: none;
  font-family: "Teko", sans-serif;
  font-size: 1.5rem;
  color: #10388f;
}

ul {
  list-style: none;
}
.container {
  width: 100%;
  margin: 0;
}
/*navigation*/
.nav-main {
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 12vh;
  padding: 20px 0;
}
.active {
  background-color: rgb(255, 255, 255);
  position: fixed;
  width: 100%;
  transition: 0.6s;
  height: 10vh;
  z-index: 200;
}
.active .nav-logo {
  height: 10vh;
  width: 14em;
  padding-left: 50px;
}
.nav-logo {
  width: 25em;
  height: 13vh;
  padding-left: 50px;
}
/*nav rigth*/
.nav-main ul {
  display: flex;
}
.nav-main ul li {
  padding: 10px;
  padding-right: 40px;
}

.nav-main ul li a:hover {
  border-bottom: 2px solid #10388f;
  color: #fb2e0f;
}
.nav-main ul.nav-menu {
  flex: 0;
}
.menu-btn {
  position: absolute;
  cursor: pointer;
  top: 18px;
  right: 30px;
  z-index: 2;
  font-size: 2rem;
  display: none;
}
.nav-main .active {
  background-color: #10388f;
}

/*showcase*/
.showcase {
  display: none;
  width: 100%;
  height: 760px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("../img/img-principal.jpg") no-repeat bottom center/cover;
  margin-bottom: 20px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}
.showcase h2 {
  
  font-size: 15rem;
  font-weight:500;
  padding-right: 200px;
  font-family: "teko", sans-serif;
  color: #10388f;
  padding-bottom: 0px;
  font-style: italic;
  margin-bottom: 0px;
}
.showcase p {
  color: #ffffff;
  font-family: "Teko", sans-serif;
  font-size: 50px;
  padding-right: 80px;
}
.showcase span{
  color: #ED1C24;
}


/* valor-agregado */
.valor-agregado{
  display: flex;
  text-align: center;
  justify-content: space-around;
  padding: 50px 30px;
  
}
.valores{
width: 300px;
}
.valores i{
  background: #FB2D0C;
  border-radius: 50%;
  padding: 15px 15px;
}
.valores h3{
  font-family: "Teko", sans-serif;
  color: #10388f;
}
.valores p{
  padding-top: 20px;
  font-size: 1.2em;
  color: #10388f;
  font-weight: 500;
}

/* texto-centro */
.texto-2 h2{
  text-align: center;
  font-family: "Teko", sans-serif;
  font-size: 4rem;
  color: #FB2D0C;
  padding-top: 30px;
}
/* slider */
.carrusel{
  height: 550px;
  display: flex;
  align-items: center;
}
.carrusel-item p{
  height: 25px;
  margin: 0;
  display: flex;
  justify-content: space-evenly;
  background-color: black;
  color: white;
}
.carrusel-items{
  display: flex;
  overflow-x: hidden;
  overflow-y: hidden;
  padding: 30px 0px;
}
.carrusel-item{
  min-width: 400px;
  max-width: 400px;
  height: 400px;
  margin: 10px;
}

.carrusel-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carrusel-item:hover{
  min-width: 410px;
  max-width: 410px;
  height: 410px;
  transition: 0.4s;
  
}


/* empresas */
.trabajan-seguros h3{
  text-align: center;
  font-family: "Teko", sans-serif;
  font-size: 70px;
  color: #10388f;
}
.empresas {
  display: grid;
  grid-template-columns: repeat(6, 2fr);
  align-items: center;
  justify-items: center;
  margin-bottom: 100px;
  padding: 0 10px;
}
.empresas img {
  width: 150px;
  gap: 20px;
}
/* contacto */
.contacto {
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  gap: 10px;
  margin: 10px 0px 0px 0px;
  text-align: center;
  font-family: "Teko", sans-serif;
  align-items: center;
  padding: 20px;
}
.contacto img {
  width: 350px;
  border-radius: 15px;
}
.contacto p {
  font-size: 30px;
  letter-spacing: 2px;
  color: #11398f;
}
.contacto h3 {
  font-size: 50px;
  color: #10388f;
}

/* social */
.social {
  padding-top: 20px;
  margin: 0px;
  background-color: white;
}
.social p {
  font-family: "Teko", sans-serif;
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
}
.links {
  display: flex;
  align-items: center;
  justify-content: center;
}
.links a {
  margin: 0 30px;
}
.links a i {
  font-size: 3rem;
}

/* slider 2 */
.contenedor{
  width: 100%;
  overflow: hidden;
}
.slider-contenedor{
  width: 100%;
  display: flex;
  height: 65%;
}

.contenido-slider{
  width: 100%;
  height: 600px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-shrink: 0;
  color: #10388f;
}
.contenido-slider img{
  border-radius: 15px;
}
/* .contenido-slider:nth-child(2){

  color: #10388f;
}
.contenido-slider:nth-child(3){

  color: #10388f;
} */

.contenido-slider>img{
  width: 400px;
}


.contenido-slider > div{
  width: 40%;
}

.contenido-slider h2{
  font-weight: 300;
  text-align: justify;
  line-height: 30px;
}
.contenido-slider a{
  color:#fff;
  background-color: #10388f;
  width: 100px;
  display: block;
  padding: 15px 0;
  text-align: center;
  border-radius: 3px;
  margin-top: 20px;
  text-decoration: none;
}

/* footer links */
.footer-links {
  background: #12396b;
  /* background-color: #1c2024; */
  padding: 35px 0;
  font-family: roboto;
}

.footer-links li,h3,h2{
  padding-bottom: 15px;
  font-family: Open Sans;
}
.footer-links img{
  width: 20vw;
  
}
.footer-container h3 {
  color: #e2e2e2;
  font-size: 17px;
  font-weight: 200;
}
.footer-container {
  display: grid;
  grid-template-columns:  1fr 0.5fr 0.5fr 1fr;
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
}
.footer-container ul {
  margin: 0 auto;
}
@media (max-width: 1230px) {
  .showcase {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("../img/img-principal.jpg") no-repeat left center/cover;
  }
  .showcase h2{
    padding-right: 100px;
  }
  .showcase p{
    padding-right: 0;
  }
    .carrusel{
      height: 300px;
      margin-bottom: 30px;
    }
    .carrusel-item{
      min-width: 300px;
      max-width: 300px;
      height: 300px;
      margin: 0;
    }
  .nav-main ul li {
    padding: 5px 0;
    padding-right: 20px;
  }
  .empresas {
    grid-template-columns: repeat(3, 1fr);
  }
  .nav-logo {
    width: 18em;
  }
  .cards-banner-one p,
  .cards-banner-one h2 {
    font-size: 4em;
  }
}

@media (max-width: 800px) {
  .nav-logo {
    width: 13em;
  }
  .showcase {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("../img/img-principal.jpg") no-repeat left center/cover;
    align-items: flex-start;
  }
  .showcase h2{
    font-size: 200px;
    padding-left: 330px;
    padding-right: 0px;
  }
  .showcase p {
    padding-left: 440px;
  }
  .new-cards {
    grid-template-columns: repeat(1, 1fr);
  }

  /* slider */
  .carrusel{
    height: 60vh;
  }
  .carrusel-item{
    min-width: 200px;
    max-width: 200px;
    height: 200px;
    margin: 10px;
  }
  
  .carrusel-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .carrusel-item p{
    height: 31px;
    margin: 0;
    font-size: 0.7rem;
    display: flex;
    justify-content: center;
    background-color: black;
    text-align: center;
    color: white;
  }
  .valores h3{
    font-family: "Teko", sans-serif;
    font-size: 1.2;
  }
  .valores p{
    padding-top: 20px;
    font-size: 1.0em;
  }
  .empresas {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }
  .nav-main a {
    color: white;
  }
  .nav-main ul li a:hover {
    border-bottom: 2px solid white;
    color: #fb2e0f;
  }
  .nav-main ul.nav-menu {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #2f3640;
    height: 100%;
    padding: 30px;
    opacity: 0.9;
    transform: translateX(-400px);
    transition: transform 0.5s ease-in-out;
  }
  .nav-main ul.nav-menu.show {
    transform: translateX(-20px);
  }
  .nav-main ul.nav-menu.show {
    transform: translateX(-20px);
  }
  .nav-main ul.nav-menu li {
    padding: 20px;
    font-size: 14px;
  }
  .nav-main ul.nav-menu-right {
    margin-right: 50px;
  }
  .menu-btn {
    display: block;
  }
  .menu-btn:hover {
    opacity: 0.5;
  }

  .empresas img {
    width: 120px;
    gap: 20px;
  }
  .footer-links img{
    display: none;
    
  }
  .footer-container {
    display: grid;
    grid-template-columns: 0fr 0.5fr 0.5fr 1fr;
    gap: 10px;
    align-items: flex-start;
    justify-content: center;
}
}
@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
  }
  .footer-container ul {
    margin: 0;
    padding-left: 20px;
  }
  .showcase  {
    padding: 17px;
  }
  .showcase h2 {
    font-size: 70px;
    padding-left: 0px;
  }
  .showcase p {
    font-size: 30px;
    padding-right: 9rem;
    padding-left: 0px;
  }
  .valor-agregado{
    flex-direction: column;
    align-items: center;
  }

  .contacto img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
  }
  .contacto p {
    letter-spacing: 0;
    font-size: 20px;
  }
  .diferencias .card{
    width: 12rem;
  }
}
/* slider 2 */


@media screen and (max-width:900px){
  .contenido-slider > img{
    width: 250px
  }
  .contenido-slider >div{
    width: 40%;
  }
  .contenido-slider h2{
    font-size: 23px;
  }
  
}

@media screen and (max-width:600px){
  .contenido-slider {
    flex-direction: column-reverse;
  }
  .contenido-slider >div{
    width: 80%;
  }
}