@import url("https://fonts.googleapis.com/css2?family=Heebo:wght@800&family=Poppins:wght@400;500;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #333;
}

h1 {
  font-family: "Heebo", sans-serif;
  font-weight: 800;
}

section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 0;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 30px;
}

nav.container {
  min-height: 10vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 50%;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #000;
}

.hamburger {
  display: none;
}

.presentation-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

p.question {
  color: #2d9cdb;
}

.hero-description {
  font-size: 1.8rem;
  max-width: 350px;
  font-weight: 500;
  padding: 15px 0 30px;
}

.presentation-image {
  width: 100%;
  border-radius: 24px;
}

.hero-more-description {
  max-width: 350px;
  padding-bottom: 30px;
  font-weight: 400;
}

.contact-form p {
  font-size: 14px;
  color: #828282;
  padding-bottom: 10px;
}

.form-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 300px;
  height: 40px;
  border-radius: 12px;
  background: #f2f2f2;
  padding: 0 3px 0 8px;
}

.form-field__input {
  border: none;
  height: 100%;
  padding: 0 10px;
  background: transparent;
  outline: none;
  width:100%;
}

.form-field__btn {
  background: #2d9cdb;
  padding: 0 15px;
  height: 90%;
  border: none;
  color: #fff;
  border-radius: 8px;
}

.secondary-heading {
  font-size: 1.6rem;
  max-width: 270px;
  font-weight: 500;
  padding: 15px 0 30px;
}

.card-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  transition: all 0.5s ease;
  cursor: pointer;
}

.card.active {
  box-shadow: 0px 10px 30px rgba(51, 51, 51, 0.1);
}

.card__brand {
  width: 67px;
  height: 67px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.brand-design {
  background: #2d9cdb;
}

.brand-frontend {
  background: #27ae60;
}

.brand-backend {
  background: #eb5757;
}

.card__brand img {
  width: 27px;
}

.card__text {
  padding: 20px 0;
}

.card__button {
  padding: 10px 15px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.5s ease;
}

.card__button.active {
  background: #2d9cdb;
  color: #fff;
}

.design-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  height: 750px;
  margin-bottom: 30px;
}

.design-image-grid img {
  width: 100%;
  border-radius: 24px;
}

.design-grid__1,
.design-grid__3 {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.design-details {
  padding: 15px 0;
}

.design-details p {
  color: rgba(0, 0, 0, 0.4);
  font-size: 14px;
}

.design-details h4 {
  font-weight: 500;
  font-size: 18px;
}

.more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.see-more {
  color: #2d9cdb;
  text-decoration: none;
}

.more img {
  padding-left: 10px;
}

.team {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.meet {
  color: #eb5757;
}

.secondary-text {
  max-width: 230px;
}

.team__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.team__content-grid img {
  width: 100%;
  border-radius: 24px;
}

.team__content-grid-image__1 {
  grid-row: 1 / 3;
  align-self: center;
}

.longer-heading {
  font-size: 1.6rem;
  max-width: 900px;
  font-weight: 500;
  padding: 15px 0 30px;
}

.author {
  display: flex;
  align-items: center;
}

.author__image {
  width: 87px;
  height: 87px;
  object-fit: cover;
  border-radius: 24px;
  margin-right: 15px;
}

footer {
  padding: 0 30px;
  background: #100e1d;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
}

.footer-grid > * {
  margin-bottom: 30px;
}

.links {
  list-style: none;
}

.list,
.social > * {
  padding-bottom: 15px;
}

.list a {
  color: #fff;
  text-decoration: none;
}

.social__icon {
  display: flex;
  align-items: center;
}

.social__icon img {
  padding-right:15px;
} 

.contact-form {
  justify-self: end;
}

.copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.2);
}

@keyframes scope_up {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

@media (max-width: 790px) {
  section,
  .presentation-wrapper {
    padding: 30px;
  }

  .hamburger {
    display: initial;
    position: relative;
    z-index: 3;
    cursor: pointer;
    width: 35px;
  }

  .nav-links {
    background: #100e1d;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding-top: 10vh;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: all;
  }

  .nav-list {
    margin: 20px 0;
    padding-left: 30px;
  }

  .nav-list a {
    color: #fff;
  }

  .card-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .design-image-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    height: auto;
  }

  .design-grid__1,
  .design-grid__3 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .team {
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
  }

  .team__content {
    margin-bottom: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    justify-self: start;
  }

  footer {
    padding: 0;
  }
}

@media (max-width: 630px) {
  section,
  .container,
  .presentation-wrapper {
    padding: 10px;
  }

  footer section {
    padding: 30px;
  }

  .card-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .card {
    padding: 0px;
  }

  .more {
    justify-content: flex-start;
  }
}
