:root {
  --move-left-icon: -25%;
  --move-left-tecno: -11.11%;
}

:root {
  /* -- por nombre de elementos */
  --back-picture-block-background: rgba(10, 90, 122, 0);
  /* - */
  --body-background: rgb(179, 211, 229);
  /* - */
  --cont-banner-icon-background: rgba(0, 255, 255, 0.342);
  /* - */
  --cont-banner-icon-border: rgba(234, 234, 234, 0.125);
  /* - */
  --item: linear-gradient(215deg, rgb(255, 255, 255), rgb(232, 238, 241));
  /* - */
  --cont-figure-background: rgba(0, 255, 255, 0.123);
  /* - */
  --decor-sticky-line-background: rgba(0, 255, 255, 0.281);
  /* - */
  --intro-background: linear-gradient(90deg, rgb(255, 255, 255), rgb(226, 207, 230));
  /* - */
  --item-change: linear-gradient(90deg, rgb(3, 58, 109), rgb(14, 172, 177));
  /* - */
  --item__title: rgb(1, 125, 163);
  /* - */
  --promotion-background: linear-gradient(180deg, rgb(255, 255, 255), rgb(225, 231, 235));

  /* -- por nombre de colores */
  --amarillo-huevo: rgb(235, 182, 9);
  /* - */
  --azul-oscuro: rgb(31, 60, 90);
  /* - */
  --blanco-puro: rgb(255, 255, 255);
  /* - */
  --celeste-verdoso: rgb(19, 147, 172);
  /* - */
  --degradado-azul-verde: linear-gradient(90deg, rgb(3, 58, 109), rgb(14, 172, 177));
  /* - */
  --gris-azulino: rgb(225, 231, 235);
  /* - */
  --gris-claro: rgb(225, 225, 225);
  /* - */
  --gris-medio: rgb(109, 109, 109);
  /* - xxx*/
  --gris-oscuro: rgb(52, 52, 52);
  /* - */
  --transparente-100: rgba(0, 0, 0, 0);
  /* - */
  --violeta: rgb(114, 8, 122);
  /* - */
  --verde-manzana: rgb(131, 184, 26);
}

html {
  /*-- 62.5% = 10px --*/
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  /* - */
  font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--gris-medio);
  text-align: left;
  /* - */
  background-image: url(../img/img-background-body.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: cover;
  background-color: var(--body-background);
}

/** Cajas contenedoras 100% **/
.header,
.branding,
.container,
.footer {
  width: 100%;
  min-width: 320px;
  max-width: 2000px;
  margin: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

h1 {
  font-size: 3.8rem;
  font-weight: normal;
  letter-spacing: .17rem;
}

h2 {
  font-size: 2.1rem;
  font-weight: normal;
  letter-spacing: .1rem;
}

h3 {
  font-size: 1.6rem;
  font-weight: normal;
}

/*--------- imagen debajo de la transparencia--*/

.back-picture-block {
  position: fixed;
  z-index: 0;
  top: 100px;
  background-color: var(--back-picture-block-background);
}

.back-picture-block__img-large {
  width: 100%;
  transition: 2s;
  height: auto;
  margin: auto;
}

.back-picture-block__img-short {
  width: 80%;
  transition: 2s;
  height: auto;
  display: none;
  margin: auto;

}

/*--------------------------- branding --*/

.branding {
  background-color: var(--blanco-puro);
  padding: 4rem 0 2rem 0;
}

.brand-big {
  width: 100%;
  display: block;
}

.brand-mini {
  width: 100%;
  display: none;
}

/*------------------------------------ Container --*/

.container {
  position: relative;
  z-index: 1;
  background-color: var(--transparente-100);
}

/*-------------------------------cont-bloque -100% --*/

.back-block {
  background-color: var(--blanco-puro);
  width: 100%;
}

/*---------------------------------------------------*/

.title {
  width: 90%;
  max-width: 1050px;
  margin: auto;
  margin-bottom: 5rem;
  text-align: left;
  /* font-weight: bold; */
  color: var(--celeste-verdoso);
  line-height: 6.4rem;
}

.intro {
  width: 90%;
  max-width: 1000px;
  margin: auto;
  display: flex;
  align-items: center;
  background: var(--intro-background);
  border-top-right-radius: 48%;
}

.intro__years {
  display: flex;
  height: 140px;
  width: 140px;
  color: var(--blanco-puro);
  font-size: 3rem;
  font-weight: bold;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  margin: 0 5rem 0 0;
  border: 1px solid var(--gris-medio);
  border-radius: 50%;
  background-color: var(--violeta)
}

.intro__text {
  font-size: 2rem;
  color: var(--violeta);
}

.cont-subtitle {
  width: 90%;
  max-width: 110rem;
  padding: 10rem 1rem 3rem 1rem;
  margin: auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}

.subtitle-linea {
  flex: 1;
  line-height: 1.4rem;
}

.subtitle-linea hr {
  height: 0.2rem;
  background-color: var(--amarillo-huevo);
  border: 0;
}

.subtitle-text {
  letter-spacing: .15rem;
  font-size: 3.1rem;
  font-weight: normal;
  line-height: 3.4rem;
  color: var(--azul-oscuro);
}

.cont-gral {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: auto;
  width: 100%;
  max-width: 1150px;
  min-height: 100px;
  padding: 5rem 1rem;
}

/*------------------------------------ Items --*/
.cont-items {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  /* - */
  margin: auto;
  width: 100%;
  max-width: 1150px;
  min-height: 100px;
  padding: 5rem 1rem;
}


.item {
  flex: 1;
  position: relative;
  z-index: 1;
  min-height: 300px;
  min-width: 300px;
  padding: 1rem 1rem;
  border-radius: 1rem;
  background: var(--item);
  overflow: hidden;
}

.item:hover>.item__title,
.item:hover>.item__text {
  color: var(--blanco-puro);
  transition: .3s;
}

.item:hover>.item__change {
  width: 100%;
  height: 100%;
  opacity: 85%;
  border-radius: 1rem;
  transition: .5s;
}

.item__change {
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-radius: 1rem;
  background: var(--item-change);
  opacity: 0%;
  transition: 1s;
}

.item__corner {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 65%;
  height: 30%;
  border-end-start-radius: 100%;
  background-color: var(--blanco-puro);
  opacity: 90%;
  overflow: hidden;
}

.item__icon {
  position: relative;
  width: 8rem;
  height: 8rem;
  padding: .5rem;
  border-radius: 10%;
  background-color: var(--blanco-puro);
}

.item__title {
  font-size: normal;
  position: relative;
  color: var(--item__title);
  margin: 2rem 0;
  transition: color 1.3S;
}

.item__text {
  position: relative;
  z-index: 1;
}

/*----------////////////////---------*/

.cont-note {
  position: relative;
  width: 97%;
  margin: 5rem auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: var(--blanco-puro);
  text-align: left;
  border-radius: 1rem;
  border: .1rem var(--gris-claro);
  border-style: solid;
  overflow: hidden;
}

.cont-note--reverse {
  flex-direction: row-reverse;
}

.cont-note:hover>.note__text>.note__title {
  padding-left: 2rem;
  transition: .5s;
}

.note__img {
  position: relative;
  z-index: 0;
  flex: 1;
  min-width: 300px;
}

.note__text {
  flex: 1;
  min-width: 300px;
  padding: 1rem;
  align-self: center;
}

.note__title {
  color: var(--verde-manzana);
  text-align: left;
  transition: .5s;
}

/*---------------- figura --*/

.cont-figure {
  position: relative;
  display: flex;
  background-color: var(--cont-figure-background);
}

.cont-figure--end {
  justify-content: flex-end;
  margin-bottom: 20rem;
}

.figure-1 {
  width: 50%;
  height: 0px;
  border-right: 60px solid var(--transparente-100);
  border-bottom: 60px solid var(--blanco-puro);
  margin-top: 1.5rem;
}

.figure-2 {
  width: 50%;
  height: 0px;
  border-left: 60px solid var(--transparente-100);
  border-top: 60px solid var(--blanco-puro);
  margin-bottom: 1.5rem;
}

/*------------------------- Promotion y Banner --*/

.promotion {
  width: 100%;
  height: 10rem;
  text-align: center;
  color: var(--gris-oscuro);
  font-size: 2rem;
  line-height: 2.4rem;
  background: var(--promotion-background);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

/*---------------------------------*/

.promotion span {
  padding: 1.2rem;
  border-radius: .5rem;
}

.cont-banner-icon {
  position: relative;
  width: 100%;
  height: 15rem;
  margin: auto;
  margin-bottom: 20rem;
  background-color: var(--cont-banner-icon-background);
  border-bottom: .33rem solid var(--cont-banner-icon-border);
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
}

.cont-frames-icon {
  position: absolute;
  width: 400%;
  height: auto;
  display: flex;
  align-items: center;
  animation: banner-icon 25s 2s infinite;
  /* nombre - duracion - pasos - delay - modo  */
}

.frame-icon {
  flex: 1;
  color: var(--verde-manzana);
  padding: 1rem;
  display: flex;
  align-items: center;
  margin: 0 2rem;
  border-radius: .5rem;
  background-color: var(--gris-azulino);
}

.frame-icon img {
  height: 7rem;
  width: 7rem;
  margin-right: 1rem;
}

/*------------------------------ animación banner --*/

@keyframes banner-icon {
  0% {
    margin-left: 0%;
  }

  4%,
  8.333% {
    margin-left: calc(var(--move-left-icon)*1);
  }

  12.333%,
  16.666% {
    margin-left: calc(var(--move-left-icon)*2);
  }

  20.666%,
  24.999% {
    margin-left: calc(var(--move-left-icon)*3);
  }

  28.999%,
  33.332% {
    margin-left: calc(var(--move-left-icon)*4);
  }

  37.332%,
  41.665% {
    margin-left: calc(var(--move-left-icon)*5);
  }

  45.665%,
  49.998% {
    margin-left: calc(var(--move-left-icon)*6);
  }

  53.998%,
  58.331% {
    margin-left: calc(var(--move-left-icon)*7);
  }

  62.331%,
  66.664% {
    margin-left: calc(var(--move-left-icon)*8);
  }

  70.664%,
  74.997% {
    margin-left: calc(var(--move-left-icon)*9);
  }

  78.99%,
  83.33% {
    margin-left: calc(var(--move-left-icon)*10);
  }

  87.33%,
  91.663% {
    margin-left: calc(var(--move-left-icon)*11);
  }

  95.663%,
  100% {
    margin-left: calc(var(--move-left-icon)*12);
  }

}

/* ------------------- Tecno banner ------------- */

.cont-banner-tecno {
  position: relative;
  width: 97%;
  max-width: 1150px;
  margin: auto;
  background-color: var(--blanco-puro);
  overflow: hidden;
}

.cont-frames-tecno {
  width: 233.33%;
  display: flex;
  animation: banner-tecno 20s 2s infinite;
  /* nombre - duracion - pasos - delay - modo  */
}

.frame-tecno {
  flex: 1;
  padding: .6%;
  text-align: center;
}

.frame-tecno img {

  width: 100%;
}

/*------------------------------ animación tecno-banner --*/

@keyframes banner-tecno {

  0% {
    margin-left: 0%;
  }

  4.333%,
  8.333% {
    margin-left: calc(var(--move-left-tecno)*1);
  }

  12.667%,
  16.667% {
    margin-left: calc(var(--move-left-tecno)*2);
  }

  21%,
  25% {
    margin-left: calc(var(--move-left-tecno)*3);
  }

  29.333%,
  33.333% {
    margin-left: calc(var(--move-left-tecno)*4);
  }

  37.667%,
  41.667% {
    margin-left: calc(var(--move-left-tecno)*5);
  }

  46%,
  50% {
    margin-left: calc(var(--move-left-tecno)*6);
  }

  54.333%,
  58.333% {
    margin-left: calc(var(--move-left-tecno)*7);
  }

  62.667%,
  66.667% {
    margin-left: calc(var(--move-left-tecno)*8);
  }

  71%,
  75% {
    margin-left: calc(var(--move-left-tecno)*9);
  }

  79.333%,
  83.333% {
    margin-left: calc(var(--move-left-tecno)*10);
  }

  87.667%,
  91.667% {
    margin-left: calc(var(--move-left-tecno)*11);
  }

  96%,
  100% {
    margin-left: calc(var(--move-left-tecno)*12);
  }

}

/* ------------------- Contacto - Formulario -----*/

.decor-sticky-line {
  position: sticky;
  z-index: 2;
  top: 10rem;
  height: .5rem;
  background-color: var(--decor-sticky-line-background);
}

.cont-contact {
  width: 100%;
  padding: 10rem 2% 0 2%;
  background: var(--degradado-azul-verde);
  font-size: 1.5rem;
}

.contact-intro {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding-bottom: 3rem;
  color: var(--blanco-puro);
  font-size: 2.4rem;
  text-align: center;
  justify-content: center;
}

.intro__title {
  width: 100%;
  font-size: 3.2rem;
  font-weight: normal;
  padding-bottom: 3rem;
}

.intro__subtitle {
  min-width: 35rem;
  padding: .5rem;
}

/* ------------------- Formulario -----*/

.contact-form {
  width: 100%;
  max-width: 120rem;
  margin: 2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: right;
}

.form-part {
  flex: 1;
  min-width: 35rem;
  padding: 0 1rem;
  min-height: 10rem;
}

.form-part__data,
.form-part__msg {
  width: 100%;
  height: 4.5rem;
  padding: 0 .7rem;
  margin: 1rem 0;
  background-color: var(--blanco-puro);
  border-radius: .5rem;
  border-color: var(--blanco-puro);
  border-style: none;
  outline: none;
}

.form-part__msg {
  min-height: 17.5rem;
  resize: vertical;
  padding-top: 1rem;
}

.form-foot {
  width: 100%;
  display: flex;
  justify-content: right;
}

.form-foot__buttom {
  padding: .5rem 2rem;
  margin: 1rem;
  color: var(--blanco-puro);
  background-color: var(--transparente-100);
  border-radius: .3rem;
  border-style: solid;
  border-color: var(--blanco-puro);
}

.form-foot__buttom:hover {
  background-color: var(--azul-oscuro);
}
/*--fin: formulario ------------------------*/

/* ------------------- Social Net -----*/
.contact-nets {
  display: flex;
  width: 100%;
  height: 90px;
  padding: 1rem 4rem;
  background: var(--degradado-azul-verde);
}

.net__icon {
  width: 50px;
  height: 50px;
  padding: 10px;
  margin: 1rem;
  transition: .3s;
}

.net__icon:hover {
  height: 60px;
  padding-bottom: 20px;
  margin-top: 0;
  transition: .5s;
}

.up {
  position: sticky;
  z-index: 5;
  top: 30rem;
  left: 1rem;
}

/*--fin: cont-contact------------------------*/

/** Responsive **/

@media screen and (max-width: 1200px) {

  :root {
    /* 3 en pantalla*/
    --move-left-icon: -33.33%;
  }

  .cont-frames-icon {
    /* 3 en pantalla*/
    width: 533%;
  }

  /* .back-picture-block__img-large {
    width: 110%;
    transition: 2s;
  } */
}

@media screen and (max-width: 950px) {

  .brand-big {
    display: none;
  }

  .brand-mini {
    display: block;
  }

  :root {
    /* 2 en pantalla*/
    --move-left-icon: -50%;

    /* 8 en pantalla*/
    --move-left-tecno: -12.5%;
  }

  .cont-frames-icon {
    width: 800%;
  }

  .cont-frames-tecno {
    /* 8 en pantalla*/
    width: 262.5%;
  }

  .back-picture-block__img-large {
    display: none;
  }

  .back-picture-block__img-short {
    display: block;
  }
}

@media screen and (max-width: 800px) {

  :root {
    /* 7 en pantalla*/
    --move-left-tecno: -14.29%;
  }

  .cont-frames-tecno {
    /* 7 en pantalla*/
    width: 300%;
  }

  .back-picture-block__img-short {
    width: 90%;
    transition: 2s;
  }
}

@media screen and (max-width: 650px) {

  :root {
    /* 1 en pantalla*/
    --move-left-icon: -100%;

    /* 6 en pantalla*/
    --move-left-tecno: -16.67%;
  }

  .cont-frames-icon {
    width: 1600%;
    animation-duration: 30s;
  }

  .cont-frames-tecno {
    /* 6 en pantalla*/
    width: 350%;
  }

  .back-picture-block__img-short {
    width: 100%;
    transition: 2s;
    display: block;
  }
}

@media screen and (max-width: 600px) {

  :root {
    /* 5 en pantalla*/
    --move-left-tecno: -20%;
  }

  .cont-frames-tecno {
    /* 5 en pantalla*/
    width: 420%;
  }

}

@media screen and (max-width: 570px) {

  :root {
    /* 4 en pantalla*/
    --move-left-tecno: -25%;
  }

  .cont-frames-tecno {
    /* 4 en pantalla*/
    width: 525%;
  }

}