
* {
  box-sizing: border-box;
}

/* 2026 member-area refresh: shared treatment for legacy exercise screens */
:root {
  --game-ink: #07120d;
  --game-panel: #11291e;
  --game-paper: #f4f0e6;
  --game-muted: rgba(244, 240, 230, .66);
  --game-gold: #d3b16d;
  --game-gold-light: #f0dcae;
  --game-green: #1b6246;
  --game-line: rgba(240, 220, 174, .2);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--game-paper);
  background:
    radial-gradient(circle at 10% 100%, rgba(29, 106, 75, .46), transparent 34rem),
    radial-gradient(circle at 96% 2%, rgba(211, 177, 109, .14), transparent 28rem),
    var(--game-ink) !important;
  font-family: Inter, Avenir, "Helvetica Neue", Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

body > a,
.main_page_border a,
.topnav_start a,
.navbar a {
  color: inherit;
  text-decoration: none;
}

.main_page_border,
.main_page_border_bazm,
.back_page_nav {
  position: relative;
  z-index: 20;
  display: flex;
  width: min(1180px, calc(100% - 32px));
  align-items: center;
  gap: 10px;
  margin: 18px auto;
}

.main_page,
.main_page_2,
.back,
.back_2,
#again {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 8px 0 0;
  padding: 0 18px;
  border: 1px solid var(--game-line);
  border-radius: 999px;
  color: var(--game-paper) !important;
  background: rgba(255, 255, 255, .055) !important;
  font-size: 13px;
  font-weight: 750;
  text-transform: none;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.main_page:hover,
.main_page_2:hover,
.back:hover,
.back_2:hover,
#again:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 220, 174, .52);
  color: var(--game-paper) !important;
  background: rgba(255, 255, 255, .1) !important;
}

.container {
  position: relative;
  top: auto;
  left: auto;
  display: grid;
  width: min(1040px, calc(100% - 40px));
  height: auto;
  min-height: calc(100vh - 120px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  margin: 0 auto;
  padding: clamp(74px, 10vh, 120px) 0;
}

.container > a {
  display: block;
  min-width: 0;
}

.card,
.card:not(:first-child) {
  left: auto;
  display: block;
  width: 100%;
  height: 310px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--game-line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 5%, rgba(240, 220, 174, .17), transparent 12rem),
    linear-gradient(145deg, #174d38, #0d2b20);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.card:hover {
  transform: translateY(-7px);
  border-color: rgba(240, 220, 174, .55);
}

.card:hover ~ .card {
  left: auto;
}

.title {
  top: 24px;
  left: 24px;
  color: var(--game-paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
}

.bar {
  top: 82px;
  left: 24px;
  width: calc(100% - 48px);
}

.emptybar {
  background: rgba(255, 255, 255, .12);
}

.filledbar {
  background: linear-gradient(90deg, var(--game-green), var(--game-gold));
}

.circle {
  top: 124px;
}

.circle img {
  border-radius: 14px;
  object-fit: cover;
}

.sova_dv {
  opacity: .55;
  filter: saturate(.7);
}

.topnav_start,
.navbar {
  position: relative;
  z-index: 30;
  display: grid;
  width: min(1180px, calc(100% - 32px));
  min-height: 90px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
  margin: 0 auto;
  padding: 18px 0;
  overflow: visible;
  border-bottom: 1px solid var(--game-line);
}

.navbar {
  display: flex;
  height: auto;
  align-items: flex-start;
  gap: 14px;
  justify-content: space-between;
  background: transparent !important;
}

.navbar > a {
  float: none;
  width: auto;
  height: auto;
  padding: 0;
  background: transparent !important;
}

.navbar > a#again {
  display: inline-flex;
  min-height: 46px;
  padding: 0 18px;
}

.navbar > a.width22 {
  flex: 0 0 216px;
}

.navbar > button,
.navbar #start {
  float: none;
  width: auto;
  height: 48px;
  padding: 0 28px;
}

.navbar .time_start {
  float: none;
  width: auto;
  min-width: 190px;
  margin: 0;
  padding: 0 10px;
}

.navbar .time_start h1 {
  margin: 0;
  white-space: nowrap;
  font-size: clamp(25px, 4vw, 36px);
}

.column_start {
  float: none;
  width: auto;
  min-width: 0;
  padding: 0;
}

.nav_start {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  min-width: 0;
}

.nav_start h2 {
  height: 48px;
  border: 1px solid var(--game-line);
  border-radius: 14px;
  color: var(--game-gold-light);
  background: rgba(255, 255, 255, .06);
  box-shadow: none;
}

.nav_start ul {
  border-radius: 0 0 16px 16px;
}

.nav_start ul li {
  margin: 0;
  border: 1px solid var(--game-line);
  border-top: 0;
  color: var(--game-paper);
  background: rgba(17, 41, 30, .98);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .3);
}

.nav_start ul li:hover {
  background: #174d38;
}

.nav_start ul .a,
.nav_start label {
  color: var(--game-paper) !important;
  font-size: 14px;
}

.sett,
.nav_start input[type="number"] {
  min-height: 38px;
  padding: 0 8px;
  border: 1px solid var(--game-line);
  border-radius: 9px;
  color: var(--game-paper);
  background: rgba(255, 255, 255, .07);
}

.but,
.div_button,
.hajord,
#start,
.start {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: var(--game-ink) !important;
  background: linear-gradient(135deg, var(--game-gold-light), var(--game-gold)) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.started {
  min-height: calc(100vh - 190px);
  padding: 42px 20px;
}

.started_text,
.started_text_bazm {
  color: var(--game-paper);
  font-size: clamp(110px, 25vw, 360px);
}

.started_text1 {
  color: var(--game-paper);
}

.div_input {
  padding: 28px 20px;
}

.input_number {
  width: min(420px, 90%);
  height: 82px;
  border: 1px solid var(--game-line) !important;
  border-radius: 18px;
  outline: none;
  color: var(--game-paper) !important;
  background: rgba(255, 255, 255, .06) !important;
  text-align: center;
}

.input_number:focus {
  border-color: var(--game-gold) !important;
  box-shadow: 0 0 0 4px rgba(211, 177, 109, .12);
}

.answer_div,
.pokazano {
  color: var(--game-paper);
  background:
    radial-gradient(circle at 50% 0, rgba(29, 106, 75, .5), transparent 32rem),
    var(--game-ink);
}

.konec {
  color: var(--game-paper);
}

.konec .verj {
  border-radius: 999px;
  color: var(--game-ink);
  background: var(--game-gold);
}

.return_left,
.return_right {
  color: var(--game-gold-light);
}

.tablica {
  padding: clamp(90px, 12vw, 150px) 20px 40px;
}

.table_stolbcy {
  width: min(100%, 960px);
  overflow: hidden;
  border: 1px solid var(--game-line);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
}

.divTableHead {
  color: var(--game-gold-light);
  background: #174d38;
}

.divTableBody {
  color: #16251e;
  background: #f4f0e6;
}

@media (max-width: 900px) {
  .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 80px;
  }

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

  .navbar {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .container,
  .topnav_start {
    grid-template-columns: 1fr;
  }

  .container {
    padding-top: 38px;
  }

  .card {
    height: 280px;
  }

  .main_page,
  .main_page_2,
  .back,
  .back_2 {
    min-height: 42px;
    padding: 0 13px;
    font-size: 12px;
  }

  .input_number {
    font-size: 36px;
  }
}
.quantity input::-webkit-inner-spin-button, 
.quantity input::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
.numbipn::-webkit-inner-spin-button, 
.numbipn::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
.pat_bazm::-webkit-inner-spin-button, 
.pat_bazm::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
.numbipn{
  width: 100%;
  height:50px;
  text-align: center;
}
.numbdiv{
  padding: 20px 0 0 0;
}
.victory{
 	font-size: 50px;
    text-align: center;
    margin-top: 60px;
  	color: green;
}

.tokos{
  width: 5em;
  height: 4em;

  margin:auto;
  border-radius: 50%;
  line-height: 4em;  /* подробнее про line-height */
  text-align: center;  /* выравнять текст по середине по горизонтали */
  background: #ff5722;
  margin-top: 50px;
}

.myButton {
	box-shadow:inset 0px 1px 0px 0px #97c4fe;
	background:linear-gradient(to bottom, #3d94f6 5%, #1e62d0 100%);
	background-color:#3d94f6;
	border-radius:6px;
	border:1px solid #337fed;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #1570cd;
}

/*table_stolbcy*/

.tablica{
  width: 100%;
  overflow: hidden;
  padding: 50px;
}
.table_stolbcy{
  width: 80%;
  margin:auto;
  display: table;
}
.divTableHead{
  background-color: #8c5be4;
  display: table-header-group; /*header group*/
  text-align: center;
  color: white;
  padding: 20px;
  font-size: 20px;
}
.divTableBody{
  display: table-row-group;/*body group*/
  background-color: white;
}
.divTableRow{
  display: table-row; 
}
.divTableRow1{
  font-weight: bold;
  font-size: 25px;
  color: black;
  padding: 10px 20px 5px 15px;/*20px*/
}
.divTableCell{
  display: table-cell;
  border: 1px solid #000;
}
.divTableFoot {
  text-align: center;
	background-color: #EEE;
	display: table-footer-group;
	font-weight: bold;
}
.tablica_stugman{
  width: 100%;
  height: auto;
  padding: 10px;
  text-align: center;
}
/*----table_stolbcy----*/

.myButton:hover {
	background:linear-gradient(to bottom, #1e62d0 5%, #3d94f6 100%);
	background-color:#1e62d0;
}
.myButton:active {
	position:relative;
	top:1px;
}
.pa{
  color: white;

  font-size: 20px;
  
}
.tablica_ptasxan{
  width:100%;
  height: 100%;
}
.quantity {
  position: relative;
}
.quantity input {
  width: 100%;
  height: 45px;
  line-height: 1.65;
  float: left;
  display: block;
  padding: 0;
  margin: 0;
  padding-left: 20px;
  border: 1px solid #eee;
}

.quantity input:focus {
  outline: 0;
}

.quantity-nav {
  float: left;
  position: relative;
  height: 42px;
}

.quantity-button {
  position: relative;
  cursor: pointer;
  border-left: 1px solid #eee;
  width: 20px;
  text-align: center;
  color: #333;
  font-size: 13px;
  font-family: "Trebuchet MS", Helvetica, sans-serif !important;
  line-height: 1.7;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.quantity-button.quantity-up {
  position: absolute;
  height: 50%;
  top: 0;
  border-bottom: 1px solid #eee;
}

.quantity-button.quantity-down {
  position: absolute;
  bottom: -1px;
  height: 50%;
}

.stolbcy_start_div{
  position: relative;
  width: 100%;
  height: auto;
}
.main_page_border{
  position: absolute;
  margin: 10px;
  display:inline-flex;
}
.main_page_border_bazm{
  position: absolute;
  right: 5px;
  width: 16%;
  margin: 10px;
}
.back_page_nav{
  position: absolute;
  right: 0px;
  width: 23%;
  margin: 5px;
  position: relative;
    float: right;
}
.back_2{
  padding: 20px;
  font-size:16px;
  background: yellow;
  border-radius: 30px;
  text-transform: uppercase;
  transition: 0.9s;
}
.main_page_2{
  z-index: 999;
  float: left;
  margin-right: 12px;
  padding: 14px;
  font-size:16px;
  background: yellow;
  border-radius: 30px;
  text-transform: uppercase;
  transition: 0.9s;
}
.main_page{
  padding: 14px;
  font-size:16px;
  background: yellow;
  border-radius: 30px;
  text-transform: uppercase;
  transition: 0.9s;
  margin-right: 10px;
}
.main_page i{
  padding: 6px;
}
.main_page:hover{
  background:#d40a0a;
  color:white;

}
.back{
  padding: 20px;
  font-size:16px;
  background: yellow;
  border-radius: 30px;
  text-transform: uppercase;
  transition: 0.9s;
}
.back:hover{
  background:#d40a0a;
  color:white;

}
.sova_dv{
  width: 200px;
  height: 200px;
  position: absolute;
  bottom: 0px;
  left: 10px;
}
.sova_dv img{
  margin-top: -10px;
}

.logo{
  width: 500px;
  height: 350px;
  position: absolute;
  top: 1%;
  left: 0%;
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.stage{
  height: 350px;
  width: 350px;
  position: absolute;
	top:2%;
  right: 9%;
}
a{
  text-decoration: none;
  color: black;
}
.p{
  font-size: 40px;
  text-align: center;
  margin-top: 0;
  cursor: pointer;
  width: 100%;
  background: #78FED6;
  border-radius: 10px;
  font-family: Century Gothic;
  letter-spacing: 4px;
  padding: 7px;
 
}
.div{
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  width: 395px;
  height: 65px;
  margin-top: 7%;
  transition-duration: 0.2s;

}
.p:hover{
  background: white;
  color: black;
}
.div:nth-child(odd){
  transform: perspective(300px) rotateY(30deg);
  box-shadow: -2px 2px 7px gray;
}
.div:nth-child(even){
  transform: perspective(300px) rotateY(-45deg);
    box-shadow: 2px 2px 7px gray;
}
.div:hover{
  transform: rotateY(0);
  background: white;
  color: black;
  box-shadow: 0px 0px 0px;
}
.stolbcy{
  width: 100%;
  height: 500px;
  text-align: center;
}
.stolbcy-1{
  float: left;
  position: relative;
  border: solid;

}
.container {
  align-items: center;
  justify-content: center;
  position: absolute;
  height: 300px;
  width: 600px;
  top: 60px;
  left: calc(50% - 300px);
  display: flex;
}
.a_card{
  position: relative;
  
}
.card {
  display: flex;
  
  height: 280px;
  width: 200px;
  background-color: #17141d;
  border-radius: 10px;
  box-shadow: -1rem 0 3rem #000;
/*   margin-left: -50px; */
  transition: 0.4s ease-out;
  position: relative;
  left: 0px;
}

.card:not(:first-child) {
    margin-left: -50px;
}

.card:hover {
  transform: translateY(-20px);
  transition: 0.4s ease-out;
}

.card:hover ~ .card {
  position: relative;
  left: 50px;
  transition: 0.4s ease-out;
}

.title {
  color: white;
  font-weight: 300;
  position: absolute;
  left: 20px;
  top: 15px;
}

.bar {
  position: absolute;
  top: 100px;
  left: 20px;
  height: 5px;
  width: 150px;
}

.emptybar {
  background-color: #2e3033;
  width: 100%;
  height: 100%;
}

.filledbar {
  position: absolute;
  top: 0px;
  z-index: 3;
  width: 0px;
  height: 100%;
  background: rgb(0,154,217);
  background: linear-gradient(90deg, rgba(0,154,217,1) 0%, rgba(217,147,0,1) 65%, rgba(255,186,0,1) 100%);
  transition: 0.6s ease-out;
}

.card:hover .filledbar {
  width: 120px;
  transition: 0.4s ease-out;
}

.circle {
  position: absolute;
  top: 150px;
  left: calc(50% - 60px);
}

.stroke {
  stroke: white;
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  transition: 0.6s ease-out;
}

svg {
  fill: #17141d;
  stroke-width: 2px;
}

.card:hover .stroke {
  stroke-dashoffset: 100;
  transition: 0.6s ease-out;
}
/*----*/

/* Create three equal columns that floats next to each other */
.column {
  float: left;
  width: 33.33%;
  padding: 10px;
  height: auto; /* Should be removed. Only for demonstration */
}

/* Clear floats after the columns */
.row_settings:after {
  content: "";
  display: table;
  clear: both;
}
.nav_start {
  left: 20px;
  top: 20px;
  position: absolute;
  width: 18vw;
  min-width: 230px;
  height: 0px;
  z-index:10;
}

.nav_start h2 {
  border-radius: 2px;
  position: relative;
  background: tomato;
  height: 40px;
  text-transform: uppercase;
  color: ivory;
  font-weight: 200;
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  box-shadow: 4px 4px 20px -2px rgba(0,0,0,.35);
  transition: all .4s;
}
.but{
  width:80%;
  height:30px;
  margin:10px;
  color:white;
  font-size:20px;
  border:none;
  border-radius: 100px;
  background-color:blue;
  cursor: pointer;
}
.nav_start:hover h2{
  transform: translateY(-2px);
  box-shadow: 2px 2px 5px -1px rgba(0,0,0,.35);
 }
.nav_start:hover:active h2{
  transform: translateY(10px);
  box-shadow: 0px -1px 2px 0px rgba(0,0,0,.35);
 }

.toggle {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 1;
  opacity: 0;
  cursor: pointer;
  height: 40px;
}
.sett{
    opacity:1;
    width: 20%;
    height:auto;
}
#toggle:checked ~ul {
  height: 0%;
}

.nav_start ul {
  padding-left: 0;
  padding-top: 0;
  margin-top: 0;
  list-style: none;
  overflow: hidden;
  text-align: right;
  margin-bottom: 22px;
  text-align: center;
  transition: all .4s ease-out;
  height: 100%;
}
.nav_start ul li {
  border-radius: 2px;
  position: relative;
  display: inline-block;
  margin-left: 35px;
  line-height: 1.5;
  width: 100%;
  margin: 0;
  padding: 10px;
  margin-bottom: 5px;
  background: tomato;
  transition: background 3s;
  box-shadow: 2px 2px 10px -2px rgba(0,0,0,.35);
}

.nav_start ul li:hover {
  background: mediumorchid;
  transition: background .45s;
}

.nav_start ul .a {
  display: block;
  color: ivory;
  text-transform: lowercase;
  font-size: 18px;
  font-weight: 200;
  text-decoration: none;
  transition: color .3s;
}

.container-nf {
  width: 100%;
  height: 250px;
  
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  margin: auto;
  box-sizing: border-box;
  
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
  grid-template-rows: 1fr;
  grid-gap: 15px;
}

.items {
    width:50%;
    margin:auto;
  border-radius: 5px;
  display: grid;
  grid-template-rows: 2fr 1fr;
  grid-gap: 10px;
  cursor: pointer;
  border: 3px dotted black;
  transition: all 0.6s;
}


.icon-wrapper, .project-name {
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrapper i {
  font-size: 100px;
  color: #E5E6F1;
  transform: translateY(0px);
  transition: all 0.6s;
}

.icon-wrapper {
  align-self: end;  
}

.project-name {
  align-self: start;
}
.project-name p {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #E5E6F1;  
  transform: translateY(0px);
  transition: all 0.5s;
}

.items:hover {
  border: 3px solid #E5E6F1;
  transform: translateY(-10px);
}
   .project-name p:hover {
    transform: translateY(-10px);
  }
  .start{
    width:90%;
    border-radius:50px ;
    text-align: center;
    color: white;
    background-color: #d40a0a;
    padding: 10px;
    font-size: 30px;

    margin: auto;
    margin-top: 20px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    cursor:pointer;
  }
  .next{
    width:80%;
    border-radius:50px;
    text-align: center;
    color: white;
    background-color: #31ecec;
    padding: 10px;
    font-size: 30px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    cursor:pointer;
    display: none;
    margin-top: 20px;
    

  }
  .start:hover{
    background-color: #338888;
    transition: 0.5s;
  }
.started{
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.started_bazm{
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: 400px;

}

/*
.started{
  height: 10em;
  position: relative;
}*//*
.started{
  margin: 0;
  display:block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%) 
}

*/

.started_text{
  color: white;
  font-size: 400px;
  text-align: center;
  margin: auto;
  opacity: 1;
  /*box-shadow: -1rem 0 3rem #000;*/
  animation-name: started__;
  animation-duration: 0.6s;
}
.started_text_bazm{
  color: white;
  font-size: 190px;
  text-align: center;
  margin: auto;
  opacity: 1;
  /*box-shadow: -1rem 0 3rem #000;*/
  animation-name: started__;
  animation-duration: 0.6s;
  position: relative;
  top: 110px;
}
.pat_bazm{
  font-size: 100px;
  width: 200px;
  height: 200px;
  position: relative;
  top: -25px;
 
}
.hajord{
  width: 20%;
  height: 100px;
  background: #53dbf1;
  border:#53dbf1;  
  border-radius: 200px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  cursor:pointer;
  /*line-height: 10em;  *//* подробнее про line-height */
  text-align: center;
}
.started_text1{
  width: 100%;
  color: #17141d;
  font-size: 50px;
  text-align: center;
  clear: both;
  margin-bottom: 10px;
}
@keyframes started__ {
  0%{opacity: 0;}
  100%{opacity: 1;}
}

.div_input{
  width: 100%;
  position: initial;
  display: none;
  height: auto;

  text-align: center;
}
.input_number{
width: 40%;
height: 80px;
padding: 10px;
margin:auto;
font-size: 20px;
font-size:50px;

}
.div_button{
  width:10%;
  position: relative;
  background-color: #e30000;
  border:#e30000;
  color: white;
  cursor: pointer;
  border-radius: 17px;
  font-size: 30px;
  padding:10px ;
  font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}
.answer_div{
  width: 100%;
  height: 100%;
  color: #17141d;
  font-size: 150px;
  text-align: center;
  position: absolute;
  z-index: 1000;
  background: #ffa200;
  text-transform: capitalize ;
  top: 0px;
  display: none;
  left: 0px;
}

.konec{
  display: none;
  left: 0px;
  top: 0px;
  width: 100%;
  position: absolute;
  text-align: center;
  padding: 10px;
  z-index: 1001;
  font-size: 40px;
  color:#17141d;
  
}
.konec .verj{
  width: 20%;
  margin: auto;
  background: #e30000;
  transition: 0.1s;
  
}
.konec .verj:hover{
  padding: 20px;
  color: white;
  background: #e30000;
  cursor: pointer;
}
.ardyunq_text{
  display: block;
  height: auto;
  color: white;

}
.ardyunq{
  margin-top: 30px;
  display: block;
  height: auto;
}
.point{
  margin-top: 30px;
  display: block;
  height: auto;
}
.return{
  display: block;
  height: auto;
  
}
.return_left{
  color: white;
  left: 40px;
  bottom: 20px;
  position: absolute;
  font-size:63px;
}
.return_right{
  color: white;
  right: 40px;
  bottom: 20px;
  position: absolute;
  font-size:63px;
}
.pokazano{
  width: 100%;
  left: 0px;
  z-index: 1002;
  height: 100%;
  color: white;
  background:#7b6280;
  position: fixed;
  top: -100%;
  transition: 0.5s;
}
.patasxan{
  width:100%;
	height: auto;
	position:absolute;
	top:40%;
	margin:-50px 0 0 0px;
}

.time_start{
  width:200px;
  height: auto;
  float: left;
  margin-top: 10px;
}
.topnav_start{
  overflow: hidden;
  text-align:center;
}
.column_start{
  float: left;
  text-align: center;
  padding: 20px 16px;
  width:33.33%;
}
@media only screen and (max-width: 1000px) {
  .stage{
    height: 350px;
    width: 350px;
    position: absolute;
    top:30%;
    right: 5px;
  }
  .sova_dv{
    display: none;
  }
  .tablica{
    overflow: inherit;
  }
  .card {
    display:inline-block;   
    height: 280px;
    width: 30%;
    background-color: #17141d;
    border-radius: 10px;
    box-shadow: -1rem 0 3rem #000;
    transition: 0.4s ease-out;
    position: relative;
    left: 0px;
  }
  .container {
    align-items: center;
    justify-content: center;
    position: absolute;
    height: 300px;
    text-align: center;
    width: 100%;
    top: 70px;
    left: calc(0% - 0px);
    display: block;
  }
  .started_text_bazm{
    font-size: 130px;
    top: 50px;
  }
  .pat_bazm{
    font-size: 100px;
    width: 300px;
    height: 100px;
    position: relative;
    top: -25px;
   
  }
  .hajord{
    width: 50%;
  }
}
@media only screen and (max-width: 900px){
  .div{
    width: 300px;
    height: 50px;
    margin-top: 5%;
  }
  .p{
    font-size: 27px;
  }
  .konec .verj{
    width: 30%;
    margin: auto;
    background: #e30000;
    transition: 0.1s;
    
  }
 .logo{
    width:300px;
    height: 250px;
    position: absolute;
    top: 1%;
    left: -4%;
  }
  .nav_start {
    left: 15px;
    width: 13vw;
    min-width: 120px;
  }
  .column{
    padding: 1px;
  }
  .sett{
    width: 60%;
  }
  .but{
    width: 100%;
    margin: 1px;
  }
  .back_page_nav{
    right:0px;
    width: 30%;
    margin: 8px;
    position: relative;
    float: right;
  }
  .main_page_2{
    font-size: 20px;
    padding: 20px;
    
  }
  .div_button{
    width: 45%;
  }

}
@media only screen and (max-width: 700px){
  .nav_start {
    left: 15px;
    width: 13vw;
    min-width: 120px;
  }
  .column{
    padding: 1px;
  }
  .sett{
    width: 60%;
  }
  .but{
    width: 100%;
    margin: 1px;
  }
  .back_page_nav{
    right:0px;
    width: 28%;
    margin: 8px;
    
  }
  .main_page_2{
    font-size: 13px;
    padding: 10px;
  }
  .div_button{
    width: 45%;
  }
  .div{
    width: 300px;
    font-size: 15px;
    height: 40px;
    margin-top: 5%;
  }
  .p{
    font-size: 20px;
  }
  .card {
    display:inline-block;   
    height: 280px;
    width: 40%;
    left: 0px;
  }
    .logo{
    width:250px;
    height: 150px;
    position: absolute;
    top: 1%;
    left: -4%;
  }
}
@media only screen and (max-width:600px){
  .started_text{

  font-size: 150px;

}
  .pat_bazm{
   	font-size:50px;
    width:290px;
    height:65px;
  }
  .started_text_bazm {
   	font-size:100px; 
  }
  .hajord{
   width:45%;
    height:65px;
    font-size:25px;
    margin:0px 0px 25px 0;
  }
  .started_text1{
    font-size:30px;
  }
  .input_number{
   	font-size:40px;
    height:60px;
    width:50%;
  }
  .answer_div{
   font-size:40px; 
  }
  .back_page_nav{
  position: absolute;
  right: 0px;
  width: 100%;
    float:left;
  margin: 5px;
  position: relative;
    float: right;
}
  .container{
    width: 99%;
    margin: auto;
    left: calc(0% - 0px);
    top: 100px;
  }
  .column {
  float: left;
  width:	100%;
  padding: 10px;
  height: auto; /* Should be removed. Only for demonstration */
}
  .card {
    display: block;
    margin: auto;
    height: 300px;
    width: 50%;
    background-color: #17141d;
    border-radius: 10px;
    box-shadow: -1rem 0 3rem #000;
    transition: 0.4s ease-out;
    position: relative;
   
  }
  .container a{
	width:100%;
    float:left;
  }
  .topnav_start{
  overflow: hidden;
  text-align:center;
}
.column_start{
  float: left;
  text-align: center;
  padding: 20px 16px;
  width:100%;
}
}
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
.topnav_start{
  overflow: hidden;
  text-align:center;
}
.column_start{
  float: left;
  text-align: center;
  padding: 20px 16px;
  width:100%;
}
}

/* Keep the refreshed exercise layout last so it wins over the legacy breakpoints. */
.main_page_border,
.main_page_border_bazm,
.back_page_nav {
  position: relative;
  z-index: 20;
  display: flex;
  width: min(1180px, calc(100% - 32px));
  align-items: center;
  gap: 10px;
  margin: 18px auto;
}

.main_page,
.main_page_2,
.back,
.back_2,
#again {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin: 0 8px 0 0;
  padding: 0 18px;
  border: 1px solid var(--game-line);
  border-radius: 999px;
  color: var(--game-paper) !important;
  background: rgba(255, 255, 255, .055) !important;
  font-size: 13px;
  font-weight: 750;
  text-transform: none;
}

.container {
  position: relative;
  top: auto;
  left: auto;
  display: grid;
  width: min(1040px, calc(100% - 40px));
  height: auto;
  min-height: calc(100vh - 120px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  margin: 0 auto;
  padding: clamp(74px, 10vh, 120px) 0;
}

.container > a {
  display: block;
  width: auto;
  min-width: 0;
  float: none;
}

.card,
.card:not(:first-child) {
  left: auto;
  display: block;
  width: 100%;
  height: 310px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--game-line);
  border-radius: 22px;
  background: linear-gradient(145deg, #174d38, #0d2b20);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.card:hover ~ .card {
  left: auto;
}

.topnav_start,
.navbar {
  position: relative;
  z-index: 30;
  display: grid;
  width: min(1180px, calc(100% - 32px));
  min-height: 90px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
  margin: 0 auto;
  padding: 18px 0;
  overflow: visible;
  border-bottom: 1px solid var(--game-line);
}

.navbar {
  display: flex;
  height: auto;
  align-items: flex-start;
  gap: 14px;
  justify-content: space-between;
  background: transparent !important;
}

.navbar > a {
  float: none;
  width: auto;
  height: auto;
  padding: 0;
  background: transparent !important;
}

.navbar > a#again {
  display: inline-flex;
  min-height: 46px;
  padding: 0 18px;
}

.navbar > a.width22 {
  flex: 0 0 216px;
}

.navbar > button,
.navbar #start {
  float: none;
  width: auto;
  height: 48px;
  padding: 0 28px;
}

.navbar .time_start {
  float: none;
  width: auto;
  min-width: 190px;
  margin: 0;
  padding: 0 10px;
}

.navbar .time_start h1 {
  margin: 0;
  white-space: nowrap;
  font-size: clamp(25px, 4vw, 36px);
}

.column_start {
  float: none;
  width: auto;
  min-width: 0;
  padding: 0;
}

.nav_start {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  min-width: 0;
}

.nav_start h2 {
  height: 48px;
  border: 1px solid var(--game-line);
  border-radius: 14px;
  color: var(--game-gold-light);
  background: rgba(255, 255, 255, .06);
  box-shadow: none;
}

.nav_start ul li {
  margin: 0;
  border: 1px solid var(--game-line);
  border-top: 0;
  color: var(--game-paper);
  background: rgba(17, 41, 30, .98);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .3);
}

.started_text,
.started_text_bazm {
  color: var(--game-paper);
  font-size: clamp(110px, 25vw, 360px);
}

@media (max-width: 900px) {
  .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 560px) {
  .container,
  .topnav_start {
    grid-template-columns: 1fr;
  }

  .container {
    padding-top: 38px;
  }

  .card {
    width: 100%;
    height: 280px;
  }
}
