/* =============================================================================
   HTML5 CSS Reset Minified - Eric Meyer
   ========================================================================== */

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
body {
  line-height: 1;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
nav ul {
  list-style: none;
}
nav{
  width: auto;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: none;
}
a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
}
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}
del {
  text-decoration: line-through;
}
abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
input,
select {
  vertical-align: middle;
}
li {
  list-style: none;
}

/* =============================================================================
   My CSS
   ========================================================================== */

/* ---- base ---- */

html,
body {
  width: 100%;
  height: 100%;
  background: #161342;
  background-attachment: fixed;
}

html {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
}

canvas {
  display: block;
  vertical-align: bottom;
}

/* ---- particles.js container ---- */

#particles-js {
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: transparent;
  background-image: url("");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Quicksand", sans-serif;
  font-weight: bold;
}

.frame-content {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

header {
  /* position: relative; */
  color: white;
  display: flex;
  justify-content: space-between;
  /* padding: 2rem 4rem; */
}

header{
    position: fixed;
    z-index: 1000;
    top: 0;
    width: 100vw;
    transition: all 0.5s ease-in-out;
    height: 10rem;
}

.color{
  /* background-color:rgba(101, 119, 151, 0.4); */
  background-color: #161342;
  -webkit-box-shadow: 0px 5px 10px -5px rgba(151,175,213,1);
  -moz-box-shadow: 0px 5px 10px -5px rgba(151,175,213,1);
  box-shadow: 0px 5px 10px -5px rgba(151,175,213,1);
  height: 6rem;
}

nav#main-menu {
  align-self: center;
  padding: 2rem 4rem;
}

nav#main-menu ul {
  display: flex;
    justify-content: space-between;
    margin: 0;
}

nav#main-menu ul li {
  padding: 0 1.3rem;
  font-weight: bold;
  font-family: "Quicksand", sans-serif;
}

nav#main-menu ul li a {
  color: white;
  cursor: pointer;
  -webkit-transition: all 0.18s ease-in-out;
  -moz-transition: all 0.18s ease-in-out;
  -o-transition: all 0.18s ease-in-out;
  transition: all 0.18s ease-in-out;
}

nav#main-menu ul li a:hover {
  color: #f42f54;
  font-weight: bold;
}

.logo {
  align-self: center;
  font-size: 1.8em;
  font-family: "Quicksand", sans-serif;
  font-weight: bold;
  padding: 2rem 4rem;
}

.logo .stronger {
  color: #f42f54;
  font-weight: bold;
}

.logo img{
  width: 2rem;
}

section {
  position: relative;
}

section.home {
  display: grid;
  grid-template-columns: repeat(5, 20%);
  grid-template-rows: repeat(4, 100px);
  padding: 10rem 0 4rem 0;
}

section.home h1 {
  font-size: 2em;
  color: white;
  grid-column: 2 / span 2;
  grid-row: 2 / span 1;
}

section.home p {
  grid-column: 2 / span 2;
  grid-row: 3 / span 2;
  color: #97afd5;
  font-size: 1.25rem;
  line-height: 2em;
  letter-spacing: 0.02em;
}

section.home button {
  grid-row: 4;
  grid-column: 2;
  border: transparent;
  height: 3rem;
  border-radius: 50px;
  background-color: #f42f54;
  color: white;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-transition: all 0.18s ease-in-out;
  -moz-transition: all 0.18s ease-in-out;
  -o-transition: all 0.18s ease-in-out;
  transition: all 0.18s ease-in-out;
  font-weight: bold;
  align-self: flex-end;
}

section.home button:hover {
  box-shadow: rgba(255, 255, 255, 0.2) 0px 10px 10px;
}

section.home .home-img img {
  max-width: 500px;
  grid-column: 4;
}

section.home .home-img {
  grid-column: 4 / span 2;
  grid-row: 1 / span 4;
  overflow: hidden;
}

section.about {
  padding: 5rem 0 4rem 0;
}

section.about .frame-about {
  background-image: url(../img/globe-particle.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-position-y: top;
  display: flex;
  flex-direction: column;
  color: #fff;
  align-items: center;
  padding: 4rem 0;
}

section.about .frame-about h1 {
  font-size: 2em;
  color: white;
}

section.about .frame-about .description {
  padding: 4rem 0;
  color: rgb(151, 175, 213);
  font-size: 1.2rem;
  max-width: 80%;
  line-height: 2em;
}

section.about .process {
  width: 100%;
}

section.about .process ul {
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
}

section.about .process ul li {
  padding: 1rem 2rem;
  font-family: "Quicksand", sans-serif;
  font-weight: 500;
  text-align: center;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  height: 200px;
  max-height: 200px;
  display: flex;
  flex-direction: column;
}

section.about .process ul li:hover {
  -webkit-box-shadow: 0px 2px 10px 6px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 2px 10px 6px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 2px 10px 6px rgba(0, 0, 0, 0.2);
}

section.about .process ul li:first-child,
section.about .process ul li:last-child {
  margin-top: 4rem;
}

section.about .process ul li img{
  margin: auto;
}

section.about .process ul li p {
  font-size: 1em;
  padding: 1rem 0;
  color: rgb(151, 175, 213);
  line-height: 1.5em;
}

section.about .process ul li span {
  width: 1px;
  height: 2rem;
  display: block;
  background-color: white;
  position: relative;
  margin-left: 50%;
}

section.services {
  padding: 5rem 0 4rem 0;
  display: flex;
  flex-direction: column;
  color: #fff;
  align-items: center;
}

section.services h1 {
  font-size: 2em;
  color: white;
}

section.services .frame-card {
  padding: 4rem 2rem;
}

section.services .service-card {
  position: relative;
  padding: 15px 25px;
  text-align: center;
}

section.services .service-card:before {
  left: 0;
  border-radius: 6px 0 0 6px;
  border-right: none !important;
}

section.services .service-card:after {
  right: 0;
  border-radius: 0 6px 6px 0;
  border-left: none !important;
}

section.services .service-card:before,
section.services .service-card:after {
  position: absolute;
  content: "";
  top: 0;
  height: 100%;
  width: 50px;
  border: 2px solid #5b77a3;
  transition: all 0.4s;
}

section.services .service-card:hover::before,
section.services .service-card:hover::after {
  width: 80px;
}

section.services .frame-card .service-card h3 {
  padding: 0.5rem 0;
  color: #f42f54;
  font-size: 1.2em;
  font-family: Roboto, sans-serif;
  text-transform: uppercase;
}

section.services .frame-card .service-card p {
  width: 90%;
  margin: auto;
  padding: 1rem 0;
  color: rgb(151, 175, 213);
  line-height: 1.5em;
  font-size: 1em;
}

section.contact {
  padding: 10rem 0px 4rem 0;
}

section.contact .info {
  position: relative;
}

section.contact .info .phone {
  display: inline;
  width: 2em;
  height: 2em;
  vertical-align: middle;
}

section.contact .info .email {
  display: inline;
  width: 2em;
  height: 2em;
  vertical-align: middle;
}

section.contact .info .fb {
  display: inline;
  width: 2em;
  height: 2em;
  vertical-align: middle;
}

section.contact .info ul li a {
  color: white;
  cursor: pointer;
  z-index: 100;
  position: relative;
}

section.contact .info ul {
  margin: 0;
  padding: 0;
  text-align: center;
}

section.contact .info ul li {
  padding: 10px 0;
}

section.contact .frame-contact {
  display: flex;
  flex-direction: row;
  color: rgb(255, 255, 255);
  align-items: center;
  padding: 4rem 2rem;
  justify-content: space-evenly;
  position: relative;
}

section.contact .circle-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 400px;
  width: 400px;
  overflow: hidden;
}

section.contact .circle-frame::before {
  border-width: 1px;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  animation: rotatecw 30s linear infinite 0s;
  position: absolute;
  content: "";
  border: 2px solid rgba(24, 56, 105, 0.4);
  border-radius: 50%;
  border-top-color: #fff !important;
  border-right-color: #fff !important;
}

section.contact .circle-frame::after {
  top: 35px;
  left: 35px;
  bottom: 35px;
  right: 35px;
  border-width: 1px;
  animation: rotateacw 24s linear infinite 0s;
  position: absolute;
  content: "";
  border: 2px solid rgba(24, 56, 105, 0.4);
  border-radius: 50%;
  border-top-color: #fff !important;
  border-bottom-color: #fff !important;
}

@keyframes rotatecw {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes rotateacw {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

section.contact h1 {
  font-size: 2em;
  color: white;
  text-align: center;
}

section.contact .info {
  flex: 1 1 0;
}

section.contact .contact-form {
  flex: 1 1 0;
  padding: 0 1rem;
}

form input,
form textarea {
  border-radius: 2px;
  color: #97afd5;
  border-color: rgba(101, 119, 151, 0.4);
  border-radius: 6px;
  border: 1px solid #dbe4f7;
  width: auto;
  padding: 10px 15px;
  line-height: 21px;
  font-size: 0.9em;
  color: #8ca2e5;
  transition: all 0.4s;
  background-color: transparent;
}

form textarea {
  height: 105px;
  resize: none;
  outline: none;
  width: 90%;
}

form input,
form label {
  display: block;
}

section.contact form {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

section.contact form .column-1 {
  grid-column: 1;
}

section.contact form .column-2 {
  grid-column: 2;
}

section.contact form .column-3 {
  grid-column: 1 / span 2;
  grid-row: 2;
}

section.contact .form-head {
  padding: 5% 0;
  margin: auto;
  width: 100%;
}

section.contact .form-head p {
  padding: 1rem 0;
  color: rgb(151, 175, 213);
  line-height: 1.5em;
  font-size: 1em;
  max-width: 90%;
}

section.contact button {
  height: 3rem;
  background-color: rgb(244, 47, 84);
  color: white;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: bold;
  align-self: flex-end;
  border-width: initial;
  border-style: initial;
  border-color: transparent;
  border-image: initial;
  border-radius: 50px;
  transition: all 0.18s ease-in-out 0s;
  padding: 1rem 4rem;
  margin: 1rem 0;
  grid-column: 1 / span 1;
  grid-row: 4;
  justify-self: stretch;
  align-self: start;
}

.g-recaptcha {
  grid-column: 1 / span 2;
  grid-row: 3;
  justify-self: left;
}

section.contact button:hover {
  box-shadow: rgba(255, 255, 255, 0.2) 0px 10px 10px;
}

footer {
  position: relative;
  padding-top: 30px;
  padding-bottom: 30px;
}

footer .copyright {
  color: #97afd5;
  padding: 1rem 20px;
}
@media only screen and (max-width: 375px) {
  
  .logo {
    padding: 0;
  }
    header {
      padding: 2rem 1rem;
    }
  
    section.contact .circle-frame {
      height: 300px;
      width: 300px;
    }
  
    section.contact .info ul {
      font-size: 0.9em;
    }
  
    section.contact form {
      grid-template-columns: 100%;
      height: 100%;
    }
    section.contact form .column-1 {
      grid-column: 1;
      grid-row: 1;
    }
    section.contact form .column-2 {
      grid-column: 1;
      grid-row: 2;
    }
    section.contact form .column-3 {
      grid-column: 1;
      grid-row: 3;
    }
  
    .g-recaptcha {
      grid-row: 4;
    }
  
    section.contact form button {
      grid-row: 5;
    }
  
    form textarea {
      width: 85%;
    }
  
    section.contact .form-head h3 {
      width: 100%;
    }
  
    section.contact .form-head p {
      max-width: 100%;
    }
  }
  @media only screen and (max-width: 500px) {

    .carousel .carousel-item {
      width: 18rem!important;
      height: 18rem!important;
  }
  
  .logo {
    padding: 2rem 2rem;
  }
    header {
      position: relative;
    }
    section#precios .container {
      flex-direction: column;
      align-items: center;
    }
    section.home {
      grid-template-rows: repeat(5, 100px);
    }
    section.home button {
      grid-row: 5;
      align-self: start;
    }
    section.contact .form-head h3 {
      width: 90%;
      margin: auto;
      padding-top: 4rem;
    }
  
    section.contact .form-head p {
      margin: auto;
    }
  
    section.home h1 {
      grid-row: 1 / span 1;
    }
  
    section.home p {
      grid-row: 2 / span 2;
    }
  
    section.about .process ul li span{
      display: none;
    }
  }
  @media only screen and (max-width: 800px) {
    section.home .home-img {
      display: none;
    }
  
    section.home h1 {
      grid-column: 2 / span 3;
    }
  
    section.home p {
      grid-column: 2 / span 3;
    }
  
    section.home button {
      grid-column: 2 / span 3;
    }
    section.contact .frame-contact {
      flex-direction: column;
    }
    section.contact .circle-frame {
      top: 25%;
    }
  
    section.contact .info {
      margin-top: -2rem;
      margin-bottom: 5rem;
    }
  
    section.about .process ul {
      flex-wrap: wrap;
    }
  
    section.about .process ul li {
      width: 40%;
    }
  
    section.about .process ul li:first-child,
    section.about .process ul li:last-child {
      margin-top: 0;
    }
  
    section.about .frame-about {
      padding: 0;
    }
  
    section.about .frame-about {
      background-size: 65rem;
    }
    /*Daniel Hernandez*/
    section#precios .container {
      flex-direction: column;
      align-items: center;
    }
    section#precios .grid-1-5 {
        /*Daniel Hernandez*/
        /*width: 10rem;*/
        width: 100%;
        /*min-height: 20rem;*/
        margin: auto;
        border: 3px solid yellow;
    }
    section#precios .grid-1-5 .button {
        font-size: 1em;
        /*left: 8%;*/
        margin: auto;
        width: 50%;
    }
  }
  @media only screen and (max-width: 1024px) {
    section.about .frame-about {
      background-size: 85rem;
    }
  }
@media only screen and (min-width: 1920px) {
  body {
    font-family: "Roboto", sans-serif;
    font-size: 2rem;
}

p{
  font-size: 1.7rem!important;
}

.ribbon span {
  width: 245px!important;
font-size: 2rem!important;
line-height: 65px!important;
top: 35px!important;
left: -55px!important;
}

.ribbon{
  width: 200px!important;
    height: 200px!important;
}
section#precios .button {
left: 30%!important;
    color: rgb(16, 33, 84)!important;
}

section#precios .grid-1-5{
  min-height: 50rem!important;
}
.process ul li img {
  width: 6rem!important;
}

section.home {
  grid-template-rows: 100px 200px 200px 100px!important;
}
section#precios .container {
max-width: 100%;
width: 100%!important;
}

section.contact .circle-frame {
width: 600px!important;
    height: 600px!important;
}
section.contact button {
height: 5.2rem!important;
font-size: 1.7rem!important;
}
section.home button {
  height: 5.2rem!important;
font-size: 1.7rem!important;
}
.carousel .carousel-item {
  width: 50rem!important;
  height: 50rem!important;
}
section.portafolio h1 {
padding: 0px 0rem 10rem 0!important;
}

.carousel .carousel-item {
  top: 135px!important;
}

section.home .home-img img {
  max-width: 700px!important;
  grid-column: 4;
}

.color {
  height: 12rem!important;
}
.logo img {
  width: 4rem!important;
}


#myBtn {
  font-size: 2rem!important;
}
}

#open-menu {
  font-weight: bold;
  letter-spacing: 0.1em;
  display: none;
}

/* The Overlay (background) */
.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */
  height: 100%;
  width: 0;
  position: fixed; /* Stay in place */
  z-index: 200; /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgb(22, 19, 66); /* Blue fallback color */
  background-color: rgba(22, 19, 66, 0.9); /* Blue w/opacity */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 25%; /* 25% from the top */
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #b7b2b2;
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover,
.overlay a:focus {
  color: #f1f1f1;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 470px) {
  .overlay a {
    font-size: 20px;
  }
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }

  section#precios .grid-1-5 {
        /*Daniel Hernandez*/
        /*width: 10rem;*/
        width: 100%;
        /*min-height: 20rem;*/
        margin: auto;
        border: 3px solid yellow;
    }
    section#precios .grid-1-5 .button {
        font-size: 1em;
        /*left: 8%;*/
        margin: auto;
        width: 50%;
    }
}

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: rgb(244, 47, 84); /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #161342; /* Add a dark-grey background on hover */
}

.process ul li img{
  width: 3rem;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  border-radius: 10px;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.portfolio-wall{
  display: flex;
  justify-content: space-evenly;
}

.portfolio-wall .brick img{
  max-width: 300px;
  transition-property:all;
-moz-transition-property: all; /* Firefox 4 */
-webkit-transition-property:all; /* Safari and Chrome */
-o-transition-property:all; /* Opera */

transition-duration: 0.1s;
-moz-transition-duration: 0.1s; /* Firefox 4 */
-webkit-transition-duration: 0.1s; /* Safari and Chrome */
-o-transition-duration: 0.1s; /* Opera */

transition-timing-function: cubic-bezier(0,0,1,1);
-moz-transition-timing-function: cubic-bezier(0,0,1,1); /* Firefox 4 */
-webkit-transition-timing-function: cubic-bezier(0,0,1,1); /* Safari and Chrome */
-o-transition-timing-function: cubic-bezier(0,0,1,1); /* Opera */ 
}

.modal-header{
  padding: 2rem 0;
    display: flex;
}

.modal-content p{
  padding: 2rem;
  font-family: "Quicksand", sans-serif; 
}

.modal-content .portfolio-wall .brick img{
  -webkit-box-shadow: 0px 0px 19px -6px rgba(46,45,46,1);
-moz-box-shadow: 0px 0px 19px -6px rgba(46,45,46,1);
box-shadow: 0px 0px 19px -6px rgba(46,45,46,1);
}

section#precios .container {
  margin: 0 auto;
  width: 90%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
}

section#precios .group:after {
  content: "";
  display: table;
  clear: both;
}
/*Daniel Hernandez*/
section#precios .group:after {
    content: "";
    display: flex;
    flex-flow: column;
    padding-top: 1em;
}

section#precios .grid-1-5 {
  /*position: relative;
  color:#b9b9b9;
  border: 2px solid #5b77a3;
  min-height: 400px;
  padding: 1.25em;
  position: relative;
  text-align: center;
  transition: all .2s ease-in-out;*/
  /*Daniel Hernandez*/
  position: relative;
  color: #b9b9b9;
  min-height: 400px;
  position: relative;
  text-align: center;
  transition: all .2s ease-in-out;  
  background-color: #f6f6f6;
  border: 2px solid #DDD;
  border-bottom: 2px solid #DDD;
  display: block;
  padding: 1em 0;
  text-align: center;
  width: 100%;



}
@media screen and (max-width: 768px) {
  nav#main-menu {
    display: none;
  }
  #open-menu {
    display: block !important;
  }
  #open-menu{
    margin: auto;
  }

section#precios .grid-1-5 {
        /*width: 10rem;*/
        width: 100%;
        /*min-height: 20rem;*/
        margin: auto;
    }
    section#precios .grid-1-5 .button {
        font-size: 1em;
        /*left: 8%;*/
        margin: auto;
        width: 50%;
    }
}
@media screen and (min-width: 800px) {
  section#precios .grid-1-5 {
    width: 33.3333333%;
  }
  section#precios .grid-1-5:nth-child(3n+1) {
    clear: left;
  }
  section#precios .grid-1-5:nth-child(odd) {
    clear: none;
  }
}
@media screen and (min-width: 1120px) {
  section#precios .grid-1-5 {
    /*Daniel Hernandez*/
        /*width: 20%;*/
  }
  section#precios .grid-1-5 .button {
        margin: auto;
        width: 50%;
    }
  section#precios .grid-1-5:nth-child(odd), section#precios .grid-1-5:nth-child(3n+1) {
    clear: none;
  }
}

section#precios .grid-1-5:hover {
  /*color:#ffffff;
  background-color: #53455b;
  *zoom: 1;
  filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF53455B', endColorstr='#FF201D22');
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzUzNDU1YiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzIwMWQyMiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #53455b), color-stop(100%, #201d22));
  background-image: -moz-linear-gradient(top, #53455b 0%, #201d22 100%);
  background-image: -webkit-linear-gradient(top, #53455b 0%, #201d22 100%);
  background-image: linear-gradient(to bottom, #53455b 0%, #201d22 100%);
  border-top: 2px solid #00BAFF;
  border-bottom: 2px solid #006DFF;
  box-shadow: 0px 0px 10px 0px #323232;
  transform: scale(1.025);
  z-index: 2;*/
  /*Daniel Hernandez*/
  *zoom: 1;
  border-top: 2px solid #00BAFF;
  border-bottom: 2px solid #006DFF;
  box-shadow: 0px 0px 10px 0px #323232;
  transform: scale(1.025);
  z-index: 2;
}
section#precios .grid-1-5:hover:before, .grid-1-5:hover:after {
  content: "";
  position: absolute;
  background-color: #00BAFF;
  *zoom: 1;
  filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FFF67D35', endColorstr='#FFFF4F68');
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y2N2QzNSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmNGY2OCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #00BAFF), color-stop(100%, #006DFF));
  background-image: -moz-linear-gradient(top, #00BAFF 0%, #006DFF 100%);
  background-image: -webkit-linear-gradient(top, #00BAFF 0%, #006DFF 100%);
  background-image: linear-gradient(to bottom, #00BAFF 0%, #006DFF 100%);
  top: -2px;
  bottom: -2px;
  width: 2px;
}
section#precios .grid-1-5:hover:before {
  left: -2px;
}
section#precios .grid-1-5:hover:after {
  right: -2px;
}
section#precios .grid-1-5:hover .button {
  background-color: #00BAFF;
  *zoom: 1;
  filter: progid:DXImageTransform.Microsoft.gradient(gradientType=1, startColorstr='#FFEE7A36', endColorstr='#FFEB495D');
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuMCIgeTE9IjAuNSIgeDI9IjEuMCIgeTI9IjAuNSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VlN2EzNiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ViNDk1ZCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #00BAFF), color-stop(100%, #006DFF));
  background-image: -moz-linear-gradient(left, #00BAFF 0%, #006DFF 100%);
  background-image: -webkit-linear-gradient(left, #00BAFF 0%, #006DFF 100%);
  background-image: linear-gradient(to right, #00BAFF 0%, #006DFF 100%);
}

section#precios h2, h3, p, ul {
  margin: 0;
}

section#precios h2 {
  /*font-size: 1em;
  font-weight: 400;
  margin: 0 0 0.5em;*/

  font-size: 1em;
  font-weight: 400;
  color: black;
  font-weight: bold;
  letter-spacing: -0.05em;
  margin: 0;
  padding: 0.75em 1em 1.25em;
}

section#precios h3 {
  font-size: 1.5em;
  letter-spacing: 0.0625em;
  margin: 0 0 0.3333333333333333em;
}

section#precios h4{
  text-decoration-line: line-through;
}

section#precios p {
  font-size: 0.875em;
}

section#precios p, ul {
  margin: 0 0 1.5em;
}

section#precios ul {
  color: #e4e4e4;
  font-size: 0.75em;
  list-style-type: none;
  padding: 0;
}
section#precios ul li {
  margin: 0 0 0.8333333333333333em;
}

section#precios .button {
  /*Daniel Hernandez*/
  /*background-color: rgb(206, 206, 206);*/
  border-radius: 20px;
  color: #fff;
  font-size: 1em;
  font-weight: 700;
  padding: 0.75em 1.5em;
  position: absolute;
  bottom: 1.25em;
  text-decoration: none;
  width: 120px;
  left: 20%;
  /*Daniel Hernandez Diaz*/
    background-color: #00BAFF;
    *zoom: 1;
    filter: progid: DXImageTransform.Microsoft.gradient(gradientType=1, startColorstr='#FFEE7A36', endColorstr='#FFEB495D');
    background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuMCIgeTE9IjAuNSIgeDI9IjEuMCIgeTI9IjAuNSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VlN2EzNiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ViNDk1ZCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
    background-size: 100%;
    background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #00BAFF), color-stop(100%, #006DFF));
    background-image: -moz-linear-gradient(left, #00BAFF 0%, #006DFF 100%);
    background-image: -webkit-linear-gradient(left, #00BAFF 0%, #006DFF 100%);
    background-image: linear-gradient(to right, #00BAFF 0%, #006DFF 100%);
}

section#precios .uppercase, .button, h2 {
  text-transform: uppercase;
}

section#precios sup, .small {
  font-size: 0.6125em;
}

.ribbon {
  position: absolute;
  left: -5px; top: -5px;
  z-index: 1;
  overflow: hidden;
  width: 75px; height: 75px;
  text-align: right;
}
.ribbon span {
  font-size: 13px;
  font-weight: bold;
  color: #FFF;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  width: 100px;
  display: block;
  background: #79A70A;
  background: linear-gradient(#F42F54 0%, #F42F54 100%);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 19px; left: -21px;
}
.ribbon span::before {
  content: "";
  position: absolute; left: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid #F42F54;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #F42F54;
}
.ribbon span::after {
  content: "";
  position: absolute; right: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid #F42F54;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #F42F54;
}

/*//carousel*/


.carousel {
  padding: 5rem 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 400px;
  -webkit-perspective: 500px;
          perspective: 500px;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transform-origin: 0% 50%;
          transform-origin: 0% 50%;
}

.carousel.carousel-slider {
  top: 0;
  left: 0;
}

.carousel.carousel-slider .carousel-fixed-item {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 1;
}

.carousel.carousel-slider .carousel-fixed-item.with-indicators {
  bottom: 68px;
}

.carousel.carousel-slider .carousel-item {
  width: 100%;
  height: 100%;
  min-height: 400px;
  position: absolute;
  top: 0;
  left: 0;
}

.carousel.carousel-slider .carousel-item h2 {
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
}

.carousel.carousel-slider .carousel-item p {
  font-size: 15px;
}

.carousel .carousel-item {
  visibility: hidden;
  width: 28rem;
  height: 28rem;
  position: absolute;
  top: 0;
  left: 0;
}

.carousel .carousel-item > img {
  width: 100%;
}

.carousel .indicators {
  position: absolute;
  text-align: center;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
}

/*Daniel Hernandez*/
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: local('Material Icons'), local('MaterialIcons-Regular'), url(https://fonts.gstatic.com/s/materialicons/v18/2fcrYFNaTjcS6g4U3t-Y5ZjZjT5FdEJ140U2DJYC3mY.woff2) format('woff2');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -moz-font-feature-settings: 'liga';
  -moz-osx-font-smoothing: grayscale;
}

.middle-indicator{
   position:absolute;
   top:50%;
}

.middle-indicator-text{
   font-size: 4.2rem;
}

a.middle-indicator-text{
    color:white !important;
}

.content-indicator{
    width: 64px;
    height: 64px;
    background: none;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px; 
}


#portafolio .left-arrow {
    position:absolute;
    left:10px;
    z-index:1;
    top:50%;
    margin-top:-9px;
    cursor: pointer;
}
 
#portafolio .right-arrow {
    position:absolute;
    right:10px;
    z-index:1;
    top:50%;
    margin-top:-9px;
    cursor: pointer;
}

/*Daniel Hernandez*/
.indicator-item{
  padding: 8px;
}
.carousel .indicators .indicator-item {
  display: inline-block;
  position: relative;
  cursor: pointer;
  height: 8px;
  width: 8px;
  margin: 24px 4px;
  background-color: rgba(255, 255, 255, 0.5);
  -webkit-transition: background-color .3s;
  transition: background-color .3s;
  border-radius: 50%;
}

.carousel .indicators .indicator-item.active {
  background-color: #fff;
}

.carousel.scrolling .carousel-item .materialboxed,
.carousel .carousel-item:not(.active) .materialboxed {
  pointer-events: none;
}

.portafolio{
  padding: 15rem 0px 0rem;
  text-align: center;
}

section.portafolio h1 {
  font-size: 2em;
  color: white;
}
/*Daniel Hernandez*/
/* --- Pricing Plans --- */
.plan-title {
    font-size: 1em;
    letter-spacing: -0.05em;
    margin: 0;
    padding: 0.75em 1em 1.25em;
    text-transform: uppercase;
}

.plan-cost {
    background-color: white;
    color: #77b9dd;
    font-size: 1.25em;
    font-weight: 700;
    padding: 1.25em 1em;
    text-transform: uppercase;
}

.plan-cost span {
    display: none;
}

.plan-price {
    font-size: 3em;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 0;
}

.plan-type {
    border: 0.313em solid #DDD;
    color: #999;
    display: inline-block;
    font-size: 0.75em;
    margin: 0.75em 0 0 0.75em;
    padding: 0.3em 0.4em 0.25em;
    width: auto;
}

.plan-features {
    margin: 2em;
    padding: 2em 1em 1em;
}

.plan-features li {
    list-style-type: none;
    border-bottom: 1px solid #DDD;
    margin-bottom: 0.5em;
    padding-bottom: 0.75em;
    color: #555;
    display: block;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: .8em;
    font-weight: normal;
    line-height: 1.3;
}

.plan-features li span {
    color: #BBB;
}

.plan-features li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.plan-features i {
    font-size: 1.5em;
}

.plan-features i.icon-ok-squared {
    color: #3aa14d;
}

.plan-features i.icon-cancel-circled {
    color: darkRed;
}

.featured-plan {
    background-color: #eef7fc;
    border-top: 5px solid #8cd0f5;
    border-right: 0 solid transparent;
    border-bottom: 5px solid #8cd0f5;
    border-left: 0 solid transparent;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    transition: -webkit-transform 400ms ease;
    transition: transform 400ms ease;
    transition: transform 400ms ease, -webkit-transform 400ms ease;
}

.featured-plan .plan-title {
    color: #1B8DC8;
}

.featured-ribbon {
    width: 200px;
    background: #1B8DC8;
    position: absolute;
    top: 15px;
    left: -60px;
    text-align: center;
    line-height: 35px;
    letter-spacing: 0.01em;
    font-size: 0.65em;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    /* Custom styles */
    /* Different positions */
}

.featured-ribbon.sticky {
    position: fixed;
}

.featured-ribbon.shadow {
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.featured-ribbon.top-left {
    top: 25px;
    left: -50px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.featured-ribbon.top-right {
    top: 25px;
    right: -50px;
    left: auto;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.featured-ribbon.bottom-left {
    top: auto;
    bottom: 25px;
    left: -50px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.featured-ribbon.bottom-right {
    top: auto;
    right: -50px;
    bottom: 25px;
    left: auto;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

@media (min-width: 400px) {
    .featured-plan {
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
    }
}

@media (min-width: 33.75em) {
    .featured-plan {
        margin-top: 0.6em;
        order: 0;
    }
    .plan-title {
        font-size: 0.875em;
    }
}

@media (min-width: 48em) {
    .plan-type {
        font-size: 0.7em;
        margin: 0.5em 0 0 1em;
        padding-bottom: 0.2em;
    }
    .featured-ribbon {
        font-size: 0.65em;
    }
}

@media (min-width: 62em) {
    .featured-plan {
        margin-top: 0;
        order: 0;
    }
    .plan-cost {
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        justify-content: center;
        font-size: 1em;
    }
    .plan-cost span {
        color: #BBB;
        font-size: 1.5em;
        font-weight: 400;
        padding-right: 0.15em;
        padding-left: 0.15em;
    }
    .plan-price {
        font-size: 3.25em;
    }
    .featured-ribbon {
        font-size: 0.45em;
        left: -68px;
        line-height: 25px;
    }
}

@media (min-width: 75em) {
    .plan-cost {
        font-size: 1em;
    }
}