:root {
   --text-active: #0b0b0b; /* Активный текст */
   --bg-active: #f3f3f3; /* Фон активного элемента */
   --text-inactive: #8a8a8a; /* Неактивный текст */
   --bg-inactive-button: #d3d3d3; /* Фон неактивных кнопок */
   --bg-button: #242424; /* Фон важных кнопок */

   --color-blue: #0525f6; /* Важный синий цвет */
   --color-red: #fc0106; /* Важный красный цвет */

   --text-inactive-dark: #9b9b9b; /* Текст неактивный в темной теме */
   --bg-inactive-button-dark: #323232; /* Фон неактивных кнопок в темной теме */
}

* {
   box-sizing: border-box;
}

.vote__footer > p {
   margin: 0;
}

/* Примеры использования переменных */
body {
   background: var(--bg-active);
   color: var(--text-active);
   font-family: Inter, "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
      "Lucida Sans", Arial, sans-serif;
   overflow-x: hidden;
}

.button {
   background: var(--bg-inactive-button);
   color: var(--text-inactive);
}

.button {
   background: var(--bg-button);
   color: var(--color-blue);
}

.button-inactive-dark {
   background: var(--bg-inactive-button-dark);
   color: var(--text-inactive-dark);
}

.button-danger {
   background: var(--color-red);
   color: white; /* Цвет текста для кнопки опасности */
}

/* NAV */
nav a.nav-link {
   font-weight: normal;
   font-size: 22px;
   color: var(--text-active);
}

nav a.nav-link:hover {
   color: var(--text-active);
}

.navbarNav {
   display: flex;
   justify-content: space-between;
}

/* КНОПКА ГОЛОСОВАНИЯ */
.btn-vote {
   transition: all 0.5s ease;
   position: relative;
   display: inline-block;
   background: var(--color-blue);
   color: white;
   font-weight: 800;
   text-transform: uppercase;
   overflow: hidden;
   border: none;
   cursor: pointer;
   border-radius: 0;
   font-size: 18px;
   height: 44px;
   padding: 0 18px;
}

.btn-vote::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: var(--color-red);
   clip-path: polygon(0 100%, 100% 0, 100% 100%);
   z-index: 0;
}

.btn-vote span {
   position: relative;
   z-index: 1; /* Помещаем текст поверх фона */
}

/* H1-6 */
h2 {
   font-size: 3rem;
   font-weight: 800;
   line-height: 100%;
}

h3 {
   font-weight: 800;
   line-height: 100%;
   font-size: 1.75rem;
   margin: 3em 0 0;
}

.vote h3 {
   font-weight: 800;
   line-height: 100%;
   font-size: 1.75rem;
   margin: 1em 0 0;
}

h5 {
   font-weight: 800;
   line-height: 100%;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
   margin-top: 0;
   margin-bottom: 1.5rem;
}

/* Счетчик */
#flipTimer img {
   max-height: 100px;
}
#flipTimer {
   display: flex;
   gap: 24px;
   justify-content: center;
   align-items: center;
   width: 100%;
}

.flipTimer__content {
   font-size: 2.25rem;
   font-weight: 800;
   line-height: 100%;
   width: 230px;
   display: flex;
   flex-direction: column;
   align-items: center;
}

.fT-clock {
   display: flex;
   gap: 16px;
   margin-top: 12px;
}

.block {
   color: #8a8a8a;
}

.flipTimer__images {
   display: flex;
   gap: 10px;
}

footer {
   background: #1d1d1d;
   padding: 30px 12px 16px;
}

footer .list-unstyled a,
footer .link-copirate a {
   color: #fe0000;
   text-decoration: none;
}

footer .list-unstyled a:hover,
footer .link-copirate a:hover {
   border-bottom: 2px solid #007bff;
   text-decoration: none;
}

.no-partners img {
   height: 6em;
   border: 1px solid rgb(0 0 0 / 41%);
   border-radius: 4px;
}

.partners p {
   margin-bottom: 0;
}

.partners .devs-container {
   gap: 1em 2em;
}

.no-partners .logo-container p {
   line-height: 18px;
   margin-top: 14px;
   font-weight: 500;
}

.no-partners.partners__mini p {
   width: 5em;
}

.form-vote {
   width: 60%;
   margin: auto;
   /* min-height: 800px; */
}

@media (max-width: 1000px) {
   .form-vote {
      width: 100%;
   }
}

.timer {
   margin: 3em auto 3em;
   /* margin: 3em auto 5em; */
   max-width: 100vw;
   overflow-x: hidden;
   padding: 0;
}

.timer h2,
.timer .subtitle {
   margin-left: 16px;
   margin-right: 16px;
}

.timer .subtitle {
   width: 50%;
   margin: 0 auto;
}

iframe.dk-nigth {
   background: #000;
}

iframe.dk-nigth html {
   background: #000;
}

.vote > p {
   width: 50%;
   margin: auto;
   margin-top: 22px;
}

p.subtitle {
   /* margin-top: 8px; */
   margin-bottom: 24px;
}

.form-group {
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   gap: 2px;
   padding: 4px 0;
}

.form-group label {
   display: inline-block;
   font-size: 16px;
   font-weight: 600;
   height: 20px;
}

.form-group .form-group__info {
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   gap: 4px;
}

.form-group small {
   margin: 0;
}

.g-recaptcha {
   display: flex;
   justify-content: center;
   margin: 12px 0 20px;
}

.vote__statistics {
   display: flex;
   width: 80%;
   margin: auto;
   justify-content: center;
   align-items: end;
   gap: 15px;
   position: relative;
}

.vote__bar:after {
   content: "";
   position: absolute;
   left: 0;
   right: 0;
   background: black;
   width: 3px;
   height: 33px;
   top: -6px;
   margin: auto;
}

.portait > img {
   width: 100px;
   height: 100px;
}

.vote__stat__info {
   display: flex;
   flex-direction: column;
   width: 100%;
}

.percentage {
   display: flex;
   width: 100%;
   justify-content: space-between;
}

.percentage > div {
   display: flex;
   align-items: end;
   gap: 10px;
}

.percentage > div > h2 {
   margin-bottom: 0;
   margin: 0 !important;
}

.percentage > div > h2.blue,
.percentage > div > p.blue {
   color: #0525f6;
}

.percentage > div > h2.red,
.percentage > div > p.red {
   color: #fc0106;
}

.percentage > div:nth-child(1) {
   text-align: left;
}

.percentage > div:nth-child(2) {
   text-align: right;
}

.percentage > div > p {
   margin: 0;
   font-weight: 600;
}
/* 
.count-regions {
   display: none;
} */

.vote__bar {
   background: #fc0106;
   width: 100%;
   height: 20px;
   position: relative;
}

.vote__bar > .blue {
   width: 50%;
   position: absolute;
   top: 0;
   left: 0;
   height: 100%;
   background: #0525f6;
}

.vote__footer {
   display: flex;
   justify-content: space-between;
   color: gray;
}

.vote__footer > div {
   display: flex;
}

.vote__footer > div > h3 {
   margin: 0;
}

.vote__footer > div > p {
   margin: 0;
}

.vote__footer > p.time-date {
   margin-top: 0.5em;
}

.vote__footer > div > p > span {
   font-weight: 600;
}

.line {
   padding: 0 0.5em;
}

.map-container img {
   width: 70%;
   filter: blur(0.99em) grayscale(100%);
}

.tickets {
   display: inline-block;
   margin-top: 1em;
   padding: 0.9em 1.5em 0.8em 1.4em;
   text-transform: uppercase;
   font-weight: 500;
   font-size: 1em;
   color: #000;
   border: 1px solid #000;
   transition: all 0.5s ease;
   text-decoration: none;
   width: auto;
}

.tickets:hover {
   color: #fff;
   background: #000;
}

@media (max-width: 1000px) {
   .vote__statistics {
      width: 100%;
      padding: 0 12px;
   }
   .percentage > div > p {
      margin: 0;
      font-weight: 600;
      line-height: 17px;
      translate: 0px -6px;
      width: auto;
   }
}

@media (max-width: 900px) {
   .vote__statistics {
      width: 100%;
      padding: 0 12px;
   }

   .vote {
      max-width: 100%;
   }
}

@media (max-width: 700px) {
   .vote__statistics {
      flex-wrap: wrap;
      justify-content: space-between;
   }

   .vote__statistics .portait.harris {
      order: 2;
   }
   .vote__statistics .portait.trump {
      order: 3;
   }
   .vote__statistics .vote__stat__info {
      order: 10;
   }

   .vote__stat__info {
      flex: 1 1 50%; /* Гибкость: занимать 50% ширины каждого блока, чтобы вместе они занимали 100% */
      box-sizing: border-box; /* Учитываем отступы и границы в ширине */
      /* padding: 10px; Для оформления */
      /* border: 1px solid #000; Для видимости блока */
   }

   .vote > h2,
   .vote > .subtitle {
      padding: 0 16px;
   }

   .vote > .subtitle {
      margin: auto;
      /* margin-top: 12px; */
      margin-bottom: 32px;
   }

   .portait > img {
      width: 40vw;
      height: 40vw;
   }
}

.left-nav {
   display: flex;
   align-items: center;
   gap: 6px;
}

.btn-secondary {
   transition: all 0.5s ease;
   border-radius: 0;
   height: 44px;
   width: 44px;
   border: 2px solid #d3d3d3 !important;
   background: #d3d3d3 !important;
   color: #242424 !important;
   text-align: center;
   padding: 0;
   font-weight: 500;
   font-size: 18px;
   color: #242424 !important;
   background: transparent !important;
   border: 1px solid #242424 !important;
}

.btn-secondary.active {
   color: #fff !important;
   background: #242424 !important;
   border: 1px solid #242424 !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
   color: #fff !important;
   background: var(--color-red) !important;
   border: 1px solid var(--color-red) !important;
}

.btn-secondary.btn-lang_RU:hover,
.btn-secondary.btn-lang_RU:focus,
.btn-secondary.btn-lang_RU:active {
   color: #fff !important;
   background: var(--color-blue) !important;
   border: 1px solid var(--color-blue) !important;
}
/* DARK */
.dark-lang .btn-secondary {
   color: #fff !important;
   background: #2424246b !important;
   border: 1px solid #ffffff40 !important;
}

.dark-lang .btn-secondary:hover,
.dark-lang .btn-secondary:focus,
.dark-lang .btn-secondary:active {
   color: #fff !important;
   background: var(--color-red) !important;
   border: 1px solid var(--color-red) !important;
}

.dark-lang .btn-secondary.btn-lang_RU:hover,
.dark-lang .btn-secondary.btn-lang_RU:focus,
.dark-lang .btn-secondary.btn-lang_RU:active {
   color: #fff !important;
   background: var(--color-blue) !important;
   border: 1px solid var(--color-blue) !important;
}

.dark-lang .btn-secondary:hover,
.dark-lang .btn-secondary:focus,
.dark-lang .btn-secondary:active {
   color: #fff !important;
   background: var(--color-red) !important;
   border: 1px solid var(--color-red) !important;
}

.dark-lang .btn-secondary.active {
   color: #242424 !important;
   background: #fff !important;
   border: 1px solid #fff !important;
}

.btn-tg__mob .btn {
   width: 44px;
   box-sizing: border-box;
   padding: 0;
   display: none;
}
@media (max-width: 1000px) {
      /* .navbar .container {
         margin: 0 1em !important;
         min-width: 1
      } */

   .timer .subtitle {
      width: 90%;
      margin: 0 auto;
   }
   .vote-form {
      padding: 0;
      /* margin: 0; */
   }
}
@media (max-width: 500px) {
   .vote,
   .vote .container {
      padding: 0;
   }

   .vote h2,
   .vote > p {
      margin-left: 16px;
      margin-right: 16px;
   }
   .vote > p {
      margin: 0;
   }

   h2 {
      font-size: 2.5em;
   }

   h3 {
      font-size: 1.55rem;
   }

   .vote h2 br {
      display: none;
   }

   .vote > p {
      width: 90%;
   }
   /* .vote .vote__statistics p {
      width: 65%;
   } */

   .percentage > div {
      flex-direction: column;
   }
   .percentage > div:nth-child(2) {
      flex-direction: column-reverse;
   }

   h2.blue {
      width: 100%;
   }

   .vote .percentage > div {
      width: auto;
   }

   .vote__footer .time-date {
      width: 55%;
      text-align: center;
   }

   .vote__footer-left p {
      /* color: #000; */
      width: 100%;
   }
}

@media (max-width: 430px) {
   .btn-tg__mob .btn {
      display: inline-block;
   }
   .btn-tg {
      display: none;
   }

   .time-date {
      width: 50%;
   }

   .percentage > div > p {
      margin: 0;
      font-weight: 600;
      line-height: 13px;
      translate: 0 -5px;
      font-size: 15px;
   }
   /* 
   .vote .vote__statistics p {
      width: 100%;
   }

   .vote .vote__statistics p {
      width: 70%;
   } */
   .pzpost {
      display: none;
   }

   .timer .subtitle {
      width: 90%;
      margin: 0 auto;
   }

   .logo-spacex {
      order: 1;
   }
}

.pzpost {
   transform: translateY(10px);
}

.vote__footer-left {
   color: #0525f6;
}

.vote__footer-right {
   color: #fc0106;
}

.about-link {
   text-align: center;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all 0.5s ease;
   border-radius: 0;
   text-align: center;
   padding: 0;
   font-weight: 500;
   font-size: 18px;
   color: #242424 ;
   border: 1px solid #242424 ;
   padding: 0 16px;
   height: 44px;
   background: #242424;
   background: transparent ;

}
.about-link a {
   text-decoration: none;
   color: #242424;
}
.about-link:hover {
   background: #242424;
}

.about-link:hover a {
   color: #fff;
}

@media (max-width: 700px) {
   .vote-form,
   .form-vote {
      width: 100%;
      padding: 0;
      /* margin: 0; */
   }

   .about-link {
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.5s ease;
      border-radius: 0;
      height: 44px;
      width: 100%;
      text-align: center;
      padding: 0;
      font-weight: 500;
      font-size: 18px;
      color: #242424;
      background: transparent ;
      border: 1px solid #242424;
      order: 100;
      /* margin-top: 12px; */
      padding: 0 16px;
      width: 100%;
      height: 44px;
   }
}

@media (max-width: 350px) {
   .vote__footer-left p,
   .vote__footer-right p {
      text-align: left;
      line-height: 16px;
      padding-top: 8px;
   }
   .vote__footer-right p {
      text-align: right;
   }

   .vote__footer > p.time-date {
      margin-top: 0.5em;
      line-height: 18px;
   }

   .no-partners .row.mt-2 .logo-spacex img {
      height: auto;
      width: 50%;
   }

   .no-partners img {
      height: auto;
      width: 100%;
   }

   .btn-tg__mob .btn {
      width: 44px;
      box-sizing: border-box;
      padding: 0;
      display: none;
   }
   .btn-tg {
      display: block;
      width: 100%;
   }

   .navbar > div > div.btn-tg__container,
   .navbar > div > div.btn-tg__container button {
      width: 100%;
   }

   .left-nav {
      display: flex;
      align-items: center;
      gap: 0px;
      width: 100%;
      justify-content: space-between;
      margin-bottom: 8px;
   }

   #flipTimer {
      gap: 6px;
   }

   h2 {
      font-size: 2.15em;
   }
   h3 {
      font-size: 1.45rem;
   }
}
