@font-face {
  font-family: "vcd_ocd";
  src: url(/fonts/vcd_ocd.ttf);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "vcd_ocd";
}

html{
  scroll-behavior: smooth;

}
body {
  background-color: #181818;
}

section {
  margin: 40px 0;
}

a {
  text-decoration: none;
}
a:hover {
  cursor: pointer;
}

.--hidden{
  display: none;
}


.section-bg {
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.6);
}

.section-h {
  display: flex;
  margin-bottom: 15px;
  color: transparent;

  -webkit-background-clip: text;

  background-clip: text;

  background-image: linear-gradient(
    to bottom,
    rgb(255, 255, 255),
    rgb(216, 176, 0)
  );
}

.stub-link {
  color: rgb(155, 155, 155) !important;
}

.text-light {
  color: white;
}

.btn-hover {
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.btn-hover:hover {
  transform: scale(1.05);
}

.wrapper {
  overflow: hidden;
  margin: 0 auto;
  width: 100vw;
  padding: 30px 10px;
  height: fit-content;

  background-color: rgb(14, 14, 14);
  background-image: url(/img/враппер.png);
  background-size: 200%;
  background-repeat: repeat;
}

/* шапка ================================================================*/
header .nav-menu {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
  gap: 20px;

  list-style-type: none;
  color: white;
  font-size: 22px;
}

.nav-menu .nav-item {
  text-transform: uppercase;
  text-align: center;
}

.nav-menu .divider {
  display: none;
}

.nav-menu .nav-item a {
  color: white;
}

/* ЦЕНА ------------------------------------------*/
.prices-nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-content: center;
  flex-wrap: wrap;
  gap: 20px;
  background-color: #000000;
}

.prices-nav__btn {
  color: black;
  text-transform: uppercase;
  border-radius: 10px;
  border: 1px solid black;
  background: #000000;
  background: linear-gradient(
    0deg,
    rgba(85, 85, 85) 10%,
    rgb(185, 185, 185) 50%,
    rgb(185, 185, 185) 40%
  );
  font-weight: bold;
  font-size: 22px;

  padding: 5px 15px;
  flex-grow: 1;
}

.prices-nav__btn.--active {
  background: #22f107;
  background: linear-gradient(
    0deg,
    rgb(21, 247, 0) 10%,
    rgb(34, 94, 29) 50%,
    rgb(96, 252, 91) 40%
  );

  transform: scale(1.02); /* Легкое увеличение */
  box-shadow: 0 0 15px rgba(34, 241, 7, 0.5); /* Свечение */
}

/* ---------------------- */
.pricelist {
  margin-top: 20px;
  background-color: rgba(0, 0, 0, 0.534);
  width: 100%;
  display: flex;
  row-gap: 30px;
  flex-direction: column;
}

.ref {
  width: 100%;
  position: relative;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr 2.5fr 1.5fr;

  min-height: 600px;
  z-index: 1;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.ref__img-container {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  top: 0;
  left: 0;
  display: flex;
  overflow: hidden;
  /* border: 1px solid green; */

  display: flex;
  justify-content: center;
}
.ref__img {
  animation: float 3s infinite ease-in-out;
  height: 100%;

  object-fit: contain;
}

.ref-block {
  color: white;
  /* outline: green 1px solid; */
  align-content: end;
  border-width: 2px;
  border-style: none none dashed none;
  border-color: white;
  z-index: 1;
}

.price-tag {
  background-color: yellow;
  padding: 10px 15px;
  color: black;
  max-width: fit-content;
  transition: all 0.2s ease-in-out;

  border-radius: 15px;
}

.price-tag.--hidden {
  display: none;
}

.price-tag:hover {
  transform: translate(0, -5px);
  cursor: pointer;
}

.price-tag--right {
  border-radius: 15px 15px 0px 15px;
  margin-right: auto;
}

.price-tag--left {
  border-radius: 15px 15px 15px 0px;
  margin-left: auto;

  display: none;
}

.price-tag.--mobile {
  margin-top: 10px;
  width: 100% !important;
  max-width: none;
}

/*  */
.yellow-tags-mobile {
  display: block;
}

.donots {
  width: 100%;
  /* border: 1px solid red; */
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 10px;
}

.donots-window {
  position: relative;
  width: auto;
  max-height: 100%;
}

.donots-window__head {
  width: fit-content;
  position: absolute;
  top: -20px;
  left: -10px;
  padding: 10px;

  border: solid black 2px;
  background-color: white;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;

  transition: all 0.2s ease-in-out;
}

.donots-window__head:hover {
  transform: translate(0, -5px);
  transform: rotate(5deg);
  cursor: pointer;
}

.donots--green {
  background-color: green;
  background: linear-gradient(
    0deg,
    rgb(41, 138, 11) 10%,
    rgb(93, 223, 93) 50%,
    rgb(154, 241, 127) 40%
  );
}
.donots--red {
  background-color: rgb(209, 0, 0);
  background: linear-gradient(
    0deg,
    rgb(138, 11, 11) 10%,
    rgb(223, 93, 93) 50%,
    rgb(241, 127, 127) 40%
  );
}

.donots-window__body {
  border: solid black 2px;
  background-color: rgb(233, 233, 233);
  outline: 0.5px solid white;

  padding: 30px 10px 10px 10px;
  height: fit-content;
}

.donots-window__body ul {
  margin-left: 15px;
  list-style-type: square;
}

/* blinkies ============================================================================ */
.blinkies {
  width: 100%;
  /* background-color: #000000; */
  position: relative;
  width: max-content;
  /* border: #22f107 solid 1px; */
}

.blinkies-line {
  width: max-content;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  will-change: transform;
  animation: scroll 30s linear infinite;
}
.blinkies-line:hover {
  animation-play-state: paused;
}

.blinkies__img {
  min-height: 30px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* terminal ================================================================================================================== */

.terminal {
  border: rgb(59, 59, 59) 4px solid;
  outline: white 1px solid;
  height: 300px;
  width: 100%;
  background-color: black;
  color: white;
  scroll-behavior: smooth;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.terminal-text {
  height: 100%;
  width: 100%;

  overflow: scroll;
  overflow-x: hidden;
  scrollbar-color: white black;
}
.terminal-line {
  max-width: 100%;
  font-family: "Courier New", Courier, monospace;
}

.terminal-line.--green {
  color: green;
}

.terminal-input {
  width: 100%;
  border: green 1px solid;
  background-color: black;
  color: white;
  margin-bottom: auto;
  font-family: "Courier New", Courier, monospace;
}
/* Socials ===================================================== */

.socials {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 20px;
  column-gap: 10px;
  padding: 3px;
}
.socials-btn {
  padding: 10px 15px;
  flex-grow: 1;
  min-width: 240px;

  color: black;
  text-transform: uppercase;
  border-radius: 10px;
  border: 1px solid rgb(89, 197, 27);
  outline: 1px solid black;
  background: #000000;
  background: linear-gradient(
    0deg,
    rgb(27, 32, 27) 20%,
    rgb(39, 65, 33) 50%,
    rgb(0, 0, 0) 40px
  );
}
.socials-btn > a {
  color: rgb(89, 197, 27);
  font-size: 23px;
  display: flex;
  align-content: center;
  justify-content: center;
  gap: 10px;
}
.socials-btn a svg {
  width: 30px;
}

/* footer ================================================================================================================== */
footer {
  width: 100%;
  color: grey;
  padding: 10px;
  text-align: center;
}

/* PROJECTS ================================================================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.project {
  border: yellow 1px;
  border-style: dashed;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #000000;
}

.project__banner {
  height: 180px;
  object-fit: fill;
  overflow: hidden;
  object-position: center;
}
.project__banner img {
  width: 100%;
}
.project__head {
  margin-bottom: 10px;
}
.project__btn {
  padding: 10px 10px;
}
.project__about {
  flex-grow: 1;
}
/* -------------------------- */
#project-wip {
  display: none;

  align-items: center;
  border-color: grey;
  background: radial-gradient(
    circle farthest-corner at 51% 50%,
    rgba(0, 0, 0, 1) 60.5%,
    rgb(134, 134, 131) 100%
  );
}
#project-wip .project__head h2,
#project-wip .project__about p,
#project-wip .project__btn a {
  color: white;
  text-align: center;
}

#project-wip .project__about {
  display: flex;
  align-items: center;
}

#project-wip .project__btn a {
  color: black;
}

#project-wip .project__banner {
  display: none;
}
/*---------------------------------------------------------  */
#project-hotel1316 {
  background-color: rgb(75, 17, 15);
  border-style: groove;
  border-width: 6px;
  border-color: rgb(148, 126, 3);
}
#project-hotel1316 .project__head h2,
#project-hotel1316 .project__about p,
#project-hotel1316 .project__btn a {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: gold;
}
#project-hotel1316 .project__btn {
  background-color: #000000;
  border: gold 1px solid;
}

/* ============================================================ */

#project-greengrave {
  border-color: rgb(100, 146, 40);
}

#project-greengrave {
  background-color: rgb(29, 37, 19);
}
#project-greengrave .project__head h2,
#project-greengrave .project__about p,
#project-greengrave .project__btn a {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: rgb(100, 146, 40);
}
#project-greengrave .project__btn {
  background-color: #000000;
  border: rgb(104, 104, 104) 1px solid;
}

/* ======================================= */

#project-dmmt {
  border: rgb(154, 218, 255) 1px dashed;
}

#project-dmmt .project__head h2,
#project-dmmt .project__about p,
#project-dmmt .project__btn a {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  color: white;
}
#project-dmmt .project__btn {
  background-color: #000000;
  border: rgb(154, 218, 255) 1px solid;
}

@media screen and (min-width: 576px) {
  .wrapper {
    width: 90vw;
  }

  .yellow-tags-mobile {
    display: none;
  }

  .socials {
    flex-direction: row;
  }

  .donots {
    padding: 30px;
  }
}

@media screen and (min-width: 768px) {
  .wrapper {
    width: 700px;
    background-size: 100%;
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  #project-wip {
    display: flex;
    /* плейсхолдер для проектов */
  }

  .pricelist {
    padding: 10px;
  }
  .price-tag--left {
    display: block;
  }
}

@media screen and (min-width: 922px) {
  .wrapper {
    width: 800px;
    padding: 30px;
  }

  header .nav-menu {
    flex-direction: row;
  }

  .nav-menu .nav-item {
    min-width: none;
  }

  .nav-menu .divider {
    display: inline;
  }

  .prices-nav__btn {
    max-width: 250px;
  }
  .pricelist {
    flex-direction: row;
  }
  .ref {
    width: 60%;
  }
  .donots {
    width: 40%;
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  #project-wip {
    display: none;
  }

  .socials-btn {
    max-width: 300px;
  }
}

@media screen and (min-width: 1024px) {
  .wrapper {
    width: 1000px;
  }
}

@media screen and (min-width: 1200px) {
  .wrapper {
    width: 1100px;
  }
}

@media screen and (min-width: 1400px) {
  .wrapper {
    width: 1300px;
  }
}
