.docs {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.docs__title {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px white solid;
    border-color: var(--text-color);
}

.docs__wrap {
    display: flex;
    flex-direction: row;
    gap: 100px;
    width: 100%;
    box-sizing: border-box;
}

.docs__main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.docs__script {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.docs__item-head {
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px white solid;
    border-color: var(--opacity-color);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.docs__spoiler.spoiler {
    padding: 5px 10px;
}

.docs__item-name {
    font-size: 16px;
}

.docs__item-body-wrap {
    padding: 10px 20px;
    background-color: var(--dark-color);
    border-radius: 5px;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.docs__index-name {
    font-weight: bold;
    padding-bottom: 5px;
    display: block;
}

.docs__load {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 400px;
    transition: 0.5s max-height ease;
    min-width: 300px;
}

.docs__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.docs__img {
    height: 150px;
    width: 137px;
}

.docs__img-wrap {
    background: linear-gradient(61deg, #637605, #839405, #a4a019, #d8da72);
    background: -webkit-linear-gradient(61deg, #637605, #839405, #a4a019, #d8da72);
    border-radius: 5px;
}

.docs__load-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.docs__load-name {
    display: block;
    text-align: center;
}

.spoilered .docs__item-body {
    max-height: 0;
    overflow: hidden;
}

.docs__item-body {
    max-height: 1900px;
    overflow-y: auto;
    transition: 0.8s max-height ease, 0.5s opacity ease;
}

.docs__index-text {
    margin-bottom: 20px;
    border-bottom: 1px white solid;
    padding-bottom: 10px;
    border-color: var(--opacity-color);
}
