:root{
  --cyan: hsl(180, 66%, 49%);
  --dark-violet: hsl(257, 27%, 26%);
  --red: hsl(0, 87%, 67%);
  --gray: hsl(0, 0%, 75%);
  --gray-bg: hsl(0, 0%, 93%);
  --grayish-violet: hsl(257, 7%, 63%);
  --very-dark-blue: hsl(255, 11%, 22%);
  --very-dark-violet: hsl(260, 8%, 14%);
}
html{
  font-family: 'Poppins', sans-serif;
}
body{
  background-color: var(--gray-bg);
}
h1, p{
  color: var(--very-dark-violet);
}
@media screen and (min-width: 64rem){
  body{
    background-image: linear-gradient(white 0rem 88rem, var(--gray-bg) 88rem 100vh);
  }
}
@media screen and (min-width: 64rem){
  body{
    background-image: linear-gradient(white 0rem 36rem, var(--gray-bg) 36rem 100vh);
  }
}
@media screen and (min-width: 80rem){
  body{
    background-image: linear-gradient(white 0rem 42rem, var(--gray-bg) 42rem 100vh);
  }
}
@media screen and (min-width: 120rem){
  body{
    background-image: linear-gradient(white 0rem 52rem, var(--gray-bg) 52rem 100vh);
  }
}
/* -------------------- COMPONENTES -------------------- */
.btn{
  display: inline-block;
  background-color: var(--cyan);
  color: white;
  padding: .5rem 2.5rem;
  border-radius: 50px;
}

/* -------------------- ESTILOS -------------------- */
/* -------------------- HEADER -------------------- */
header{
  justify-content: space-between;
  align-items: center;
}
header > a > img{
  width: 100px;
}
.menu{
  width: 80%;
  top: 5rem;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--dark-violet);
  border-radius: 10px;
}
.menu a:last-child{
  background-color: var(--cyan);
  border-radius: 50px;
}
@media screen and (min-width: 64rem){
  header > a > img{
    width: 150px;
  }
  .menu{
    margin: 0;
    padding: 0;
    background-color: transparent;
    align-items: center;
    flex: 1;
    margin-left: 2rem;
    justify-content: flex-end;
  }
  .menu a{
    color: var(--dark-violet);
  }
  .menu a:nth-of-type(4){
    margin-left: 15rem;
  }
  .menu a:last-child{
    margin-top: 0;
    margin-bottom: 0;
    color: white;
  }
}
@media screen and (min-width: 80rem){
  .menu a:nth-of-type(4){
    margin-left: 25rem;
  }
  .menu a:last-child{
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media screen and (min-width: 120rem){
  .menu a:nth-of-type(4){
    margin-left: 50rem;
  }
  .header-1{
    padding-left: 12rem;
    padding-right: 12rem;
  }
}
/* -------------------- HERO SECTION -------------------- */
.hero-section{
  overflow: hidden;
}
.hero-section > img{
  margin-left: 1rem;
  width: 140%;
}
@media screen and (min-width: 64rem){
  .hero-section{
    width: 90%;
    margin-left: auto;
    align-items: center;
  }
  .hero-section > header .container{
    max-width: 100%;
  }
  .hero-section > header > .container > h1{
    font-size: 3.5rem;
    line-height: 4rem;
  }
  .hero-section > img{
    width: 50%;
  }
}
@media screen and (min-width: 80rem){
  .hero-section > img{
    margin-left: 3rem;
  }
}
/* -------------------- FORM -------------------- */
.shorten-form{
  background-color: var(--dark-violet);
  border-radius: 10px;
  position: relative;
}
.shorten-form::before{
  content: '';
  position: absolute;
  background-image: url(../images/bg-shorten-mobile.svg);
  background-repeat: no-repeat;
  width: 200px;
  height: 150px;
  top: 0;
  right: 0;
}
.shorten-form > input[type='text'],
.shorten-form > .btn{
  padding: .8rem;
  border-radius: 5px;
  border: none;
  outline: none;
  z-index: 2;
}
.shorten-form > .btn{
  font-size: 1rem;
  cursor: pointer;
}
.shorten-form > .btn:hover{
  opacity: .7;
}
.shorten-form > input[type='text']::placeholder{
  font-weight: bold;
  opacity: .7;
}
@media screen and (min-width: 48rem){
  .shorten-form > input[type='text']{
    flex: 1;
  }
  .shorten-form::before{
    background-image: url(../images/bg-shorten-desktop.svg);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    border-radius: 10px;
  }
}

/* -------------------- ENLACES ACORTADDOS -------------------- */
.link{
  background-color: white;
  padding: 1rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}
.enlace-acortado{
  margin-top: 1rem;
}
.enlace-acortado > .btn{
  border: none;
  border-radius: 5px;
  margin-top: 1rem;
  text-align: center;
  outline: none;
  cursor: pointer;
}
.enlace-acortado > .btn:hover{
  opacity: .7;
}
.copiado{
  background-color: var(--dark-violet);
}
.enlace-previo{
  padding: 1rem 0;
}
@media screen and (min-width: 48rem){
  .hr-mobile{
    display: none;
  }
  .link{
    flex-direction: row;
    justify-content: space-between;
  }
  .enlace-acortado{
    margin-top: 0;
    flex-direction: row;
    align-items: center;
  }
  .btn.btn-clip{
    margin-top: 0;
    margin-left: 1rem;
  }
}

/* -------------------- FEATURES -------------------- */
.feature{
  position: relative;
  padding-top: -1rem;
  border-radius: 5px;
}
.feature > h3{
  margin-top: -1rem;
}
.image,
.feature:nth-child(2)::after,
.feature:first-child::after{
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

.image{
  position: relative;
  order: -1;
  top: -2.5rem;
  width: 35px;
  height: 35px;
  background-color: var(--dark-violet);
  border-radius: 50%;
}
.feature:nth-child(2)::after,
.feature:first-child::after{
  content: '';
  position: absolute;
  width: 8px;
  height: 4rem;
  background-color: var(--cyan);
  bottom: -4rem;
}
@media screen and (min-width: 64rem){
  .features{
    height: 40rem;
  }
  .feature:first-child{
    align-self: flex-start;
  }
  .feature:nth-child(2){
    align-self: center;
  }
  .feature:last-child{
    align-self: flex-end;
  }
  .feature:first-child::after,
  .feature:nth-child(2)::after{
    width: 4rem;
    height: 1rem;
    top: 8rem;
    right: -19rem;
    z-index: -1;
  }
  .feature:first-child::after{
    top: 18rem;
  }
}
@media screen and (min-width: 64rem){
  .advanced-section > h2{
    font-size: 2rem;
  }
  .advanced-section > p,
  .advanced-section > h2{
    width: 50%;
    margin-left: auto;
    margin-right: auto;
  }
  
}
@media screen and (min-width: 80rem){
  .features{
    height: 25rem;
  }
  .feature:first-child::after,
  .feature:nth-child(2)::after{
    right: -25rem;
  }
  .feature:first-child::after{
    top: 12rem;
  }
}
@media screen and (min-width: 120rem){
  .feature:first-child::after,
  .feature:nth-child(2)::after{
    right: -34rem;
  }
}
/* -------------------- BOOST -------------------- */
.boost{
  background-color: var(--dark-violet);
  position: relative;
  overflow: hidden;
}
.boost > .container{
  z-index: 2;
}
.boost::before{
  content: '';
  position: absolute;
  width: 19rem;
  height: 15rem;
  background-image: url(../images/bg-boost-mobile.svg);
  background-size: cover;
  background-repeat: no-repeat;
  top: 0rem;
  right: 0rem;
  z-index: 1;
}
@media screen and (min-width: 48rem){
  .boost::before{
    background-image: url(../images/bg-boost-desktop.svg);
    background-size: contain;
    background-position: top center;
    width: 100%;
  }
}
@media screen and (min-width: 64rem){
  .boost > .container > h3{
    font-size: 2rem;
  }
}
@media screen and (min-width: 90rem){
  .boost::before{
    height: 16rem;
  }
}
@media screen and (min-width: 120rem){
  .boost::before{
    height: 21rem;
    background-position: right;
  }
}
/* -------------------- FOOTER -------------------- */
footer{
  background-color: var(--very-dark-violet);
}
footer > .container > a > img{
  width: 8rem;
}
.nav-footer a{
  color: var(--gray);
  padding: .3rem 0;
}
.sociales-footer{
  justify-content: space-between;
}
.sociales-footer > a > i{
  font-size: 1.5rem;
  color: white
}
@media screen and (min-width: 48rem){
  .navs{
    justify-content: space-evenly;
  }
}
@media screen and (min-width: 64rem){
  footer > .container{
    display: grid;
    grid-template-columns: 200px 1fr 150px;
  }
  .sociales-footer{
    width: 100%;
  }
}

/* -------------------- ATTRIBUTION -------------------- */
.attribution a{
  color: var(--cyan);
}


/* -------------------- SPINNER -------------------- */
.sk-fading-circle {
  margin: 100px auto;
  width: 40px;
  height: 40px;
  position: relative;
}

.sk-fading-circle .sk-circle {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.sk-fading-circle .sk-circle:before {
  content: '';
  display: block;
  margin: 0 auto;
  width: 15%;
  height: 15%;
  background-color: #333;
  border-radius: 100%;
  -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
          animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
}
.sk-fading-circle .sk-circle2 {
  -webkit-transform: rotate(30deg);
      -ms-transform: rotate(30deg);
          transform: rotate(30deg);
}
.sk-fading-circle .sk-circle3 {
  -webkit-transform: rotate(60deg);
      -ms-transform: rotate(60deg);
          transform: rotate(60deg);
}
.sk-fading-circle .sk-circle4 {
  -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
}
.sk-fading-circle .sk-circle5 {
  -webkit-transform: rotate(120deg);
      -ms-transform: rotate(120deg);
          transform: rotate(120deg);
}
.sk-fading-circle .sk-circle6 {
  -webkit-transform: rotate(150deg);
      -ms-transform: rotate(150deg);
          transform: rotate(150deg);
}
.sk-fading-circle .sk-circle7 {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}
.sk-fading-circle .sk-circle8 {
  -webkit-transform: rotate(210deg);
      -ms-transform: rotate(210deg);
          transform: rotate(210deg);
}
.sk-fading-circle .sk-circle9 {
  -webkit-transform: rotate(240deg);
      -ms-transform: rotate(240deg);
          transform: rotate(240deg);
}
.sk-fading-circle .sk-circle10 {
  -webkit-transform: rotate(270deg);
      -ms-transform: rotate(270deg);
          transform: rotate(270deg);
}
.sk-fading-circle .sk-circle11 {
  -webkit-transform: rotate(300deg);
      -ms-transform: rotate(300deg);
          transform: rotate(300deg); 
}
.sk-fading-circle .sk-circle12 {
  -webkit-transform: rotate(330deg);
      -ms-transform: rotate(330deg);
          transform: rotate(330deg); 
}
.sk-fading-circle .sk-circle2:before {
  -webkit-animation-delay: -1.1s;
          animation-delay: -1.1s; 
}
.sk-fading-circle .sk-circle3:before {
  -webkit-animation-delay: -1s;
          animation-delay: -1s; 
}
.sk-fading-circle .sk-circle4:before {
  -webkit-animation-delay: -0.9s;
          animation-delay: -0.9s; 
}
.sk-fading-circle .sk-circle5:before {
  -webkit-animation-delay: -0.8s;
          animation-delay: -0.8s; 
}
.sk-fading-circle .sk-circle6:before {
  -webkit-animation-delay: -0.7s;
          animation-delay: -0.7s; 
}
.sk-fading-circle .sk-circle7:before {
  -webkit-animation-delay: -0.6s;
          animation-delay: -0.6s; 
}
.sk-fading-circle .sk-circle8:before {
  -webkit-animation-delay: -0.5s;
          animation-delay: -0.5s; 
}
.sk-fading-circle .sk-circle9:before {
  -webkit-animation-delay: -0.4s;
          animation-delay: -0.4s;
}
.sk-fading-circle .sk-circle10:before {
  -webkit-animation-delay: -0.3s;
          animation-delay: -0.3s;
}
.sk-fading-circle .sk-circle11:before {
  -webkit-animation-delay: -0.2s;
          animation-delay: -0.2s;
}
.sk-fading-circle .sk-circle12:before {
  -webkit-animation-delay: -0.1s;
          animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleFadeDelay {
  0%, 39%, 100% { opacity: 0; }
  40% { opacity: 1; }
}

@keyframes sk-circleFadeDelay {
  0%, 39%, 100% { opacity: 0; }
  40% { opacity: 1; } 
}