/* Mobile version */
@media screen and (max-width: 1024px) {
  section {
    padding: 2vh 25px;
  }
  
  h1 {
    font-size: 25px;
    line-height: 28px;
  }
  
  h1 small {
    font-size: 14px;
  }
  
  h2 {
    font-size: 19px;
    line-height: 21px;
  }
  
  h3 {
    font-size: 16px;
    line-height: 18px;
  }

  #header {
    padding: 10vh 2vw 0 2vw;
  }

  #personal-info .details {
    float: none;
  }

  #contact input, #contact textarea {
    font-size: 16px;
    padding: 16px;
    width: 80%;
  }
  
  #mobile-controls {
    display:block;
  }

  #main-menu a {
    display:block;
    font-size: 22px;
    line-height: 55px;
  }

  #header .icon-link .keywords {
    display: none;
  }
  
  a.icon-link {
   padding-top: 15vw;
  }
  
  a.icon-link.web-development:hover {
    background: url(../images/icons/web.png) no-repeat center 4vw, radial-gradient(ellipse at center, rgba(187,187,200,0.5) 1%,rgba(187,187,200,0) 60%), url(../images/design/arrow.svg) no-repeat center 100%;
    background-size: 10vw auto, cover, 8vw auto;
  }

  a.icon-link.web-development {
    background: url(../images/icons/web.png) no-repeat center 4vw, radial-gradient(ellipse at center center, #86868f 1vw,rgba(255,255,255,0) 10vw), url(../images/design/arrow.svg) no-repeat center 85%;
    padding-bottom: 6vw;
    transition: 0.5s;
    background-size: 10vw auto, cover, 8vw auto;
  }

  a.icon-link.app-development:hover {
    background: url(../images/icons/smartphone.svg) no-repeat top center, radial-gradient(ellipse at center center, #86868f 1vw,rgba(255,255,255,0) 11vw), url(../images/design/arrow.svg) no-repeat center 100%;
    background-size: 8vw auto, cover, 8vw auto;
  }

  a.icon-link.app-development {
    background: url(../images/icons/smartphone.svg) no-repeat top center, radial-gradient(ellipse at center center, #86868f 1vw,rgba(255,255,255,0) 8vw), url(../images/design/arrow.svg) no-repeat center 85%;
    padding-bottom: 9vw;
    transition: 0.5s;
    background-size: 8vw auto, cover, 8vw auto;
  }
}
