/* 0 - лайт */
@font-face {
  font-family: 'CoFo Peshka 0';
  src: url('fonts/CoFoPeshka0-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

/* 75 - тонкий наклончик */
@font-face {
  font-family: 'CoFo Peshka 75';
  src: url('fonts/CoFoPeshka75-ThinSlanted.woff2') format('woff2');
  font-weight: 200;
  font-style: oblique 11deg; 
  font-display: swap;
}

/* 160 - тонкий */
@font-face {
  font-family: 'CoFo Peshka 160';
  src: url('fonts/CoFoPeshka160-Thin.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* 260 - фулловый */
@font-face {
  font-family: 'CoFo Peshka 260';
  src: url('fonts/CoFoPeshka260-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CoFo Peshka 260';
  src: url('fonts/CoFoPeshka260-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CoFo Peshka 260';
  src: url('fonts/CoFoPeshka260-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CoFo Peshka 260';
  src: url('fonts/CoFoPeshka260-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CoFo Peshka 260';
  src: url('fonts/CoFoPeshka260-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* 380 - лайт, блек, наклончик */
@font-face {
  font-family: 'CoFo Peshka 380';
  src: url('fonts/CoFoPeshka380-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CoFo Peshka 380';
  src: url('fonts/CoFoPeshka380-LightSlanted.woff2') format('woff2');
  font-weight: 300;
  font-style: oblique 11deg;
  font-display: swap;
}
@font-face {
  font-family: 'CoFo Peshka 380';
  src: url('fonts/CoFoPeshka380-LightBackslanted.woff2') format('woff2');
  font-weight: 300;
  font-style: oblique -11deg;
  font-display: swap;
}
@font-face {
  font-family: 'CoFo Peshka 380';
  src: url('fonts/CoFoPeshka380-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CoFo Peshka 380';
  src: url('fonts/CoFoPeshka380-BlackSlanted.woff2') format('woff2');
  font-weight: 900;
  font-style: oblique 11deg;
  font-display: swap;
}

/* 550 - фулловый */
@font-face {
  font-family: 'CoFo Peshka 550';
  src: url('fonts/CoFoPeshka550-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CoFo Peshka 550';
  src: url('fonts/CoFoPeshka550-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CoFo Peshka 550';
  src: url('fonts/CoFoPeshka550-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CoFo Peshka 550';
  src: url('fonts/CoFoPeshka550-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CoFo Peshka 550';
  src: url('fonts/CoFoPeshka550-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* 750 - болт, наклончик, обратный наклончик, медиум  */
@font-face {
  font-family: 'CoFo Peshka 750';
  src: url('/fonts/CoFoPeshka750-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CoFo Peshka 750';
  src: url('/fonts/CoFoPeshka750-BoldSlanted.woff2') format('woff2');
  font-weight: 700;
  font-style: oblique 11deg;
  font-display: swap;
}
@font-face {
  font-family: 'CoFo Peshka 750';
  src: url('/fonts/CoFoPeshka750-BoldBackslanted.woff2') format('woff2');
  font-weight: 700;
  font-style: oblique -11deg;
  font-display: swap;
}

/* 1000 - лайт ягами и болт */
@font-face {
  font-family: 'CoFo Peshka 1000';
  src: url('/fonts/CoFoPeshka1000-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CoFo Peshka 1000';
  src: url('/fonts/CoFoPeshka1000-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

section, footer {
  width: 100%; /* или max-width, если нужно ограничить */
  display: block;
  position: relative;
}

body {
  display: flex;
  flex-direction: column;
  gap: 100px;
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Билетики*/

.poster {
  
  width: 1500px; 
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.poster__top {
  position: relative;
  width: 1500px; 
  display: flex;
  justify-content: center;
}

.poster__image {
  width: 1500px; 
  height: auto;
  object-fit: contain;
}

/*Надпись поверх билетиков*/
.poster__text {
  position: absolute;
  top: 55%;
  left: 30%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  font-family: 'CoFo Peshka 0', sans-serif;
  width: 100%;
  pointer-events: none;
}

.poster__line,
.poster__line-small {
  margin: 0; 
  line-height: 0.9;
}

.poster__line {
  font-size: 2.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.poster__line-small {
  font-size: 80px;
  letter-spacing: 0.1em;
}

/*блок: 3...2...1*/
.poster__321 {
  text-align: center;
  margin-top: 120px;
  margin-bottom: 80px;
}

.countdown {
  font-family: 'CoFo Peshka 75', sans-serif;
  display: flex;
  justify-content: center;
  align-items:center;
  gap: 50px;
}

.count {
  line-height: 1;
  transform-origin: bottom center;
}

.count:nth-child(1) {
  font-size: 220px;
 
}

.count:nth-child(2) {
  font-size: 300px;
 
}

.count:nth-child(3) {
  font-size: 420px;
  
}
/* щахматы */
.board_board-start {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  width: 1500px;      
  height: 400px;
  border: 2px solid #000;
  margin-bottom: 90px;
}

.board_board-start .cell {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'CoFo Peshka 160', sans-serif;
  font-weight: 200;
  font-size: 130px;
  text-transform: uppercase;
  transition: 0.2s;
}

/* Настоящее шахматное чередование */
.board_board-start .cell:nth-child(16n + 1),
.board_board-start .cell:nth-child(16n + 3),
.board_board-start .cell:nth-child(16n + 5),
.board_board-start .cell:nth-child(16n + 7),
.board_board-start .cell:nth-child(16n + 10),
.board_board-start .cell:nth-child(16n + 12),
.board_board-start .cell:nth-child(16n + 14),
.board_board-start .cell:nth-child(16n + 16) {
  background-color: #000;
  color: #fff;
}

.board_board-start .cell:nth-child(16n + 2),
.board_board-start .cell:nth-child(16n + 4),
.board_board-start .cell:nth-child(16n + 6),
.board_board-start .cell:nth-child(16n + 8),
.board_board-start .cell:nth-child(16n + 9),
.board_board-start .cell:nth-child(16n + 11),
.board_board-start .cell:nth-child(16n + 13),
.board_board-start .cell:nth-child(16n + 15) {
  background-color: #fff;
  color: #000;
}


/* коробка передач буш*/

.poster1 {
  width: 1500px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-top: 200px;
}
.poster__top1 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.poster__image1 {
  width: 650px;
  height: auto;
  object-fit: contain;
}

.poster__text1 {
  text-align: center;
  color: #fff;
  font-family: 'CoFo Peshka 260', sans-serif;
  width: 100%;
  margin-top: 5px;
}

.poster__line1 {
  font-size: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  line-height: 0.9;
}


/* ГАААЗ*/
.poster_gaz {
  width: 100%;
  max-width: 1500px; /* ограничение по максимуму */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* чтобы текст был по центру картинки */
  margin: 0 auto; /* по центру страницы */
}

.poster__top_gaz {
  position: relative; /* контейнер для текста поверх картинки */
  width: 100%;
}

.poster__image_gaz,
.poster__image_char {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0; 
}

/* 
.poster__text_gaz {
text-align: center;
  transform: none;
  top: auto;
  left: auto;
  text-align: center;
  color: #fff;
  font-family: 'CoFo Peshka 380', sans-serif;
  font-weight: 300;
  width: 100%;
  margin-bottom: 10px; /* расстояние между картинкой и текстом */
/* } */
/* 
    .poster__line_gaz {
      font-size: 40px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin: 0; 
      line-height: 0.9;
      font-weight: 900;
    }
    .poster__line1_gaz {
      font-size: 40px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin: 0; 
      line-height: 0.9;
    }.poster__line2_gaz {
      font-size: 40px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin: 0; 
      line-height: 0.9;
        font-weight: 300;
        font-style: oblique 11deg;
    }.poster__line3_gaz {
      font-size: 40px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin: 0; 
      line-height: 0.9;
    }.poster__line4_gaz {
      font-size: 40px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin: 0; 
      line-height: 0.9;
       font-weight: 300;
       font-style: oblique -11deg;
    }
 */ 

/* ПИТ-СТОПИК */
.stop {
  font-family: 'CoFo Peshka 550', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  margin-top: 100px;
}

.stop__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.8; /* ближе друг к другу */
  white-space: nowrap; 
}

.stop__stack p {
  letter-spacing: 0.1em;
  margin: 0;
}

/* плавный градиент цвета + веса */
.stop__stack p:nth-child(1) {
  color: #FFFFFF;
  font-weight: 900;
  font-size: 200px;
}
.stop__stack p:nth-child(2) {
  color: #E5E5E5;
  font-weight: 700;
  font-size: 200px;
}
.stop__stack p:nth-child(3) {
  color: #CCCCCC;
  font-weight: 500;
  font-size: 200px;
}
.stop__stack p:nth-child(4) {
  color: #B0B0B0;
  font-weight: 400;
  font-size: 200px;
}
.stop__stack p:nth-child(5) {
  color: #999999;
  font-weight: 300;
  font-size: 200px;
}
.stop__stack p:nth-child(6) {
  color: #808080;
  font-weight: 200;
  font-size: 200px;
}

/* МАШИНЫ */
.cars {
  
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  font-family: 'CoFo Peshka 550', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  margin-top: 100px;
}

.car {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.car img {
  width: 450px;
  transition: transform 0.3s ease;
}

.car img:hover {
  transform: scale(1.05);
}


/* Детали */
.details {
  background-color: #000;
  color: #fff;
  text-align: center;
  font-family: 'CoFo Peshka 550', sans-serif;
  padding: 100px 0;
}

.details h2 {
  font-size: 150PX;
  letter-spacing: 0.1em;
  line-height: 0.7;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.details h2 span {
  font-size: 90PX;
  opacity: 0.8;
}

.grid {
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
}

.grid img {
  width: 1190px;
  height: auto;
  display: block;
}

/* Трибуны */
.stands {
  background-color: #000;
  color: #515151;
  text-align: center;
  font-family: 'CoFo Peshka 750', sans-serif;
   font-weight: 500;
  padding: 100px 0;
}

.stands h2 {
  font-size: 60PX;

  margin-bottom: 10px;
  text-transform: uppercase;
}

.stands_1{
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
}

.stands_1 img {
  width: 1200px;
  height: auto;
  display: block;
}


/* щахматы */
.board-finish {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  width: 1500px;
  height: 400px;
  border: 2px solid #000;
  margin-bottom: 90px;
}

.board-finish .cell {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'CoFo Peshka 1000', sans-serif;
  font-size: 130px;
  font-weight: 700;
  text-transform: uppercase;
  transition: 0.2s;
}

/* Настоящее шахматное чередование */
.board-finish .cell:nth-child(16n + 1),
.board-finish .cell:nth-child(16n + 3),
.board-finish .cell:nth-child(16n + 5),
.board-finish .cell:nth-child(16n + 7),
.board-finish .cell:nth-child(16n + 10),
.board-finish .cell:nth-child(16n + 12),
.board-finish .cell:nth-child(16n + 14),
.board-finish .cell:nth-child(16n + 16) {
  background-color: #000;
  color: #fff;
}

.board-finish .cell:nth-child(16n + 2),
.board-finish .cell:nth-child(16n + 4),
.board-finish .cell:nth-child(16n + 6),
.board-finish .cell:nth-child(16n + 8),
.board-finish .cell:nth-child(16n + 9),
.board-finish .cell:nth-child(16n + 11),
.board-finish .cell:nth-child(16n + 13),
.board-finish .cell:nth-child(16n + 15) {
  background-color: #fff;
  color: #000;
}


/* команда финалистов */
.team {
  text-align: center;
  font-family: 'CoFo Peshka 380', sans-serif;
  font-weight: 900;
  background-color: #fff;
  color: #000;
  padding: 40px 20px;
}

.team h2 {
  font-size: 150px;
  letter-spacing: 0.1em;
  line-height: 0.7;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.team-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* расстояние между рядами */
}

.members-row {
  display: flex;
  justify-content: center;
  gap: 20px; /* расстояние между фото участников */
}

.member img {
  width: 120px;
  height: auto;
  border-radius: 4px;
}

.member p {
  margin-top: 8px;
  font-weight: bold;
  font-size: 16px;
}

.ford-row img {
  width: 1200px;
  height: auto;
  margin-top: -20px; 
  display: block;
}

/* футер */
footer.bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 0px;
  font-size: 16px; /* увеличили шрифт */
  font-family: 'CoFo Peshka 550', sans‑serif;
  padding: 20px 60px; /* отступы слева и справа */
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px; /* чтобы не растягивался на всю ширину экрана */
  margin-left: auto;
  margin-right: auto;
}

.column {
  width: 30%;
  text-align: center;
}

.left { text-align: left; }
.center { text-align: center; }
.right { text-align: right; }

footer.bottom img {
  max-height: 70px; /* увеличили логотип */
  width: auto;
}




/* ааааааааааааааааааааааааааааааааааааааааааааааааааааааааааааааааааа */
.speedometer {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'CoFo Peshka', sans-serif;
  color: white;
  z-index: 1000;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.speedometer__dial {
  width: 100px;
  height: 100px;
  border: 2px solid white;
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center, #111 40%, #222 100%);
}

.speedometer__needle {
  position: absolute;
  width: 2px;
  height: 50%; /* длина стрелки относительно круга */
  background: #fff;
  bottom: 50%; /* базовая точка вращения */
  transform-origin: bottom center;
  transform: rotate(-90deg);
  transition: transform 0.3s ease-out;
}

.speedometer__value {
  margin-top: 5px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

