:root {
  --ff-title: 'Kufam', cursive;
  --ff-body: 'Roboto', sans-serif;
  --fs-smallest: 8.19px;
  --fs-smaller: 10.24px;
  --fs-small: 12.8px;
  --fs-body: 16px;
  --fs-h6: 20px;
  --fs-h5: 25px;
  --fs-h4: 31.25px;
  --fs-h3: 39.06px;
  --fs-h2: 48.83px;
  --fs-h1: 61.04px;
  --c-light: #eeebec;
  --c-light-accent: #7dafd2;
  --c-brand: #116abd;
  --c-dark-accent: #4f6ba3;
  --c-dark: #121217;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--ff-body);
  visibility: hidden;
}
footer,
header,
main,
section {
  padding: 0 10%;
}
h1,
h2,
h3,
p {
  margin: 0;
  padding: 0;
}
.service--title,
p {
  letter-spacing: 0.6px;
}
p {
  line-height: 1.5em;
}
strong {
  font-weight: 900;
}
.hero--title,
.logo--name,
.section--title,
h1 {
  font-family: var(--ff-title);
}
.hero--title,
h1 {
  font-size: var(--fs-h1);
}
.hero--pitch,
h2 {
  font-size: var(--fs-h2);
}
.hero--sub,
.logo--home-link,
h3 {
  font-size: var(--fs-h3);
}
.fab,
.hero--cta,
h4 {
  font-size: var(--fs-h4);
}
.form--submit-btn,
.hero--see-next,
a,
h5 {
  font-size: var(--fs-h5);
}
.logo--sub-text,
.service--free-audit,
body,
input,
textarea {
  font-size: var(--fs-h6);
}
#about,
#services {
  background: var(--c-light);
}
.btn:hover {
  background: var(--c-light-accent);
}
#portfolio,
main {
  background: var(--c-dark);
}
.service--card {
  background-color: var(--c-dark-accent);
  background-image: linear-gradient(
    to bottom,
    #116abd,
    #2d6ab6,
    #3c6ab0,
    #466ba9,
    #4f6ba3
  );
}
#contact,
.btn,
.hero--color-block,
body,
header {
  background: var(--c-brand);
}
.btn,
.contact--socials a,
.hero--see-next a,
.logo--home-link,
.nav--link,
.service--card,
body {
  color: var(--c-light);
}
.service--free-audit:hover {
  color: var(--c-light-accent);
}
.service--free-audit {
  color: var(--c-dark);
}
#about,
#services,
.btn:hover {
  color: var(--c-dark);
}
.service--card {
  -webkit-box-shadow: 10px 10px 10px 0 rgba(18, 18, 23, 0.6);
  -moz-box-shadow: 10px 10px 10px 0 rgba(18, 18, 23, 0.6);
  box-shadow: 10px 10px 10px 0 rgba(18, 18, 23, 0.6);
}
main {
  align-items: center;
  background-image: url(../img/hero-background.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  min-height: 100vh;
  text-align: center;
}
.hero--title {
  overflow: hidden;
  position: relative;
}
.hero--title-span {
  display: inline-block;
}
.hero--color-block {
  bottom: 0.7vw;
  display: inline-block;
  height: 0.2vw;
  position: absolute;
  z-index: 0;
}
.hero--pitch {
  margin-bottom: 0.5em;
}
.hero--see-next span {
  opacity: 0.75;
  transition: opacity 0.5s;
}
.hero--see-next span:hover {
  opacity: 1;
}
.contact--socials a,
.contact--socials a:visited,
.hero--see-next a,
.logo--home-link {
  text-decoration: none;
}
header {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: stretch;
  position: sticky;
  top: 0;
  z-index: 1;
}
.logo--container {
  align-self: center;
  grid-column: 1/2;
}
.logo--home-link {
  align-self: center;
}
nav {
  grid-column: 2/3;
}
.nav-links {
  display: flex;
  justify-content: flex-end;
}
.nav--link-item {
  align-content: center;
  height: 100%;
  list-style: none;
  margin-right: 1em;
}
.nav--link {
  display: inline-block;
  height: 100%;
  padding: 20px 0.25em;
  text-decoration: none;
}
.logo--home-link,
.nav--link {
  transition: color 0.5s;
}
.current,
.logo--home-link:hover,
.nav--link:hover {
  border-bottom: solid 5px var(--c-dark);
  color: var(--c-dark);
  margin-bottom: -5px;
  transform: translateY(-5px);
}
.nav--link:hover {
  cursor: pointer;
}
section {
  padding-bottom: 4em;
}
.section--title {
  text-align: center;
  padding: 2em 0 1em;
}
.services--title {
  text-align: center;
}
.service--cards {
  display: grid;
  grid-gap: 6em;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(5, 1fr);
}
.service--card-analytics,
.service--card-design {
  grid-column: 1/2;
}
.service--card-audit,
.service--card-development {
  grid-column: 2/3;
}
.service--card-design {
  grid-row: 1/3;
}
.service--card-development {
  grid-row: 2/4;
}
.service--card-analytics {
  grid-row: 3/5;
}
.service--card-audit {
  grid-row: 4/6;
}
.service--card {
  align-items: center;
  border-radius: 10px 10px 10px 10px;
  -moz-border-radius: 10px 10px 10px 10px;
  -webkit-border-radius: 10px 10px 10px 10px;
  border: 0 solid #000;
  display: grid;
  grid-template-rows: 25% 1fr;
  padding: 1em;
  text-align: center;
}
.service--free-audit {
  text-decoration: none;
}
.technologies {
  text-align: center;
}
.technologies--tech-list {
  display: flex;
  justify-content: space-evenly;
  list-style: none;
}
.technologies--tech-list li h4 {
  margin-bottom: 1em;
}
.technologies--tech-list li ul {
  display: flex;
  flex-direction: column;
  list-style: none;
}
.technologies--tech-list li ul li {
  margin-bottom: 1em;
}
#portfolio {
  height: 50vh;
}
.service--title {
  grid-row: 1/2;
}
.service--description {
  grid-row: 2/3;
}
.about--content {
  display: grid;
  grid-template-columns: repeat(2, 1fr) 30%;
  grid-template-rows: repeat(3, 1fr);
  grid-template-areas: 'text text img' 'text text img' 'text text img';
}
.about--p {
  grid-area: text;
  margin-right: 1em;
}
.img-me {
  border-radius: 10px;
  grid-area: img;
  object-fit: cover;
  object-position: 50% 5%;
  place-self: center;
  width: 100%;
  height: 100%;
}
form {
  background: var(--c-dark);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  margin: 0 auto 4em;
  padding: 1em 5%;
}
input {
  height: 50px;
}
textarea {
  max-width: 100%;
}
input,
textarea {
  border-radius: 10px;
  margin-bottom: 1em;
  padding: 1em;
  width: 100%;
}
input:focus,
textarea:focus {
  border: solid 5px var(--c-brand);
  outline: 0;
}
.form--submit-btn {
  align-self: center;
}
.contact--socials {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}
.fab {
  margin: 0 1em;
}
footer {
  background: var(--c-dark);
  opacity: 0.75;
  padding: 0.1em 0;
  text-align: center;
}
.btn {
  border-radius: 10px;
  border-style: none;
  padding: 0.2em 0.75em;
  text-decoration: none;
  transition: color 0.5s, background 0.5s;
}
.btn:hover {
  cursor: pointer;
}
.btn:focus,
a {
  outline: 0;
}
@media (min-width: 2237px) {
  footer,
  header,
  main,
  section {
    padding: 0 25%;
  }
  section {
    padding-bottom: 4em;
  }
  form {
    width: 45%;
  }
  .contact--socials {
    width: 30%;
  }
}
@media (max-width: 2237px) {
  footer,
  header,
  main,
  section {
    padding: 0 20%;
  }
  section {
    padding-bottom: 4em;
  }
  form {
    width: 45%;
  }
  .contact--socials {
    width: 45%;
  }
}
@media (max-width: 1867px) {
  footer,
  header,
  main,
  section {
    padding: 0 15%;
  }
  section {
    padding-bottom: 4em;
  }
}
@media (max-width: 1603px) {
  footer,
  header,
  main,
  section {
    padding: 0 10%;
  }
  section {
    padding-bottom: 4em;
  }
  .contact--socials {
    width: 45%;
  }
}
@media (max-width: 1405px) {
  footer,
  header,
  main,
  section {
    padding: 0 8%;
  }
  section {
    padding-bottom: 4em;
  }
  .service--cards {
    grid-gap: 3em;
  }
  form {
    width: 50%;
  }
  .contact--socials {
    width: 45%;
  }
}
@media (max-width: 1281px) {
  footer,
  header,
  main,
  section {
    padding: 0 8%;
  }
  section {
    padding-bottom: 4em;
  }
  .service--cards {
    grid-gap: 2em;
    grid-row-gap: 3em;
  }
  .service--card {
    padding-bottom: 2em;
  }
}
@media (max-width: 1062px) {
  footer,
  header,
  main,
  section {
    padding: 0 4%;
  }
  section {
    padding-bottom: 4em;
  }
}
@media (max-width: 883px) {
  footer,
  header,
  main,
  section {
    padding: 0 4%;
  }
  section {
    padding-bottom: 4em;
  }
  input {
    height: 45px;
  }
  .hero--title,
  h1 {
    font-size: var(--fs-h2);
  }
  .hero--pitch,
  h2 {
    font-size: var(--fs-h3);
  }
  .hero--sub,
  .logo--home-link,
  h3 {
    font-size: var(--fs-h4);
  }
  .btn,
  .fab,
  .hero--cta,
  h4 {
    font-size: var(--fs-h5);
  }
  .form--submit-btn,
  .hero--see-next,
  a,
  h5 {
    font-size: var(--fs-h6);
  }
  .logo--sub-text,
  .service--free-audit,
  body,
  input,
  textarea {
    font-size: var(--fs-body);
  }
  .contact--socials {
    width: 45%;
  }
}
@media (max-width: 800px) {
  .service--cards {
    display: grid;
    grid-gap: 2em;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }
  .service--card {
    grid-column: 1;
  }
  .service--card-design {
    grid-row: 1/2;
  }
  .service--card-development {
    grid-row: 2/3;
  }
  .service--card-analytics {
    grid-row: 3/4;
  }
  .service--card-audit {
    grid-row: 4/5;
  }
  .service--card {
    align-items: center;
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    border: 0 solid #000;
    display: grid;
    grid-template-rows: 25% 1fr;
    padding: 1em;
    text-align: center;
  }
  .about--content {
    grid-template-areas: 'text text img' 'text text img' 'text text .';
  }
  form {
    width: 75%;
  }
  .contact--socials {
    width: 75%;
  }
}
@media (max-width: 708px) {
  input {
    height: 40px;
  }
  .hero--title,
  h1 {
    font-size: var(--fs-h3);
  }
  .hero--pitch,
  h2 {
    font-size: var(--fs-h4);
  }
  .hero--sub,
  .logo--home-link,
  h3 {
    font-size: var(--fs-h5);
  }
  .btn,
  .fab,
  .hero--cta,
  h4 {
    font-size: var(--fs-h6);
  }
  .form--submit-btn,
  .hero--see-next,
  a,
  h5 {
    font-size: var(--fs-body);
  }
  .logo--sub-text,
  .service--free-audit,
  body,
  input,
  textarea {
    font-size: var(--fs-small);
  }
  .nav--link-item {
    margin-right: 0.5em;
  }
  .service--card {
    padding: 2em;
  }
}
@media (max-width: 570px) {
  .hero--title,
  h1 {
    font-size: var(--fs-h4);
  }
  .hero--pitch,
  h2 {
    font-size: var(--fs-h5);
  }
  .logo--container {
    display: none;
  }
  nav {
    grid-column: 1/3;
  }
  .nav-links {
    justify-content: space-between;
  }
  .about--content {
    grid-template-rows: repeat(2, 1fr);
    grid-template-areas: 'text text img' 'text text .';
  }
}
@media (max-width: 460px) {
  .hero--title,
  h1 {
    font-size: var(--fs-h5);
  }
  .hero--pitch,
  h2 {
    font-size: var(--fs-h6);
  }
  .about--content {
    grid-template-areas: '. img .' 'text text text';
    grid-template-rows: 150px 2fr;
  }
  .img-me {
    margin-bottom: 1em;
  }
}
@media (max-width: 371px) {
  main {
    padding: 0.25em;
  }
  #services {
    padding: 0 0.25em 4em;
  }
}
