@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/SpaceGrotesk-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  /* outline: 1px solid green; */
}

html {
  width: 100%;
  height: 100%;
  scrollbar-gutter: stable;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  overflow-x: hidden;
}

body * {
  font-family: "Space Grotesk", sans-serif;
}

body.stop-scroll {
  overflow-y: hidden;
}

header,
footer {
  width: 100%;
  justify-items: center;
}

footer {
  padding: 0 0 50px 0;
}

main {
  width: 100%;
}

a {
  text-decoration: none;
  color: var(--color-text);
}

button {
  cursor: pointer;
  color: var(--color-text);
}

.wrapper {
  max-width: 1424px;
  place-self: center;
  /*padding: 100px 0;*/
}

.header-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
}

.navigation {
  display: flex;
  flex-direction: row;
  gap: 32px;
  justify-content: center;
  align-items: center;
}

.header-menu-container ul {
  display: flex;
  flex-direction: row;
  gap: 32px;
  justify-content: center;
  align-items: center;
  list-style: none;
}

.header-menu-container ul a {
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  vertical-align: middle;
}

.fcc-nav ul li {
  height: 26px;
}

.cta-button {
  color: var(--color-button-text);
  background-color: var(--color-button-bg);
  border: 2px solid var(--color-button-bg);
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  text-align: center;
  vertical-align: middle;
  width: 280px;
  height: 44px;
  border-radius: 40px;
  padding: 8px 32px;
  transition: all 0.3s ease;
}

.cta-button:active,
.footer-btn-box button:active {
  background-color: var(--color-button-text-hover);
  color: var(--color-button-bg-hover);
  border-color: var(--color-button-bg-hover);
}

.footer-title p {
  color: var(--color-text);
  font-weight: 400;
  font-size: 28px;
  line-height: 100%;
}

.footer-title {
  width: 620px;
}

.footer-btn-box button {
  color: var(--color-button-text);
  background-color: var(--color-button-bg);
  border: 2px solid var(--color-button-bg);
  width: 180px;
  height: 44px;
  border-radius: 40px;
  padding: 8px 32px;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  text-align: center;
  vertical-align: middle;
  transition: all 0.3s ease;
}

.footer-btn-box span {
  color: var(--color-text);
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
}

.footer-btn-box a {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.footer-btn-box a span {
  color: var(--arrow-footer-fill);
  display: inline-block;
  position: relative;
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  text-decoration: underline;
  text-decoration-color: var(--arrow-footer-fill);
  /* text-decoration-thickness: 1px; */
  text-underline-offset: 10px;
}

.footer-btn-box {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  padding: 40px 0 24px 0;
}

.footer-btn-box a,
.pr-col-1 a {
  position: relative;
  display: inline-flex;
}

.meeting-button .icon-base,
.meeting-button .icon-hover {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

.meeting-button .icon-base {
  opacity: 1;
  transform: translate(0, -50%);
  transition: opacity 0s;
}

.meeting-button .icon-hover {
  opacity: 0;
  transform: translate(-100%, 50%);
  transition: opacity 0s;
}

.meeting-button:hover .icon-base {
  opacity: 0;
  animation: iconOut 0.3s ease-in forwards;
}

.meeting-button:hover .icon-hover {
  opacity: 1;
  animation: iconIn 0.3s ease-in forwards;
}

.meeting-button:not(:hover) .icon-base {
  transition: none;
  opacity: 1;
  transform: translate(0, -50%);
}

.meeting-button:not(:hover) .icon-hover {
  transition: none;
  opacity: 0;
  transform: translate(-100%, 50%);
}

.footer-btn-box a svg path,
.pr-col-1 a svg path {
  fill: var(--arrow-footer-fill);
  stroke: var(--arrow-footer-fill);
}

@keyframes iconOut {
  0% {
    opacity: 1;
    transform: translate(0, -50%);
  }

  100% {
    opacity: 0;
    transform: translate(100%, -150%);
  }
}

@keyframes iconIn {
  0% {
    opacity: 0;
    transform: translate(-100%, 50%);
  }

  100% {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

.footer-btn-box a:not(:hover) .icon-hover {
  transition: none;
  opacity: 0;
  transform: translate(-100%, 50%);
}

.footer-project button {
  color: var(--color-button-bg);
  border: 2px solid var(--color-button-bg);
  background-color: transparent;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  text-align: center;
  vertical-align: middle;
  width: 486px;
  height: 44px;
  border-radius: 40px;
  padding: 8px 32px;
}

.footer-box-logo {
  padding: 34px 0 32px 0;
  width: 282px;
}

.footer-box-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-container-left > p {
  color: var(--coppy);
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -2%;
  vertical-align: middle;
}

.footer-container {
  width: 1240px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.fcc-title p,
.fcr-title p {
  color: var(--color-text);
  font-weight: 400;
  font-size: 28px;
  line-height: 100%;
}

.footer-container-center > div,
.footer-container-right > div {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fcc-nav ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.rcr-box {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.rcr-box p {
  color: var(--color-text);
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
}

.rcr-box > div {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fcr-rew > div {
  display: flex;
  gap: 16px;
  flex-direction: row;
}

.rcr-soc > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
}

.footer-container-right > a,
.footer-container-center > a {
  color: var(--coppy);
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  vertical-align: middle;
  transition: width 0.3s ease-out;
}

.footer-container-right svg path {
  fill: var(--soc-svg-bg);
  transition: fill 0.3s ease-out;
}

.footer-container-right a:active svg path {
  fill: var(--link-active);
}

.footer-container-center,
.footer-container-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-container-right > a,
.footer-container-center > a {
  display: inline-block;
  position: relative;
  text-decoration: none;
}

.footer-container-right > a::after,
.footer-container-center > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7.5px;
  width: 0;
  height: 2px;
  background-color: var(--coppy);
  transition: width 0.3s ease-out;
}

.header-menu-container ul a {
  display: inline-block;
  position: relative;
  text-decoration: none;
}

.header-menu-container ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7.5px;
  width: 0;
  height: 2px;
  background-color: var(--color-text);
  transition: width 0.3s ease-out;
}

.header-menu-container ul a:active::after,
.footer-container-right > a:active::after,
.footer-container-center > a:active::after {
  width: 100%;
  background-color: var(--link-active);
}

.header-menu-container ul a:active,
.footer-container-right > a:active,
.footer-container-center > a:active {
  color: var(--link-active);
}

/** **/

.touch-block {
  padding: 80px 0 0 0;
}

.get-touch-box {
  padding: 24px;
}

.get-touch-box p {
  font-weight: 700;
  font-size: 120px;
  line-height: 100%;
  vertical-align: middle;
  text-transform: uppercase;
  color: #fff;
  width: 900px;
}

.get-touch {
  border: 1px solid #ffffff1a;
  position: relative;
  display: inline-block;
  width: 1200px;
}

.get-touch-border-2::before {
  content: "";
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 20px;
  height: 20px;
  background: linear-gradient(to right, #ffffff1a 0 100%, transparent 0) bottom
      left / 20px 1px no-repeat,
    linear-gradient(to top, #ffffff1a 0 100%, transparent 0) bottom left / 1px
      20px no-repeat;
  transform: rotate(180deg);
}

.get-touch-border-2::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  left: -5px;
  bottom: -5px;
  background: linear-gradient(to bottom, white 0 100%, transparent 0) center /
      1px 9px no-repeat,
    linear-gradient(to right, white 0 100%, transparent 0) center / 9px 1px
      no-repeat,
    linear-gradient(to bottom right, white 0 100%, transparent 0) center / 1px
      9px no-repeat,
    linear-gradient(to top right, white 0 100%, transparent 0) center / 1px 9px
      no-repeat;
}

.get-touch-border-1::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 20px;
  height: 20px;
  background: linear-gradient(to right, #ffffff1a 0 100%, transparent 0) bottom
      left / 20px 1px no-repeat,
    linear-gradient(to top, #ffffff1a 0 100%, transparent 0) bottom left / 1px
      20px no-repeat;
  transform: rotate(270deg);
}

.get-touch-border-1::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  left: -5px;
  top: -5px;
  background: linear-gradient(to bottom, white 0 100%, transparent 0) center /
      1px 9px no-repeat,
    linear-gradient(to right, white 0 100%, transparent 0) center / 9px 1px
      no-repeat,
    linear-gradient(to bottom right, white 0 100%, transparent 0) center / 1px
      9px no-repeat,
    linear-gradient(to top right, white 0 100%, transparent 0) center / 1px 9px
      no-repeat;
}

.get-touch-border-3::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 20px;
  height: 20px;
  background: linear-gradient(to right, #ffffff1a 0 100%, transparent 0) bottom
      left / 20px 1px no-repeat,
    linear-gradient(to top, #ffffff1a 0 100%, transparent 0) bottom left / 1px
      20px no-repeat;
  transform: rotate(0deg);
}

.get-touch-border-3::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  right: -5px;
  top: -5px;
  background: linear-gradient(to bottom, white 0 100%, transparent 0) center /
      1px 9px no-repeat,
    linear-gradient(to right, white 0 100%, transparent 0) center / 9px 1px
      no-repeat,
    linear-gradient(to bottom right, white 0 100%, transparent 0) center / 1px
      9px no-repeat,
    linear-gradient(to top right, white 0 100%, transparent 0) center / 1px 9px
      no-repeat;
}

.get-touch-border-4::before {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 20px;
  height: 20px;
  background: linear-gradient(to right, #ffffff1a 0 100%, transparent 0) bottom
      left / 20px 1px no-repeat,
    linear-gradient(to top, #ffffff1a 0 100%, transparent 0) bottom left / 1px
      20px no-repeat;
  transform: rotate(90deg);
}

.get-touch-border-4::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(to bottom, white 0 100%, transparent 0) center /
      1px 9px no-repeat,
    linear-gradient(to right, white 0 100%, transparent 0) center / 9px 1px
      no-repeat,
    linear-gradient(to bottom right, white 0 100%, transparent 0) center / 1px
      9px no-repeat,
    linear-gradient(to top right, white 0 100%, transparent 0) center / 1px 9px
      no-repeat;
}

/** **/
.title-tech-page {
  font-weight: 500;
  font-size: 48px;
  line-height: 100%;
  vertical-align: middle;
  padding: 0 0 36px 0;
}

@media (hover: hover) and (pointer: fine) {
  .header-menu-container ul a:hover::after,
  .footer-container-right > a:hover::after,
  .footer-container-center > a:hover::after {
    width: 100%;
  }

  .cta-button:hover,
  .footer-btn-box button:hover {
    background-color: var(--color-button-text-hover);
    color: var(--color-button-bg-hover);
    border-color: var(--color-button-bg-hover);
  }

  .footer-container-right a:hover svg path {
    fill: var(--link-active);
  }
}
