* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Gilroy", sans-serif;
  text-align: center;
  overflow-x: hidden;
}

:root {
  /* Font sizes for desktop */

  --desktop-heading-size: 60px;
  --desktop-sub-heading-size: 40px;
  --desktop-paragraph-size: 18px;

  /* Font sizes for mobile */

  --paragraph-size: 16px;
  --heading-size: 32px;
  --sub-heading-size: 26px;
  --title-size: 22px;
  --subtitle-size: 14px;

  /* Font weights */

  --bold: 700;
  --semi-bold: 600;
  --medium: 500;
  --regular: 400;

  /* Colors */

  --primary-blue: #0047ff;
  --primary-green: #00e9bf;
  --primary-black: #151515;
  --primary-gray: #585858;
  --primary-white: #ffffff;
}

/* Universales */

h1 {
  font-size: var(--heading-size);
  color: var(--primary-black);
  font-weight: var(--bold);
}

h2 {
  font-size: var(--sub-heading-size);
  color: var(--primary-black);
  font-weight: var(--semi-bold);
}

h3 {
  font-size: var(--title-size);
  color: var(--primary-black);
  font-weight: var(--semi-bold);
}

h4 {
  font-size: var(--subtitle-size);
  color: var(--primary-blue);
  text-transform: uppercase;
}

p {
  font-size: var(--paragraph-size);
  color: var(--primary-gray);
  font-weight: var(--medium);
  line-height: 22px;
}

a {
  font-size: var(--paragraph-size);
  color: var(--primary-black);
  text-decoration: none;
}

span {
  color: var(--primary-blue);
}

button {
  width: 170px;
  height: 40px;
  border: none;
  font-family: "Gilroy", sans-serif;
  font-size: var(--paragraph-size);
  font-weight: var(--semi-bold);
  border-radius: 5px;
}

img {
  width: 100%;
}

/* Hero Section */

.hero-section .navegation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  margin-bottom: 4rem;
  box-shadow: 0 0 48px #dfdfdf6c;
}

.hero-section .navegation #logo {
  color: var(--primary-black);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 3px;
  text-align: left;
  line-height: initial;
}

.hero-section .navegation ul {
  display: flex;
  list-style: none;
  column-gap: 6rem;
  font-weight: var(--medium);
}

.hero-section .navegation .navlinks {
  position: absolute;
  right: 0px;
  height: 52vh;
  width: 100%;
  top: 7rem;
  background-color: var(--primary-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 5rem;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.navlinks li {
  opacity: 0;
}

.hero-section .navegation ul li a {
  font-size: 17px;
  transition: 0.3s ease;
}

.hero-section .navegation ul li a:hover {
  color: var(--primary-green);
  transition: 0.3s ease;
}

.hero-section .navegation .burger {
  display: block;
  cursor: pointer;
}

.hero-section .navegation .burger div {
  width: 25px;
  height: 3px;
  background-color: var(--primary-black);
  margin: 5px;
  border-radius: 10px;
}

.hero-section .container {
  margin: 0 2rem;
}

.hero-section #hero-heading {
  margin-bottom: 22px;
}

.hero-section #hero-desc {
  margin-bottom: 40px;
}

.hero-section .btn-bg {
  background-color: var(--primary-blue);
  color: var(--primary-white);
  box-shadow: 0 1px #1b3299, 0 5px 20px #c7c7c7;
  transition: all 0.2s ease;
}

.hero-section .btn-bg:hover {
  background: #0059ff;
}

.hero-section .btn-no-bg {
  background: none;
  text-decoration: underline;
  text-decoration-color: var(--primary-blue);
  text-decoration-thickness: 2.2px;
}

.hero-section img {
  margin-top: 67px;
}

/* Services Section */

.services-section {
  margin-top: 100px;
  margin-left: 2rem;
  margin-right: 2rem;
}

.services-section #services-sub-heading {
  margin-bottom: 1rem;
}

.services-section #services-sub-heading::after {
  content: "";
  width: 10px;
  height: 2px;
  background-color: var(--primary-blue);
}

.services-section .services-container {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 32px;
}

.services-section .services-container .service {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid #e2e2e2;
  border-radius: 10px;
  padding: 58px 41px;
}

.services-section .services-container .service:nth-child(even) {
  background-color: var(--primary-blue);
  border: none;
  color: var(--primary-white);
  box-shadow: 0 0 40px #dfdfdf;
}

.services-section .services-container .icon {
  background: #ededed;
  height: 50px;
  width: 50px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
}

.services-section .services-container .service:nth-child(even) .icon {
  background: #0038c8;
}

.services-section .services-container .service:nth-child(even) .service-title {
  color: var(--primary-white);
}

.services-section .services-container .service-desc {
  margin-top: 18px;
}

.services-section .services-container .service:nth-child(even) .service-desc {
  color: var(--primary-white);
}

/* About Section */

.about-section {
  margin-top: 100px;
  margin-right: 2rem;
  margin-left: 2rem;
}

.about-section h4 {
  margin-top: 40px;
}

.about-section p {
  margin-top: 30px;
}

/* Projects Section */

.projects-section {
  margin-top: 100px;
  margin-left: 2rem;
  margin-right: 2rem;
}

.projects-section h2 {
  margin-bottom: 30px;
}

.projects-section p {
  margin-bottom: 60px;
}

.projects-section .projects-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 32px;
}

.projects-section .projects-container .project {
  background: url(../img/project_01.jpg);
  background-size: cover;
  width: 90%;
  padding: 146px 0px;
  border-radius: 10px;
  box-shadow: 0 0 48px #dfdfdf6c;
}

.projects-section .projects-container .project p {
  margin-bottom: 0;
  color: var(--primary-white);
  font-size: 18px;
}

.projects-section .projects-container .project.phoenix {
  background: url(../img/project_02.png);
  background-size: cover;
}

/* Testimonials Section */

.testimonials-section {
  margin-top: 100px;
  margin-left: 2rem;
  margin-right: 2rem;
}

.testimonials-section h2 {
  text-align: center;
}

.testimonials-container {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.testimonial {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--primary-blue);
  border-radius: 10px;
}

.testimonial .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.buttons {
  display: flex;
  column-gap: 1rem;
}

.buttons button {
  width: 30px;
  height: 30px;
  background-color: var(--primary-white);
  cursor: pointer;
}

.buttons button i {
  font-size: 15px;
}

.quote {
  color: var(--primary-white);
}

.client-details {
  display: flex;
  align-items: center;
  text-align: left;
}

.client-details img {
  width: 60px;
  border: 2px solid var(--primary-white);
  border-radius: 50px;
}

.client-info {
  margin-left: 1rem;
}

.client-name {
  color: var(--primary-white);
  font-weight: 600;
}

.client-occ {
  color: var(--primary-white);
  font-weight: 400;
}

/* Contact Section */

.contact-section {
  margin-top: 100px;
  padding: 94px 2rem;
  background: url(../img/contact-section-bg.jpg);
  background-size: cover;
  background-position-x: -125px;
}

.contact-form-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-section h2 {
  margin-bottom: 30px;
  color: var(--primary-white);
}

.contact-section .separator {
  width: 50%;
  height: 2px;
  background: var(--primary-blue);
}

.contact-section p {
  color: var(--primary-white);
}

.contact-desc {
  margin: 0 auto;
  width: 70%;
}

.contact-email {
  margin-top: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 13px;
  color: var(--primary-white);
}

.contact-email i {
  font-size: 25px;
  color: var(--primary-green);
}

.contact-phone {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 13px;
}

.contact-phone img {
  width: 25px;
}

.contact-form {
  margin-top: 50px;
  background: white;
  border-radius: 10px;
  padding: 2rem 2rem;
}

.contact-form .user-details {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  margin: 1.5rem 0;
}

.contact-form span {
  color: var(--primary-black);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-form .input-box {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.input-box input {
  font-family: "Gilroy", sans-serif;
  height: 2rem;
  padding-left: 0.5rem;
  border: 1px solid rgb(192, 192, 192);
  outline: none;
  transition: all 0.3s ease;
}

.input-box input:focus,
.input-box input:valid {
  border: 2px solid var(--primary-blue);
}

.contact-section .button input {
  width: 50%;
  height: 30px;
  border: none;
  font-family: "Gilroy", sans-serif;
  background-color: var(--primary-blue);
  box-shadow: 0 1px #1b3299, 0 5px 20px #c7c7c7;
  color: var(--primary-white);
  font-weight: var(--semi-bold);
  border-radius: 5px;
  transition: all 0.2s ease;
}

.contact-section .button input:hover {
  background: #0059ff;
}

@media screen and (min-width: 1000px) {
  body {
    text-align: initial;
  }

  h1 {
    font-size: var(--desktop-heading-size);
  }

  h2 {
    font-size: var(--desktop-sub-heading-size);
  }

  p {
    font-size: var(--desktop-paragraph-size);
    font-weight: var(--medium);
    line-height: 25px;
  }

  .hero-section {
    margin: 0;
  }

  .hero-section .navegation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 0 48px #dfdfdf6c;
    padding: 2rem 6rem;
  }

  .hero-section .navegation .navlinks {
    position: initial;
    display: flex;
    flex-direction: row;
    row-gap: 5rem;
    transform: translateX(0%);
    background-color: transparent;
    box-shadow: 0 0;
    top: 0;
    height: initial;
    width: initial;
  }

  .hero-section .navegation .navlinks li {
    opacity: 1;
  }

  .hero-section .navegation #logo {
    font-size: 20px;
  }

  .hero-section .navegation .burger {
    display: none;
  }

  .hero-section .container {
    display: flex;
    margin-top: 5rem;
    margin-left: 6rem;
    margin-right: 6rem;
  }

  .hero-section img {
    width: 600px;
    margin: 0;
  }

  .hero-section h1 {
    width: 110%;
  }

  .hero-section p {
    width: 80%;
  }

  button {
    width: 200px;
    height: 45px;
    font-size: 18px;
  }

  .services-section {
    margin-right: 4rem;
    margin-left: 4rem;
    text-align: center;
  }

  .services-section #services-desc {
    margin: 0 auto;
    width: 40%;
    text-align: center;
  }

  .services-section .services-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 65px;
  }

  .about-section {
    margin-top: 150px;
  }

  .about-section .container {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 5rem;
  }

  .about-section img {
    width: 600px;
  }

  .projects-section {
    text-align: center;
    margin-top: 150px;
    margin-left: 4rem;
    margin-right: 4rem;
  }

  .projects-section .projects-desc {
    text-align: center;
    width: 35%;
    margin: 0 auto;
    padding-bottom: 100px;
  }

  .projects-section .projects-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 3rem;
  }

  .projects-section .projects-container .project {
    width: 30%;
    background-size: cover;
    background-position-x: -50px;
  }

  .projects-section .projects-container .project.phoenix {
    background-position-x: 0;
  }

  .testimonials-section {
    margin: 0;
    margin-top: 200px;
  }

  .testimonial {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: initial;
    position: relative;
    top: 4rem;
  }

  .client-info p {
    font-size: 16px;
  }

  .contact-section {
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 6rem;
    padding-right: 6rem;
    background-size: cover;
    background-position-x: 0;
    background-position-y: -50px;
  }

  .contact-section p {
    margin: initial;
    width: 70%;
  }

  .contact-section .contact-phone,
  .contact-email {
    justify-content: unset;
  }

  .contact-section .contact-form {
    width: 500px;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    align-items: left;
  }
}

.hero-section .navegation .navlinks.nav-active {
  transform: translateX(0%);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}
