/* ========== keyframes ========== */
/* animación  */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-250px * 7));
  }
}

/* ========== class shared ========== */
.main {
  width: 100%;
}

.jscsoftwarehouse {
  color: var(--blue);
  font-weight: 900;
}

.title {
  font-family: var(--title);
  font-size: 3rem;
}

.subTitle {
  font-family: var(--subTitle);
  font-size: 2rem;
}

.subTitle2 {
  font-family: var(--subTitle);
  font-size: 1.3rem;
}

.container {
  display: flex;
  width: 90%;
  margin: auto;
  padding: 4rem 0;
  /* Alineación horizontal */
  justify-content: space-between;
  /* alinaación vertical */
  align-content: center;
  align-items: center;
}

.box {
  display: grid;
  width: 50%;
}

.hablemos {
  width: 200px;
  height: 35px;
  border-radius: 5rem;
  color: var(--white);
  background-color: var(--blue);
  cursor: pointer;
}

.preview {
  margin: .5rem 0 2rem 0;
}

/* servicios web */
.containerThree {
  display: grid;
  width: 90%;
  margin: 3rem auto;
  justify-content: center;
  text-align: center;
}

.subContainerThree {
  display: flex;
  width: 100%;
  margin: auto;
  padding: 2rem;
}

.webServices {
  display: grid;
  width: 100%;
  height: auto;
  min-height: 450px;
  margin: 1rem;
  padding: 1rem;
  justify-items: center;
  align-items: center;
  border-radius: 0.5rem;
  background-color: var(--grayGreen);
  box-shadow: 0 4px 8px 0 var(--shadow2);
  cursor: default;
}

.webServices:hover {
  transform: scale(1.03);
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 8px 0 var(--shadow2), 0 6px 20px 0 var(--shadow5);
}

/* ========== menu ========== */
/* Contenedor general del menú */
.menuContent {
  display: flex;
  width: 90%;
  margin: auto;
  height: 120px;
}

/* Secciones del menú principal */
.menuMain {
  display: flex;
  width: 100%;
  margin: auto;
  justify-content: space-between;
  align-items: center;
}

/* Contenedor de logo */
.logojscsoftwarehouse {
  display: flex;
  width: 30%;
}

.logojscsoftwarehouse img {
  width: 12%;
}

.containerMenuOptios {
  position: relative;
  display: flex;
  width: 70%;
  justify-content: right;
}

/* Ham funciona en responsive */
.ham {
  display: none;
}

.menuOptions {
  display: flex;
  z-index: 2;
}

/* Necesario para que se de la animación de la línea azul debajo */
.menuOptions li {
  position: relative;
  width: auto;
  height: 25px;
  margin: 0 0.5rem;
}

/* Estilo de la linea azul debajo de cada <li> */
.menuOptions li::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 3px;
  left: 0;
  bottom: 0;
  background-color: var(--blue);
  transition: all 0.5s ease-in-out;
}

/* Al hacer hover se pone al 100% la línea azul de los <li> */
.menuOptions li:hover::after {
  width: 100%;
}

/* =========== home =========== */
.homeBox {
  width: 50%;
  margin: auto;
}

/* Slider de las tecnologías usadas */
.containerSlider {
  display: grid;
  width: 90%;
  height: auto;
  margin: auto;
  align-content: center;
  text-align: center;
}

.slider {
  display: flex;
  position: relative;
  width: 80%;
  margin: auto;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.slider::before,
.slider::after {
  content: "";
  width: 20%;
  height: 100%;
  position: absolute;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

.slideTrack {
  animation: scroll 40s linear infinite;
  display: flex;
  width: calc(250px * 14);
}

.slide {
  width: 250px;
  height: 100px;
}

/* ========== desarollo de software ========== */
.containerSoftware {
  display: grid;
  width: 90%;
  margin: auto;
}

.containerSoftware h1 {
  width: 60%;
}

.boxImgSoftware {
  width: 80%;
  margin: auto;
}

/* ========== web page ========== */
.box.boxWebPage {
  padding: 0 1rem;
}

/* ========== marketing ========== */
/* banner de esta página */
.container.containerMarketing {
  display: grid;
  justify-content: center;
}

.container.containerMarketing img {
  width: 70%;
  margin: auto;
}

/* caja de texto, ya que box no tiene éstas medidas */
.box.boxTextMarketing {
  width: 90%;
  margin: 3rem auto;
  text-align: center;
}

.containerCampains {
  display: flex;
}

.tabButton {
  width: 100%;
  height: 50px;
  cursor: pointer;
  background-color: var(--grayGreen);
}

.tabContent {
  width: 100%;
  height: 400px;
  left: 0;
  justify-items: center;
  align-content: center;
  text-align: center;
  background-color: var(--grayGreen);
}

.tabContent img {
  width: 130px;
}

.tabContent p h2 {
  width: 50%;
}

/* ========== tyc - politicas ========== */
.containerLegal {
  display: grid;
  height: auto;
  text-align: justify;
}

.containerLegal p {
  margin: .5rem 0;
}

.containerLegal ul li {
  list-style-type: square;
}

/* ========== footer ========== */
.footer {
  display: flex;
  width: 100%;
  margin: auto;
  justify-content: center;
  text-align: center;
  background-color: var(--grayGreen);
}

.containerFooter {
  display: grid;
  width: 100%;
  min-height: 220px;
  margin: auto;
  align-items: center;
}

.menuFooter {
  display: flex;
  flex-direction: row;
  grid-template-rows: repeat(4, 1fr);
  width: 100%;
  height: 100%;
  padding-top: 2rem;
  justify-content: space-evenly;
  align-items: start;
  text-align: left;
}

.menuFooter li {
  line-height: 1.5rem;
}

.logoFooter {
  display: flex;
  width: 5%;
  justify-content: start;
}


.copy {
  display: flex;
  margin: 1rem auto;
  justify-content: center;
  align-items: center;
}