@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: rgb(230, 246, 171);
  overflow-x: hidden;
}

.none {
  display: none !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.header .container {
  position: relative;
  z-index: 1;
}

.header {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  background: #252525 linear-gradient(158deg, #2f2f2f 0%, #202020 100%);
  border-bottom-right-radius: 100px;
  color: #fff;
}

.header-video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  object-position: center;
  border-bottom-right-radius: 100px;
}

.header-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 60px;
}

.header-img {
  width: 357px;
  height: 450px;
  border-radius: 30px 30px 60px 30px;
}

.header-title {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 60px;
}

.header-text {
  margin-bottom: 20px;
  font-size: 26px;
  font-weight: 300;
}

.header-btns {
  display: flex;
  column-gap: 20px;
}

.btn {
  background-color: black;
  height: 48px;
  padding-top: 15px;
  padding-left: 25px;
  padding-right: 25px;
  border-radius: 8px;
  color: white;
  line-height: 1;
  transition: all 0.4s ease-in;
}

.btn:hover {
  background-color: #1782cf;
}

.btn-outline {
  border: 1px solid #3b3b3b;
  height: 48px;
  padding-top: 15px;
  padding-left: 25px;
  padding-right: 25px;
  border-radius: 8px;
  color: white;
  line-height: 1;
  transition: all 0.4s ease-in;
}

.btn-outline:hover {
  border-color: #1782cf;
}

/* --portfolio-- */

.portfolio-container {
  padding: 80px 0;
}

.portfolio-title {
  font-size: 52px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 65px;
}

.projects {
  display: flex;
  flex-direction: column;
  row-gap: 70px;
  align-items: center;
}

.project {
  position: relative;
  text-align: center;
}

.project-video {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
  opacity: 0.9;
  object-fit: cover;
  object-position: center;
  border-radius: 30px;
}

.project-img {
  border-radius: 30px;
  margin-bottom: 30px;
  opacity: 0.9;
  transition: opacity 0.4s ease-in;
}

.project-img:hover {
  opacity: 0.6;
}

.project-title {
  color: black;
  font-weight: bold;
  font-style: 32px;
}

.project-title a {
  color: black;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

/*--contacts--*/

.contacts {
  position: relative;
  padding: 80px 20px;

  width: 100%;
  background-color: #252525;
  border-top-left-radius: 100px;
  color: white;
}

.contacts-container {
  position: relative;
  z-index: 1;
}

.contacts-video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  object-position: center;
  border-top-left-radius: 100px;
}

.contacts-title {
  text-align: center;
  margin-bottom: 65px;
  font-size: 52px;
  font-weight: bold;
}

.messangers {
  display: flex;
  column-gap: 30px;
  row-gap: 30px;
  flex-wrap: wrap;
}

.messanger {
  flex-grow: 1;
  font-size: 20px;
  display: flex;
  column-gap: 15px;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 46px 20px;
  border-radius: 20px;
  border: 2px solid #363636;
  transition: all 0.4s ease-in;
}

.messanger:hover {
  border-color: #1782cf;
  background-color: #1e1e1e;
}

.hr {
  border: 0.5px solid white;
}

/*--footer--*/

.footer {
  width: 100%;
  height: 126px;
  background-color: #1e1e1e;
  padding: 30px 0;
  text-align: center;
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer-inner {
  color: yellowgreen;
  font-style: 14px;
}

.footer-inner p + p {
  margin-top: 15px;
}

/*-inner-page-*/

.inner-page {
  padding: 80px 0 40px;
}

.inner-page-details {
  display: flex;
  flex-direction: column;
  row-gap: 25px;
  align-items: center;
  margin-bottom: 40px;
  text-align: center;
}

.inner-page-title {
  font-size: 52px;
  font-weight: bold;
}

.inner-page-text {
  max-width: 570px;
  display: flex;
  flex-direction: column;
  row-gap: 25px;
  color: #555555;
  line-height: 1.5;
}

.inner-page-link {
  color: black;
}

.inner-page-link a {
  color: black;
  text-decoration: underline;
}

.inner-page-img {
  display: block;
  margin: 0 auto;
  margin-bottom: 40px;
}

.inner-page-backlink {
  max-width: 770px;
  margin: 0 auto;
  padding: 30px;

  display: flex;
  column-gap: 10px;
  align-items: center;
  justify-content: center;

  background-color: #f1f1f1;
  color: black;
  text-align: center;
  transition: 0.4s;
}

.inner-page-backlink:hover {
  background-color: #decdcd;
}


/* Defs */
@property --angle-1 {
  syntax: "<angle>";
  inherits: false;
  initial-value: -75deg;
}

@property --angle-2 {
  syntax: "<angle>";
  inherits: false;
  initial-value: -45deg;
}

:root {
  --global--size: clamp(2rem, 4vw, 5rem);
  --anim--hover-time: 400ms;
  --anim--hover-ease: cubic-bezier(0.25, 1, 0.5, 1);
}


/* ========== BUTTON ========== */

/* Button Wrap Container */
.button-wrap {
  position: relative;
  z-index: 2;
  border-radius: 999vw;
  background: transparent;
  pointer-events: none;
  transition: all var(--anim--hover-time) var(--anim--hover-ease);
}



/* ========== BUTTON BASE STYLES ========== */

button {
  /* Basic Styling */
  --border-width: clamp(1px, 0.0625em, 4px);
  all: unset;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  pointer-events: auto;
  z-index: 3;
  background: linear-gradient(
    -75deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 999vw;
  box-shadow: inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.2),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2),
    0 0 0 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  -webkit-backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  -moz-backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  -ms-backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  transition: all var(--anim--hover-time) var(--anim--hover-ease);
}

button:hover {
  transform: scale(0.975);
  backdrop-filter: blur(0.01em);
  -webkit-backdrop-filter: blur(0.01em);
  -moz-backdrop-filter: blur(0.01em);
  -ms-backdrop-filter: blur(0.01em);
  box-shadow: inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.15em 0.05em -0.1em rgba(0, 0, 0, 0.25),
    0 0 0.05em 0.1em inset rgba(255, 255, 255, 0.5),
    0 0 0 0 rgba(255, 255, 255, 1);
}

/* Button Text */
button span {
  position: relative;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.05em;
  font-weight: 500;
  font-size: 1em;
  color: rgba(50, 50, 50, 1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 0em 0.25em 0.05em rgba(0, 0, 0, 0.1);
  transition: all var(--anim--hover-time) var(--anim--hover-ease);
  padding-inline: 1.5em;
  padding-block: 0.875em;
}

button:hover span {
  text-shadow: 0.025em 0.025em 0.025em rgba(0, 0, 0, 0.12);
}

/* Text */
button span::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  width: calc(100% - var(--border-width)); /* Prevent overlapping border */
  height: calc(100% - var(--border-width));
  top: calc(0% + var(--border-width) / 2);
  left: calc(0% + var(--border-width) / 2);
  box-sizing: border-box;
  border-radius: 999vw;
  overflow: clip;
  background: linear-gradient(
    var(--angle-2),
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 40% 50%,
    rgba(255, 255, 255, 0) 55%
  );
  z-index: 3;
  mix-blend-mode: screen;
  pointer-events: none;
  background-size: 200% 200%;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  transition: background-position calc(var(--anim--hover-time) * 1.25)
      var(--anim--hover-ease),
    --angle-2 calc(var(--anim--hover-time) * 1.25) var(--anim--hover-ease);
}

button:hover span::after {
  background-position: 25% 50%;
}

button:active span::after {
  background-position: 50% 15%;
  --angle-2: -15deg;
}

/* Touch Devices */
@media (hover: none) and (pointer: coarse) {
  button span::after,
  button:active span::after {
    --angle-2: -45deg;
  }
}

/* ========== BUTTON OUTLINE ========== */

/* Outline */
button::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: 999vw;
  width: calc(100% + var(--border-width));
  height: calc(100% + var(--border-width));
  top: calc(0% - var(--border-width) / 2);
  left: calc(0% - var(--border-width) / 2);
  padding: var(--border-width);
  box-sizing: border-box;
  background: conic-gradient(
      from var(--angle-1) at 50% 50%,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0) 5% 40%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0) 60% 95%,
      rgba(0, 0, 0, 0.5)
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  transition: all var(--anim--hover-time) var(--anim--hover-ease),
    --angle-1 500ms ease;
  box-shadow: inset 0 0 0 calc(var(--border-width) / 2) rgba(255, 255, 255, 0.5);
}

button:hover::after {
  --angle-1: -125deg;
}

button:active::after {
  --angle-1: -75deg;
}

@media (hover: none) and (pointer: coarse) {
  button::after,
  button:hover::after,
  button:active::after {
    --angle-1: -75deg;
  }
}

/* Shadow Hover */
.button-wrap:has(button:hover) .button-shadow {
  filter: blur(clamp(2px, 0.0625em, 6px));
  -webkit-filter: blur(clamp(2px, 0.0625em, 6px));
  -moz-filter: blur(clamp(2px, 0.0625em, 6px));
  -ms-filter: blur(clamp(2px, 0.0625em, 6px));
  transition: filter var(--anim--hover-time) var(--anim--hover-ease);
}

.button-wrap:has(button:hover) .button-shadow::after {
  top: calc(var(--shadow-cuttoff-fix) - 0.875em);
  opacity: 1;
}

/* Rotation */
.button-wrap:has(button:active) {
  transform: rotate3d(1, 0, 0, 25deg);
}

.button-wrap:has(button:active) button {
  box-shadow: inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.125em 0.125em -0.125em rgba(0, 0, 0, 0.2),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2),
    0 0.225em 0.05em 0 rgba(0, 0, 0, 0.05),
    0 0.25em 0 0 rgba(255, 255, 255, 0.75),
    inset 0 0.25em 0.05em 0 rgba(0, 0, 0, 0.15);
}

.button-wrap:has(button:active) .button-shadow {
  filter: blur(clamp(2px, 0.125em, 12px));
  -webkit-filter: blur(clamp(2px, 0.125em, 12px));
  -moz-filter: blur(clamp(2px, 0.125em, 12px));
  -ms-filter: blur(clamp(2px, 0.125em, 12px));
}

.button-wrap:has(button:active) .button-shadow::after {
  top: calc(var(--shadow-cuttoff-fix) - 0.5em);
  opacity: 0.75;
}

.button-wrap:has(button:active) span {
  text-shadow: 0.025em 0.25em 0.05em rgba(0, 0, 0, 0.12);
}









