* {
  margin: 0;
  padding: 0;
}

body {
  overflow: overlay;
}

html {
  scroll-behavior: smooth;
  font-family: "Inter", "Roboto", -apple-system, system-ui, BlinkMacSystemFont,
    "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol";
}

/* cursor */
.text-change > .txt {
  border-right: 0.2rem solid #777;
  animation: blink 575ms infinite;
}

@keyframes blink {
  to {
    border-right: 0.2rem solid transparent;
  }
}

.tooop {
  background-color: #8ec5fc;
  background-image: linear-gradient(62deg, #8ec5fc 0%, #e0c3fc 100%);
}

header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* background-color: #b3cde6; */
}

nav {
  height: 96px;
  width: 1200px;
  max-width: calc(100% - 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.left img {
  display: block;
  height: 75px;
  filter: invert();
}

.right button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: #000;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.1s ease;
  border: none;
}

.button svg {
  margin-right: 10px;
}

.right button:hover,
.right button:focus {
  opacity: 0.8;
  text-decoration: none;
}

.start {
  /* background: #b3cde6; */
  padding: 96px 0 64px;
}

.content {
  width: 1200px;
  max-width: calc(100% - 96px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.content h1 {
  font-family: "Inter Display", "Inter", "Roboto", -apple-system, system-ui,
    BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 64px;
  font-weight: 500;
  line-height: 1.4;
  max-width: 800px;
}

.content p {
  color: #716666;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 800px;
}

.start .content .arrow {
  height: 48px;
  width: 36px;
  align-self: flex-end;
  cursor: pointer;
  transition: transform 0.2s ease 0.2s;
}

section {
  /* background-color: #b3cde6; */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services {
  background-color: #fff;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* padding: 128px 0 192px; */
}

section .content .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
}

.content h2 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #707070;
}

.content h3 {
  font-family: "Inter Display", "Inter", "Roboto", -apple-system, system-ui,
    BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 32px;
  font-weight: 500;
  line-height: 1.4;
}

.content li {
  list-style: none;
}

p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
}

.projects {
  background: #000;
  color: #fff;
  padding: 0px 0 192px;
}

p a {
  color: #b3cde6;
  transition: opacity 0.1s ease;
  cursor: pointer;
  text-decoration: none;
}

section .content .grid li img,
section .content .grid li .button {
  margin-top: 24px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: #000;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.1s ease;
}

a {
  text-decoration: none;
}

.button.white {
  color: #000;
  background: #fff;
}

.technologies {
  background-color: #fff;
  padding: 0 0 192px;
}

.technologies .content .grid {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

section .content .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
}

.technologies .content .grid li svg {
  width: 70px;
}

.cta {
  padding: 128px 0 192px;
}

.cta .content {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 0;
  background: #fff;
  overflow: hidden;
}

.cta .content .box {
  padding: 64px;
}

section .content .box {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.cta .content .img img {
  width: 100%;
  object-fit: contain;
  height: 400px;
}

section .content .box .button {
  margin-top: 24px;
}

footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* background: #b3cde6; */
}

footer .content {
  height: 96px;
  width: 1200px;
  max-width: calc(100% - 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 24px;
  border-top: 1px solid #0000001a;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-thumb {
  background: rgba(160, 158, 170, 0.537);
}

footer .content small,
footer .content a {
  white-space: nowrap;
}

small {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
}

footer .content a {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
  transition: opacity 0.1s ease;
}

.content a {
  white-space: nowrap;
}

.projects img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 285px;
}

@media only screen and (max-width: 1024px) {
  .technologies .content .grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  section .content .grid {
    gap: 64px;
  }

  .content li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

@media only screen and (max-width: 512px) {
  .content h1 {
    font-size: 32px;
    line-height: 1.4;
  }

  nav {
    max-width: 100%;
  }

  .left img {
    height: 45px;
    margin-left: 20px;
  }

  .right button {
    margin-right: 20px;
    padding: 10px 13px;
  }

  footer .content {
    flex-direction: column;
    margin-bottom: 10px;
    height: 60px;
  }
}

@media only screen and (max-width: 768px) {
  header .content {
    max-width: calc(100% - 32px);
  }

  .arrow {
    display: none;
  }

  .technologies .content .grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media only screen and (max-width: 768px) {
  .start {
    padding: 48px 0 64px;
  }

  section .content .grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services {
    padding: 42px 0 42px;
  }

  .content h3 {
    font-size: 22px;
  }


  .cta .content {
    display: flex;
  }

  .content h1 {
    font-size: 48px;
  }

  .content {
    max-width: calc(100% - 20px);
  }
}

@media only screen and (max-width: 512px) {
  .content p {
    font-size: 16px;
  }

  section .content {
    gap: 24px;
  }

  .button {
    scale: 0.8;
  }

  .content {
    max-width: calc(100% - 32px);
  }

  section {
    padding: 64px 0;
  }

  section .content {
    gap: 24px;
  }

  .content p {
    max-width: 375px;
  }

  .projects img {
    width: 100%;
    display: block;
    object-fit: contain;
  }

  section .content .button {
    padding: 16px 24px;
  }

  .technologies .content .grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .technologies .content .grid li svg {
    width: 64px;
  }

  small {
    font-size: 11px;
  }

  footer .content a {
    font-size: 11px;
  }
}

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

.media svg {
  margin-left: 20px;
}
