.header { max-width: 1256px; min-width: 1000px; height: 124px; margin: 50px auto 0; background-color: rgba(241, 206, 152, 1); border-radius: 15px; display: grid; grid-template-columns: auto auto auto; align-items: center; justify-content: center; display: flex; gap: 30%; }
.header-mobile { display: none; }
.logo-mobile { display: none; }
.language { cursor: pointer; }
.language a { text-decoration: none; font-family: "Montserrat"; font-size: 18px; font-weight: 400; color: black;}
.faq a { text-decoration: none; font-family: "Montserrat"; font-size: 18px; font-weight: 500; color: black; display: flex; align-items: center; gap: 5px; }

article { max-width: 1256px; min-width: 1000px; margin: 0 auto;}

/* .swiper-carousel { overflow: visible !important; } */
.swiper-button-prev, .swiper-button-next { color: #2b2b2b !important; }

.mask{
  position: fixed;
  background: #000000;
  opacity: 0.7;
  width: 100%;
  height: 300%;
  margin-top: -50%;
  z-index: 10;  
}
.mask-block-show{
  position: fixed;
  width: 60%;
  margin-top: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 15px;
  background: #ffffff;
  opacity: 1;
  padding: 15px;
  text-align: center;
  left: 50%; 
  z-index: 777;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.loading img {
  max-width: 100%;
 }
 .loading p {
  /* outline: 1px solid black; */
  text-align: center;
  font-size: 24px;
  color: #f1ce98;
  font-weight: 800;
  font-family: "Montserrat";
  position: absolute;
  bottom: -75px;
  height: 100px;
}

.loading{
  margin-top: -100px;
  margin-left: -100px;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 999999;
}
.none{
  display: none !important;
}
.hidden{
  visibility: hidden !important;
  position: absolute; 
  top: -9999px; 
  left: -9999px;
}

.foto_wrapper { 
	width: 100%;
	display: grid;
	grid-template-columns: 1fr repeat(3, auto) 1fr;
	grid-template-rows: auto auto;
	align-items: end;
	justify-content: center;
	justify-items: center;
	background-image: url("../images/wrapper_background.2acecc9d7cfa.svg");
	background-repeat: no-repeat;
	background-position: center;
	margin-top: 50px;
}

#foto_wrapper img{
  image-rendering: pixelated;
}
.foto_1 { grid-row: 1; grid-column: 2; margin-right: -55px; max-width: 308px; min-width: 220px; height: auto; overflow: hidden;}
.foto_1 img {width: 100%; height: auto;}
.foto_1_mirror { grid-row: 2; grid-column: 2; margin-top: -4px; align-self: start;}
.foto_1_mirror img { width: 100%; height: auto; }
.foto_2 { grid-row: 1; grid-column: 3; z-index: 10; max-width: 403px; min-width: 350px; height: auto; overflow: hidden;}
.foto_2 img {width: 100%; height: auto;}
.foto_2_mirror { grid-row: 2; grid-column: 3; margin-top: -4px;}
.foto_3 { grid-row: 1; grid-column: 4; margin-left: -55px; max-width: 308px; min-width: 220px; height: auto; overflow: hidden;}
.foto_3 img {width: 100%; height: auto;}
.foto_3_mirror { grid-row: 2; grid-column: 4; margin-top: -4px; align-self: start;}
.foto_3_mirror img { width: 100%; height: auto; }

.left_button { grid-row: 1; grid-column: 1; width: 60px; height: 60px; background-color: rgba(217, 217, 217, 1); border-radius: 30px; display: flex; align-items: center; justify-content: center; margin-bottom: 115px;}
.left_button img { height: 30px; margin-right: 4px; }
.right_button { grid-row: 1; grid-column: 5; width: 60px; height: 60px; background-color: rgba(217, 217, 217, 1); border-radius: 30px; display: flex; align-items: center; justify-content: center; margin-bottom: 115px;}
.right_button img { height: 30px; margin-left: 4px; }

.title { font-size: 37px; font-weight: 800; font-family: "Inter"; margin: 15px auto 0; text-align: center;}
.discription { font-size: 24px; font-weight: 500; font-family: "Montserrat"; margin: 5px auto 0; text-align: center;}

.button { width: 278px; margin: 50px auto; height: 60px; background-color: rgba(43, 42, 40, 1); border-radius: 15px; display: flex; align-items: center; justify-content: center; }
.button p { font-size: 20px; font-weight: 500; font-family: "Montserrat"; color: white; }

.footer { max-width: 1256px; min-width: 1000px; display: grid; grid-template-columns: auto auto; align-items: center; justify-content: space-between; margin: 50px auto;}
.contact { grid-column: 1; font-size: 16px; font-weight: 700; font-family: "Inter"; }
.year { grid-column: 2; font-size: 16px; font-weight: 700; font-family: "Inter"; }
.num_one { position: fixed; bottom: 0 ; right: 90px; width: 102px; height: 136px; background-color: rgba(241, 206, 152, 1); }
.num_one p { font-size: 45px; font-weight: 700; font-family: "Inter"; text-align: center; margin-top: 30px;}

.orange_back { height: 434px; background-color: rgba(241, 206, 152, 1); border-radius: 15px; }

.notice { text-align: center; font-size: 14px; font-weight: 500; font-family: "Montserrat"; margin-top: 10px;}

@media screen and (width < 1600px){ 
	.num_one { display: none; } 
}

.switch_title { display: none;}
.switch { display: none;}


.options { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; justify-items: center; align-items: center; width: 330px; margin: 30px auto;}
.options .zoom_button { grid-column: 1; margin: 5px; width: 70px; height: 70px; border: 1px dashed #B59A70; border-radius: 35px;}
.options .anti_zoom_button { grid-column: 2; margin: 5px; width: 70px; height: 70px; border: 1px dashed #B59A70; border-radius: 35px;}
.options .left_button { grid-column: 3; margin: 5px; width: 70px; height: 70px; border: 1px dashed #B59A70; border-radius: 35px; background-color: white;}
.options .right_button { grid-column: 4; margin: 5px; width: 70px; height: 70px; border: 1px dashed #B59A70; border-radius: 35px; background-color: white;}



/*Страница индекс*/

.index .button { width: 403px; height: 60px; }
.index .button p { font-size: 26px; font-weight: 600; }
.index .orange_back { margin-top: -25px; height: auto; }
.mobile_title { display: none; padding-top: 20px; }
.mobile_discription { display: none; }
.index .foto_wrapper { margin-top: 0px; }
.index .orange_back_3 { display: none; }



/*Главная*/


.main_page .orange_back { background-color: white; height: unset; }
.about_position { width: 903px; display: grid; grid-template-columns: auto auto auto; grid-template-rows: auto auto; margin: 40px auto 0; justify-content: space-between;}

.about { display: flex; flex-direction: column; width: 278px; height: 237px; background-color: rgba(241, 206, 152, 1); border-radius: 15px; }
.about .icon { flex: 1; height: 80px; width: 80px; margin-left: 20px; margin-top: 15px; }
.about .block_title { font-size: 20px; font-weight: 800; font-family: "Montserrat"; margin-left: 25px; margin-top: 25px;}
.about .notice { flex: 9; font-size: 14px; font-weight: 500; font-family: "Montserrat"; margin-left: 25px; margin-top: 35px; margin-right: 20px; text-align: left;}
.about_position .button { margin: 20px auto; text-align: center; }
.main_page .mobile_button { display: none; }



/*Страницы загрузки картинки*/

.upload_page .orange_back { background-color: white; }
.upload { width: 903px; height: 112px; background-color: rgba(241, 206, 152, 1); border-radius: 15px; margin: 40px auto 0; display: flex; align-items: center; justify-content: center;}
.upload_inner_border { width: 884px; height: 92px; background-color: rgba(241, 206, 152, 1); border-radius: 15px; border: 1px dashed black; margin: auto; display: flex; align-items: center; justify-content: center;}
.upload_inner_border .block_title { font-size: 20px; font-weight: 800; font-family: "Montserrat"; color: black;}
#mobile_icon { display:none; }
.upload_page .buttons {display: none;}
.upload_page .active{
	border: 2px solid;
}
.upload_page_demo .orange_back { height: unset; margin-top: 5em; }


/*Страницы демо*/

.demo_page .result-container { margin-top: 2em; }
.demo_page .result-container .buttons { display: flex; width: 34%; margin-top: 3em; gap: 1.3em; flex-direction: row-reverse; }
.demo_page .result-container .buttons .button { margin: 0; }
.demo_page .result-container .buttons .button-not-selected { background-color: unset; outline: 0.15em solid #2b2b2b; }
.demo_page .result-container .buttons .button-not-selected p { color: #2b2b2b; }
.demo_page .result-container .carousel-container-container { display: flex; width: 100%; max-width: 674px; margin: 0 auto; gap: 1em; position: relative; }
/* DO NOT EVER MAKE THIS SWIPER DIV display flex/grid! */
.demo_page .result-container .carousel-container { width: 474px; margin: 0 auto; gap: 1em; margin: 3em auto; }

.demo_page .orange_back { display:none; }
.demo_page .orange_back .image { display: none; }

.demo_page .title { margin-top: 70px; }

.demo_page .buttons { display: grid; grid-template-columns: auto auto auto; width: 903px; margin: 0 auto;}
.demo_page > .buttons .button:first-child { background-color: #616161; }

.demo_page .background { background-image: url("../images/demo_wrapper_background.ff3a7454bc8b.svg"); background-size: 100%; background-position: top 10px center; width: 100%; background-repeat: no-repeat; padding-top: 10px; margin-top: 20px;}

.demo_page .foto_wrapper { background-image: none; width: 97%; margin: 50px auto 0; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto; column-gap: 20px;}

.demo_page .foto_1 { grid-column: 1; max-width: 500px; min-width: 0; width: 100%; height: auto; margin: 0;}
.demo_page .foto_1 img {width: 100%; height: auto;}

.demo_page .foto_1_mirror { grid-column: 1; width: 100%; }
.demo_page .foto_1_mirror img { width: 100%; height: auto; }

.demo_page .foto_2 { grid-column: 2; max-width: 500px; min-width: 0; width: 100%; height: auto; margin: 0;}
.demo_page .foto_2 img {width: 100%; height: auto;}

.demo_page .foto_2_mirror { grid-column: 2; width: 100%; height: auto;}
.demo_page .foto_2_mirror img { width: 100%; height: auto; }

.demo_page .foto_3 { grid-column: 3; max-width: 500px; min-width: 0; width: 100%;  height: auto; margin: 0;}
.demo_page .foto_3 img {width: 100%; height: auto;}

.demo_page .foto_3_mirror { grid-column: 3; width: 100%;}
.demo_page .foto_3_mirror img { width: 100%; height: auto; }

.demo_page .span { font-size: 25px; font-weight: 600; font-family: "Montserrat"; align-self: start; margin-top: 5px;}
.demo_page .active_span { font-size: 25px; font-weight: 600; font-family: "Montserrat"; align-self: start; margin-top: 5px;}
.demo_page #neon { grid-row: 3; grid-column: 1; margin-right: 20px; }
.demo_page #retro { grid-row: 3; grid-column: 2; font-size: 32px; }
.demo_page #classic { grid-row: 3; grid-column: 3; margin-left: 20px; }

.demo_page #visible {display: none;}


/*Страница ошибки 404*/

.error { margin: 40px auto 0; width: 70%; display: block;}
.error_page .discription { width: 910px; margin-top: 15px;}
.error_page .button { width: 403px; }



/*Страницы итога*/

.itog_page .orange_back { background-color: white; }


.itog_page .buttons { display: grid; grid-template-columns: auto auto auto; width: 905px; margin: 50px auto 0; justify-content: space-between;}
.itog_page .buttons #pdf_generate {background-color: #616161; cursor: default; }

.itog_page .notice { font-size: 20px;margin-top: -30px;}

.itog_page #on_main_button_mobile { display: none; }
.loading-pdf{
  display: inline-block;
  width: 24px;
  position: relative;
  margin-top: -10px;
  top: 5px;
  margin-left: 10px;
}

.itog_page #pdf { animation: glow 2s ease-in infinite; animation-direction: alternate; }
.itog_page #pdf p { font-weight: 700; }

@keyframes glow {
  0% {
    box-shadow: 0 0 5px rgba(241, 206, 152, 0.5);
  }
  50% {
    box-shadow: 0 0 15px 12px rgba(241, 206, 152, 1);
  }
  100% {
    box-shadow: 0 0 5px rgba(241, 206, 152, 0.5);
  }
}

/*Страницы с кодом*/
.code_page .orange_back { background-color: white; }
.code_page .orange_back_form { width: 903px; height: 210px; margin: 50px auto 0; background-color: rgba(241, 206, 152, 1); border-radius: 15px;}
.code_page .orange_back_form .block_title { font-size: 24px; font-weight: 600; font-family: "Montserrat"; margin-left: 20px; margin-top: 25px; display: inline-block;}

.code_page .orange_back_form .form { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; width: 100%; margin: 30px auto; justify-content: space-around;}
.code_page .orange_back_form .form input { width: 403px; height: 60px; background-color: rgba(241, 206, 152, 1); border-radius: 15px; border: 3px solid #616161; font-size:24px; font-weight: 500; font-family: "Montserrat"; text-align: center; color: #616161;}
.code_page .orange_back_form .form input::placeholder { font-size:26px; font-weight: 500; font-family: "Montserrat"; text-align: center; color: #616161; margin-top: 5px;}
.code_page .orange_back_form .form .notice { color: #CD2222; }

.code_page .title { font-size: 30px; }

.code_page .buttons { display: grid; grid-template-columns: auto auto; margin: 40px auto; width: 903px; justify-content: space-between;}
.code_page .buttons .button { width: 440px; margin: 0; }



.try_again_page .orange_back { display: none; }
.try_again_page .foto_wrapper { grid-template-columns: 1fr repeat(4, auto) 1fr; padding-top: 20px; background-image: url("../images/try_again_background.130fa591aa6e.svg"); background-size: 97%; background-position: top center;}

.try_again_page .foto_1 { grid-row: 1; grid-column: 2; max-width: 253px; min-width: 200px; height: auto; overflow: hidden; margin: 0 5px;}
.try_again_page .foto_1 img {width: 100%; height: auto;}
.try_again_page .foto_1_mirror { grid-row: 2; grid-column: 2; max-width: 253px; min-width: 200px; margin: -4px 5px 0;}


.try_again_page .foto_2 { grid-row: 1; grid-column: 3; max-width: 289px; min-width: 220px; height: auto; overflow: hidden; margin: 0 5px;}
.try_again_page .foto_2 img {width: 100%; height: auto;}
.try_again_page .foto_2_mirror { grid-row: 2; grid-column: 3; max-width: 289px; min-width: 220px; margin: -4px 5px 0;}
.try_again_page .foto_2_mirror img {width: 100%; height: auto;}


.try_again_page .foto_3 { grid-row: 1; grid-column: 4; max-width: 289px; min-width: 220px; height: auto; overflow: hidden; margin: 0 5px; }
.try_again_page .foto_3 img {width: 100%; height: auto; }
.try_again_page .foto_3_mirror { grid-row: 2; grid-column: 4; max-width: 289px; min-width: 220px; margin: -4px 5px 0;}


.try_again_page .foto_4 { grid-row: 1; grid-column: 5; max-width: 253px; min-width: 200px; height: auto; overflow: hidden; margin: 0 5px;}
.try_again_page .foto_4 img {width: 100%; height: auto;}
.try_again_page .foto_4_mirror { grid-row: 2; grid-column: 5; align-self: start; max-width: 253px; min-width: 200px; margin: -4px 5px 0;}
.try_again_page .foto_4_mirror img { width: 100%; height: auto; }

.try_again_page .right_button { grid-row: 1; grid-column: 6;}

.try_again_page .button { margin-top: 90px; }



.framing_instruction_page .orange_back { background-color: white; margin-top: -20px; height: auto;}

.framing_instruction_page .fotos { max-width: 1050px;	min-width: 1000px; height: 880px; padding: 20px 0; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; justify-content: center; margin: 40px auto; background-image: url("../images/cadrirovanie_background.2f67f1b4a84a.svg"); background-repeat: no-repeat; background-position: top center; background-size: 100%;}
.framing_instruction_page .fotos #framing_foto_1 { margin-right: 50px; margin-bottom: 50px; }
.framing_instruction_page .fotos #framing_foto_2 { margin-left: 50px; margin-bottom: 50px }
.framing_instruction_page .fotos #framing_foto_3 { margin-right: 50px; }
.framing_instruction_page .fotos #framing_foto_4 { margin-left: 50px; }

.framing_instruction_page .orange_back_how_better { width: 903px; height: 175px; margin: 0 auto; background-color: rgba(241, 206, 152, 1); border-radius: 15px;}
.framing_instruction_page .orange_back_how_better .block_title { font-size: 20px; font-weight: 800; font-family: "Montserrat"; margin-left: 30px; margin-top: 35px; display: inline-block;}
.framing_instruction_page .orange_back_how_better .notice { font-size: 20px; text-align: left; margin-left: 30px; margin-top: 30px;}




.framing_select_size .background { max-width: 1256px; background-image: url("../images/framing_background.6056285f047d.svg"); background-size: 97%; background-position: top center; background-repeat: no-repeat;}
.framing_select_size .background .orange_back { width: 70%; height: 556px; margin: 30px auto 0; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.framing_select_size .background .orange_back .main_image { width: 500px; height: 500px; }
.framing_select_size .background .orange_back .main_image img { display: block; width: 100%; height: auto; }
.framing_select_size .title { margin-top: 1.2em; width: 60%; }
.framing_select_size .buttons { display: flex; flex-direction: column; gap: 1em; justify-content: center; width: 100%; align-items: center; margin-top: 2em; }
.framing_select_size .buttons .button { margin: 0; }
.framing_select_size .buttons .button-back { margin-top: 0.7em; background-color: #616161; }






.framing_page .background { max-width: 1256px; background-image: url("../images/framing_background.6056285f047d.svg"); background-size: 97%; background-position: top center; background-repeat: no-repeat;}
.framing_page .background .orange_back { width: 70%; height: 556px; margin: 30px auto 0; display: flex; align-items: center; justify-content: center; }
#image{
  width: 100%;
  height: auto;
}
.framing_page .buttons { display: grid; grid-template-columns: auto auto; margin: 40px auto; width: 893px; justify-content: space-between;}
.framing_page .buttons .button { width: 430px; margin: 0; }
.framing_page .buttons .button:first-child { background-color: #616161; }
.framing_page .background .orange_back .main_image { width: 500px; height: 500px; }
.framing_page .background .orange_back .main_image img { display: block; width: 100%; height: auto; }
.framing_page .options #turn_right { transform: scale(-1, 1); }
.framing_page .options.options-aspect-rotation { display: flex; width: 50%; gap: 0em; }
.framing_page .options.options-aspect-rotation .button { margin: 0; border-radius: 0; }
.framing_page .options .option-button-filled { background-color: unset; outline: 0.15em solid #2b2a28; padding: 0.5em; }
.framing_page .options.options-aspect-rotation #vertical { border-radius: 99em 0 0 99em; }
.framing_page .options.options-aspect-rotation #horizontal { border-radius: 0 99em 99em 0; }
.framing_page .options .option-button-filled p { color: #2b2a28; }
.framing_page .options .option-button-filled-selected { background-color: #2b2a28; }
.framing_page .options .option-button-filled-selected p { color: white; }
.framing_page .option-button { margin: 5px; width: 70px; height: 70px; border: 1px dashed #B59A70; border-radius: 35px; background-color: white; display: flex; justify-content: center; }
.framing_page .option-button img { width: 100%; height: auto; margin: 0.7em; }





.result_page .background { max-width: 1256px; background-image: url("../images/framing_background.6056285f047d.svg"); background-size: 97%; background-position: top center; background-repeat: no-repeat;}
.result_page .background .orange_back { width: 70%; height: 556px; margin: 30px auto 0; display: flex; align-items: center; justify-content: center; }
.result_page .background .orange_back .main_image { display: flex; justify-content: center; }

.result_page .buttons { display: grid; grid-template-columns: auto auto; margin: 40px auto; width: 893px; justify-content: space-between;}
.result_page .buttons .button { width: 430px; margin: 0; }
.swiper { width: 60%; margin: 75px 0; }
.my-swiper-wrapper { position: relative; user-select: none; width: 100%; }
.swiper-slide img { width: 100%; height: auto; }
.result-img-active {
	outline: 8px solid #FFC263;
	outline-offset: -7px;
}
.my-swiper-wrapper .swiper-button-next { position: absolute; right: 15%; }
.my-swiper-wrapper .swiper-button-prev { position: absolute; left: 15%; }
.select-img { width: 400px; }





.columns { display: grid; grid-template-columns: 1fr 570px 1fr; width: 100%; justify-items: center; margin-top: 50px;}


/* ONLY for /photo_constructor ! */
.instruction-column { display: flex; justify-content: center; align-items: center; flex-direction: column; }
.instruction-column-top-bar { display: flex; position: relative; justify-content: center; flex-direction: row; width: 100%; }
.instruction-column-question { position: absolute; right: 380px; top: 60px; }
.instruction-column-colors { margin-top: 60px !important; }
.instruction-column-bricks { width: auto !important; margin-top: 50px !important; }


.columns .question { grid-column: 3; grid-row: 2; margin-top: -40px; }

.assembly_page .orange_back_colors { grid-column: 2; margin: 0 auto; display: flex; }
.assembly_page .colors { grid-column: 2; margin: 0 auto 0; width: 430px; display: grid; grid-template-columns: repeat(8, 1fr); justify-content: center; justify-items: center; align-items: center;}
.assembly_page .colors a .color { width: 40px; height: 40px; border-radius: 3px;}
.assembly_page .colors a #color1 { background-color: rgba(255, 255, 255, 1); border: 1px solid rgba(175, 175, 175, 1);}
.assembly_page .colors a #color2 { background-color: rgba(231, 231, 231, 1); border: 1px solid rgba(175, 175, 175, 0);}
.assembly_page .colors a #color3 { background-color: rgba(203, 203, 203, 1); border: 1px solid rgba(175, 175, 175, 0);}
.assembly_page .colors a #color4 { background-color: rgba(140, 140, 140, 1); border: 1px solid rgba(175, 175, 175, 0);}
.assembly_page .colors a #color5 { background-color: rgba(88, 88, 88, 1); border: 1px solid rgba(175, 175, 175, 0);}
.assembly_page .colors a #color6 { background-color: rgba(18, 18, 18, 1); border: 1px solid rgba(175, 175, 175, 0);}
.assembly_page .colors a .color p{ font-family: "Arial Black"; font-weight: 900; font-size: 24px; margin: 14px 0 0 4px; color: black;}

.assembly_page .colors a #reload { background-color: rgba(241, 206, 152, 1); border: 1px solid rgba(175, 175, 175, 0); margin-left: 30px;}
.assembly_page .colors a #reload #mobile_reload { display: none; }
.assembly_page .colors a #reload #desktop_reload { display: block; }

.assembly_page .bricks { grid-column: 2; border-collapse: separate; border-spacing: 5px; width: 535px; margin: 15px auto 0;}
.assembly_page .bricks td { width: 38px; height: 38px; }
.assembly_page .bricks .lable p{ text-align: center; font-family: "Inter"; font-weight: 400; font-size: 12px; margin-top: 13px; color: rgba(108, 108, 108, 1);}
.assembly_page .bricks .lable_interactive p{ text-align: center; font-family: "Inter"; font-weight: 400; font-size: 12px; margin-top: 15px; color: rgba(108, 108, 108, 1);}
.assembly_page .bricks .brick { background-color: black; border-radius: 5px; cursor: pointer; user-select: none; }
.assembly_page .bricks .brick .brick_word { width: 20px; font-family: "Inter"; color: white; font-size: 24px; margin: 13px 0 0 19px; position: absolute;}
.assembly_page .bricks .brick .brick_num { width: 10px; font-family: "Inter"; color: white; font-size: 12px; margin: 4px 0 0 2px; position: absolute; text-align: right;}

.assembly_page .bricks .small-bricks-td { width: 38px; height: 8px; }
.assembly_page .bricks .small-bricks-brick { background-color: black; cursor: pointer; user-select: none; border-radius: 0; position: relative; }
.assembly_page .bricks .brick .small-bricks-brick-word { width: 20px; font-family: "Inter"; color: white; font-size: 15px; position: absolute; margin: 0; bottom: 2px; left: 4px; }
.assembly_page .bricks .brick .small-bricks-brick-num { width: 10px; font-family: "Inter"; color: white; font-size: 10px; position: absolute; text-align: right; margin: 0; top: 3px; right: 3px; }
.assembly_page .bricks .small-bricks-lable p { text-align: center; font-family: "Inter"; font-weight: 400; font-size: 8px; margin-top: 13px; color: rgba(108, 108, 108, 1);}

.assembly_page .buttons { margin: 10px auto 0; width: 215px; display: grid; grid-template-columns: repeat(2, auto); justify-content: center; justify-items: center; align-items: center; }
.assembly_page .buttons a .onTheMainButton { width: 167px; height: 35px; margin: 0 auto; }
.assembly_page .buttons a .reloadButton { width: 35px; height: 35px; background-color: rgba(217, 217, 217, 1); border-radius: 5px;}
.assembly_page .buttons .reloadButton img { margin: 3px 0 0 6px; }

.assembly_page .orange_back { max-width: 1256px; height: auto; margin: 30px auto 0; display: flex; flex-direction: column; }

.assembly_page .pages { margin: 25px auto; width: 800px; display: grid; grid-template-columns: repeat(auto-fit, minmax(30px, 105px)); justify-content: center; justify-items: center; align-items: center; display: flex; gap: 35px; outline: #CD2222; }
.assembly_page .pages .swiper { width: 350px; height: 64px; margin: 0; }
.assembly_page .pages .swiper .swiper-wrapper .current-page { background-color: white; border: none; }
.assembly_page .pages .swiper .swiper-wrapper .current-page p { color: #f1ce98; }
.assembly_page .pages .swiper-button-prev,
.assembly_page .pages .swiper-button-next { 
  position: relative; top: auto; margin-top: 0; color: white;
}
.assembly_page .pages .page { border-radius: 4px; display: flex; justify-content: center; border: 1px solid white; box-sizing: border-box; padding: 5px 0; width: 80px; justify-content: center; align-items: center; }

.assembly_page .pages .page p{ font-family: "Arial Black"; font-weight: 900; font-size: 25px; color: white;}

.assembly_page #pages_button { display: none; }

.assembly_page .buttons-page-20 { display: flex; border-radius: 5px; justify-content: center;  gap: 10px; margin-bottom: 25px; }
.assembly_page .buttons-page-20 .page { width: 64px; height: 64px; border-radius: 5px; display: flex; align-items: center; justify-content: center; padding: 5px; user-select: none; cursor: pointer; border: 1px solid white; box-sizing: border-box; }
.assembly_page .buttons-page-20 .page p { font-family: "Arial Black"; font-weight: 900; font-size: 25px; color: white;}


.purchase_page .orange_back { background-color: white; }
.purchase_page .title { font-size: 33px; }
.purchase_page .discription { width: 940px; margin: 20px auto 50px; display: block; }
.purchase_page .markup { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); justify-items: center; width: 940px; margin: 0 auto;}
.purchase_page .marketplace .info {width: 206px; height: 176px; background: #F1CE98; border-radius: 20px;}
.purchase_page .marketplace .info p { font-family: "Montserrat"; margin: 10px auto; color: black; text-align: left; font-size: 14px; font-weight: 500; width: 90%; overflow: hidden;}
.purchase_page .marketplace .info .info_bg { background-image: url("../images/marketplace_bg.014357aede98.png"); background-position: center -4px; background-repeat: no-repeat; display: flex; align-items: center; justify-content: center; height: 112px;}
.purchase_page .marketplace .info .info_bg p { margin: 0; text-align: center; font-size: 32px; font-weight: 800; color: #FDFCE5; }
.purchase_page .button { width: 206px; height: 44px; margin-top: 30px;}
.purchase_page .marketplace #WB p:after { content: "ВЫБРАТЬ"; }
.purchase_page .marketplace #OZON p:after { content: "ВЫБРАТЬ"; }
.purchase_page .marketplace #DM p:after { content: "ВЫБРАТЬ"; }
.purchase_page .marketplace #MM p:after { content: "ВЫБРАТЬ"; }




.failed_page .background { max-width: 1256px; background-image: url("../images/framing_background.6056285f047d.svg"); background-size: 97%; background-position: top center; background-repeat: no-repeat; margin-top: 60px; margin-bottom: 100px;}
.failed_page .background .orange_back { width: 70%; height: 556px; margin: 30px auto 0; display: flex; align-items: center; justify-content: center; flex-direction: column;}
.failed_page .background .orange_back .title { margin-bottom: 30px; }
.failed_page .background .orange_back .discription { font-size:36px;  }
.failed_page .button { margin-bottom: 0; }
.failed_page #visible { display: none; }




.popup_page .background { max-width: 1256px; margin-top: 60px; margin-bottom: 100px;}
.popup_page .background .orange_back { width: 70%; height: 556px; margin: 30px auto 0; display: flex; align-items: center; justify-content: center; flex-direction: column;}
.popup_page .background .orange_back .discription { font-size:40px; width: 80%; font-weight: 800; }
.popup_page .button { margin-bottom: 0; }




.wait_page .orange_back { background-color: white; }
.wait_page .title { width: 90%; }
.wait_page .discription { width:90%; max-width:1000px; }
.wait_page .buttons { display: grid; grid-template-columns: auto auto; margin: 40px auto; width: 903px; justify-content: space-between;}
.wait_page .buttons .button { width: 440px; margin: 0; }


/*Страница всех генераций*/

.all_page .orange_back { background-color: white; }

.all_page .buttons { display: grid; grid-template-columns: auto auto ; width: 905px; margin: 100px auto 0; justify-content: space-between;}
.all_page .buttons .button { width: 440px; margin: 0; }




/*Страница с кодом НОВАЯ*/
.code_new_page .orange_back { background-color: white; }
.code_new_page .orange_back_form { display: flex; flex-direction: column; width: 903px; height: 210px; margin: 50px auto 0; background-color: rgba(241, 206, 152, 1); border-radius: 15px;}
.code_new_page .orange_back_form .block_title { text-align: center; font-size: 24px; font-weight: 600; font-family: "Montserrat"; margin: 25px auto 0; width: 50%; display: block;}

.code_new_page .orange_back_form .form { display: flex; flex-direction: column; width: 100%; margin: 30px auto; justify-content: center; align-items: center;}
.code_new_page .orange_back_form .form input { width: 403px; height: 60px; background-color: rgba(241, 206, 152, 1); border-radius: 15px; border: 3px solid #616161; font-size:24px; font-weight: 500; font-family: "Fira Code", serif; font-optical-sizing: auto; text-align: center; color: #616161;}
.code_new_page .orange_back_form .form input::placeholder { font-size:26px; font-weight: 500; font-family: "Fira Code", serif; font-optical-sizing: auto; text-align: center; color: #616161; margin-top: 5px;}
.code_new_page .orange_back_form .form .notice { color: #CD2222; margin-top: 20px;}

.code_new_page .title { font-size: 30px;  }

.code_new_page .buttons { display: grid; grid-template-columns: auto auto; margin: 40px auto; width: 903px; justify-content: space-between;}
.code_new_page .buttons .button { width: 440px; margin: 0; }





/*Страница email*/
.email_page .orange_back { background-color: white; }
.email_page .orange_back_form { display: flex; flex-direction: column; width: 903px; height: 210px; margin: 50px auto 0; background-color: rgba(241, 206, 152, 1); border-radius: 15px;}
.email_page .orange_back_form .block_title { text-align: center; font-size: 24px; font-weight: 600; font-family: "Montserrat"; margin: 25px auto 0; width: 50%; display: block;}

.email_page .orange_back_form .form { display: flex; flex-direction: column; width: 100%; margin: 30px auto; justify-content: center; align-items: center;}
.email_page .orange_back_form .form input { width: 403px; height: 60px; background-color: rgba(241, 206, 152, 1); border-radius: 15px; border: 3px solid #616161; font-size:24px; font-weight: 500; font-family: "Montserrat"; text-align: center; color: #616161;}
.email_page .orange_back_form .form input::placeholder { font-size:26px; font-weight: 500; font-family: "Montserrat"; text-align: center; color: #616161; margin-top: 5px;}

.email_page .title { font-size: 30px;  }

.email_page .buttons { display: grid; grid-template-columns: auto auto; margin: 40px auto; width: 903px; justify-content: space-between;}
.email_page .buttons .button { width: 440px; margin: 0; }





/*Страница версий*/
.versions_page .orange_back { display: none; }

.versions_page .foto_wrapper { display: flex; justify-content: space-around; background-image: none;}
.versions_page .foto_wrapper .version img { width: 300px; height: auto; }
.versions_page .foto_wrapper .version .span { font-size: 37px; font-weight: 800; font-family: "Inter"; text-align: center; margin: 20px auto;}
.versions_page .foto_wrapper .version .button { margin: 20px auto; }

.versions_page .discription { margin-top: 20px; }

.versions_page .buttons { display: grid; grid-template-columns: auto auto; width: 903px; margin: 0 auto;}
.versions_page .buttons .button { width: 440px; }


.error-message { display: block; color: #ca0000; font-family: "Montserrat"; font-weight: 600; margin-top: 5px; }

.popup-overlay {
  position: fixed; /* Stay in place */
  top: 0;
  left: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgba(0, 0, 0, 0.7); /* Black background with transparency */
  z-index: 1000; /* Sit on top */
  display: flex;
  justify-content: center;
  justify-items: center;
}

.popup { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: white; padding: 20px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); z-index: 1001; }
.popup-x-button { display: flex; justify-content: right; margin-bottom: 20px; user-select: none; cursor: pointer; }
.popup-content { display: flex; justify-content: center; align-items: center; margin: 50px 0; overflow-y: auto; }
.help { width: 90%; background-color: white; border: solid 2px rgba(0, 0, 0, 0.25); }
.help img { width: 70%; height: auto; }
.help .close { text-decoration: none; font-family: "Montserrat"; font-size: 25px; font-weight: 600; color: white; width: 100px; height: 40px; background-color: #f1ce98; display: flex; align-items: center; justify-content: center; border-radius: 25px;}
.help #desktop_image { display: block; }
.help #tablet_image { display: none; }
.help #mobile_image { display: none; }


.index_new .top-star-container { position: relative; height: 40px; display: flex; justify-content: center; align-items: center; }
.index_new .about {width: 99%; height: auto; padding: 30px 0; margin: 40px auto; display: flex; align-items: center; background-color: rgba(241, 206, 152, 0.5); border: 3px solid rgba(241, 206, 152, 1); position: relative; }
.index_new .about .people-image { width: 148px; height: 194px; float: left; margin-left: 40px; position: absolute; left: 50px; }
.index_new .about .mobile_img { display: none; } 
.index_new .about .info { width: 100%; }
.index_new .about .info .title { margin: 0 20px; display: flex; justify-content: center; align-items: center; gap: 15px; }
.index_new .about .info .button { margin: 50px auto 0; width: 403px;}

.about-mobile { display: none; }



/* Overlay to dim the background */
.video-popup-overlay {
    position: fixed; /* Fixed position to cover the entire viewport */
    top: 0; /* Align to the top */
    left: 0; /* Align to the left */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
    display: flex; /* Use flexbox to center the content */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    z-index: 1000; /* Ensure it appears above other content */
}

/* Popup container styling */
.video-popup {
  display: flex;
  position: absolute; 
  justify-content: center;
  flex-direction: column;
  align-items: center;
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  background-color: white; 
  z-index: 7777; 
  background-color: white; /* Background color for the popup */
  padding: 20px; /* Padding around the content */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Shadow for depth */
  width: 30%;
  height: 80%;
  overflow: auto; /* Scroll if content overflows */
}

/* Close button styling */
.video-popup-x-button {
  display: flex; 
  justify-content: right; 
  margin-bottom: 20px; 
  user-select: none; 
  cursor: pointer; 
  text-align: right; /* Align close button to the right */
  width: 100%;
}

.video-close {
  text-decoration: none; /* Remove underline from link */
  color: black; /* Color of the close button */
  font-size: 20px; /* Font size for the close button */
  cursor: pointer; /* Change cursor to pointer on hover */
  margin-right: 30px;
  margin-top: 10px;
}

/* Styles for desktop devices */
.video-popup-content {
  display: flex; 
  justify-content: center; 
  align-items: center; 
  margin: 50px 0; 
  overflow-y: auto; 
  width: 80%; /* Use 80% of the viewport width */
  height: 80%; /* Use 80% of the viewport height */
}

.video-popup-content video {
  width: 100%; /* Full width of the popup content */
  height: 100%; /* Full height of the popup content */
  border: none; /* Remove default border */
}

.footer-2 { display: flex; gap: 10px; text-align: center; width: 63%; font-family: "Montserrat"; color: #000; margin: 80px auto; }
.error_page .footer-2 { width: 500px; justify-self: center; text-align: left; margin-top: 60px; }
.error_page_503 .footer-2 { justify-self: left; margin-top: 40px; }
.all_gen_page .left_side .footer-2 { width: 100%; }
.footer-2 .footer-2--title { font-size: 24px; font-weight: 600; text-align: left; flex: 3; align-self: center; }
.error_page .footer-2 .footer-2--title {text-align: left; }
.footer-2 .container { display: flex; justify-content: center; align-items: center; gap: 5px; flex: 2; }
.footer-2 a { color: #000000; }
.footer-2 .container .link { display: flex; justify-content: center; align-items: center; gap: 5px; }
.error_page .container .link { justify-content: left; }
.footer-2 .container .link .text { font-weight: 400; font-size: 16px; }
.footer-2 .container .link img { width: 40%; max-width: 41px; height: auto; }

.support_panel_page {
  width: 60%;
  margin: 40px auto;
}
.support_panel_page .round-counter { margin: 0.3em 1em; text-align: center; display: inline-flex; justify-content: center; align-items: center; width: 1.6em; font-weight: bold; outline: 3px solid #0009; border-radius: 99em; aspect-ratio: 1 / 1; color: #0009; }
.support_panel_page input.query-input { width: 100%; }
.support_panel_page input { width: 403px; height: 60px; background-color: rgba(241, 206, 152, 1); border-radius: 15px; border: 3px solid #616161; font-size:24px; font-weight: 500; font-family: "Montserrat"; text-align: center; color: #616161; margin-bottom: 20px; }

