@charset "UTF-8";
:root {
  --half: 207px;
}
@media (min-width: 640px) {
  :root {
    --half: 320px;
  }
}
@media (min-width: 768px) {
  :root {
    --half: 384px;
  }
}
@media (min-width: 1024px) {
  :root {
    --half: 514px;
  }
}
:root {
  --icon-size: 46px;
  /*<!-- #21759b - Wordpress -->*/
  --color-wordpress: #21759b;
  --color-basic: Ivory; /* #fffff0 */
  --color-basic-light: Ivory; /* #fffff0 */
  --color-basic-dark: Ivory; /* #fffff0 */
  --color-extra: lightgoldenrodyellow;
  --color-extra-light: #fdfde2;
  --color-extra-dark: lightgoldenrodyellow;
  --color-accent: #c0936e;
  --color-accent-light: #E0B898;
  --color-accent-dark: #7D4C24;
  --color-font-basic: dimgray; /* #696969 */
  --color-font-basic-light: dimgray; /* #696969 */
  --color-font-basic-dark: dimgray; /* #696969 */
  --color-font-extra: #21759b;
  --color-font-extra-light: #21759b;
  --color-font-extra-dark: #21759b;
  --color-font-accent: #c0936e;
  --color-font-accent-light: #E0B898;
  --color-font-accent-dark: #7D4C24;
}

.header {
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 2.25rem;
}

header {
  /* Вертикальная тень справа в меню */
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: normal;
  z-index: 10;
}
header img {
  width: var(--icon-size);
  /* filter dimgray;  #696969 */
  filter: invert(43%) sepia(10%) saturate(26%) hue-rotate(328deg) brightness(89%) contrast(83%);
}
header a img {
  /* https://codepen.io/sosuke/pen/Pjoqqp - CSS filter generator to convert from black to target hex color */
  /* filter-white */
  /* filter: invert(100%) sepia(12%) saturate(2%) hue-rotate(324deg) brightness(104%) contrast(101%);
  -webkit-filter: invert(100%) sepia(12%) saturate(2%) hue-rotate(324deg) brightness(104%) contrast(101%); */
  /* filter #444 */
  /* filter: invert(24%) sepia(2%) saturate(800%) hue-rotate(56deg) brightness(98%) contrast(86%); */
  /*<!-- #21759b - Wordpress -->*/
  filter: invert(38%) sepia(85%) saturate(425%) hue-rotate(153deg) brightness(86%) contrast(91%);
  /* transition: filter 0.3s ease-in-out; */
  transition: filter 0.6s ease-in-out;
}
header a:hover img {
  /* filter-red - #c0936e */
}

.header a {
  color: var(--color-wordpress);
}

.header a:hover {
  color: var(--color-font-accent);
}

.header .header-top {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-evenly;
}
@media (min-width: 640px) {
  .header .header-top {
    justify-content: space-between;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.header .header-top .button a {
  color: var(--color-wordpress);
}

.header .header-top .button a:hover {
  color: var(--color-light);
}

.contact {
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.contact a img {
  /*<!-- #21759b - Wordpress -->*/
  filter: invert(38%) sepia(85%) saturate(425%) hue-rotate(153deg) brightness(86%) contrast(91%);
  /* transition: filter 0.3s ease-in-out; */
  transition: filter 0.6s ease-in-out;
}
.contact img {
  width: 60px;
  /* filter dimgray;  #696969 */
  filter: invert(43%) sepia(10%) saturate(26%) hue-rotate(328deg) brightness(89%) contrast(83%);
}
.contact img {
  height: 46px;
  width: auto;
}

.scroll-up {
  text-align: center;
  display: inline-block;
  padding: 7px 10px;
  font-size: 14px;
  line-height: 17px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 3px;
  bottom: 30px;
  transition: bottom 2s;
  position: fixed;
  right: 30px;
  bottom: -500px;
  cursor: pointer;
  z-index: 10;
}

.scroll-up:hover {
  background: #C0936E;
  border: 1px solid white;
}

.scroll-up.active {
  bottom: 30px;
}

.scroll-up::before {
  content: "";
  border: 8px solid transparent;
  border-bottom: 10px solid white;
  display: block;
  width: 0px;
  margin: 4px auto;
  margin-top: -6px;
}

.cookie-accept-warning {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 900px;
  max-width: 90%;
  padding: 25px;
  background-color: white;
  border-radius: 4px;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
}
.cookie-accept-warning p {
  font-size: 0.9rem;
  text-align: left;
  color: var(--basic-color-text-dark);
}
.cookie-accept-warning .cookie-accept {
  border-radius: 5px !important;
  padding: 0.7rem;
  font-size: 1.2rem;
}

.cookie-accept-warning-position {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
}

/* marquee =================================================================================================================================================== */
.marquee {
  /* font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 85px;
  line-height: 116.875px; */
  overflow: hidden;
  pointer-events: none;
  /* position:relative; */
}

.marquee-wrap {
  /* position: relative;
  display: flex;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  transform: translateX(calc(-25% + 20vw));
  -webkit-animation: 20s linear infinite marquee;
  animation: 20s linear infinite marquee; */
  position: relative;
  display: flex;
  width: -moz-fit-content;
  width: fit-content;
  transform: translateX(calc(-25% + 20vw));
  animation: 20s linear infinite marquee;
}

.marquee-text {
  font-size: 3rem;
  font-weight: 700;
  font-style: normal;
  padding: 0 1vw;
  /* color: #fff; */
  color: ivory;
  white-space: nowrap;
  text-shadow: 1px 0 0 rgba(0, 0, 0, 0.3), 0 1px 0 rgba(0, 0, 0, 0.3), -1px 0 0 rgba(0, 0, 0, 0.3), 0 -1px 0 rgba(0, 0, 0, 0.3);
  /* text-shadow: 1px 0 0 rgba(0,0,0,.3),0 1px 0 rgba(0,0,0,.9),-1px 0 0 rgba(0,0,0,.3),0 -1px 0 rgba(0,0,0,.3); */
  /* text-transform: uppercase; */
}

@keyframes marquee {
  0% {
    transform: translate3d(calc(-25% + 20vw), 0, 0);
  }
  100% {
    transform: translate3d(calc(-50% + 20vw), 0, 0);
  }
}
:root {
  --width-menu: 0px;
  --height-menu: 120px;
  --height-menu: 90px;
  --height-menu: 80px;
}

* {
  /* распространяется на все элементы */
  box-sizing: border-box;
  /* border: 1px solid black; */
}

html, body {
  background-color: var(--color-basic);
  color: var(--color-font-basic);
  height: 100%;
  margin: 0;
}

body {
  font-family: "Times New Roman", Georgia, "Verdana", "Arial", sans-serif;
  font-size: 1.5rem;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
}

h1 {
  margin: 0;
  font-size: 1.75rem;
}

ul {
  list-style: none;
  padding: 0;
}

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

a:hover {
  color: var(--color-font-accent);
}

header {
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  width: calc(100% - 2rem);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0) 10%), var(--color-basic);
}
header .logo {
  display: none;
}
header .contact {
  align-items: center;
  align-items: baseline;
}
header .contact img {
  height: var(--icon-size);
}

.link-inside {
  height: var(--icon-size);
  width: var(--icon-size);
  position: relative;
}
.link-inside ul {
  margin-top: 0;
  margin-bottom: 0;
  list-style: none;
  padding: 0;
  font-size: 4rem;
}
.link-inside .front-page-menu {
  position: fixed; /*change to fixed*/
  left: 1rem;
  right: 1rem;
  top: var(--height-menu);
  bottom: 0;
  width: 100%;
  /* position: absolute; */
  /* border: 1px solid black; */
  /* margin-left: 60px; */
  padding: 1rem;
  padding-top: 0;
  /* width: fit-content; */
  /* width: max-content; */
  display: none;
  /* background-color: bisque; */
  background-color: rgba(255, 255, 240, 0.9);
  /* opacity: 0; */
}
.link-inside .front-page-menu li {
  margin-top: 2rem;
  overflow-wrap: break-word;
}
.link-inside img {
  filter: invert(38%) sepia(85%) saturate(425%) hue-rotate(153deg) brightness(86%) contrast(91%);
  transition: filter 0.6s ease-in-out;
}
.link-inside .checkbox-toggle {
  cursor: pointer;
  position: absolute;
  transform: scale(4);
  z-index: 1;
  left: 20px;
  top: 20px;
  opacity: 0;
}
.link-inside .img-cross {
  position: absolute;
  opacity: 0;
}
.link-inside .checkbox-toggle:checked ~ .img-cross {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}
.link-inside {
  /* .checkbox-toggle:checked :where(~.img-base, ~.img-hover) {
        opacity: 0;
  } */
}
.link-inside .checkbox-toggle:checked ~ .front-page-menu {
  display: block;
}
.link-inside .checkbox-toggle:checked ~ .front-page-menu ul {
  visibility: visible;
  transition: visibility 1.5s linear;
}
.link-inside .checkbox-toggle:checked ~ .img-base {
  opacity: 0;
}
.link-inside .checkbox-toggle:checked ~ .img-hover {
  opacity: 0;
}
.link-inside .img-base, .link-inside .img-hover {
  position: absolute;
  left: 5px;
  cursor: pointer;
}

.link-inside .img-base {
  opacity: 0;
}

.link-inside-no-link img {
  /* filter dimgray;  #696969 */
  filter: invert(43%) sepia(10%) saturate(26%) hue-rotate(328deg) brightness(89%) contrast(83%);
}

.link-inside-no-link .img-base,
.link-inside-no-link .img-hover {
  cursor: default;
}

main {
  margin-top: var(--height-menu);
  /* margin-left - вертикальная полоска слева для меню --width-menu:120px*/
  margin-left: var(--width-menu);
}
main .flex-row-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
main .main-footer {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0) 10%), var(--color-basic);
  margin-top: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
main .main-footer .policy {
  display: flex;
  flex-direction: column;
  font-size: small;
}
main .main-footer .policy a {
  margin-bottom: 0.5rem;
}
main .full {
  height: auto;
  width: 100%;
}
main .half {
  width: 100%;
}
main .work {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 15px;
}
main .work img {
  width: 100%;
  opacity: 0.85;
  transform: scale(0.95);
  transition-property: opacity, transform;
  transition-duration: 0.5s;
}
main .work img:hover {
  opacity: 1;
  transform: scale(1);
  transition-property: opacity, transform;
  transition-duration: 0.5s;
}
main .wp-logo {
  width: 200px;
}
main .stack {
  margin-top: 1rem;
}
main .stack img {
  max-height: 60px;
}
main .first-line {
  padding: 2rem;
  text-align: center;
}
main .one {
  padding: 1rem;
  text-align: center;
}
main .two {
  padding-top: 2rem;
}
main .three {
  padding: 2rem;
  text-align: center;
  font-size: 2rem;
}
main .form-links {
  margin: 0;
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
}
main .form-links li {
  margin-bottom: 1rem;
}
main .work-links {
  font-size: 1.2rem;
}
main .work-links li {
  margin: 0;
}
main .work-links li:nth-of-type(even) {
  text-align: right;
}
main .work-links li {
  padding: 0.5rem;
  text-transform: uppercase;
}
main .work-links li a {
  font-size: 1.1rem;
  line-height: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  transition-property: font-size, color;
  transition-duration: 0.6s;
}
main .work-links li a:hover {
  font-size: 1.2rem;
}

@media (min-width: 768px) {
  :root {
    --width-menu: 80px;
    --height-menu: 0px;
    --icon-size: 60px;
  }
  header {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0) 10%);
    flex-direction: column;
    align-items: normal;
    width: var(--width-menu);
    height: 100%;
  }
  header .contact {
    flex-direction: column;
    gap: 2rem;
  }
  header .contact img {
    width: 60px;
    height: auto;
  }
  header .logo {
    display: block;
    padding-left: 0.3rem;
  }
  main .half {
    width: 50%;
  }
  main .main-footer {
    background: none;
    margin-top: 1rem;
  }
  main .work {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 10px;
  }
  main .work .wallbed {
    grid-row: span 15;
  }
  main .work .tochka {
    grid-row: span 14;
  }
  main .work .dolcedolcetto {
    grid-row: span 33;
  }
  main .work .radiovera {
    grid-row: span 14;
  }
  main .work .hrampodborom {
    grid-row: span 20;
  }
  main .work img {
    width: 100%;
    height: auto;
  }
  main .one {
    padding: 3rem;
  }
  .link-inside .front-page-menu {
    left: calc(var(--width-menu) + 20px);
  }
  .link-inside .checkbox-toggle {
    cursor: pointer;
    position: absolute;
    transform: scale(4);
    z-index: 1;
    left: 20px;
    top: 20px;
    opacity: 0;
  }
  .link-inside .img-cross {
    position: absolute;
    opacity: 0;
  }
  .link-inside .checkbox-toggle:checked ~ .img-cross {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
  }
  .link-inside {
    /* .checkbox-toggle:checked :where(~.img-base, ~.img-hover) {
          opacity: 0;
    } */
  }
  .link-inside .checkbox-toggle:checked ~ .front-page-menu {
    display: block;
  }
  .link-inside .checkbox-toggle:checked ~ .front-page-menu ul {
    visibility: visible;
    transition: visibility 1.5s linear;
  }
  .link-inside .checkbox-toggle:checked ~ .img-base {
    opacity: 0;
  }
  .link-inside .checkbox-toggle:checked ~ .img-hover {
    opacity: 0;
  }
  .link-inside .img-base, .link-inside .img-hover {
    position: absolute;
    left: 5px;
    cursor: pointer;
  }
  .link-inside:not(:hover) .img-base {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
  }
  .link-inside:hover .img-hover {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
  }
  .link-inside:hover .img-base {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }
  .link-inside:not(:hover) .img-hover {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }
  .link-inside-no-link img {
    /* filter dimgray;  #696969 */
    filter: invert(43%) sepia(10%) saturate(26%) hue-rotate(328deg) brightness(89%) contrast(83%);
  }
  .link-inside-no-link .img-base,
  .link-inside-no-link .img-hover {
    cursor: default;
  }
}
@media (min-width: 1024px) {
  :root {
    --width-menu: 90px;
  }
  body {
    padding-left: calc(50% - var(--half));
    padding-right: calc(50% - var(--half));
  }
  main .work img {
    width: calc(var(--half) - var(--width-menu) / 2);
  }
  main .form-links {
    font-size: 4rem;
  }
  .link-inside .front-page-menu {
    left: calc(50% - var(--half) + var(--width-menu));
  }
}/*# sourceMappingURL=mobile-first.css.map */