.pjscssed{
    border-radius: 15px;
}
.night-theme-btn {
    position: relative;
    border: none;
    outline: none;
    width: 64px;
    height: 64px;
    border-radius: 15px;
    background-color: rgba(198, 66, 66, 0.5);
    transition: filter .4s, background-color .4s;
    cursor: pointer;
}
.pjscssed {
  transition: all 0.2s;
  box-shadow: 0px 2px 8px 0px rgb(43, 36, 43);
  border: solid 1px black;
}
body.night-theme .pjscssed {
  transition: all 0.2s;
  background-color: #272727;
  box-shadow: 0px 2px 8px 0px rgb(60, 60, 60);
  border: solid 1px #323232;
  color: #d4d4d4;
}
body.night-theme .ep {
  transition: all 0.2s;
  background-color: #272727;
  box-shadow: 0px 2px 8px 0px rgb(60, 60, 60);
  border: solid 1px #323232;
  color: #d4d4d4;
}
body.night-theme .ep1 {
  transition: all 0.2s;
  background-color: #272727;
  box-shadow: 0px 2px 4px 0px rgb(60, 60, 60);
  border: solid 1px #323232;
  color: #d4d4d4;
}
body.night-theme .ep0 {
  transition: all 0.2s;
  background-color: #272727;
  box-shadow: 0px 2px 4px 0px rgb(60, 60, 60);
  border: solid 1px #323232;
  color: #d4d4d4;
}
.night-theme-btn:hover {
    filter: brightness(120%);
}
.night-theme-btn:active {
    filter: brightness(80%);
}
.night-theme-btn__icon {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40px;
    height: 40px;
    margin-left: -20px;
    margin-top: -20px;
    opacity: 0;
    transition: opacity .15s;
}
.night-theme-btn__icon circle,
.night-theme-btn__icon path {
    fill: rgba(0, 0, 0, .3);
}
.night-theme-btn__icon_moon {
    opacity: 1;
}
body.night-theme .dropbtn {
    color: #d4d4d4;
}
body {
    transition: background-color .4s, color .4s;
}
body.night-theme .menu{
    box-shadow: 7px 0px 12px rgba(180, 162, 180, 0.5);
    background-color: rgb(23, 23 ,23);
    border: solid 1px #323232;
}
body.night-theme .header.open .header__burger-btn span {
    color: #d4d4d4;
    background-color: #d4d4d4;
}
body.night-theme {
    background-color: rgb(23, 23 ,23);
    color: #d4d4d4;
}
body.night-theme a{
  text-decoration: none;
  color: #d4d4d4;
}
body.night-theme .ep1>a:hover{  
  color: rgb(22, 202, 7);
  transform: scale(1.15);
}
body.night-theme .ep>a:hover{  
  color: rgb(22, 202, 7);
  transform: scale(1.15);
}
body.night-theme .menu__item > a:hover {
  color: rgb(22, 202, 7);
  transition: all 0.2s;
}
body.night-theme .topnav {
  background-color: rgb(23, 23 ,23);
  box-shadow: 5px 0px 20px 0px rgba(255, 255, 255, 0.3);
}
body.night-theme>a:hover {
    color: rgb(22, 202, 7);
}
body.night-theme .title.active {
    border-top: 3px solid rgb(22, 202, 7);
  color: rgb(22, 202, 7);
}
body.night-theme .night-theme-btn {
    background-color: rgba(138, 223, 80, 0.5);
}
body.night-theme .night-theme-btn__icon_moon {
    opacity: 0;
}
body.night-theme .night-theme-btn__icon_sun {
    opacity: 1;
}
body.night-theme .header__burger-btn span {
    background-color: #d4d4d4;
}
.work>h6>a{
    color: blue;
}
.Dub>h6>a{
    color: blue;
}
@media screen and (min-width: 1190px) {
	body{
		height:100%;
	}
}
.sneg {
  background-color: #ffe4c400;
}
body.night-theme .footer {
  color: #d4d4d4;
  background-color: #282828;
  border: 1px #14ff00 solid;
  border-bottom: none;
}
/* Общие стили */
.topnav-wrapper {
    width: 100%;
    position: relative;
}
.topnav-text-container {
    width: 100%;
    padding: 10px 15px;
    background-color: #f2f2f2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    font-family: Pompadur, 'site', cursive;
    text-align: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.text-items-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    max-width: 1200px;
}
.text-item {
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: rgb(43, 36, 43);
    font-size: 15px;
    white-space: nowrap;
    text-decoration: none;
    border: none;
    outline: none;
}
.text-item:hover {
    background-color: rgba(205, 11, 12, 0.1);
    color: rgb(205,11,12);
}
.text-bold {
    font-weight: bold;
}
.text-underlined {
    text-decoration: underline;
    text-decoration-skip-ink: none;
}
/* Темная тема */
body.night-theme .topnav-text-container {
    background-color: rgb(23, 23, 23);
    box-shadow: 0 2px 5px rgba(255,255,255,0.05);
}
body.night-theme .text-item {
    color: #d4d4d4;
    background-color: rgba(34, 34, 34, 0.7);
}
body.night-theme .text-item:hover {
    color: rgb(22, 202, 7);
    background-color: rgba(22, 202, 7, 0.1);
}
/* Адаптивность */
@media screen and (max-width: 768px) {
    .topnav-text-container {
        padding: 8px 10px;
    }
    .text-item {
        padding: 4px 8px;
        font-size: 14px;
        white-space: normal;
    }
}

body.night-theme .spinner {
  border: 3px solid rgba(128, 128, 128, 0.5);
  border-top: 3px solid rgb(22, 202, 7);
}
  body.night-theme #searchInput {
    background-color: #333;
    color: #d4d4d4;
    border: 1px solid #444;
  }

  body.night-theme .results-count {
    color: #d4d4d4;
  }

  body.night-theme #clearSearch {
    color: #d4d4d4;
  }
body.night-theme #searchInput {
    background-color: #333;
    color: #d4d4d4;
    border: 1px solid #444;
}

body.night-theme #searchInput:focus {
    border-color: rgb(22, 202, 7);
    box-shadow: 0 0 5px rgba(22, 202, 7, 0.3);
}

body.night-theme .results-count {
    color: #d4d4d4;
}

body.night-theme .search-results-title {
    color: #d4d4d4;
}

body.night-theme #clearSearch {
    color: #d4d4d4;
}

body.night-theme #clearSearch:hover {
    color: rgb(22, 202, 7);
}
body.night-theme .results-count strong {
    color: rgb(22, 202, 7);
}