@import "./reset.css";

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

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

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --black: #171718;
  --black-border: #26292d;
  --white: #fff;
  --purple: #5c62ec;
  --new-blue: #9ca9f2;

  --text-color: var(--black);
  --dark-bg: var(--black);
  --dark-border: var(--black-border);
  --header-text: var(--white);
  --accent: var(--purple);

  /*light mode*/
  --page-bg: var(--white);
  --text-color: var(--black);
  --title-1: var(--accent);
  --project-card-bg: var(--new-blue);
  --project-card-text: var(--black);
  --box-shadow: 0px 5px 35px rgba(0, 0, 0, 0.25);
  --special: tomato;

  /*new page*/
  --left-half: #b3b4af;
  --right-half: #191921;
  --new-text: white;
  --new-shadow: #191921;
  --shadow-hover: rgb(255 252 252 / 80%);
  --menu: #191921d1;
}

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

::-webkit-scrollbar-track {
  background: var(--page-bg);
  box-shadow: 25px 25px 25px 75px rgba(0, 0, 0, 0.25),
    25px 25px 75px rgba(0, 0, 0, 0.25), inset 5px 5px 10px rgba(0, 0, 0, 0.5),
    inset 5px 5px 20px rgba(255, 255, 255, 0.2),
    inset -5px -5px 15px rgba(0, 0, 0, 0.75);
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-image: linear-gradient(45deg, var(--left-half), var(--right-half));
}

.dark {
  /*dark mode mode*/
  --page-bg: #252526;
  --text-color: var(--white);
  --title-1: rgb(158, 52, 34);
  --project-card-bg: #413232;
  --project-card-text: wheat;
  --box-shadow: 0px 5px 35px rgba(0, 0, 0, 0.9);
  --special: fuchsia;

  /*new page*/
  --left-half: #252526;
  --right-half: #171718;
  --new-text: white;
  --new-shadow: #171718;
  --shadow-hover: rgb(255 252 252 / 80%);
  --menu: #000000ad;
}

html,
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "DM Sans", sans-serif;
  letter-spacing: -0.5px;
  /*color mode*/
  color: var(--text-color);
  background-color: var(--page-bg);
  color: var(--text-color);
}

.main__page {
  overflow: hidden;
  background-color: transparent;
}

/* .fixed__wrapper {
  position: fixed;
} */

.container {
  margin: 0 auto;
  padding: 0 15px;
  max-width: 1200px;
}

.none {
  display: none !important;
}

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

.section {
  padding: 70px 0;
}

/*projects*/

.title-1 {
  margin-bottom: 60px;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--title-1);
  text-align: center;
}

.title-2 {
  font-size: 40px;
  font-weight: 700;
}

/*Nav*/
.nav {
  padding: 20px 0;
  border-bottom: 1px solid var(--dark-border);
  background-color: var(--right-half);
  color: var(--header-text);
  letter-spacing: normal;
}

.nav-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  column-gap: 30px;
  row-gap: 20px;
  flex-wrap: wrap;
}

.logo {
  margin-right: auto;
  color: var(--header-text);
  font-size: 24px;
  font-family: "Poppins", sans-serif;
}

.logo strong {
  font-weight: 700;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
  align-items: center;
  column-gap: 40px;
  font-size: 16px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
}

.nav-list__link {
  color: var(--header-text);
  transition: color 1s ease;
}

.nav-list__link:hover {
  color: #b30029;
  transition: color 1s ease;
}

.nav-list__link--active {
  position: relative;
}

.nav-list__link--active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--accent);
}

/*dark mode btn*/
.dark-mode-btn {
  order: 9;
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 51px;
  height: 26px;
  padding: 5px;
  border-radius: 50px;
  background-color: #b3b4af;
  transition: all 0.5s ease;
}

.dark-mode-btn::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: white;
  transition: left 0.2s ease-in;
}

.dark-mode-btn--active::before {
  left: 26px;
}

.dark-mode-btn__icon {
  position: relative;
  z-index: 9;
}
/*header*/

.header {
  font-family: "Cormorant Infant", serif;
  font-size: 12px;
  width: 100%;
  height: 100vh;
}

.header__nav {
  background-color: transparent;
  border-bottom: none;
}

.header__left,
.header__right {
  position: absolute;
  width: 50%;
  height: 100%;
  z-index: -1;
}

.header__left {
  background: var(--left-half);
  /* background: #191921; */
  left: 0%;
  width: 0%;
}

.header__right {
  background: var(--right-half);
  right: 0%;
  width: 100%;
}

.header__nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 80px;
  padding: 0 20px;
}

.header__nav .logo {
  flex: 1;
  font-size: 24px;
  letter-spacing: 0;
}

.img__wrapper {
  position: absolute;
  bottom: 0;
  left: 28%;
  z-index: -1;
}

.img__wrapper .VaDeveloper {
  background-image: url("/img/555.webp");
  background-size: cover;
  background-position: center;
  height: 100dvh;
  width: 0;
}

.info {
  position: absolute;
  bottom: 0%;
  left: 180px;
  background: var(--new-shadow);
}

.info ul {
  display: flex;
}

.info ul li {
  color: var(--new-text);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 15px;
  font-weight: 600;
}

.info ul li {
  display: block;
  padding: 20px 25px;
}

.info ul li:hover {
  background: var(--shadow-hover);
  transition: all 1s ease;
}
.info ul li:hover {
  color: black;
  transition: all 1s ease;
}

.info i {
  font-size: 18px;
}

.title {
  position: absolute;
  top: 50%;
  right: 100px;
  transform: translateY(-50%);
}

.title h1 {
  font-size: clamp(2.5rem, 1.593rem + 4.03vw, 5.625rem);
  color: var(--new-text);
  font-family: "Cormorant Infant", serif;
  text-transform: uppercase;
}

.title h2 {
  font-size: 20px;
  color: var(--new-text);
  font-family: "Cormorant Infant", serif;
  text-align: center;
}

.name {
  position: absolute;
  top: 35%;
  left: 50px;
  transform: translateY(-50%);
  /* font-size: clamp(2.5rem, 1.593rem + 4.03vw, 5.625rem); */
  font-size: clamp(2.25rem, 1.27rem + 4.35vw, 5.625rem);
  font-family: "Cormorant Infant", serif;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 2px var(--new-text);
}

.bottomnav {
  position: absolute;
  bottom: 10%;
  right: 100px;
  font-size: 18px;
  animation: bottomnav 3s ease;
}

.bottomnav ul li {
  color: var(--new-text);
  text-transform: uppercase;
  letter-spacing: 15px;
  margin-top: 20px;
  cursor: pointer;
  transition: all 1s ease;
  width: max-content;
}

.bottomnav ul li:not(.nav__active)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  display: block;
  height: 2px;
  width: 0%;
  transition: all 1s ease;
}

.bottomnav ul li:hover:not(.nav__active)::before {
  background-color: bisque;
  transition: all 1s ease;
  width: 100%;
}

.bottomnav ul li.nav__active {
  font-weight: bolder;
}

.bottomnav ul li.nav__active::before {
  content: "";
  display: inline-block;
  border: 1px solid var(--new-text);
  width: 65px;
  margin: 0 10px 0 -78px;
  transform: translateY(-3px);
}

/*basic btn*/

/* .btn {
  position: relative;
  display: inline-block;
  height: 48px;
  padding: 12px 28px;
  border-radius: 5px;
  background-color: var(--accent);
  color: var(--white);
  letter-spacing: 0.15px;
  font-size: 16px;
  font-weight: 500;
} 


*/

/*interesting btn


*/
/* .btn {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 30px;
  transition: 0.5s;
  position: relative;
  font-size: 17px;
  background: #333;
  border: none;
  color: #fff;
}

.btn:hover {
  letter-spacing: 0.25em;
  background: #ff1867;
  color: #ff1867;
  box-shadow: 0 0 45px #ff1867;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: #222222;
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn i {
  position: absolute;
  inset: 0;
  display: block;
}

.btn i::before {
  content: "";
  position: absolute;
  border: 2px solid #ff1867;
  width: 7px;
  height: 4px;
  top: -3.5px;
  left: 80%;
  background: #222222;
  transform: translateX(-50%);
  transition: 0.5s;
}

.btn:hover i::before {
  width: 20px;
  left: 20%;
}

.btn i::after {
  content: "";
  position: absolute;
  border: 2px solid #ff1867;
  width: 7px;
  height: 4px;
  bottom: -3.5px;
  left: 20%;
  background: #222222;
  transform: translateX(-50%);
  transition: 0.5s;
}

.btn:hover i::after {
  width: 20px;
  left: 80%;
} 


*/

/*new eye light btn*/

.btn {
  position: relative;
  display: inline-block;
  padding: 12px 28px;
  width: 135px;
  height: 48px;
  background: transparent;
  font-size: 17px;
  border: 1px solid #ffffff1c;
  border-radius: 8px;
  box-shadow: inset 0 0 10px #ffffff1c;
  color: #6c0f0f;
}

.dark .btn {
  animation: lightBox 1s ease-in-out forwards;
  animation-delay: 2s;
}

.dark .btn::after {
  animation: light 1s ease-in-out forwards;
  animation-delay: 2s;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 135px;
  height: 65px;
  background: radial-gradient(
    circle at 100% -50%,
    #ffffff69 45%,
    #d4d4d44f 60%,
    #ffffff36 2%
  );
  background-repeat: no-repeat;
  filter: opacity(0.3) blur(0.3em);
}

.btn::after {
  content: "";
  position: absolute;
  top: 120%;
  left: 0;
  transform: perspective(1.5em) rotateX(35deg) scale(1, 0.6);
  height: 100%;
  width: 100%;
  background-color: #fbfd7b;
  filter: blur(2em);
  opacity: 0;
  pointer-events: none;
}

/* .btn:hover {
  animation: none;
}

.btn:hover::after {
  animation: none;
} */

.btn:hover {
  animation: lightBox 1s ease-in-out forwards;
}

.btn .hover-text {
  display: none;
}

.btn:hover .original-text {
  display: none;
}

.btn:hover .hover-text {
  display: inline;
  animation: appear 2s ease-in;
}

/*btn outline*/

.btn-outline {
  height: 48px;
  border-radius: 5px;
  padding: 12px 20px;
  border: 1px solid;
  border-color: #9e3422;
  background-color: #171718;
  color: var(--white);
  display: flex;
  column-gap: 10px;
  align-items: center;
  transition: opacity 0.2s ease-in;
}

.btn-outline:hover {
  opacity: 0.8;
  border-color: darkgreen;
}

.btn-outline:active {
  position: relative;
  top: 2px;
}

/* .btn:hover {
  background-color: red;
} */

/* .btn:active {
  position: relative;
  top: 2px;
} */

/*general*/

.projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 30px;
  row-gap: 30px;
}

.project {
  width: 345px;
  height: auto;
  background-color: var(--project-card-bg);
  box-shadow: var(--box-shadow);
  border-radius: 10px;
  transition: all 300ms;
  object-fit: cover;
}

.project img {
  object-fit: cover;
  height: 248px;
}

.project:hover {
  transform: translateY(-10px);
}

.project__img {
  border-radius: 10px;
}

.project__title {
  padding: 15px 20px 20px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--project-card-text);
}

/*project details*/

.project-details {
  margin: 0 auto;
  max-width: 865px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.project-details__cover {
  max-width: 100%;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0px 5px 35px 0px rgba(0, 0, 0, 0.25);
}

.project-details__desc {
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

/* .project-details a img {
  width: 15px;
} */

/*content list */

/*footer*/
.footer {
  margin-top: auto;
  padding: 25px 0;
  background-color: var(--right-half);
  color: var(--white);
}

.footer__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 27px;
}

.social {
  display: flex;
  column-gap: 30px;
  align-items: center;
}

.social__item {
  transition: all 300ms;
  width: 38px;
}

.social__item img {
  width: 100%;
}

.social__item:hover {
  transform: translateY(-2px);
}

.great {
  animation: lights 5s 750ms linear infinite;
}
.copyright {
  font-size: 16px;
  font-family: "Cormorant Infant", serif;
}

.content-list {
  margin: 0 auto;
  max-width: 570px;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 40px;
  text-align: center;
}

.content-list2 {
  max-width: 570px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  text-align: center;
}

.content-list__item {
  font-size: 21px;
  line-height: 1.5;
  font-family: "Cormorant Infant", serif;
}

.container_contacts {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 10px;
}

.myTG {
  color: var(--text-color);
  transition: all 0.2s ease-in;
  animation: fire 3s infinite;
}
.my-photo {
  width: 370px;
  height: 370px;
  object-fit: cover;
  border-radius: 6px;
  position: relative;
}
.my-photo {
  display: inline-block;
  overflow: hidden;
}

.my-photo img {
  transition: 1s;
  display: block;
  animation: fix 3s ease;
}

.my-photo img:hover {
  transform: scale(1.2);
}

.thats_me {
  width: 30%;
  height: 20%;
  position: absolute;
  top: 125px;
  bottom: 0;
  right: 0px;
  left: 32px;
}
.thats_me > p {
  font-size: 21px;
  transition: all 0.2s ease-in;
  animation: fire 3s infinite;
  text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #feec85,
    -20px -20px 40px #ffae34, 20px -40px 50px #ec760c, -20px -60px 60px #cd4606,
    0 -80px 70px #973716, 10px -90px 80px #451b0e;
}

.tg-popup,
.noMobile-popup {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 10;
  pointer-events: none;
  display: none;
  overflow: hidden;
}

.tg-popup .popup__inner,
.noMobile-popup .noMobile__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.tg-popup .popup__wrapper,
.noMobile-popup .noMobile__wrapper {
  position: relative;
  width: 800px;
  height: 400px;
  border-radius: 8px;
  background-size: cover;
  background-image: url(/img/v-logo.webp);
  background-position: center;
  animation: tg-popup-appear 1s ease;
  margin: 0 20px;
}

.tg-popup .popup__content,
.noMobile-popup .noMobile__content {
  max-width: 100%;
  height: 100%;
  border-radius: 8px;
  align-items: center;
  text-align: center;
  padding-top: 50px;
  background-color: #1a1237db;
}

.noMobile-popup .noMobile__content {
  padding-top: 0px;
  display: flex;
}

.tg-popup p,
.noMobile-popup p {
  max-width: 300px;
  font-size: 22px;
  color: white;
  margin: 0 auto;
}

.noMobile-popup p {
  font-size: clamp(1.375rem, 1.23rem + 0.65vw, 1.875rem);
}

.tg-popup .popup__icons {
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
  width: 300px;
  padding-top: 20px;
}

.tg-popup .tg-img {
  transition: all 0.5s ease;
}

.tg-popup .tg-img:hover {
  transform: scale(0.8);
  transition: all 0.5s ease;
}
.tg-popup .mail-img:hover {
  transform: scale(0.8);
  transition: all 0.5s ease;
}

.tg-popup .mail-img {
  transition: all 0.5s ease;
}

.tg-popup .tg-close,
.noMobile-popup .tg-close {
  position: absolute;
  top: 3%;
  right: 1%;
  cursor: pointer;
}

.tg-popup .tg-close img,
.noMobile-popup .tg-close img {
  width: 35px;
  transition: all 0.5s ease;
  background-color: #ffdc0066;
  border-radius: 8px;
}

.tg-popup .tg-close img:hover,
.noMobile-popup .tg-close img:hover {
  transform: scale(0.9);
  transition: all 0.5s ease;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: #100c1bcf;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.5s;
}

.show {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  display: block;
}

/*cube in "skils"

*/

.container .left__side {
  width: 50%;
  position: relative;
}
.container .left__side .left__side-text {
  color: var(--text-color);
  font-size: clamp(0.938rem, 0.792rem + 0.65vw, 1.438rem);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 0 55px;
  overflow: hidden;
  height: 417px;
  transition: height 0.5s;
  font-family: "Cormorant Infant", serif;
}

.container .right__side {
  width: 50%;
  position: relative;
}

.cube__flex {
  display: flex;
  overflow: hidden;
  padding: 0 40px;
}

.cube__flex h3 {
  color: var(--title-1);
  font-weight: bold;
}

.cube__flex span {
  color: var(--special);
  font-weight: 500;
}

.cube__inner {
  position: absolute;
  transform: skewY(-20deg);
  animation: animate 5s linear infinite;
  top: 30%;
  right: 50%;
  .cube {
    position: relative;
    z-index: 2;
    &:nth-child(2) {
      z-index: 1;
      translate: -60px -60px;
    }
    &:nth-child(3) {
      z-index: 3;
      translate: 60px 60px;
    }
    div {
      position: absolute;
      display: flex;
      flex-direction: column;
      gap: 30px;
      translate: calc(-70px * var(--x)) calc(-60px * var(--y));
      span {
        position: relative;
        display: inline-block;
        width: 50px;
        height: 50px;
        background: #dcdcdc;
        z-index: calc(1 * var(--i));
        transition: 1.5s;
        &:hover {
          transition: 0s;
          background: #ef4149;
          filter: drop-shadow(0 0 30px #ef4149);
          &:before,
          &:after {
            transition: 0s;
            background: #ef4149;
          }
        }
        &:before {
          content: "";
          position: absolute;
          left: -40px;
          width: 40px;
          height: 100%;
          background: var(--text-color);
          transform-origin: right;
          transform: skewY(45deg);
          transition: 1.5s;
        }
        &:after {
          content: "";
          position: absolute;
          top: -40px;
          left: 0px;
          width: 100%;
          height: 40px;
          background: #f2f2f2;
          transform-origin: bottom;
          transform: skewX(45deg);
          transition: 1.5s;
        }
      }
    }
  }
}

.container .left__side .seeMore__btn {
  position: absolute;
  right: 0;
  top: 0;
  user-select: none;
}

/* .seeMore__btn {
  width: 150px;
  position: relative;
  height: 30px;
  border: 3px ridge #149cea;
  outline: none;
  background-color: transparent;
  color: var(--text-color);
  transition: 1s;
  border-radius: 0.3em;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
}

.seeMore__btn::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 3%;
  width: 95%;
  height: 40%;
  background-color: var(--page-bg);
  transition: 0.5s;
  transform-origin: center;
}

.seeMore__btn::before {
  content: "";
  transform-origin: center;
  position: absolute;
  top: 80%;
  left: 3%;
  width: 95%;
  height: 40%;
  background-color: var(--page-bg);
  transition: 0.5s;
}

.seeMore__btn:hover::before,
.seeMore__btn:hover::after {
  transform: scale(0);
}

.seeMore__btn:hover {
  box-shadow: inset 0px 0px 25px #1479ea;
} */

.seeMore__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  overflow: hidden;
  height: 35px;
  background-size: 300% 300%;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
  transition: 0.5s;
  animation: gradient_301 5s ease infinite;
  border: double 4px transparent;
  background-image: linear-gradient(#212121, #212121),
    linear-gradient(
      137.48deg,
      #ffdb3b 10%,
      #fe53bb 45%,
      #8f51ea 67%,
      #0044ff 87%
    );
  background-origin: border-box;
  background-clip: content-box, border-box;
}

#container-stars {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: 0.5s;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
}

.seeMore__btn strong {
  z-index: 2;
  font-size: 12px;
  letter-spacing: 5px;
  color: #ffffff;
  text-shadow: 0 0 4px white;
}

#glow {
  position: absolute;
  display: flex;
  width: 150px;
}

.circle {
  width: 100%;
  height: 30px;
  filter: blur(2rem);
  animation: pulse_3011 4s infinite;
  z-index: -1;
}

.circle:nth-of-type(1) {
  background: rgba(254, 83, 186, 0.636);
}

.circle:nth-of-type(2) {
  background: rgba(142, 81, 234, 0.704);
}

.seeMore__btn:hover #container-stars {
  z-index: 1;
  background-color: #212121;
}

.seeMore__btn:hover {
  transform: scale(1);
}

.seeMore__btn:active {
  border: double 4px #fe53bb;
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: none;
}

.seeMore__btn:active .circle {
  background: #fe53bb;
}

#stars {
  position: relative;
  background: transparent;
  width: 200rem;
  height: 200rem;
}

#stars::after {
  content: "";
  position: absolute;
  top: -10rem;
  left: -100rem;
  width: 100%;
  height: 100%;
  animation: animStarRotate 90s linear infinite;
}

#stars::after {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
}

#stars::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 170%;
  height: 500%;
  animation: animStar 60s linear infinite;
}

#stars::before {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
  opacity: 0.5;
}

.price__wrap {
  width: 100%;
  height: 100%;
  border-radius: 1em;
  overflow: hidden;
  font-family: sans-serif;
  /* background: white; */
  pointer-events: none;
}

.palette {
  position: relative;
  max-width: 1000px;
  height: 500px;
  border-radius: 3rem;
  overflow: hidden;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.palette:hover > #color-code {
  opacity: 0;
}

.color {
  position: absolute;
  width: 500px;
  height: 500px;
  transform-origin: center;

  box-sizing: inline-block;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  /* border: 5px solid var(--page-bg); */
}

.color:hover {
  border: none;
}

.color span {
  color: white;
  font-weight: 600;
  letter-spacing: 1px;
  row-gap: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.5s;
  width: 100%;
  height: 100%;
}

.color span p {
  display: none;
  width: 100%;
  background-color: #00000069;
  text-align: center;
}

.color span p:nth-child(1) {
  color: green;
  scale: 1.5;
}

#color2 p {
  color: white;
}

.color:hover span p {
  display: block;
  transition: all 0.5s;
}

.color span p:hover {
  scale: 1.5;
  transition: all 0.5s;
}

#color1 {
  rotate: 45deg;
  /* translate: 352.13px 0; */
  translate: 361.13px 0;
  z-index: 9;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right;
  background-image: url(/img/business.webp);
}

.color::after {
  background-color: var(--project-card-bg);
  padding: 8px;
  color: var(--text-color);
  font-size: 48px;
  font-family: "Cormorant Infant", serif;
}

#color1::after {
  content: "Бизнес";
  position: absolute;
  left: 0%;
  bottom: 0%;
}

#color1:hover {
  translate: 0 0;
  rotate: 0deg;
  z-index: 99;
  width: 100%;
  animation: palette 1s ease-in-out;
}

#color2 {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(/img/perenos.webp);
  rotate: 45deg;
  /* translate: 0 354.13px; */
  translate: 0 361.13px;
  z-index: 9;
}

#color2:hover {
  translate: 0 0;
  rotate: 0deg;
  z-index: 99;
  width: 100%;
  animation: palette 1s ease-in-out;
}

#color2::after {
  content: "WordPress";
  position: absolute;
  bottom: 70%;
  right: 55%;
  rotate: -44deg;
}

#color3 {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(/img/standatr.webp);
  rotate: 45deg;
  /* translate: -352.13px 0; */
  translate: -362.13px 0;
  z-index: 9;
}

#color3:hover {
  translate: 0 0;
  rotate: 0deg;
  z-index: 99;
  width: 100%;
  animation: palette 1s ease-in-out;
}

#color3::after {
  content: "Стандарт";
  position: absolute;
  top: 0%;
  right: 0%;
}

#color4 {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(/img/basic.webp);
  rotate: 45deg;
  /* translate: 0 -352.13px; */
  translate: 0 -360.13px;
  z-index: 9;
}

#color4:hover {
  translate: 0 0;
  rotate: 0deg;
  z-index: 99;
  background-position: center;
  width: 100%;
  animation: palette 1s ease-in-out;
}

#color4::after {
  content: "Базовый";
  position: absolute;
  bottom: 16%;
  right: 6%;
  rotate: -44deg;
}

.price__addition {
  text-align: center;
  margin-top: 30px;
  color: var(--text-color);
  font-family: "Cormorant Infant", serif;
}

.price__addition ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 10px;
  font-size: clamp(0.938rem, 0.774rem + 0.73vw, 1.5rem);
}

.price__addition ul li:nth-child(1) {
  color: var(--title-1);
  font-weight: 900;
}

.privacy__banner {
  position: fixed;
  bottom: 2%;
  left: 0;
  right: 0;
  background: #1b1b1c;
  padding: 10px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 8px;
  flex-direction: column;
  text-align: center;
  color: white;
}

.privacy__button {
  background-color: white;
  padding: 3px 8%;
  border-radius: 5px;
  color: black;
  font-size: 15px;
  cursor: pointer;
}

.privacy__link {
  color: var(--new-blue);
}

/*                          */

@keyframes palette {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes bottomnav {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes animStar {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-135rem);
  }
}

@keyframes animStarRotate {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0);
  }
}

@keyframes gradient_301 {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse_3011 {
  0% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

@keyframes animate {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

@keyframes tg-popup-appear {
  from {
    opacity: 0;
    scale: 0;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

@keyframes fix {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes lights {
  0% {
    color: white;
  }
  10% {
    color: hsl(230, 40%, 80%);
    text-shadow: 0 0 1em hsla(320, 100%, 50%, 0.2),
      0 0 0.125em hsla(320, 100%, 60%, 0.3),
      -1em -0.125em 0.5em hsla(40, 100%, 60%, 0),
      1em 0.125em 0.5em hsla(200, 100%, 60%, 0);
  }

  30% {
    color: hsl(230, 80%, 90%);
    text-shadow: 0 0 1em hsla(320, 100%, 50%, 0.5),
      0 0 0.125em hsla(320, 100%, 60%, 0.5),
      -0.5em -0.125em 0.25em hsla(40, 100%, 60%, 0.2),
      0.5em 0.125em 0.25em hsla(200, 100%, 60%, 0.4);
  }

  40% {
    color: hsl(230, 100%, 95%);
    text-shadow: 0 0 1em hsla(320, 100%, 50%, 0.5),
      0 0 0.125em hsla(320, 100%, 90%, 0.5),
      -0.25em -0.125em 0.125em hsla(40, 100%, 60%, 0.2),
      0.25em 0.125em 0.125em hsla(200, 100%, 60%, 0.4);
  }

  70% {
    color: hsl(230, 80%, 90%);
    text-shadow: 0 0 1em hsla(320, 100%, 50%, 0.5),
      0 0 0.125em hsla(320, 100%, 60%, 0.5),
      0.5em -0.125em 0.25em hsla(40, 100%, 60%, 0.2),
      -0.5em 0.125em 0.25em hsla(200, 100%, 60%, 0.4);
  }

  100% {
    color: hsl(230, 40%, 80%);
    text-shadow: 0 0 1em hsla(320, 100%, 50%, 0.2),
      0 0 0.125em hsla(320, 100%, 60%, 0.3),
      1em -0.125em 0.5em hsla(40, 100%, 60%, 0),
      -1em 0.125em 0.5em hsla(200, 100%, 60%, 0);
  }
}

/* fire animation*/
@keyframes fire {
  0% {
    text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #feec85,
      -20px -20px 40px #ffae34, 20px -40px 50px #ec760c,
      -20px -60px 60px #cd4606, 0 -80px 70px #973716, 10px -90px 80px #451b0e;
  }
  33% {
    text-shadow: 10px -90px 80px #fefcc9, 0 0 20px #feec85,
      10px -10px 30px #ffae34, -20px -20px 40px #ec760c, 20px -40px 50px #cd4606,
      -20px -60px 60px #973716, 0 -80px 70px #451b0e;
  }
  66% {
    text-shadow: 0 0 20px #fefcc9, -20px -20px 40px #ffae34,
      10px -10px 30px #feec85, -20px -60px 60px #cd4606, 20px -40px 50px #ec760c,
      10px -90px 80px #451b0e, 0 -80px 70px #973716;
  }
}

@keyframes appear {
  from {
    opacity: 0;
  }
}
to {
  opacity: 1;
}

@keyframes lightBox {
  0% {
    border: 1px solid #9c0024;
    box-shadow: 0 0 5px 0px #9c0024, inset 0 0 10px #9c0024;
  }

  20% {
    border: 1px solid #ffffff1c;
    box-shadow: none;
  }

  30% {
    border: 1px solid #9c0024;
    box-shadow: 0 0 10px 0px #9c0024, inset 0 0 15px #9c0024;
  }

  38% {
    border: 1px solid #ffffff1c;
    box-shadow: none;
  }

  45% {
    border: 1px solid #fbfd7b;
    box-shadow: 0 0 15px 0px #9c0024, inset 0 0 20px #9c0024;
  }

  50% {
    border: 1px solid #ffffff1c;
    box-shadow: none;
  }

  53% {
    border: 1px solid #fbfd7b;
    box-shadow: 0 0 15px 0px #fbfd7b8a, inset 0 0 25px #fbfd7b8a;
  }

  65% {
    border: 1px solid #ffffff1c;
    box-shadow: none;
  }

  100% {
    border: 1px solid #fbfd7b;
    box-shadow: 0 0 15px 0px #fbfd7b8a, inset 0 0 25px #fbfd7b8a;
    color: #fbfd7b;
  }
}

@keyframes light {
  0% {
    opacity: 0.7;
  }

  20% {
    opacity: 0;
  }

  30% {
    opacity: 0.7;
  }

  38% {
    opacity: 0;
  }

  45% {
    opacity: 0.7;
  }

  50% {
    opacity: 0;
  }

  53% {
    opacity: 0.7;
  }

  65% {
    opacity: 0;
  }

  100% {
    opacity: 0.7;
  }
}

@keyframes lightText {
  0% {
    color: #9c0024;
    text-shadow: 0 0 5px #9c0024;
  }

  20% {
    color: #ffffff;
    text-shadow: none;
  }

  30% {
    color: #9c0024;
    text-shadow: 0 0 10px #9c0024;
  }

  38% {
    color: #ffffff;
    text-shadow: none;
  }

  45% {
    color: #fbfd7b;
    text-shadow: 0 0 15px #fbfd7b8a;
  }

  50% {
    color: #ffffff;
    text-shadow: none;
  }

  53% {
    color: #fbfd7b;
    text-shadow: 0 0 15px #fbfd7b8a;
  }

  65% {
    color: #ffffff;
    text-shadow: none;
  }

  100% {
    color: #fbfd7b;
    text-shadow: 0 0 15px #fbfd7b8a;
  }
}

@media (max-width: 1650px) {
  .img__wrapper .VaDeveloper {
    opacity: 0.8;
  }
}

@media (max-width: 1400px) {
  .img__wrapper {
    left: 0%;
  }
  .info {
    left: 0%;
  }
  .name {
    top: 18%;
  }
}

@media (max-width: 1100px) {
  .bottomnav {
    font-size: 14px;
  }
}

@media (max-width: 800px) {
  .cube__flex {
    flex-direction: column;
  }
  .container .left__side {
    width: 100%;
    text-align: center;
  }
  .container .right__side {
    width: 100%;
    height: 500px;
  }
  .color::after {
    font-size: 38px;
  }
  #color4::after {
    right: 8%;
    bottom: 16%;
  }
  #color2::after {
    right: 60%;
    bottom: 72%;
  }
}

@media (max-width: 780px) {
  .bottomnav {
    right: 8%;
  }
}

@media (max-width: 700px) {
  .name {
    width: 100%;
    margin: -15% auto;
    left: 0;
    text-align: center;
    top: 26%;
  }

  .title {
    width: 100%;
    margin: -30% auto;
    text-align: center;
    right: 0;
  }

  .title h1 {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  .title p {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  /* .img__wrapper .VaDeveloper {
    height: 72dvh;
  } */

  .nav-list {
    justify-content: center;
  }
  .content-list2 {
    gap: 15px;
  }
}

@media (max-width: 650px) {
  .info {
    left: 0%;
    width: 100%;
  }
  .info ul {
    display: flex;
    justify-content: space-between;
  }
  .privacy__banner {
    margin: 0 5%;
  }
}

@media (max-width: 620px) {
  .header {
    min-height: unset;
    background-size: 264px;
  }

  .header__title {
    font-size: 30px;
  }

  .header__title strong {
    font-size: 40px;
  }

  .section {
    padding: 40px 0;
  }

  .title-1 {
    margin-bottom: 30px;
    font-size: 40px;
  }

  .title-2 {
    font-size: 20px;
  }

  .project__title {
    font-size: 22px;
  }

  .footer__wrapper {
    row-gap: 20px;
  }
  .social {
    column-gap: 20px;
  }
  .social__item {
    width: 28px;
  }

  .content-list {
    row-gap: 20px;
  }
  .dark-mode-btn {
    order: 0;
  }
  .nav-row {
    justify-content: space-between;
  }
  .my-photo {
    width: 250px;
  }
  .thats_me {
    position: absolute;
    top: 75px;
    bottom: 0;
    right: 0px;
    left: 19px;
  }
  .thats_me > p {
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .seeMore__btn {
    width: 115px;
    height: 35px;
  }
  .seeMore__btn:hover {
    transform: scale(1);
  }
  .container .right__side {
    margin-top: 20px;
  }
  .bottomnav {
    bottom: 15%;
  }
}

@media (max-width: 500px) {
  .img__wrapper .VaDeveloper {
    height: 520px;
  }
  /* .img__wrapper {
    left: 2%;
  } */

  .title p {
    padding-left: 0px;
  }
  .info ul li {
    padding: 20px 10px;
  }
  .info ul li {
    font-size: 12px;
  }
  .name {
    margin: -15% auto;
  }

  .title {
    margin: -40% auto;
  }
  .bottomnav {
    left: 0;
  }
  .bottomnav a {
    text-decoration: none;
    background-color: var(--menu);
    padding: 5px;
    border-radius: 0 8px 8px 0;
  }
  .bottomnav ul li {
    letter-spacing: 7px;
  }
  .bottomnav ul li.nav__active::before {
    display: none;
  }
  .bottomnav ul li.nav__active::after {
    content: "";
    display: inline-block;
    border: 1px solid var(--new-text);
    width: 65px;
    margin: 0;
    transform: translateY(-3px);
  }
  .nav-row .logo img {
    width: 120px;
  }
}

@media (max-width: 492px) {
  .my-photo {
    margin-top: 7px;
    width: 300px;
    height: 300px;
  }
  .myTG {
    animation: lights 5s 750ms linear infinite;
  }
  .cube__inner .cube div span {
    width: 43px;
    height: 43px;
  }
  .container .left__side .seeMore__btn {
    bottom: -45px;
    top: auto;
    z-index: 2;
  }

  .see-active {
    .seeMore__btn {
      bottom: 10px !important;
    }
  }
  .color {
    width: 300px;
    height: 300px;
  }
  .palette {
    width: 300px;
    height: 300px;
  }
  #color1 {
    /* translate: 212.13px 0; */
    translate: 217.13px 0;
  }

  #color2 {
    /* translate: 0 212.13px; */
    translate: 0 216.13px;
  }

  #color2::after {
    bottom: 71%;
    right: 62%;
  }

  #color3 {
    /* translate: -212.13px 0; */
    translate: -217.13px 0;
  }

  #color4 {
    /* translate: 0 -212.13px;
    background-position: right; */
    translate: 0 -216.13px;
  }
  #color4::after {
    right: 8%;
    bottom: 15%;
  }

  .color:hover::after {
    display: none;
  }

  .color::after {
    font-size: 20px;
  }

  .color span:hover {
    font-size: 16px;
  }

  #color2 p {
    scale: 1;
    color: white;
  }
}
