.code {
    position: relative;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.code_descr {
    display: block;
    width: 100%;
    height: 100%; 
    background-color: aliceblue;
    border: none;
    resize: none;
    white-space: pre-wrap;
    cursor: auto;
    overflow-y: hidden;
    border-radius: 10px;
    box-shadow: 0px 5px 5px -5px rgba(0, 0, 0, .4);
}

.code_descr:hover {
    overflow-y: scroll;
}

.code-container {
    width: 65%;
    height: 510px;
}

.code-container_content {
    width: 100%;
    height: 100%;
    padding: 10px;
}

.code_head {
    text-align: center;
    margin-bottom: 5px;
    background: linear-gradient(50deg, #ff8725, #e903f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 50px;
}

.head_descr {
    background: linear-gradient(50deg, #e903f5, #ff8725);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 30px;
}

.code_container-btn {
    position: relative;
    align-items: center;
    margin-bottom: 30px;
    gap: 30px;
}

#copy-code_btn {
    padding: 1em 2em;
    background-color: white;
    border: 1px solid black;
    font-size: 16px;
    font-family: "Open Sans", sans-serif;
    cursor: pointer;
}

#go-create_btn {
    padding: 1em 2em;
    background-color: white;
    border: 1px solid black;
    font-size: 16px;
}

.bold {
    font-weight: 600;
}

.code_description {
    text-align: start;
    font-size: 24px;
    width: 80%;
    margin-bottom: 30px;
}

.code_link {
    color: blue;
}

/* Adaptive */
@media screen and (max-width: 2201px) {
    .code_head {
        font-size: 65px;
    }
    .head_descr {
        font-size: 40px;
    }
    .code_description {
        font-size: 32px
    }
    #copy-code_btn {
        font-size: 24px;
    }
    #go-create_btn {
        font-size: 24px;
    }
    .code-container {
        height: 600px;
    }
    .code_descr {
        font-size: 20px;
    }
}

@media screen and (max-width: 1540px) {
    .code_head {
        font-size: 50px;
    }
    .head_descr {
        font-size: 32px;
    }
    .code_description {
        font-size: 24px
    }
    #copy-code_btn {
        font-size: 16px;
    }
    #go-create_btn {
        font-size: 16px;
    }
    .code-container {
        height: 510px;
    }
    .code_descr {
        font-size: 13px;
    }
}

@media screen and (max-width: 1024px){
    .code-container{
        width: 535px;
    }
}

@media screen and (max-width: 900px){
    .code_head {
        margin-bottom: 2px;
        font-size: 45px;
    }
    
    .head_descr {
        font-size: 21px;
        margin-bottom: 20px;
    }
    .code_description {
        font-size: 21px;
    }
    .code_container-btn {
        margin-bottom: 15px;
        gap: 20px;
    }
}

@media  screen and (max-width: 769px) {
    .code_head {
        font-size: 40px;
    }
    .head_descr {
        font-size: 20px;
        overflow: auto;
    }
    .code_descr:hover {
        overflow-y: inherit;
    }
    .code_description {
        font-size: 18px;
    }
    #copy-code_btn {
        border-radius: 10px;
    }
    #go-create_btn {
        border-radius: 10px;
    }
}

@media  screen and (max-width: 601px) {
    .code_head {
        font-size: 40px;
    }
    .head_descr {
        font-size: 18px;
    }
    .code_description {
        width: 100%;
        font-size: 18px;
    }
    .code-container{
        width: 450px;
        height: 450px;
    }
    #go-create_btn {
        font-size: 14px;
    }
    #copy-code_btn {
        font-size: 14px;
    }
}

@media  screen and (max-width: 468px) {
    .code_head {
        font-size: 30px;
        width: 98%;
    }
    .head_descr {
        font-size: 16px;
    }
    .code_description {
        font-size: 14px;
    }
    .code-container{
        width: 350px;
        height: 450px;
    }
    #go-create_btn {
        font-size: 14px;
        padding: 1em;
    }
    #copy-code_btn {
        font-size: 14px;
        padding: 1em;
    }
}

@media  screen and (max-width: 358px) {
    .code_head {
        font-size: 30px;
        width: 98%;
    }
    .head_descr {
        font-size: 16px;
    }
    .code_description {
        font-size: 16px;
    }
    .code-container{
        width: 320px;
        height: 450px;
    }
    #go-create_btn {
        font-size: 12px;
        padding: 1em;
    }
    #copy-code_btn {
        font-size: 12px;
        padding: 1em;
    }
}
