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

@font-face {
  font-family: "Impact";
  src: url(/fonts/Impact.ttf);
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Courier New";
  src: url(/fonts/Courier_New.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;
}

.border-grey-old {
  background-color: rgb(0, 0, 0);
  border: inset 4px rgb(194, 188, 188);
}

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

body {
  display: flex;
}

.wrapper {
  display: grid;
  grid-template-columns: auto;
  column-gap: 20px;
  margin: 0 auto;
}

.img100 {
  width: 100%;
}

.middle {
  overflow: hidden;
  padding: 30px 10px;
  height: fit-content;

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

.sidebar {
  margin-top: 50px;
  background-color: rgb(0, 0, 0);

  display: none;

  flex-direction: column;
  gap: 10px;

  height: fit-content;
  padding: 30px 15px;
  width: 100%;
}

/* шапка ================================================================*/
/* 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;

} */

header .nav-menu {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
  gap: 20px;

  padding: 10px 0;

  list-style-type: none;
  color: rgb(0, 0, 0);
  font-size: 22px;

  /* border: rgb(0, 0, 0) solid 3px;
  outline: 1px solid rgb(119, 119, 119);
  background-color: #5e5e66; */
}

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

  background: linear-gradient(
    0deg,
    rgb(103, 103, 155) 0%,
    rgb(170, 170, 194) 60%,
    rgb(103, 103, 155) 100%
  );
  border: rgb(153, 153, 153) solid 1px;
  outline: grey outset 5px;

  
  transition: all ease-in-out 0.2s;
  color: #000000;
}

.nav-item.--btn-down{
  border: rgb(153, 153, 153) solid 1px;
  outline: rgb(104, 103, 103) inset 5px;

  background: linear-gradient(
    0deg,
    rgb(68, 68, 104) 0%,
    rgb(101, 101, 119) 60%,
    rgb(68, 68, 104) 100%
  );
  color: rgb(248, 252, 37);

}

/* .nav-menu .nav-item:hover {
  -webkit-box-shadow: 0px 0px 15px 15px rgba(251, 255, 0, 0.2);
-moz-box-shadow: 0px 0px 15px 15px rgba(251, 255, 0, 0.2);
box-shadow: 0px 0px 15px 15px rgba(251, 255, 0, 0.2);
} */

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

.nav-menu .nav-item .nav-link {
  color: rgb(0, 0, 0);

  transition: all ease-in-out 0.2s;
  padding: 3px 10px;
  display: block;
  width: 100%;
  height: 100%;
    /* border: 1px solid red; */
    user-select: none;
}

/* .nav-menu .nav-item:hover a {
  color: rgb(248, 252, 37);
} */

/* САЙДБАР ГОВНО ------------------------------------------*/

/* ЦЕНА ------------------------------------------*/
.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 10s infinite ease-in-out;
  height: 100%;
  object-fit: contain;

  display: none;
  /* opacity: 0; */
}

.--active {
  display: block !important;
}

/* .ref__img.--active {
  display: block !important;
  animation: fadeIn 0.4s ease-in-out forwards;
}

.ref__img:not(.--active) {
  animation: fadeOut 0.4s ease-in-out forwards;
} */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.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;

  user-select: none;
}

.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, "Courier New", Courier, monospace;

  -webkit-text-stroke: #000000 1.2px;

  color: white;
  font-size: 1.2rem;

  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;
  overflow-wrap: break-word;
}

.terminal-form {
  display: flex;
  gap: 5px;
  align-items: center;
}

.terminal-line.--user-text {
  color: rgb(13, 189, 13);
}

.terminal-input {
  flex-grow: 2;
  border: green 1px solid;
  background-color: black;
  color: white;
  /* margin-bottom: auto; */
  font-family: "Courier New";
  padding: 1px 10px;
}
.terminal-submit {
  /* flex-grow: 1; */
  background-color: green;
  border-width: 4px;
  padding: 2px 15px;
  margin-right: auto;
  color: white;
  cursor: pointer;
}
/* 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 {
  position: relative;
  overflow: hidden;

  cursor: url(http://www.rw-designer.com/cursor-extern.php?id=149355),
    url(http://www.rw-designer.com/cursor-extern.php?id=149355), auto;

  background-color: rgb(75, 17, 15);
  border-style: groove;
  border-width: 6px;
  border-color: rgb(148, 126, 3);
}

@keyframes slide {
  0% {
    transform: translate(-100%, -100%) rotate(60deg);
  }
  100% {
    transform: translate(200%, 200%) rotate(60deg);
  }
}

#project-hotel1316::after {
  content: "";
  position: absolute;
  top: -20px;
  width: 300%;
  /* border: #22f107 1px solid; */
  height: 25px;
  background: linear-gradient(
    60deg,
    transparent,
    rgba(253, 252, 192, 0.6),
    rgba(253, 252, 192, 0.6),
    rgba(253, 252, 192, 0.6),
    transparent
  );
  z-index: 1;
  transform: translate(-100%, -100%) rotate(90deg);
  transform-origin: 0 0; /* важно для правильного вращения */
}

#project-hotel1316:hover::after {
  animation: slide 6s infinite;
}

#project-hotel1316 * {
  cursor: url(http://www.rw-designer.com/cursor-extern.php?id=149355),
    url(http://www.rw-designer.com/cursor-extern.php?id=149355), auto;

  /* url(http://www.rw-designer.com/cursor-extern.php?id=76841) */
}

#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);
  background-color: rgb(29, 37, 19);
  cursor: url(http://www.rw-designer.com/cursor-extern.php?id=204345), auto !important;
}

#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;
}

/* ======================================================================================================================== */
.news {
  padding: 10px;

  background-color: rgb(0, 0, 0);
  border: inset 4px rgb(194, 188, 188);
}
.news p {
  margin-top: 10px;
}
.news-li {
  margin-left: 15px;
}
/* ======================================================================================================================== */
.time {
  padding: 10px;
  width: 100%;
  font-size: 38px;
  background: rgb(59, 59, 59);
}
.time .timers {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

.text-dark-shadow {
  text-shadow: 1px 1px 2px rgb(0, 0, 0);
}
/* ======================================================================================================================== */
.testsec {
  background-image: url(https://media.wired.com/photos/627b0c1fb6048c47d506c6c0/4:3/w_1384,h_1038,c_limit/Backrooms-Games.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 50px;

  cursor: url(https://cur.cursors-4u.net/cursors/cur-9/cur266.cur), auto !important;
}

.aero-window {
  outline: 1px solid black;
  border-radius: 6px;
  background-color: rgb(255, 255, 255, 0.5);
  box-shadow: 2px 2px 10px 1px rgba(0, 0, 0, 0.7);
  padding: 7px;
}

.aero-window * {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}
.aero-titlebar {
  padding-bottom: 5px;
  display: flex;
  align-items: center;
}
.aero-titlebar__title {
  flex-grow: 1;
  color: grey;
}
.aero-titlebar__btns {
  display: inline-block;
}
/* #close {
  aspect-ratio: 1 \ 1;
} */
.aero-titlebar__btn {
  background-color: white;
  padding: 2px 5px;
  font-weight: 600;
  border-radius: 2px;
}
#close {
  background-color: red;
}
#hide {
  padding: 2px 7px;
}

.aero-workarea {
  background-color: rgb(209, 209, 209);
  outline: 1px solid rgba(0, 0, 0, 0.5);

  padding: 8px;
}
/* ======================================================================================================================== */

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

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

  .socials {
    flex-direction: row;
  }

  .donots {
    padding: 30px;
  }
}

@media screen and (min-width: 768px) {
  .middle {
    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) {
  .middle {
    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) {
  .middle {
    width: 1000px;
  }

  /* .sidebar {
    display: flex;
  } */

  .wrapper {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 20px;
  }
}

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

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