a {
    color: inherit; /* Наследует цвет текста от родительского элемента */
    text-decoration: none;
}
.content a:hover {
    border-bottom: 1px solid whitesmoke;
}
body {
    background-color: #272727;
    color: white;
    transform: scale(0.7);
    transform-origin: 70% 0; /* Середина по горизонтали, верх по вертикали */
    width: 100%;
    .search-result { display: block; margin: 10px; padding: 10px; border: 1px solid #ccc; border-radius: 5px; cursor: pointer; }
    .link-container { display: flex; align-items: center; }
    .link-container img { max-width: 150px; max-height: 150px; margin-right: 10px; }
    #searchResults { list-style: none; padding: 0; }
    #searchResults a { text-decoration: none; color: blue; }
    #searchResults p { color: red; margin: 10px 0; }
    #modalContent a { display: block; margin-bottom: 10px; }
    .modal-error{ color: red; }
}
path{
    fill: none;  
}
.chart{
    
    background-color:#1d1e20; /* or background: none; */
}
.content {
    border-radius: 1rem;
    padding: 2em;
    margin-bottom: 2em;
    background-color: #1d1e20;
    width: 87%;
    height: auto;
    display: flex;
    flex-direction: column;
    
}

.chart {
    transition: transform 0.2s ease; /* Плавное увеличение */
}
.search-result{
    
}
.chart:hover {
    background-color:#232323;
    border-radius: 0.3rem;
    transform: scale(3); /* Увеличение в 4 раза */
    transform-origin: center center; /* Точка масштабирования - центр */
}
._398u23KF15gxmeH741ZSyL {
    border-radius: 1rem;
    padding: 2em; /* Отступ в 2 раза больше размера шрифта родителя */
    margin-bottom: 2em; /* Отступ снизу */
    background-color: #1d1e20;
    width: 600px; /* Или любое другое значение, например, 700px */
    height: auto;
    display: flex;  /* Используем Flexbox для равномерного распределения */
    flex-direction: column; /* Выравниваем по вертикали */
    justify-content: space-between; /* Равномерно распределяем пространство между элементами */
    right: 0;
    margin-left: 5px;
    font-size: 1.2em
}

/* Стиль для SVG-файлов */
svg {
    stroke:  rgb(255, 255, 255); /* Устанавливаем цвет линии на белый */
    stroke-width: 2; /* Устанавливаем толщину линии */
}
.right {
    width: 40%;
    right: 0;
}
.container{
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Или center, если хотите центрировать по вертикали */
    height: 100vh; /* Занимает всю высоту окна */
    width:100%;
} /* Выравнивание по центру */**
.psevdo {

    background-color: #161616;
    color: whitesmoke;
    border-radius: 1rem;
    padding: 2em; /* Отступ в 2 раза больше размера шрифта родителя */
    width: 1700px; /* Или любое другое значение, например, 700px */
    height: auto;
    margin: 0 auto; /* Выравнивание по центру */
    display: flex;
}
.YoutubePreviewImage{
    display: none;
}
[class^='YoutubePreviewImage']{
    display: none;
}
._71phFKOzg8aQlBU1rCA2T{
    font-size: 1.6em; 
}
#right span{
    display: none;
}
[class^="_3j2deAP85R6gftsIWiHe7n"] {
    display: none
    !important;
}
#right [class^="_3j2deAP85R6gftsIWiHe7n"] span {
    display: block;
    font-size: 1.6em
    !important;
}
.search span{
    display: none;
}
dialog#appModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 95%;
    height: 90%;
    margin: 2.5% auto;
    background-color: rgba(54, 54, 54, 0.9); /* Gray background */
    border: none;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    overflow-y: auto;
    z-index: 1000;
  }
  
  dialog#appModal::backdrop {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent gray backdrop */
  }
  
  #appModal #closeModal {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #f0f0f0;
  }
  
  .search-link{
      display:block;
      margin: 10px;
  }
.head{
    background-color:#1d1e20;
    color: whitesmoke;
    margin-right: 10px;
    flex-direction:column;
    border-radius: 1rem;
    padding: 2em;
    margin-bottom: 2em;
    text-align: center;
    font-family: monospace;
}
.mus a {
    display: inline-block;
    width: 180px;
    height: 80px;
    padding: 50px 40px;
    background-color:#5c5d60; /* Синий цвет */
    color:#161616;
    text-decoration: none;
    border: none;
    border-radius: 0.7em;
    cursor: pointer;
    font-size: 3em;
    text-align: center;
    font-family: monospace;
}
.film a {
    display: inline-block;
    width: 180px;
    height: 80px;
    padding: 50px 40px;
    background-color:#5c5d60; /* Синий цвет */
    color:#161616;
    text-decoration: none;
    border: none;
    border-radius: 0.7em;
    cursor: pointer;
    font-size: 3em;
    text-align: center;
    font-family: monospace;
}
.search {
    text-align: center;
    flex-direction:column;
    background-color: #232323;
    border-radius: 1rem;
}
#searchResults {
display: flex;
flex-wrap: wrap; /* Allows items to wrap onto multiple lines */
justify-content: center; /* Centers items horizontally */
}
  
#searchResults > div { /* Targets the direct children of #searchResults */
margin: 10px; /* Spacing between items */
display: flex;
justify-content: center; /* Centers the image horizontally within its container */
align-items: center; /* Centers the image vertically within its container */
}
  
#searchResults img,
#searchResults a img { /* Styles both images and images within links */
max-width: 200px;
height: auto;
}
.game a {
    display: inline-block;
    width: 180px;
    height: 80px;
    padding: 50px 40px;
    background-color:#5c5d60; /* Синий цвет */
    color:#161616;
    text-decoration: none;
    border: none;
    border-radius: 0.7em;
    cursor: pointer;
    font-size: 3em;
    text-align: center;
    font-family: monospace;
}
#searchResults {
    display: flex; /* Включаем flexbox */
    flex-wrap: wrap; /* Разрешаем перенос на следующую строку, если изображения не помещаются */
    justify-content: center; /* Выравнивание по центру по горизонтали */
  }
  
  #searchResults img {
    margin: 5px; /* Добавляем отступ между изображениями */
    max-width: 200px; /* Максимальная ширина изображения */
    height: auto; /* Автоматическая высота, сохраняет пропорции */
  }  
.game a:hover {
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5); /* Более сильная тень при наведении */
    background-color: rgb(167, 167, 167);
}
.film a:hover {
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5); /* Более сильная тень при наведении */
    background-color: rgb(167, 167, 167);
}
.mus a:hover {
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5); /* Более сильная тень при наведении */
    background-color: rgb(167, 167, 167);
}
body { font-family: sans-serif; }
.search-result { display: block; margin: 10px; padding: 10px; /*border: 1px solid #ccc; border-radius: 5px; */ cursor: pointer; } /*Border removed*/
.link-container { display: flex; align-items: center; }
.link-container img { max-width: 150px; max-height: 150px; margin-right: 10px; }
#searchResults { list-style: none; padding: 0; }
#searchResults a { text-decoration: none; color: blue; } 
#searchResults p { color: red; margin: 10px 0; } 
#modalContent a { display: block; margin-bottom: 10px; } 
.modal-error { color: red; }
dialog#appModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    height: 75%;
    margin: 3% auto;
    background-color: rgba(54, 54, 54, 0.9); 
    border: none;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    overflow-y: auto;
    z-index: 1000;
    margin-bottom: 10px;
    color: whitesmoke;
  }
  
  dialog#appModal::backdrop {
    background-color: rgba(0, 0, 0, 0.5); 
  }
  
  #appModal #closeModal {
    position: absolute;
    top: 10px;
    right: 10px;
    margin-bottom: 10px;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #616161;
  }
  #appModal #closeModal:hover {
    position: absolute;
    top: 10px;
    right: 10px;
    margin-bottom: 10px;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #7e7e7e;
  }
  
  .search-link{
    display:block;
    margin: 10px;
    text-decoration: none; /*Remove default underlines*/
    color: rgb(255, 255, 255);
}


.search {
    text-align: center;
    flex-direction:column;
    background-color: #232323;
    border-radius: 1rem;
}
#searchResults {
display: flex;
flex-wrap: wrap; 
justify-content: center; 
}
  
#searchResults > div { 
margin: 10px; 
display: flex;
justify-content: center; 
align-items: center; 
}
  
#searchResults img,
#searchResults a img { 
max-width: 200px;
height: auto;
}

#searchResults {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
  }
  
  #searchResults img {
    margin: 5px; 
    max-width: 200px; 
    height: auto; 
  }