/* -------------------------------- max ----------------------------- */


@charset "utf-8";
@import url("https://biblio24.ru/fontawesome-free/css/fontawesome-all.min.css");





/* РћР±С‰РёР№ С„РѕРЅ ---------------------------------- */

html{overflow-y:scroll; overflow-x:hidden; background:#fff; margin:0; padding:0; line-height:1.6em; font-family:Verdana, Geneva, sans-serif; width:100%;}

body{padding:0; line-height:1.6em; font-family:Verdana, Geneva, sans-serif; width:98%; border:0px solid; padding:0px; margin: 20px auto;}

.wrapper{display:block; position:relative; width:100%; margin:0; padding:0; text-align:left; word-wrap:break-word;}

.hoc{display:block; margin:0 auto;}

.onlymin{display:none;}


.center {text-align:center;}
.right {text-align:right;}
.left {text-align:left;}

.doc {
	display: inline-block;
	border: 1px solid black; margin:10px;
	padding: 5px 10px; min-width: 0.5em; animation: slideInLeft 10s ;
}

.hidden{display:none;}

.nospace{margin:0; padding:0; list-style:none;}
.space{margin:10px;}
.space-left-0{margin:10px 0px;}


.vertspace{margin:0 0 40px 0; padding:0; list-style:none;}
.vertical-text {writing-mode: vertical-lr;}


.block{display:block;}
.inline *{display:inline-block;}
.inline *:last-child{margin-right:0;}



.circle{border-radius:50%; background-clip:padding-box;}
.blacked{color:black;}
.toptelephon {color:rgb(0, 0, 0); font-weight:300; }
.toptelephon.font-x1 {font-size:1.8rem;}
.iconka:hover {color:rgb(208, 148, 234);}



/* clear -------------------------------------------- */

.clear, .group{display:block;}
.clear::before, .clear::after, .group::before, .group::after{display:table; content:"";}
.clear, .clear::after, .group, .group::after{clear:both;}


/* шрифты -------------------------------------------- */

.font-x0{font-size:.9rem;}
.font-xs{font-size:.6rem;}
.font-x1{font-size:1.3rem;}
.font-x2{font-size:1.8rem;}
.font-x3{font-size:2.8rem;}
.font-menu {font-size:1.8rem;}
.bold{font-weight:bold;}
.uppercase{text-transform:uppercase;}
.capitalise{text-transform:capitalize;}
.justified{text-align:justify;}
.just{text-align:justify;}


.project-desc-text {font-size: 12px; min-height:30px; text-align: justify; opacity: 0.7; margin: 20px 0;}




a{outline:none; text-decoration:none;}
i {  color: var(--green);  letter-spacing: -0.02em;
      line-height: 1.1; text-shadow: 0 4px 12px rgba(0,0,0,0.3); animation: slideInLeft 1s ease;}



.wid50 {width:49%; height:30px; font-size:110%; }
.wid100 {width:100%; height:25px; font-size:105%; margin:10px 0;}


/* элементы ul-li на экране -------------------- */

.one_octava{width:10.9210%; }
.one_quarter{width:20%; }
.one_third{width:24%; }
.one_half, 
.two_quarter{width:49%;}
.two_third{width:75%; }
.three_quarter{width:78%; }
.one_one{width:100%;}
.one_sixth {width:16%;}
.book_one {width:353px;}
.book_two {width:calc(100% - 353px);}

.one_half, 
.book_one,
.book_two,
.one_one,
.one_sixth,
.one_third,
.two_third,
.one_quarter, 
.two_quarter, 
.three_quarter, 
.one_octava {display:inline-block; float:left; margin:0 0 0 0px; list-style:none;}

.first{margin-left:0; clear:left;}



/* Colours ---------------------------------------------------------------------------------------- */

  :root {
    
    --bg1: #f8fafc;
    --bg2: #e2e8f0;
    --bg3: #cbd5e1;
      --blue: #2563eb;
      --orange: #ea580c;
      --pink: #db2777;
      --green: #059669;
      --yellow: #d97706;
      --text: #0f172a;
      --card-bg: rgba(0, 0, 0, 0.04);
      --border-light: rgba(0, 0, 0, 0.08);
      --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      --shadow-strong: 0 15px 45px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
      --glow: 0 0 20px rgba(37, 99, 235, 0.3);
    }

    [data-theme="light"] {
            --bg1: #fff;
      --bg1: #f8fafc;
      --bg2: #e2e8f0;
      --bg3: #cbd5e1;
      --blue: #2563eb;
      --orange: #ea580c;
      --pink: #db2777;
      --green: #059669;
      --yellow: #d97706;
      --text: #0f172a;
      --card-bg: rgba(0, 0, 0, 0.04);
      --border-light: rgba(0, 0, 0, 0.08);
      --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      --shadow-strong: 0 15px 45px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
      --glow: 0 0 20px rgba(37, 99, 235, 0.3);
    }












    



    /* ===== КНОПКА ТЕМЫ ===== */
    .theme-btn {
      //position: fixed;
      //top: 20px;
      //right: 20px;
      width:140px;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(8px);
      border-radius: 5%;
      //display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: var(--shadow-strong), var(--glow);
      z-index: 100;
      font-size: 1.5em;
      transition: 0.4s;
      border: 1px solid var(--border-light);
      color: var(--text);
      animation: pulse 3s infinite;
    }

    .theme-btn:hover {
      transform: rotate(180deg) scale(1.1);
      box-shadow: var(--shadow-strong), 0 0 30px var(--blue);
    }

    @keyframes pulse {
      0%, 100% { box-shadow: var(--shadow-strong), 0 0 20px var(--blue); }
      50% { box-shadow: var(--shadow-strong), 0 0 40px var(--pink); }
    }





  


    






    /* Заголовки */


    h1 {
      font-size: 2.2rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.1;
      text-shadow: 0 4px 12px rgba(0,0,0,0.3);
      animation: slideInLeft 1s ease;
    }

    @keyframes slideInLeft {
      from { opacity: 0; transform: translateX(-30px); }
      to { opacity: 1; transform: translateX(0); }
    }



h1 span {
      color: var(--blue);
      background: linear-gradient(135deg, var(--blue), var(--pink), var(--orange));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      background-size: 200% 200%;
      animation: gradientShift 5s ease infinite;
    }

    @keyframes gradientShift {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }



h2 {
      font-size: 2rem;
      margin: 3rem 0 1.5rem;
      font-weight: 600;
      position: relative;
      display: inline-block;
      animation: fadeInUp 1s ease;
    }

    h2:after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 0;
      width: 60%;
      height: 4px;
      background: linear-gradient(90deg, var(--blue), transparent);
      border-radius: 4px;
      animation: expandLine 1s ease 0.5s both;
    }

    @keyframes expandLine {
      from { width: 0; }
      to { width: 60%; }
    }



    .tagline {
      font-size: 1.3rem;
      opacity: 0.9;
      margin-top: 0.5rem;
      margin-bottom: 2rem;
      max-width: 100%;
      animation: slideInRight 1s ease;
    }



    @keyframes slideInRight {
      from { opacity: 0; transform: translateX(30px); }
      to { opacity: 1; transform: translateX(0); }
    }

.oferta {width:70%; margin:0 auto;}
 

    /* ===== РЕКЛАМНЫЙ БАННЕР ===== */
    .promo-banner {
      margin: 10px;
      background: var(--card-bg);
      backdrop-filter: blur(12px);
      border: 1px solid var(--border-light);
      //border-radius: 60px;
      padding: 0.8rem 2rem;
      width: fit-content;
      max-width: 100%;
      box-shadow: var(--shadow-strong);
      transition: 0.3s;
      animation: fadeInUp 1s ease 0.3s both;
    }
    .promo-banner:hover {
      transform: translateY(-4px) scale(1.02);
      border-color: var(--blue);
      box-shadow: var(--shadow-strong), var(--glow);
    }
    .promo-banner a {
      color: var(--text);
      text-decoration: none;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      flex-wrap: wrap;
      justify-content: center;
    }
    .promo-emoji {
      font-size: 1.5rem;
      animation: bounce 2s infinite;
    }

    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-5px); }
    }

    /* Секция "О компании" */
    .about-company {
      background: var(--bg1);
      backdrop-filter: blur(12px);
      border: 1px solid var(--border-light);
      //border-radius: 30px;
      padding: 1.5rem 2rem;
      margin: 2rem auto;
      width:80%;
      box-shadow: var(--shadow-strong);
      font-size: 1.0rem;
      animation: fadeInUp 1s ease 0.4s both;
    }
    .about-company p {
      max-width: 100%;
    }

    .about-company h2 {font-size:120%;}




    /* Поиск */
    .search-box {
      margin: 1.5rem 0 2rem;
      width: 100%;
      max-width: 500px;
      animation: fadeInUp 1s ease 0.5s both;
    }
    .search-box input {
      width: 100%;
      padding: 1rem 1.5rem;
      border-radius: 60px;
      border: 1px solid var(--border-light);
      background: var(--card-bg);
      backdrop-filter: blur(8px);
      color: var(--text);
      font-size: 1rem;
      outline: none;
      transition: 0.2s;
      box-shadow: var(--shadow);
    }
    .search-box input::placeholder {
      color: var(--text);
      opacity: 0.6;
    }
    .search-box input:focus {
      border-color: var(--blue);
      box-shadow: var(--glow), var(--shadow-strong);
      transform: scale(1.02);
    }





    /* Сетки карточек */
    

    .featured-grid, .tools-grid {
      display: grid;  
      grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
      gap: 14px;
      margin: 30px;
    }


  /* флекс */

    .project-flex {flex-direction:row; display: flex;}

    .flex {flex-wrap:wrap;}



  /* Карточка book*/

    .annotation {margin:20px auto; width:80%; clear:both;}

    .project-vitrina {padding-left:30px;}

   .project-genre {border:1px solid; padding:2px 5px; margin-right:5px; flex-wrap:wrap;}


    .noborder {border:0px solid;}

    .project-card-top-text {
      background: transparent;//var(--card-bg);
      backdrop-filter: blur(12px);
      text-align: justify;
      padding:24px 20px;
      //border: 1px solid var(--border-light);
      //box-shadow: var(--shadow-strong);
      transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
      //text-decoration: none;
      column-count: 3;
      column-gap: 30px;
      column-rule: 1px dotted red;
      width:70%;
      margin:0 auto;
      font-size: 11px
    }

    .hyphens {text-wrap: pretty}

    .project-card-book {
      background: white; //var(--card-bg);
      backdrop-filter: blur(12px);
      align-items: left;
      padding:24px 20px;
      border: 1px solid var(--border-light);
      box-shadow: var(--shadow-strong);
      transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
      text-decoration: none;
      color: var(--text);
      display: flex;
      flex-direction: column;
      position: relative;
      height:430px; 
      width:300px;
    }

      
    .project-emoji-book { 
     
      filter: drop-shadow(0 5px 12px rgba(0,0,0,0.2));
      transition: 0.3s;
    }

    .project-emoji-book img {  margin-top:0px; margin-left:0px;  width:300px; margin: 0px 0px; height:430px;}

    .project-tag-book {
      position:relative; 
      display: inline-block;
      background: var(--bk1);
      color: var(--text);
      font-size: 0.7rem;
      font-weight: 600;
      //padding: 5px;
      width: width:100%;;
      margin: 0px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.3);
      transition: 0.3s;
      align-items: center;
      text-align: center;

    }




    /* Карточка общая */

    .project-age {position:fixed; z-index:999; width:40px; height:28px; background: var(--bg1); vertical-align: middle;
     text-transform: uppercase; border-radius:3px;
      letter-spacing: 0.5px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.3);
      transition: 0.3s;
      align-items: center;
      text-align: center;
      }




    .project-card {
      background: white; //var(--card-bg);
      backdrop-filter: blur(12px);
      align-items: left;
      padding:24px 20px;
      border: 1px solid var(--border-light);
      box-shadow: var(--shadow-strong);
      transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
      text-decoration: none;
      color: var(--text);
      display: flex;
      flex-direction: column;
      position: relative;
      height:315px; 
      width:168px;
    }

      


    .project-emoji { 
     
      filter: drop-shadow(0 5px 12px rgba(0,0,0,0.2));
      transition: 0.3s;
    }

    .project-emoji img {  margin-top:0px; margin-left:0px;  width:100%; margin: 0px 0px; height:230px;}



    .project-title {
      font-size: 15px; min-height:60px; text-align:left;
      font-weight: 600;
      margin: 0;
      //transition: 0.3s;
    }

    .project-desc {
      font-size: 12px; min-height:30px; text-align: left;
      opacity: 0.7;
      margin: 0;
    }

    .project-tag {
        position:relative; 
      display: inline-block;
      background: var(--blue);
      color: white;
      font-size: 0.7rem;
      font-weight: 600;
      //padding: 5px;
      width: width:100%;;
      margin: 0px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.3);
      transition: 0.3s;
      align-items: center;
      text-align: center;

    }

    .project-card:hover .project-tag {
      background: var(--pink);
      //transform: scale(1.1);
    }

    .project-card.hidden {
      display: none;
    }





    .future-note {
      grid-column: 1 / -1;
      text-align: justify;
      padding: 2rem;
      background: var(--card-bg);
      backdrop-filter: blur(8px);
      border-radius: 60px;
      border: 1px dashed var(--blue);
      color: var(--text);
      font-size: 1.1rem;
      margin-top: 2rem;
      box-shadow: var(--shadow);
      animation: pulseBorder 2s infinite;
    }

    @keyframes pulseBorder {
      0%, 100% { border-color: var(--blue); box-shadow: 0 0 20px var(--blue); }
      50% { border-color: var(--pink); box-shadow: 0 0 40px var(--pink); }
    }

    /* Адаптивность */
    @media (max-width: 768px) {
      //h1 { font-size: 2.5rem; }
      .tagline { font-size: 1.1rem; }
      .subsidiaries { padding: 0.8rem 1.2rem; font-size: 0.9rem; }
      .promo-banner { padding: 0.6rem 1.2rem; }
      .promo-banner a { gap: 0.3rem; }
      .featured-grid, .games-grid, .tools-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
      .project-card { padding: 20px 12px; }
      .project-emoji { font-size: 2.5rem; }
      .project-title { font-size: 1.2rem; }
      .theme-btn { top: 15px; right: 15px; width: 45px; height: 45px; font-size: 1.3em; }
      .content { padding: 70px 16px 40px; }
      .about-company { padding: 1rem 1.5rem; }
    }

    @media (max-width: 480px) {
      .featured-grid, .games-grid, .tools-grid { grid-template-columns: 1fr; }
    }

    @media (orientation: landscape) and (max-height: 600px) {
      .content { padding-top: 60px; }
      //h1 { font-size: 2.2rem; }
      .featured-grid { grid-template-columns: repeat(4, 1fr); }
    }



    /* Дочерние компании */
    .subsidiaries {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem 1.5rem;
      align-items: center;
      background: var(--card-bg);
      backdrop-filter: blur(12px);
      padding: 1rem 2rem;
      border-radius: 0px 60px 60px 0px;
      border: 1px solid var(--border-light);
      box-shadow: var(--shadow-strong);
      margin-bottom: 2rem;
      width: fit-content;
      animation: fadeInUp 1s ease 0.2s both;
    }

    .subsidiaries span {
      font-weight: 600;
      color: var(--blue);
    }

    .subsidiaries a {
      color: var(--text);
      text-decoration: none;
      padding: 0.3rem 1rem;
      border-radius: 30px;
      background: rgba(255,255,255,0.05);
      transition: 0.2s;
      border: 1px solid transparent;
    }

    .subsidiaries a:hover {
      border-color: var(--blue);
      background: rgba(59,130,246,0.1);
      transform: translateY(-2px);
      box-shadow: var(--glow);
    }



       /* ===== ТАБЛИЦА В ИЗДАТЕЛЬСТВЕ ===== */

.onethird tr:nth-child(1n) {}
.onethird tr:nth-child(2n) {}

table {border:1px solid; width:100%; margin:10px 0;}
td:nth-child(1n) {width:20px; padding:10px;}
td:nth-child(2n) {width:50%;  padding:10px;}
td:nth-child(3n) {width: 50%; padding:10px;}







.book-section{
    height: 120vh; 
    width: 100%; 
    padding: 40px 0; 
    text-align: center;
    }

.book-section > .container{
    height: 645px; 
    width: 870px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2%;
    margin-bottom: 30px;
    perspective: 1200px;
    }

.container > .right{
    position: absolute; 
    height: 100%;
    width: 50%;
    transition: 0.7s ease-in-out;
    transform-style: preserve-3d;
    }

    
.book-section > .container > .right{
    right:0;
    transform-origin: left;
    border-radius: 10px; //10px 0 0 10px;
    }

.right > figure.front, .right > figure.back{
    margin: 0;
    height: 100%;
    width: 100%; 
    position: absolute;
    left:0;
    top:0;
    background-size: 200%;
    background-repeat: no-repeat;
    backface-visibility: hidden;
    background-color: white;
    overflow: hidden;
    }

.right > figure.front{
    background-position: right;
    border-radius: 0 10px 10px 0;
    box-shadow: 2px 2px 15px -2px rgba(0,0,0,0.2);

    }

.right > figure.back{
    background-position: left;
    border-radius: 10px; // 0 0 10px;
    box-shadow: -2px 2px 15px -2px rgba(0,0,0,0.2);
    transform: rotateY(180deg);

    }

.flip{
    transform: rotateY(-180deg);
    }

.flip::before{
    content: "";
    position: absolute;
    top:0;
    left:0;
    z-index: 10;
    width: 100%;
    height: 100%;
    border-radius: 0 10px 10px 0;
    }

.book-section > button{
    border: 2px solid #ef9f00;
    background-color: transparent;
    color: #000; //#ef9f00;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px 10px 10px 10px;
    transition: 0.3s ease-in-out; 
    }

.book-section > button:focus, .book-section > button:active{
    outline: none;
    }

.book-section > button:hover{
    background-color: #ef9f00;
    color: #fff;
    }

.book-section > button.buttonlisting1{
     position:fixed; top:50%; left:5%;
    }

.book-section > button.buttonlisting2{
     position:fixed; top:50%; left:57%;
    }