article {
    padding: 20px;
    width: 50%;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

article.full {
    width: 80%;
}

article:not(:first-child) {
    margin-top: 20px;
}

article img {
    display: block;
    margin: auto;
    width: 100%;
    border-radius: 10px;
}

article.full img {
    margin-top: 20px;
    margin-bottom: 20px;
    width: unset;
    max-height: 500px;
}

article.full p {
    max-width: unset;
}

article a {
    color: rgb(30, 138, 163);
    text-decoration: none;
}

article.full h3 {
    font-weight: 600;
    font-size: 1.7rem;
    margin-top: 20px;
    margin-bottom: 20px;
    color: rgb(7, 14, 55);
}

article.full hr {
    margin-top: 20px;
}

article.full .telegram-btn {
    margin: 20px 0;
}

article.full code {
    font-size: 1rem;
    white-space: pre;
}

article.full .code-container {
    margin: 10px 22%;
    padding: 0 10px;
    text-align: left;
    color: rgb(255, 255, 255);
    background-color: rgb(7, 14, 55);
    border-radius: 10px;
    overflow-x: auto;
}

article.full .code-container::-webkit-scrollbar {
    height: 10px;
}

article.full .code-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
    margin: 0 5px;
    border-radius: 5px;
}

article.full .code-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 5px;
}

article.full .code-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    article {
        padding: 10px;
        width: 100%;
    }

    article.full {
        width: 100%;
    }

    article.full img {
        width: 100%;
    }

    article.full .code-container {
        margin: 10px 10px;
    }
}
