/*
Live Code Editor 
By: Coding Design

You can do whatever you want with the code. However if you love my content, you can subscribed my YouTube Channel
🌎link: www.youtube.com/codingdesign

*/

 

/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */
/* 
body {
    height: 100vh;
    font-family: sans-serif;
    background-image: linear-gradient(45deg,var( rgb(74, 225, 255)), var(--blue));

    display: flex;
    justify-content: center;
    align-items: center;
} */

.code-editor {
    width: 100vw;
    /* height: 100vh; */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background-color: #fff;
    overflow: hidden;
    border: 1px solid var(--dark-blue);
}

.code {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    /* background-color: var(--dark-blue); */
    padding: 0px 0px 0px 15px;
    /* border-radius: 5px; */
}



.code .code-textarea {
    width: 100%;
    height: 40vh;
    background-color: #f0f0f0;
    /* color: white; */
    /* border: none; */
    padding: 1rem;
    font-size: 14px;
    resize: vertical;
    font-family: monospace;
    box-sizing: border-box;
    line-height: 1.4;
}


.code .code-textarea::-webkit-scrollbar {
    width: .4rem;
}
.code .code-textarea::-webkit-scrollbar {
    width: .4rem;
}
.code .code-textarea::-webkit-scrollbar-thumb {
    background-color: var(--pink);
    border-radius: .4rem;
}

#result {
    width: 100%;
    /* height: 100%; */
    border: none;
}


.html-links{
    color: #fff;
    padding: 5px 1.2rem;
    border-radius: .5rem;
    text-decoration: none;
    font-size: 2rem;
    float: right;
    cursor: pointer; 
}

.cont{
    /* padding:10px; */
    width: 100% !important;
     /* height: 100vh; */


}
.nav-link{
    color: white !important;
    font-size: 12px !important;
}

.code-item{
    color: white !important;
    font-size: 17px !important;
    margin-top: 10px;
}

.tabulation {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically center items */
    background-color: #1D1E22;
    padding: 10px 25px;
    height: 60px;
    position: sticky; /* Make it sticky */
    top: -0px; /* Stick to the top */
    z-index: 10; /* Ensure it's above other content */
}

#resize-editor{
    color: white !important;
    font-size: 12px !important;
}

#ask-ai{
    color: white !important;
    font-size: 12px !important;
}
/* .active-editor{
    
} */