@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::selection {
  background: none;
  color: #f12d2d;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  width: 100%;
}

html {
  font-size: 12px;
  overflow: hidden;
  scroll-behavior: smooth;
}

body {
  background: #fafafa;
  color: #010101;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  transition: all 0.4s ease;
}

body a {
  color: #010101;
}

body.bg-black {
  background: #010101;
  color: #fafafa;
}

body.bg-black a {
  color: #fafafa;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 300;
}

h1 {
  font-size: 3.052rem;
}

h2 {
  font-size: 2.441rem;
}

h3 {
  font-size: 1.953rem;
}

h4 {
  font-size: 1.563rem;
}

h5 {
  font-size: 1.25rem;
}

p {
  font-size: 1rem;
}

.text-small {
  font-size: 0.8rem;
}

.text-extra-small {
  font-size: 0.64rem;
}

.font-primary {
  font-family: 'Poppins', sans-serif;
}

.font-secondary {
  font-family: 'Lato', sans-serif;
}

.opacity-7 {
  opacity: 0.7;
}

.opacity-5 {
  opacity: 0.5;
}

.container {
  width: 90%;
  margin: 0 auto;
}

@media (min-width: 576px) {
  .container {
    width: 540px;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
  .container {
    width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 960px;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 17px;
  }
  .container {
    width: 1140px;
  }
}

@media (min-width: 1600px) {
  html {
    font-size: 20px;
  }
  .container {
    width: 1300px;
  }
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease-in-out;
  font-size: 1.25rem;
}

.btn span:first-child {
  position: relative;
  transition: color 0.5s cubic-bezier(0.48, 0, 0.12, 1);
  z-index: 5;
}

.btn span:last-child {
  display: block;
  position: absolute;
  transition: all 0.4s cubic-bezier(0.48, 0, 0.12, 1);
  z-index: 10;
  top: 20%;
  transform: translateY(225%);
}

.btn:after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: 0;
  width: 103%;
  height: 100%;
  transform-origin: bottom center;
  transition: transform 0.5s cubic-bezier(0.48, 0, 0.12, 1);
  transform: skewY(9.3deg) scaleY(0);
  z-index: 9;
}

.btn:hover span:last-child {
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.48, 0, 0.12, 1);
}

.btn:hover:after {
  transform: skewY(9.3deg) scaleY(2);
}

.btn-black {
  background: #010101;
  color: #fafafa;
}

.btn-black span:first-child {
  color: #fafafa;
}

.btn-black span:last-child {
  color: #010101;
}

.btn-black:after {
  background: white;
}

.btn-white {
  background: white;
  color: #010101;
}

.btn-white span:first-child {
  color: #010101;
}

.btn-white span:last-child {
  color: #fafafa;
}

.btn-white:after {
  background: #010101;
}

.section {
  margin: 5rem 0;
  padding: 5rem 0;
}

.section .container h1 {
  margin-bottom: 5rem;
}

body .line {
  width: 100%;
  height: 1px;
  background: #010101;
  opacity: 0.1;
}

body.bg-black .line {
  background: #fafafa;
}

.nav {
  position: fixed;
  width: 100%;
  padding: 1rem 10%;
  z-index: 1000;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.nav-wrapper .nav-logo {
  font-size: 1.5rem;
  font-weight: 600;
}

.nav-wrapper .nav-links {
  display: none;
}

.nav-wrapper .nav-links .nav-link-item {
  display: flex;
  margin: 0 1rem;
}

.link {
  position: relative;
  display: inline-block;
  overflow: hidden;
  font-weight: 300;
}

.link span:first-child {
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.5s cubic-bezier(0, 1.07, 0.89, 0.99);
  will-change: transform;
}

.link span:nth-child(2) {
  opacity: 0;
}

.link span:last-child {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0, 1.07, 0.89, 0.99);
  will-change: transform;
  color: #f12d2d;
}

.link:hover span:first-child {
  transform: translateY(-100%);
}

.link:hover span:last-child {
  transform: translateY(0);
}

.burger-menu {
  cursor: pointer;
  outline: 0;
  border: none;
  background: none;
  z-index: 99;
}

.burger-menu span {
  display: block;
  width: 24px;
  height: 1px;
  background: #010101;
  margin: 5px 0;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.burger-menu.active span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.burger-menu.active span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.menu-responsive {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0;
  background: #fafafa;
  transition: transform 1s cubic-bezier(0.9, 0.12, 0.2, 1);
  transform: translateY(-100%);
  z-index: -1;
}

.menu-responsive .menu-responsive-links {
  text-align: center;
}

.menu-responsive .menu-responsive-links .menu-responsive-link {
  margin-bottom: 1rem;
  font-size: 4rem;
}

.menu-responsive .menu-responsive-links .menu-responsive-link.link-sm {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
}

.menu-responsive .menu-responsive-links .menu-responsive-link.link-sm .link {
  margin: 1rem 1rem;
}

.menu-responsive.active {
  transform: translateY(0);
}

body.bg-black .burger-menu span {
  background: #d7c9c2;
}

body.bg-black .menu-responsive .menu-responsive-links .menu-responsive-link .link span:first-child {
  color: #010101;
}

@media (min-width: 768px) {
  .nav-wrapper .nav-links {
    display: flex;
  }
  .menu-responsive {
    display: none;
  }
  .burger-menu {
    display: none;
  }
}

.hero {
  position: relative;
}

.hero .container .header-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero .container .header-wrapper h5 {
  margin: 1rem 0;
}

.hero .container .header-wrapper .headline {
  font-size: 4rem;
  font-weight: 600;
  line-height: 1.3;
}

.hero .container .header-wrapper .buttons-wrapper {
  margin-top: 2rem;
}

.hero .container .header-wrapper .buttons-wrapper .btn {
  margin-right: 1rem;
}

.hero .container .header-wrapper img {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 25%;
  width: auto;
  z-index: -1;
}

.hero .social {
  position: absolute;
  left: 1rem;
  bottom: 2rem;
}

.hero .social a {
  display: block;
  margin: 0.8rem 0;
  font-size: 1.2rem;
  color: #010101;
  transition: all 0.2s ease-in-out;
}

.hero .social a:hover {
  opacity: 0.5;
}

.language {
  display: none;
  position: fixed;
  right: 0;
  top: 50%;
  background: #010101;
  transform: translateY(-50%);
}

.language .language-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
}

.language .language-wrapper .language-link {
  color: #fafafa;
  font-size: 0.7rem;
  transition: all 0.3s ease;
}

.language .language-wrapper .language-link:hover {
  color: #f12d2d;
}

.language .language-wrapper .language-line {
  width: 1px;
  height: 1rem;
  background: #fafafa;
  margin: 0.5rem 0;
}

@media (min-width: 576px) {
  .hero .container .header-wrapper .headline {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.3;
  }
  .hero .container .header-wrapper img {
    height: 80%;
  }
}

@media (min-width: 768px) {
  .hero .container .header-wrapper .headline {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.3;
  }
  .hero .container .header-wrapper img {
    height: 90%;
  }
  .language {
    display: flex;
  }
}

@media (min-width: 992px) {
  .hero .container .header-wrapper .headline {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.3;
    width: 70%;
  }
  .hero .container .header-wrapper img {
    height: 85%;
  }
}

.loading-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #010101;
  color: #fafafa;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: top;
}

.loading-screen .loading-screen-text-wrapper {
  display: grid;
  text-align: center;
}

.loading-screen .loading-screen-text-wrapper p {
  font-size: 1.5rem;
}

.loading-screen .loading-screen-text-wrapper p:first-child {
  grid-row: 1/2;
  grid-column: 1/2;
}

.loading-screen .loading-screen-text-wrapper p:last-child {
  grid-row: 1/2;
  grid-column: 1/2;
  opacity: 0;
}

.work-section .container .work-gallery .work-gallery-item {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 10rem;
}

.work-section .container .work-gallery .work-gallery-item img {
  margin-bottom: 1.5rem;
}

.work-section .container .work-gallery .work-gallery-item .description div {
  margin-bottom: 1.5rem;
}

.work-section .container .work-gallery .work-gallery-item .description div h3 {
  margin-bottom: 0.5rem;
}

.work-section .container .work-gallery .work-gallery-item .description div h5 {
  margin-bottom: 1rem;
}

.work-section .container .work-gallery .work-gallery-item:last-child {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .work-section .container .work-gallery .work-gallery-item {
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
  }
  .work-section .container .work-gallery .work-gallery-item img {
    margin: auto 0;
  }
  .work-section .container .work-gallery .work-gallery-item img.grid-col-2 {
    grid-column: 2/3;
    grid-row: 1/2;
  }
  .work-section .container .work-gallery .work-gallery-item .description.grid-col-1 {
    grid-column: 1/2;
    grid-row: 1/2;
  }
}

.about-section .container .about-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
}

.about-section .container .about-wrapper .about-box {
  width: 80%;
}

.about-section .container .about-wrapper .about-box h4 {
  margin-bottom: 1rem;
}

.about-section .container .about-wrapper .about-box h5 {
  line-height: 1.5;
}

.about-section .container .about-wrapper .about-box h5 a .fa-file-download {
  margin-right: 0.5rem;
}

@media (min-width: 992px) {
  .about-section .container .about-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
  }
  .about-section .container .about-wrapper .about-box {
    width: 100%;
  }
  .about-section .container .about-wrapper .about-box h4 {
    margin-bottom: 1rem;
  }
  .about-section .container .about-wrapper .about-box h5 {
    line-height: 1.5;
  }
}

.skills-section .container .skills-header span {
  position: relative;
  display: inline-block;
}

.skills-section .container .skills-header span .div-2,
.skills-section .container .skills-header span .div-3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.skills-section .container .skills-header span .div-1 {
  animation: div1 7s infinite;
}

.skills-section .container .skills-header span .div-2 {
  animation: div2 7s infinite;
}

.skills-section .container .skills-header span .div-3 {
  animation: div3 7s infinite;
}

.skills-section .container .skills-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5rem;
}

.skills-section .container .skills-wrapper .skill-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.skills-section .container .skills-wrapper .skill-box p {
  margin-top: 1rem;
}

@keyframes div1 {
  0%,
  11% {
    opacity: 0;
  }
  11%,
  22% {
    opacity: 1;
  }
  22%,
  33% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes div2 {
  0%,
  33% {
    opacity: 0;
  }
  33%,
  44% {
    opacity: 0;
  }
  44%,
  55% {
    opacity: 1;
  }
  55%,
  66% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes div3 {
  0%,
  66% {
    opacity: 0;
  }
  66%,
  77% {
    opacity: 0;
  }
  77%,
  95% {
    opacity: 1;
  }
  95%,
  100% {
    opacity: 0;
  }
}

@media (min-width: 576px) {
  .skills-section .container .skills-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6rem;
  }
}

@media (min-width: 768px) {
  .skills-section .container .skills-wrapper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4rem;
  }
}

@media (min-width: 992px) {
  .skills-section .container .skills-wrapper {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5rem;
  }
}

.contact-section .container .contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
}

.contact-section .container .contact-wrapper .contact-info .box {
  display: flex;
  flex-direction: column;
  align-items: left;
  margin-bottom: 1rem;
}

.contact-section .container .contact-wrapper .contact-info .box h4 {
  margin-bottom: 1rem;
  margin-right: auto;
}

.contact-section .container .contact-wrapper .contact-info .box a {
  margin-right: auto;
  margin-bottom: 1.2rem;
  position: relative;
}

.contact-section .container .contact-wrapper .contact-info .box a:after {
  position: absolute;
  content: '';
  bottom: -3px;
  left: 0;
  height: 1px;
  width: 100%;
  background: #010101;
  transition: all 0.3s ease;
  transform-origin: left;
  transform: scaleX(0);
}

.contact-section .container .contact-wrapper .contact-info .box a:hover:after {
  transform: scaleX(1);
}

.contact-section .container .contact-wrapper .contact-info .box a .margin-3px {
  margin-right: 3px;
}

.contact-section .container .contact-wrapper .contact-form-wrapper {
  display: flex;
  flex-direction: column;
  background: #010101;
  color: #fafafa;
  padding: 3rem 5rem;
}

.contact-section .container .contact-wrapper .contact-form-wrapper h4 {
  align-self: center;
  margin-bottom: 2rem;
}

.contact-section .container .contact-wrapper .contact-form-wrapper form .form-box {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.contact-section .container .contact-wrapper .contact-form-wrapper form .form-box label {
  margin-bottom: 0.5rem;
}

.contact-section .container .contact-wrapper .contact-form-wrapper form .form-box .form-control {
  padding: 0.7rem 0.5rem;
  font-size: 1rem;
  background: #171717;
  color: #fafafa;
  border: none;
  border-bottom: 1px solid #171717;
  transition: background-color 0.2s ease-in-out;
}

.contact-section .container .contact-wrapper .contact-form-wrapper form .form-box .form-control:focus {
  background: #373737;
  border-bottom: 1px solid #fafafa;
  outline: none;
}

.contact-section .container .contact-wrapper .contact-form-wrapper form .form-box button {
  margin-right: auto;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: inherit;
}

@media (min-width: 992px) {
  .contact-section .container .contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
  }
  .contact-section .container .contact-wrapper .contact-info .box {
    display: flex;
    flex-direction: column;
    align-items: left;
    margin-bottom: 1rem;
  }
  .contact-section .container .contact-wrapper .contact-info .box h4 {
    margin-bottom: 1rem;
    margin-right: auto;
  }
  .contact-section .container .contact-wrapper .contact-info .box a {
    margin-right: auto;
    margin-bottom: 1.2rem;
    position: relative;
  }
  .contact-section .container .contact-wrapper .contact-info .box a:after {
    position: absolute;
    content: '';
    bottom: -3px;
    left: 0;
    height: 1px;
    width: 100%;
    background: #010101;
    transition: all 0.3s ease;
    transform-origin: left;
    transform: scaleX(0);
  }
  .contact-section .container .contact-wrapper .contact-info .box a:hover:after {
    transform: scaleX(1);
  }
  .contact-section .container .contact-wrapper .contact-form-wrapper {
    display: flex;
    flex-direction: column;
    background: #010101;
    color: #fafafa;
    padding: 3rem 5rem;
  }
  .contact-section .container .contact-wrapper .contact-form-wrapper h4 {
    align-self: center;
    margin-bottom: 2rem;
  }
  .contact-section .container .contact-wrapper .contact-form-wrapper form .form-box {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
  }
  .contact-section .container .contact-wrapper .contact-form-wrapper form .form-box label {
    margin-bottom: 0.5rem;
  }
  .contact-section .container .contact-wrapper .contact-form-wrapper form .form-box .form-control {
    padding: 0.7rem 0.5rem;
    font-size: 1rem;
    background: #171717;
    color: #fafafa;
    border: none;
    border-bottom: 1px solid #171717;
    transition: background-color 0.2s ease-in-out;
  }
  .contact-section .container .contact-wrapper .contact-form-wrapper form .form-box .form-control:focus {
    background: #373737;
    border-bottom: 1px solid #fafafa;
    outline: none;
  }
  .contact-section .container .contact-wrapper .contact-form-wrapper form .form-box button {
    margin-right: auto;
    border: none;
    cursor: pointer;
  }
}

.footer {
  background: #010101;
  color: #fafafa;
  padding: 1.5rem;
  text-align: center;
}

.thanks-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.thanks-section .container .thanks-wrapper h2 {
  margin-bottom: 3rem;
}

.thanks-section .container .thanks-wrapper h5 {
  margin-bottom: 1rem;
}

.thanks-section .container .thanks-wrapper a {
  margin-top: 2rem;
}
