@keyframes moveLeftToRight {
  0% {
    opacity: 0;
    transform: translate(-10rem);
  }

  80% {
    transform: translateX(1rem);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes moveRightToLeft {
  0% {
    opacity: 0;
    transform: translateX(10rem);
  }

  80% {
    transform: translateX(-1rem);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes moveBottomToUp {
  0% {
    opacity: 0;
    transform: translateY(10rem);
  }

  80% {
    opacity: 0;
    transform: translateY(1rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

* {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
}

@media only screen and (max-width: 975px) {
  html {
    font-size: 55%;
  }
}

@media only screen and (max-width: 770px) {
  html {
    font-size: 50%;
  }
}

body {
  box-sizing: border-box;
  padding: 1rem;
}

body {
  font-weight: "Latte", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.7;
  color: #777;
}

.header-primary {
  color: #fff;
  text-align: center;
  text-transform: uppercase;
}

.header-primary--main {
  font-size: 6rem;
  display: block;
  letter-spacing: 10px;
  font-weight: 700;
  animation: moveLeftToRight 1s ease-out;
  margin-bottom: 2rem;
}

.header-primary--sub {
  font-weight: 700;
  letter-spacing: 4px;
  font-size: 2rem;
  display: block;
  animation: moveRightToLeft 1s ease-out;
}

.header-secondary {
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.paragraph {
  font-size: 1.6rem;
  text-align: justify;
  line-height: 3rem;
}

.paragraph--tertiary {
  font-style: italic;
}

.header-tertiary {
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.header-fourth {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 1rem 0;
  text-align: center;
}

@media only screen and (max-width: 770px) {
  .header-fourth {
    margin: 2rem 0;
    font-size: 1rem;
  }
}

.header__secondary-center {
  text-align: center !important;
  margin-bottom: 3rem;
}

.btn:link,
.btn:visited {
  text-decoration: none;
  text-transform: uppercase;
  padding: 1.5rem 1.8rem;
  font-size: 1.6rem;
  border-radius: 10rem;
  display: inline-block;
  transition: all .2s;
  font-weight: 300;
  position: relative;
  font-weight: bold;
}

.btn:hover {
  transform: translateY(-0.3rem);
  box-shadow: 0 1rem 2rem rba(#000, 0.2);
}

.btn:hover::after {
  transform: scaleX(1.4) scaleY(1.6);
  opacity: 0;
}

.btn:active {
  transform: translateY(-0.1rem);
  box-shadow: 0 1rem 2rem rba(#000, 0.2);
}

.btn--white {
  background-color: #fff;
  color: #777;
  margin-top: 2rem;
}

.btn::after {
  content: "";
  display: inline-block;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.btn--animated {
  animation: moveBottomToUp 1s ease-in;
  animation-fill-mode: backwards;
}

.btn-black {
  background-color: orangered;
  color: #fff;
  padding: 0;
}

.btn-grey {
  background-color: orangered;
  color: #fff;
  border-radius: 2rem;
  padding: 1rem;
  width: 20%;
  font-size: 1.6rem;
}

.contact__form--container {
  max-width: 55rem;
  margin: 0 auto;
}

.contact__form--container input[type=text],
.contact__form--container input[type=email],
.contact__form--container .message {
  width: 100%;
  overflow: hidden;
  padding: 2rem;
  outline: none;
  border-radius: 1.2rem;
  font-size: 1.4rem;
}

@media only screen and (max-width: 770px) {
  .contact__form--container {
    padding: 2rem;
  }
}

.image {
  overflow: hidden;
}

.image--my-image {
  height: 40rem;
  opacity: .7;
  border-radius: 2rem;
}

@media only screen and (max-width: 770px) {
  .image--my-image {
    border-radius: 1rem;
    display: block;
    margin: 0 auto;
    margin-top: 2rem;
  }
}

@media only screen and (max-width: 326px) {
  .image--my-image {
    border-radius: 1rem;
    display: block;
    margin: 0 auto;
    margin-top: 1rem;
    height: 35rem;
  }
}

.image--frontend,
.image--backend,
.image--mobile {
  height: 7rem;
  margin-bottom: 2rem;
  text-align: center;
}

.works__image {
  width: 100%;
  margin-bottom: 3rem;
  transition: all 1s;
}

.works__image-1 {
  width: 100%;
  height: 24rem;
  transform: scale(1);
  transition: all 1s;
  opacity: .7;
}

@media only screen and (max-width: 770px) {
  .works__image-1 {
    height: 35rem;
  }
}

.works__image :hover {
  transform: scale(1.1);
  overflow: hidden;
  opacity: 1;
}

.header {
  height: 95vh;
  background-image: linear-gradient(to right, rgba(126, 213, 111, 0.5), rgba(40, 180, 133, 0.5)), url("../img/header.jpg");
  background-size: cover;
  background-position: top;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%);
  position: relative;
}

.header__logo-box {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 3rem;
  padding: 1rem;
  font-weight: 900;
}

.header__logo-box--img {
  width: 11rem;
  height: 7rem;
}

.header__text-box {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -40%);
  text-align: center;
}

.section__about {
  padding: 2rem;
  background-color: #fff;
  padding-top: 25rem;
  margin-top: -24vh;
  padding-bottom: 10rem;
}

@media only screen and (max-width: 975px) {
  .section__about {
    padding-top: 20rem;
    padding-bottom: 5rem;
  }
}

@media only screen and (max-width: 326px) {
  .section__about {
    padding-top: 15rem;
  }
}

.section__about--textbox {
  padding-left: 9rem;
}

@media only screen and (max-width: 975px) {
  .section__about--textbox {
    padding-left: 0;
  }
}

.section__about--image {
  width: 70%;
  margin-left: 15%;
}

@media only screen and (max-width: 975px) {
  .section__about--image {
    width: 90%;
    margin-left: 0;
  }
}

.section__knowledge {
  background-color: #FAFAFA;
  padding: 8rem 3rem;
}

@media only screen and (max-width: 975px) {
  .section__knowledge {
    padding: 3rem 2rem;
  }
}

.section__knowledge--first {
  padding: 0 3rem;
}

@media only screen and (max-width: 770px) {
  .section__knowledge--first {
    padding-left: 10%;
  }
}

.section__works {
  padding: 8rem 3rem;
  padding-bottom: 3rem;
}

@media only screen and (max-width: 770px) {
  .section__works {
    padding: 4rem 0;
  }
}

.section__contact {
  background-image: linear-gradient(to right, rgba(126, 213, 111, 0.5), rgba(40, 180, 133, 0.5)), url("../img/contactform.jpg");
  background-size: cover;
  background-color: #FAFAFA;
  padding: 8rem 3rem;
  color: #fff;
}

@media only screen and (max-width: 770px) {
  .section__contact {
    padding: 4rem 0;
  }
}