body{
  background: #1D1D1DFF;
}

/*--------Estilos Cursor animado----------*/

.main {
  font-size: 0px;
}

canvas {
  position: fixed;
  background: black !important;
  z-index: -1;
  top: 0;
}


/*--------Fin Estilos Cursor animado----------*/

.container-all-items{
  width: 500%;
  display: flex;
  justify-content: center;
  margin: auto;
  margin-top: -540px;
}

.container-all1{
  width: 20%;
  z-index: -999;
  margin-top: -210px;
}
.container-all2{
  width: 80%;
  max-height: 100vh;
  overflow-y: scroll;
  margin-top: -213px;
}

.container-all2 img{
  width: 100%;
}

.Title-index h1{ 
  font-family: Merry; 
  font-size: 90px;
  color: #FFFFFFFF;
  margin-left: 120px; 
  margin-bottom: -80px;
}

.Title-index{
  margin-bottom: 100px;
}

/*-------------Estilos hover letras---------------*/

h1 {
  font-size: 4rem;
}

.bounce {
  animation-name: bounce;
}

.bouncing-letters span {
  animation-timing-function: linear;
  animation-duration: 1s;
  animation-iteration-count: 1;
  display: inline-block;
}

.bouncing-letters span:hover{
  color: #2FCCCCFF;
}

@keyframes bounce {
  20%,
  50%,
  80%,
  to {
    transform: scale(1, 1);
  }
  40% {
    transform: scale(1.75, 0.65);
  }
  45% {
    transform: scale(1.75, 0.65);
  }
  70% {
    transform: scale(1.25, 0.75);
  }
  90% {
    transform: scale(1.15, 0.85);
  }
}

.main {
  font-size: 0px;
  color: #1D1D1DFF;
  border: none;
}

.letter1{
  color: #2FCCCCFF;
}
/*-------------Fin Estilos hover letras---------------*/

/*-----------Estilos fondo HTML-----------------------*/

.fondCode1 h2{
  color: gray;
  font-family: Mady;
  font-size: 30px;
}

.fondCode1{
  position: relative;
  background: none;
  height: 600px;
  top: -390px;
  z-index: -1;
  margin-left: 20px;
}

.fondbody{
  margin-left: 25px;
  margin-top: -30px;
}

.fondhl1{
  margin-left: 25px;
  margin-top: -20px
}

.fondhl2{
  margin-left: 900px;
  margin-top: 200px
}

.fondCode1 h3{
  position: relative;
  top: -100px;
  left: 105px;
  color: #8D8D8DFF;
  font-size: 27px;
}

/*---------Fin estilos fondo HTML-------*/

/*-------------Estilos ribbon-------------*/

.ribbon {
  height: 188px;
  position: relative;
  margin-bottom: 30px;
  background: url(https://html5book.ru/wp-content/uploads/2015/10/snow-road.jpg);
  background-size: cover;
  text-transform: uppercase;
  color: white;
}
.wrap {
  width: 100%;
  height: 188px;
  position: absolute;
  top: -8px;
  left: 8px;
  overflow: hidden;
}
.wrap:before, .wrap:after {
  content: ""; 
  position: absolute;
}
.wrap:before {
  width: 40px;
  height: 8px;
  right: 100px;
  background: #FFFFFF;
  border-radius: 8px 8px 0px 0px;
}
.wrap:after {
  width: 8px;
  height: 40px;
  right: 0px;
  top: 100px;
  background: #FFFFFF;
  border-radius: 0px 8px 8px 0px;
}
.ribbon6 {
  width: 200px;
  height: 40px;
  line-height: 40px;
  position: absolute;
  top: 30px;
  right: -50px;
  z-index: 2;
  overflow: hidden;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  border: 1px dashed;
  box-shadow:0 0 0 3px #FFFFFF,  0px 21px 5px -18px rgba(0,0,0,0.6);
  background: #FFFFFF;
  text-align: center;
  color:  #1D1D1DFF;
  font-weight: bolder;
}
@media (min-width: 500px) {
  .ribbons-wrapper {
    display: flex;
    flex-wrap: wrap;
  width: 100%;
  justify-content: right;
  margin-left: -20px;
  position: relative;
  top: -635px;
  background: red;
    height: 0px;
  }
  .ribbon {
    width: 48%;
  }
}

/*---------Fin Estilos ribbon-------------*/


*--------Estilos portafolio info-------------*/

.container-all-items{
  width: 500%;
  display: flex;
  justify-content: center;
  margin: auto;
  margin-top: -540px;
}

.container-all1{
  width: 20%;
  z-index: -999;
  margin-top: -210px;
}

.container-all2 img{
  width: 100%;
}

.container-products{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
  height: 0px;
  margin-top: -600px;
}
.product{
  width: 100%;
  background: #3A3B3DFF;
}

.item{
  width: 100%;
}


/*--------Estilos portafolio info-------------*/
@import url(https://fonts.googleapis.com/css?family=Raleway:400,500,700);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
figure.snip1477 {
  font-family: 'Raleway', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 0px;
  width: 100%;
  color: #ffffff;
  text-align: center;
  font-size: 16px;
  background: #3A3B3DFF;
  height: 250px;
}
figure.snip1477 *,
figure.snip1477 *:before,
figure.snip1477 *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.55s ease;
  transition: all 0.55s ease;
}
figure.snip1477 img {
  max-width: 100%;
  backface-visibility: hidden;
  vertical-align: top;
  opacity: 0.9;
  height: 100%;
  object-fit: cover;
}
figure.snip1477 .title {
  position: absolute;
  top: 58%;
  left: 25px;
  padding: 5px 10px 10px;
}
figure.snip1477 .title:before,
figure.snip1477 .title:after {
  height: 2px;
  width: 400px;
  position: absolute;
  content: '';
  background-color: #ffffff;
}
figure.snip1477 .title:before {
  top: 0;
  left: 10px;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}
figure.snip1477 .title:after {
  bottom: 0;
  right: 10px;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
}
figure.snip1477 .title div:before,
figure.snip1477 .title div:after {
  width: 2px;
  height: 300px;
  position: absolute;
  content: '';
  background-color: #ffffff;
}
figure.snip1477 .title div:before {
  top: 10px;
  right: 0;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
}
figure.snip1477 .title div:after {
  bottom: 10px;
  left: 0;
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
}
figure.snip1477 h2,
figure.snip1477 .title a {
  margin: 0;
  text-transform: uppercase;
  margin-bottom: 35px;
}
figure.snip1477 h2 {
  font-weight: 400;
}
figure.snip1477 .title a {
  display: block;
  font-weight: 700;
  background-color: #ffffff;
  padding: 16px 10px;
  color: #000000;
  text-decoration: none;
  font-size: 17px;
  width: 85%;
  margin: auto;
  margin-top: 35px;
  height: 0px;
}

figure.snip1477 .title h4{
  margin-top: -10px;
  font-weight: 550;
}
figure.snip1477 figcaption {
  position: absolute;
  bottom: 42%;
  left: 25px;
  text-align: left;
  opacity: 0;
  padding: 5px 60px 5px 10px;
  font-size: 0.8em;
  font-weight: 500;
  letter-spacing: 1.5px;
}
figure.snip1477 figcaption p {
  margin: 0;
}
figure.snip1477 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
figure.snip1477:hover img,
figure.snip1477.hover img {
  zoom: 1;
  filter: alpha(opacity=35);
  -webkit-opacity: 0.35;
  opacity: 0.35;
}
figure.snip1477:hover .title:before,
figure.snip1477.hover .title:before,
figure.snip1477:hover .title:after,
figure.snip1477.hover .title:after,
figure.snip1477:hover .title div:before,
figure.snip1477.hover .title div:before,
figure.snip1477:hover .title div:after,
figure.snip1477.hover .title div:after {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}
figure.snip1477:hover .title:before,
figure.snip1477.hover .title:before,
figure.snip1477:hover .title:after,
figure.snip1477.hover .title:after {
  -webkit-transition-delay: 0.15s;
  transition-delay: 0.15s;
}
figure.snip1477:hover figcaption,
figure.snip1477.hover figcaption {
  opacity: 1;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

.snip1477 .title{
  opacity: 0;
}

/*--------Fin Estilos portafolio info-------------*/

.section3{
  background: #1D1D1DFF;
  min-height: 855px;
  max-height: 855px;
  margin-bottom: -330px;
}

.section3 .button-portafolio{
  width: 100%;
  text-align: center;
}

.button-portafolio input{
  font-size: 30px;
  position: relative;
  top: 780px;
  z-index: 999999999;
  padding: 10px 80px;
  border: 3px solid #2FCCCCFF;
  background: #1D1D1DFF;
  color: #2FCCCCFF; 
}

.button-portafolio input:hover{
  background: #2FCCCCFF;
  color: #1D1D1DFF;
}

.section4{
  min-height: 700px;
  background:  none;
  margin-top: -30px;
  position: relative;
  z-index: 9;
  display: flex;
  justify-content: center;
}

.section4 .Title-index{
  margin-top: 167px;
  position: relative;
  z-index: 999;
}

.section4 .Title-index h1{
  font-size: 70px;
  margin-left: 100px;
  color: #2FCCCCFF;
  width: 70%;
}


.fondsection1-2, .fondh24-1{
  position: relative;
  top: 450px;
  left: 20px;
  z-index: 99999999;
  width: 25%;
}

.fondh24-2, .fondp4-1{
  position: relative;
  top: 450px;
  left: 20px;
  margin-bottom: -30px;
}

.fondh24-1, .fondh24-2, .fondp4-1{
  position: relative;
  left: 40px; 
  width: 20%;
}

.section4 .fondCode1{
  height: 0px;
}

.info4-1 p, .info4-2 p{
  color: #fff;
  text-align: justify;
  width: 62%;
  margin: auto;
}
.info4-1{
  width: 50%;
}

.info4-2{
  width: 50%;
}

.info4-1 p{
  margin-top: 140px;
  
}

.info4-2 p{
  margin-top: 90px;
}

.fondp4-2{
  position: relative;
  width: 25%;
  top: 370px;
  left: 40px;
}

/*--------animaciones section info----*/

body {
  margin: 0;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(to right, #1e1f20, #2a2b2c, #1e1f20);
}
li {
  list-style: none;
}

.list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 930px;
  background: radial-gradient(circle at 70% 100%, #3f4142 0%, #2d2e30 50%);
  padding: 30px 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 30%);
  width: 500px;
  margin: auto;
  margin-top: 100px;
  margin-left: -10px;
}
.list li {
  width: 100px;
  margin: 5px;
  position: relative;
  perspective: 200px;
  transition: all 0.2s;
}
.list li img {
  width: 100%;
  vertical-align: top;
}
.list li .mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/*--------Fin animaciones section info----*/


@media only screen and (max-width: 1000px) {

.container-all-items{
  display: flex;
  flex-direction: column;
  margin-top: 00px;
} 
.container-all1{
  width: 100%;
  background: blue;
}

.container-all2{
  width: 100%;
  margin-top: 70px;
  overflow-x: hidden;
}

.fondCode1 h2{
  font-size: 50px;
}

.section4{
  margin-top: 700px;
  height: 2800px;
  flex-direction: column;
}

.fondsection1-2{
  position: relative;
  top: -50px;
}

.fondh24-1{
  position: relative; 
  top: -80px;
}

.fondh24-2{
  position: relative; 
  top: -80px;
  margin-top: -10px;
}

.section4 .Title-index{
  width: 200%;
}
.section4 .Title-index h1{
  position: relative;
  top: -500px;
  font-size: 110px;
  margin-top: 30px;
  text-align: center;
  margin-left: 140px;
}

.fondh24-2{
  position: relative;
  top: -40px;
}

.info4-1{
  position: relative;
  top: -1000px;
}

.info4-1 p{
  margin-top: -550px;
}

.info4-1 .fondCode1 h2{
  min-width: 50%;
}

.fondp4-1{
  position: relative;
  top: -20px;
}

.fondp4-2{
  position: relative;
  top: 620px;
}
  
.info4-1 p{
  position: relative;
  top: 240px;
  width: 170%;
  margin-left: 70px;
  font-size: 45px;
}

.info4-2 ul{
  width: 190%;
  margin-left: 25px;
  margin-top: -550px;
  margin-bottom: -200px;
}

.info4-2 li{
  width: 200px;
}

.formulario .info4 .input1 input{
  max-width: 87%;
}

.formulario .info4 .input2 input{
  max-width: 87%;
}

.formulario{
  overflow: hidden;
  position: relative; 
  top: -300px;
}

.main-footer{
  max-width: 95%;
  position: relative; 
}

}

@media only screen and (min-width: 1000px) and (max-width: 1300px) {
  .section4 .Title-index h1{
    font-size: 55px;
  }

  .info4-2 ul{
    width: 95%;
  }

  .fondCode1 h2{
    width: 50%;
  }
}