* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}


:root {
  --gray-hover: #e4e4e4;
  --gold: #FBEBCB;
  --dark-gold: #B6896A;
  --blue: #2E3F4F;
  --dark-blue: #0D1016;
  --red-hover: #AC273A;
  --red: #D6002A;
  --info-background: #f0f0f0;
  --infor-text: #333;

}

/*Contenedor de headers*/
.headers-container {
  position: fixed;
  z-index: 999;
  width: 100%;
}


/* Primer nav */
.nav-landing {
  height: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  margin: 0;
  width: 100%;
  background-color: white;
}

.nav-img {
  margin-left: .5rem;
  height: 3.5rem;
}

.nav-ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 28rem;
  height: 100%;
  padding: 0;
  margin-right: .5rem;
}

.nav-li {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  height: 100%;
  width: 100%;
  transition: all .4s;

  a {
    text-decoration: none;
    color: black;
  }
}

.nav-li:hover {
  background-color: var(--gray-hover);
}

.nav-icon {
  height: 1.2rem;
  margin-right: .25rem;
}

/** Para que se responsive ver luego menu de amburguesa*/
@media(max-width: 900px) {
  .nav-ul {
    width: 20rem;
    font-size: .8rem;
  }

  .nav-icon {
    height: 1rem;
    margin-right: .20rem;
  }
}


/* Segundo nav */
.nav-second {
  background-color: var(--blue);
  height: 4rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.second-ul {
  margin-left: .5rem;
  height: 100%;
  width: 35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.second-li {
  list-style: none;
  height: 100%;
  width: 100%;
  transition: all .4s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.second-li:hover {
  background-color: var(--dark-blue);
}

.second-a {
  text-decoration: none;
  color: white;
}

.btn-container {
  height: 100%;
  width: 10rem;
  margin-right: .5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-suscribe {
  background-color: var(--red);
  color: white;
  height: 2.5rem;
  padding: .5rem;
  border-style: none;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 4s;
}

.btn-suscribe:hover {
  background-color: var(--red-hover);
}

@media(max-width: 900px) {
  .second-ul {
    width: 20rem;
    font-size: .8rem;
  }

  .btn-suscribe {
    font-size: .8rem;
  }
}

/* Nav Info */

.nav-info {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  background-color: var(--info-background);
}

.info-text {
  display: inline-block;
  padding: 5px;
  font-size: 1em;
  font-weight: bold;
  color: var(--infor-text);
  position: relative;
  animation: infodesp 110s linear infinite;
}

/* Animación del desplazamiento */
@keyframes infodesp {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Banner */

.banner-container {
  position: relative;
  height: 40%;
  padding: 10rem 0 0 0;
}

.banner {
  width: 100%;
  margin: 0;
  padding: 0;
}

.text-img {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: absolute;
  width: 100%;
  top: 10rem;
  left: 0;
  bottom: 0;
  background-color: #000000bd;
}

.text-content {
  color: white;
  margin-left: 1rem;
  font-size: calc(1vw*10);
}

.banner-icon {
  height: 2.5rem;
}

/** Banner Footer */
.banner-footer {
  height: 12rem;
  width: 100%;
  background-color: var(--dark-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  flex-direction: column;
}

.banner-footer-container {
  width: 95%;
}

.banner-footer-container p {
  text-align: justify;
}

/* Planes */
.planes {
  width: 100%;
  min-height: 40vh;
  padding-top: 2rem;
  scroll-margin-top: 10rem;
}

.planes-nav-container {
  margin-left: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.planes-ul {
  width: 30rem;
  height: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.planes-li {
  height: 100%;
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
  position: relative;
  text-transform: uppercase;
  cursor: pointer;
}

.planes-li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--red-hover);
  transition: width 0.3s ease;
}

.planes-li:hover {
  background-color: var(--gray-hover);
  color: var(--red-hover);
}

.planes-li:hover::after {
  width: 100%;
}

.planes-hr {
  width: 30rem;
}

@media(max-width: 900px) {
  .planes-nav-container {
    margin-left: 0;
  }

  .planes-ul {
    width: 100%;
  }

  .planes-hr {
    width: 100%;
  }
}

.card-plan {
  padding: 2rem 0;
  display: flex;
  flex-direction: row;
  width: 80%;
  margin: 0 auto;
  text-align: justify;
}

.plan-container-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.planes-img {
  width: 10rem;
}

/* Services */

.services {

  background-color: var(--gray-hover);
  min-height: 40vh;
  width: 100%;
  scroll-margin-top: 10rem;
  padding: 2rem 0;

}

.container-card-services {

  width: 95%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit,
      minmax(23rem, 1fr));
  gap: 15px;
}

.card-services {
  width: 95%;
  margin: 0 auto;
  background-color: white;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: .5rem;
  box-shadow: -0.8rem -0.8rem 1rem var(--gray-hover), 0.8rem 0.8rem 1rem #d4d4d4,
    inset -0.8rem -0.8rem 1rem var(--gray-hover), inset 0.8rem 0.8rem 1rem #d4d4d4;
  transition: all .5s;
}

.card-services p {
  text-align: justify;
}

.card-services:hover {
  box-shadow: -0.8rem -0.8rem 1rem #d4d4d4, 0.8rem 0.8rem 1rem var(--gray-hover),
    inset -0.8rem -0.8rem 1rem #d4d4d4, inset 0.8rem 0.8rem 1rem var(--gray-hover);
}

.img-card-service {

  padding-bottom: 1rem;

}

.card-tittle {

  padding: 1rem 0;

}

/* Novedades */
.novedades {

  min-height: 40vh;
  width: 100%;
  scroll-margin-top: 10rem;

}

.novedades p {
  text-align: justify;
}

.novedades-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  margin: auto;
  padding-bottom: 2rem;
}

.novedades-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.novedades-tittle {
  margin: 1rem 0;
  text-align: center;
}

.novedades-foto {
  width: 30rem;
}

.text-novedades {
  width: 70%;
  margin: 0 auto;
  padding: 1rem 0;
}

@media(max-width: 900px) {

  .novedades-container {
    flex-direction: column;
    width: 98%;
  }

  .text-novedades {
    width: 95%;
  }

  .novedades-foto {
    width: 95%;
    margin: 0 auto;
  }
}

/* Footer */
.footer {

  background-color: var(--dark-blue);
  color: white;
  width: 100%;
  padding: 4rem 0;
}

.footer-container {

  display: grid;
  grid-template-columns: repeat(auto-fit,
      minmax(22rem, 1fr));
  gap: 15px;
  width: 95%;
  height: 100%;
  margin: auto;

}

.item-footer {

  display: flex;
  flex-direction: column;
  width: 95%;
  padding: 2rem 0;
  margin: auto;
}

.item-footer p {
  text-align: justify;
}

.link-icon {
  margin-top: 4rem;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.img-icon {
  height: 3rem;
}

.qr {
  height: 22rem;
}

/* USO GENERAL */

.section-tittle {

  padding: 1rem 0;
  width: 95%;
  margin: auto;
  font-size: 2rem;
}

.divider {
  margin: 2rem 0;
}

.centrar {
  text-align: center;
}