@media only screen and (max-width: 768px) {
  body {
    display: flex;
    flex-direction: column;
  }
  .header-container {
    order: 0;
  }
  #about {
    order: 1;
    margin: 0;
  }
  #services {
    order: 2;
  }
  #projects {
    order: 3;
  }
  #contact {
    order: 4;
  }
  footer {
    order: 5;
  }
}

@media only screen and (min-width: 768px) {
  body .fixed {
    padding: 20px;
  }

  .header-container {
    position: relative;
    background-image: url('../img/webp/header-background.jpg');
    background-size: cover;
  }

  .dark-layer {
    background: rgba(0, 0, 0, .65);
  }

  .main-nav {
    height: 20vh;
    animation-name: slideInDown;
    -webkit-animation-name: slideInDown;
    animation-duration: 1s;
  }

  .main-nav-holder {
    height: 100%;
    padding: 0 5%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .main-nav .main-nav-holder .logo {
    animation-name: fadeIn;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
  }

  .mobile-hamburger {
    display: none;
  }

  .main-nav .mobile-holder {
    display: flex;
    height: auto;
    width: 100%;
  }

  .main-nav .mobile-holder .mobile-items {
    display: flex;
    width: 100%;
    font-weight: bolder;
    font-size: 1.5em;
  }

  .main-nav .mobile-holder .mobile-items a {
    color: #fff;
    position: relative;
  }

  .mobile-holder .mobile-items a:after {
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 1px;
    left: 50%;
    position: absolute;
    background: #fff;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
  }

  .mobile-holder .mobile-items a:hover:after {
    width: 100%;
    left: 0;
  }

  .header-container header {
    position: unset;
    align-items: center;
    justify-content: flex-start;
    height: 80vh;
  }

  .header-container header .slideshow {
    display: none;
  }

  .header-container header .welcome-message {
    position: unset;
    opacity: 1;
    background-color: transparent;
    animation: none;
  }

  .header-container header .welcome-message .container {
    padding: 5% 20%;
  }

  .header-container header .welcome-message .container .box {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
  }

  .header-container header .welcome-message .welcome-text {
    display: block;
  }

  /* BUTTON */
  .header-container header .welcome-message .btn {
    display: block;
    line-height: 50px;
    text-align: center;
  }

  .btn-one {
    color: #FFF;
    transition: all 0.3s;
    position: relative;
  }

  .btn-one h1 {
    transition: all 0.3s;
    font-size: 30px;
    white-space: nowrap;
  }

  .btn-one::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s;
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-top-style: solid;
    border-bottom-style: solid;
    border-top-color: rgba(255, 255, 255, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.5);
    transform: scale(0.1, 1);
  }

  .btn-one:hover h1 {
    letter-spacing: 2px;
  }

  .btn-one:hover::before {
    opacity: 1;
    transform: scale(1, 1);
  }

  .btn-one::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: all 0.3s;
  }

  .btn-one:hover::after {
    opacity: 0;
    transform: scale(0.1, 1);
  }

  /* BUTTON */
  .header-container header .welcome-message .logo-in-startup {
    display: none;
  }

  .header-container header .welcome-message .h1-mobile {
    display: none;
    font-size: 3.5em;
    animation-name: pulse;
    -webkit-animation-name: pulse;
    animation-duration: 2s;
  }

  .header-container header .wrapper {
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
  }

  .header-container header .wrapper .triangle-down div {
    border-left: 1000px solid transparent;
    border-right: 1000px solid white;
    border-top: 100px solid transparent;
  }

  body section {
    padding: 5% 20%;
    line-height: 2;
  }

  #services {
    padding: 5%;
  }

  #services .services-content, #about .about-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  #services .services-card-row {
    width: 33%;
    visibility: hidden;
  }

  #services .services-card-row .service-img {
    width: 200px;
  }

  #services .services-card-row .card-text {
    padding: 10px 25px;
  }

  #services .services-card-row .card-text p {
    text-align: justify;
  }

  #services .animateCard {
    animation-name: fadeInUp;
    -webkit-animation-name: fadeInUp;
    animation-duration: .5s;
    visibility: visible;
  }

  #about {
    padding: 0;
  }

  #about .about-content {
    justify-content: space-between;
  }

  #about .profile {
    display: flex;
    flex-direction: column;
    width: 45%;
  }

  #about .profile-description {
    width: 50%;
    padding: 5% 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #about .profile-description p {
    text-align: justify;
  }

  #about {
    visibility: hidden;
  }

  #projects {
    padding: 0 20% !important;
  }

  #projects .projects-content {
    padding: 5% 0 !important;
  }

  #about.animateSection, #projects.animateSection {
    animation-name: fadeIn;
    -webkit-animation-name: fadeIn;
    animation-duration: 1s;
    visibility: visible;
  }

  #contact {
    padding: 0;
  }

  #contact .wrapper {
    display: block;
  }

  #contact .triangle-down div {
    border-left: 1000px solid transparent;
    border-right: 1000px solid white;
    border-top: 100px solid white;
  }

  #contact .contact-form {
    padding: 5% 15%;
  }

  #contact .contact-form #contact-form {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #contact .contact-form input[type=text], #contact .contact-form textarea {
    width: 80%;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, .7);
    border: 1px solid white;
    padding: 5px 15px;
  }

  #contact .contact-form input[type=text]:focus, #contact .contact-form textarea:focus {
    width: 82%;
    transition: ease width .4s;
  }

  #contact .contact-form input:focus, #contact .contact-form textarea {
    outline: none;
  }

  #contact .contact-form input[type=submit]:hover {
    background-color: rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: all .2s ease-in;
  }

  footer .footer__column {
    width: 25%;
  }

  .triangle-down {
    box-sizing: content-box;
    width: 50%;
    height: 0;
    padding-left: 50%;
    padding-top: 5%;
    overflow: hidden;
  }

  .triangle-down div {
    width: 0;
    height: 0;
    margin-left: -1000px;
    margin-top: -100px;
  }
}

@-webkit-keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@-webkit-keyframes slideInDown {
  from {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInDown {
  from {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}