.main-container {
    grid-template-columns: 200px 1fr;
    grid-template-areas:
        "left main"
        "left right";
}

.neuroset-similar {
    display: none;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#overlay.active {
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 1;
    pointer-events: auto;
}

.icon-top-container {
    position: fixed;
    bottom: 60px;
    right: 60px;
    z-index: 100;
}

#scroll-button {
    cursor: pointer;
}

#scroll-button:hover, #scroll-button:active {
    scale: 1.2;
    rotate: 360deg;
    transition: 0.5s linear;
}

/*main {*/
/*    margin-bottom: 100px;*/
/*}*/

.main-catalog-container {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line-color);
    min-width: 310px;
}

.start-content {

}

h1 {
    color: white;
    font-size: calc(1.75rem + 0.5vw);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
    text-align: center;
}

h1 > span {
    font-size: calc(1.5rem + 0.1vw);
    font-weight: 400;
}

.add-tool-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.add-ai {
    cursor: pointer;
    padding: 10px 18px;
    width: 20%;
    min-width: 250px;
    font-size: 1.25rem;
    letter-spacing: 1px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    color: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 16px -2px rgba(90, 35, 140, 0.75),
                0 0 12px 2px rgba(120, 80, 210, 0.45);
    background-size: 200% 100%;
    background-image: linear-gradient(to right, #7d5fd9, #6d4fd0, #5d40c7, #4d31be);
    box-sizing: border-box;
}

.add-ai:hover {
    background-position: 100% 0;
    box-shadow: 0 8px 20px -2px rgba(90, 35, 140, 0.85),
                0 0 20px 4px rgba(120, 80, 210, 0.65);
    transition: all .4s ease-in-out;
}

.add-ai:active {
    transform: scale(0.98);
    box-shadow: 0 4px 10px -2px rgba(90, 35, 140, 0.7),
                0 0 8px 1px rgba(120, 80, 210, 0.35);
    background-position: 0% 0;
}

.pages-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    column-gap: 15px;
}

.pages-container > a {
    cursor: pointer;
    text-decoration: none;
    padding: 10px 18px;
    min-width: 185px;
    font-size: 1.125rem;
    letter-spacing: 1px;
    text-align: center;
    font-weight: bold;
    color: white;
    border: 2px solid var(--fiolet);
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(126, 52, 161, 0.65);
    box-sizing: border-box;
}

.pages-container > a:hover {
    background-color: var(--fiolet);
    transition: all .4s ease-in-out;
}

.catalog-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding-left: 3%;
    padding-right: 3%;
}

.input-container {
    position: relative;
    z-index: 1001;
}

.input-container > img {
    position: absolute;
    left: 11px;
    top: 30%;
    height: 22px;
}

.input-container > label {
    display: none;
}

#search-form {
    width: 100%;
    position: relative;
}

#search-form input {
    width: 100%;
    height: 50px;
    border-radius: 8px;
    border: solid 2px #7ee787;
    background: none;
    padding: 0 0 0 20px;
    font-size: 1.25rem;
    color: white;
    box-sizing: border-box;
}

#search-form input:focus {
    box-shadow: 0 0 20px #7ee787;
    transition: box-shadow 0.3s ease-in-out;
}

*:focus {
    outline: none;
}

#search-form input::placeholder {
    color: rgba(245,245,245, 0.8);
}

#search-button {
    cursor: pointer;
    position: absolute;
    right: 0;
    height: 50px;
    width: 70px;
    background-color: #7ee787;
    border: 2px solid #7ee787;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#search-button:hover {
    background-color: #67fe6d;
}

#search-button:active {
    background-color: #7ee787;
}

#search-button > img {
    width: 27px;
}

.search-recommendation-container {
    display: none;
    position: absolute;
    top: 60px;
    width: 100%;
    background-color: #0e0e2a;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.8);
    border-top: none;
    font-size: 1.25rem;
    box-sizing: border-box;
    z-index: 1001;
}

.search-recommendation-container.open {
    display: block;
    animation-name: fadeInDown;
    animation-duration: 0.7s;
}

.search-recommendation-container span {
    color: #7ee787;
    padding-left: 12px;
    font-style: italic;
}

.search-recommendation {
    width: 100%;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
}

.item-recommendation {
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(0, 0, 0, 0.8);
}

.item-recommendation:hover {
    background-color: var(--line-color);
}

.item-recommendation a {
    text-decoration: none;
    color: white;
    width: 100%;
    display: block;
    padding: 12px 0 12px 20px;
}

@keyframes fadeInDown {
	0% {
		opacity: 0;
		transform: translateY(-1.25em);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

#filter-form {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

select {
    width: 15%;
    height: 45px;
    border-radius: 8px;
    padding-left: 10px;
    font-size: 1.125rem;
    color: white;
    background: none;
    border: 2px solid var(--site-green);
}

select:hover {
    border-color: var(--fiolet);
}

select:focus option {
    height: 45px;
    font-size: 1.125rem;
    background-color: var(--site-green);
    padding: 10px;
}

select:focus {
    outline: none;
}

option {
    color: black;
    padding: 15px;
}

.neuroseti-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.7vw;
}

#loader-container {
    width: 100%;
    height: 300px;
    display: none;
    align-items: center;
    justify-content: center;
}

#loader {
    display: inline-block;
    width: 48px;
    height: 48px;
    border: 5px solid #7ee787;
    border-bottom-color: transparent;
    border-radius: 50%;
    box-sizing: border-box;
    margin: 0 auto;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
0% {
    transform: rotate(0deg);
    }
100% {
    transform: rotate(360deg);
    }
}

h2 {
    color: white;
    width: 100%;
    font-size: calc(1.25rem + 0.7vw);
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 20px;
    margin-top: 25px;
}

.neuroset-card {
    display: flex;
    flex-direction: column;
    width: 28%;
    max-height: 800px;
    min-width: 300px;
    max-width: 340px;
    border: 2px solid var(--site-green);
    transition: 0.5s ease-in-out;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.neuroset-card:hover {
    border: 2px solid var(--fiolet);
}

.hover-effect .neuroset-name {
    border-bottom: 1px solid var(--line-color);
    transition: border-color 0.5s ease-in-out;
}

.hover-effect .when-updated {
    border-top: 1px solid var(--line-color);
    transition: border-color 0.5s ease-in-out;
}

.hover-effect:hover .neuroset-name {
    border-bottom-color: var(--fiolet);
}

.hover-effect:hover .when-updated {
    border-top-color: var(--fiolet);
}

.link-img {
    width: 100%;
}

.neuroset-card .neuroset-image {
    transition: filter 0.5s ease-in-out;
}

.neuroset-card:hover .neuroset-image {
    filter: hue-rotate(120deg);
}

.image-container {
    width: 95%;
    margin-left: 2.5%;
    margin-right: 2.5%;
    margin-top: 10px;
    border-radius: 10px;
    position: relative;
}

.neuroset-image {
    width: 100%;
    aspect-ratio: auto 1 / 1;
    border-radius: 10px;
}

.views-container {
    background-color: #140f2d;
    position: absolute;
    top: 90%;
    z-index: 2;
    display: flex;
    justify-content: start;
    align-items: center;
    height: 35px;
    border-top-right-radius: 6px;
}

.views-image {
    width: 30px;
    aspect-ratio: auto 1 / 1;
    padding-right: 5px;
}

.views {
    color: white;
    padding-right: 8px;
}

.verified-image-container {
    background-color: #140f2d;
    position: absolute;
    top: 90%;
    right: 0;
    z-index: 2;
}

.verified-image {
    aspect-ratio: 1 / 1;
    width: 35px;
}

.heart-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    background: #0e0c28;
    border-radius: 20% 10% 20% 50%;
    transform: scale(0);
    transition: all 0.5s linear;
}

.neuroset-card:hover .heart-icon {
    transform: scale(1);
    animation: ripple 0.5s linear;
}

@keyframes ripple {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.heart-icon svg {
    width: 35px;
    margin: auto auto;
}

.heart-icon svg {
    transition: fill 0.5s ease-in-out;
}

.heart-icon:hover svg {
    fill: #7ee787; /* Замените на желаемый цвет */
}

.neuroset-name {
    font-size: 1.375rem;
    letter-spacing: 1px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line-color);
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.neuroset-name a {
    text-decoration: none;
    color: white;
    width: 100%;
    display: block;
    transition: 0.5s ease-in-out;
}

.neuroset-name a:hover {
    color: #f1e739;
}

.neuroset-name span {
    position: relative;
}

.neuroset-details {
    width: 90%;
    align-self: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-container {
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    overflow: hidden;
    height: 90px;
}

.task {
    display: inline-block;
    padding: 5px 10px;
    background-color: #1a174d;
    color: #e0e0ff;
    font-size: 0.9375rem;
    border-radius: 15px;
    text-decoration: none;
    border: 1px solid #3a357a;
    transition: background-color 0.3s ease, color 0.3s ease;
    height: 35px;
}

.task:hover {
    background-color: #2a2563;
    color: white;
}

.description-container {
    width: 100%;
}

.description {
    color: white;
    font-family: "Georgia", sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 9;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: normal;
    font-size: 1rem;
}

.when-updated {
    border-top: 1px solid var(--line-color);
}

.updated {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 14px;
    font-size: 1.0625rem;
}

.verified {
    border-color: #0063FB;
    box-shadow: 0 10px 30px rgba(0,99,251,0.08), 0 2px 6px rgba(2,6,23,0.04);
}

.nothing-wrapper {
    height: 20vw;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nothing {
    color: var(--site-green);
    text-align: center;
    font-size: calc(2rem + 1vw);
    margin-bottom: 20px;
}

.nothing:nth-child(2) {
    font-size: 1.5rem;
}

.load-more-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.load-more {
    width: 35%;
    min-width: 250px;
    max-width: 400px;
    padding-bottom: 10px;
    padding-top: 10px;
    text-decoration: none;
    font-size: 1.25rem;
    letter-spacing: 1px;
    font-weight: bold;
    text-align: center;
    color: white;
    border: 2px solid var(--fiolet);
    border-radius: 15px;
}

.load-more:hover {
    background-color: var(--fiolet);
    box-shadow: 0 0 10px 3px var(--fiolet);
    transition: 0.5s linear;
}

.load-more:active {
    transform: translateY(22px);
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 1366px) {
    .neuroset-card {
        max-width: 280px;
    }
    .description {
        -webkit-line-clamp: 8;
    }
}

@media screen and (max-width: 1023px) {
    .icon-top-container {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .main-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "left"
            "right";
    }
}

@media screen and (max-width: 600px) {
    h1 {
        font-size: calc(1.5rem + 0.2vw);
    }
    h1 > span {
        font-size: 1.125rem;
    }
    .neuroseti-container {
        gap: 20px;
    }
    .pages-container > a {
        padding: 8px 15px;
        min-width: 135px;
    }
    .add-ai {
        font-size: 1.0625rem;
        min-width: 200px;
        padding: 8px 15px;
    }
    #search-form input {
        font-size: 1.125rem;
        height: 45px;
        padding-left: 10px;
    }
    #search-button {
        height: 45px;
        width: 55px;
    }
    .neuroset-name {
        font-size: 1.125rem;
    }
    .description {
        font-size: 0.9375rem;
        line-height: 1.3;
    }
    .updated {
        font-size: 1rem;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .load-more {
        font-size: 1.125rem;
        min-width: 200px;
    }
}

@media screen and (max-width: 420px){
    .main-catalog-container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .search-recommendation-container {
        font-size: 1.125rem;
    }
    .pages-container > a {
        font-size: 1rem;
    }
}