@import url('https://fonts.googleapis.com/css?family=Nunito:400,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Poppins:400,600,700&display=swap');

html {
  box-sizing: border-box;
  font-size: 62.5%; /* Default value for pixels 10px = 1rem */
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
}

p {
  line-height: 1.4;
}

body {
  font-size: 1.4rem;
}

.container {
  width: 90%;
  max-width: 120rem;
  margin: 0 auto;
}

/**
  *------------------------------------------------------------------------------------
  * Página: Index
  *------------------------------------------------------------------------------------
  */

/**
  * Estilos: Header
  */
.main-header {
  height: 100vh;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: repeat(3, auto);
  grid-template-areas:
    'heading-info'
    'heading-info'
    'heading-widgets';
}

.heading-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  grid-area: heading-info;
}

.heading-info__text {
  font-size: 1.8rem;
  font-weight: 600;
  max-width: 50rem;
  text-align: center;
  margin-top: 0;
  line-height: 1.3;
}

/**
  * Estilos: Tarjetas
  */
.heading-widgets {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  grid-area: heading-widgets;
}

.card__title {
  color: #262626;
  margin: 0;
}

.card__text {
  font-weight: 400;
  line-height: 2rem;
  color: #666;
}

.card__corner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  overflow: hidden;
  top: 0;
  right: 0;
  width: 3.2rem;
  height: 3.2rem;
  background-color: #a31e1e;
  border-radius: 0 0.4rem 0 3.2rem;
}

.card__arrow {
  margin-top: -0.4rem;
  margin-right: -0.4rem;
  color: #fff;
}

.card {
  display: block;
  position: relative;
  max-width: 34.7rem;
  max-height: 18.2rem;
  background-color: #f2f8f9;
  border-radius: 0.4rem;
  padding: 3.2rem 2.4rem;
  margin: 1.2rem;
  z-index: 0;
  text-decoration: none;
  overflow: hidden;
}

.card:before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -1.6rem;
  right: -1.6rem;
  background: #a31e1e;
  height: 3.2rem;
  width: 3.2rem;
  border-radius: 3.2rem;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 0.25s ease-out;
}

.card:hover:before {
  transform: scale(25);
}

.card:hover p {
  transition: all 0.3s ease-out;
  color: rgba(255, 255, 255, 0.8);
}

.card:hover h3 {
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  color: #ffffff;
}

/**
  * Estilos: ¿Quiénes somos?
  */
.section-description {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section-description__text {
  max-width: 45rem;
}

.features {
  margin-top: 2rem;
  text-align: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
}

.features-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.features-info__text {
  max-width: 32rem;
}

.section-description__title {
  margin-bottom: 0;
}

.section-description__text {
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.4;
}

/**
  * Estilos: Clientes
  */
.clients {
  margin-top: 5rem;
}

.logos {
  display: grid;
  gap: 5rem;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
}

.logos-info__link {
  display: flex;
  justify-content: center;
  align-items: top;
}

.logos-info__img {
  width: 75%;
  height: auto;
}
.logos-info__link:hover{
  fill-opacity: 0.7;
}
/**
  * Estilos: Footer
  */
.footer {
  padding: 1rem 0;
  background: #464241;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.right-side {
  margin-left: 5rem;
}

.info__title {
  margin-bottom: 0;
}

.info__text {
  margin-top: 0.5rem;
}

.web-section__name {
  margin-bottom: 0.5rem;
}

.web-section__list {
  list-style-type: none;
  margin-top: 0;
  padding-left: 0.5rem;
  border-left: 0.3rem solid #707070;
  line-height: 1.5;
}

.web-section__link {
  text-decoration: none;
  color: #fff;
}

/**
  *------------------------------------------------------------------------------------
  * Página: Simapro
  *------------------------------------------------------------------------------------
  */
img {
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}
.cards__item {
  display: flex;
  padding: 1rem;
}

@media (min-width: 40rem) {
  .cards__item {
    width: 50%;
  }
}

@media (min-width: 56rem) {
  .cards__item {
    width: 43%;
  }
}

.simapro-card {
  background-color: rgba(240, 240, 240, 0.678);
  border-radius: 0.25rem;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.simapro-card:hover .simapro-card__image {
  filter: contrast(100%);
}

.simapro-card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1rem;
}

.simapro-card__image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  filter: contrast(70%);
  overflow: hidden;
  position: relative;
  transition: filter 0.5s cubic-bezier(0.43, 0.41, 0.22, 0.91);
}

.simapro-card__image::before {
  content: '';
  display: block;
  padding-top: 56.25%;
}

@media (min-width: 40rem) {
  .simapro-card__image::before {
    padding-top: 66.6%;
  }
}

/**
    *------------------------------------------------------------------------------------
    * Cambiar estás imágenes con las nuevas
    *------------------------------------------------------------------------------------
    */
.simapro-card__image--estrategica {
  background-image: url(../img/pc-work.jpg);
}

.simapro-card__image--desempeño {
  background-image: url(../img/pc-work.jpg);
}

.simapro-card__image--empleo-talento {
  background-image: url(../img/pc-work.jpg);
}

.simapro-card__image--simapro {
  background-image: url(../img/pc-work.jpg);
}

.simapro-card__title {
  color: #696969;
  font-weight: 300;
}

.simapro-card__title > h2 {
  margin: 1rem 0;
}

.simapro-card__text {
  flex: 1 1 auto;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  margin-top: 0.5rem;
}

.simapro-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 5rem 0;
}

/**
  *------------------------------------------------------------------------------------
  * Default cards
  *------------------------------------------------------------------------------------
  */
.default-simapro-card {
  max-width: 80rem;
  height: 35rem;
  background: rgba(240, 240, 240, 0.678);
  padding-right: 5rem;
  display: flex;
  justify-content: center;
  border-radius: 0.4rem;
}

.default-simapro-card:not(:last-child) {
  margin-bottom: 5rem;
}

.default-simapro-card__img {
  object-fit: cover;
  width: 32rem;
  height: auto;
}

.default-simapro-card__info {
  margin-left: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.default-simapro-card__title {
  margin-bottom: 0;
}

.default-simapro-card__description {
  margin: 0;
}

.default-simapro-card__list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/**
  *------------------------------------------------------------------------------------
  * Página: Tecnología
  *------------------------------------------------------------------------------------
  */
.tecnologia-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 6rem;
}

@media screen and (min-width: 320px) and (max-width: 1024px) {
  section {
    margin-top: 5rem;
  }

  .main-header {
    display: block;
    height: 100%;
  }

  .heading-widgets {
    flex-direction: column;
  }

  .heading-info__text {
    max-width: 45rem;
  }

  .features {
    display: flex;
    flex-direction: column;
  }

  .features-info:not(:last-child) {
    margin-bottom: 4rem;
  }

  .logos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer {
    flex-direction: column;
    padding-left: 2rem;
  }

  .right-side {
    margin-left: 0;
  }
}
