*{
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
    box-sizing: border-box;
}

body{
    background: #F2F2FF;
}

/*Navbar CSS*/
.navbar{
    width: 100%;
    display: flex;
    justify-content: center;
}

.nav-container{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 20px auto;
}

.logo{
    width: 150px;
}

.nav-links{
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a{
    text-decoration: none;
    font-size: 18px;
    color: #000;
}

/*Body CSS*/
.container{
    width: 100%;
}

.inner-container{
    width: 100%;
    height: 80vh;
    max-width: 1400px;
    margin-top: 10px;
    margin-bottom: 29px;
    margin-right: auto;
    margin-left: auto;
    border-radius: 25px;
    background-color: #FBFBFD;
    border: #C8C8FF 2px solid;
}

/*Tabs and Download Btn CSS*/
.inner-navbar{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    border-bottom: #C8C8FF 2px solid;
}

.label{
    width: 50%;
    display: flex;
    padding: 0 10px;
}

.button{
    width: 50%;
    display: flex;
    justify-content: end;
    padding: 0 10px;
}

.l1, .l2, .l3{
    padding: 10px 20px;
    margin: 10px 5px;
    border-radius: 20px;
    border: #C8C8FF 2px solid;
}

.l1:hover{
    background-color: #C8C8FF;
    border: #C8C8FF 2px solid;
    cursor: pointer;
}

.l2:hover{
    background-color: #C8C8FF;
    border: #C8C8FF 2px solid;
    cursor: pointer;
}

.l3:hover{
    background-color: #C8C8FF;
    border: #C8C8FF 2px solid;
    cursor: pointer;
}

.save-btn{
    padding: 10px 20px;
    margin: 10px 5px;
    border-radius: 20px;
    border: #2C3D8F 2px solid;;
    background-color: #2C3D8F;
    color: #FFFFFF;
}

.save-btn:hover{
    background-color: #C8C8FF;
    color: #2C3D8F;
    cursor: pointer;
}

.tab {
    cursor: pointer;
    position: relative;
    color: #000;
    transition: color 0.3s;
}

.tab.active-tab {
    color: #fff;
    background: #2C3D8F;
    border: #2C3D8F 2px solid;
}


/*Editor CSS*/
.inner-body{
    width: 100%;
    height: 70.5vh;
    display: flex;;
}

.editor{
    width: 50%;
    height: 70.5vh;
    position: relative;
}

.textarea-1, .textarea-2, .textarea-3{
    line-height: 22px;
    font-size: 14px;
    width: 100%;
    height: 100%;
    padding: 10px 60px;
    position: absolute;
    border: 0;
    outline: 0;
    background: #2C3D8F;
    color: #fff;
    resize: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s, z-index 0.3s;
    border-bottom-left-radius: 25px;
}

.textarea-1.active, .textarea-2.active, .textarea-3.active{
    opacity: 1;
    z-index: 1;
}

/*Live Preview CSS*/
.Live-Preview{
    width: 50%;
    height: 70.5vh;
    display: flex;
    flex-direction: column;
}

.output{
    margin-top:20px;
    margin-bottom: 10px;
    margin-left: 20px;
    font-size: 18px;
}

.output-frame{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

iframe{
    width: 95%;
    height: 95%;
    border: #000 1px solid;
    border-radius: 25px;
}

/* Line Numbers */
.code-container {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-y: hidden;
    position: absolute;
}

.line-numbers {
    width: 50px;
    background-color: #243173;
    color: #FFFFFF;
    text-align: right;
    padding: 10px 10px;
    border-right: 1px solid #444;
    border-bottom-left-radius: 25px;
    overflow-y: hidden;
    user-select: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s, z-index 0.3s;
}

.line-numbers.active {
    opacity: 1;
    z-index: 2;
}

.line-numbers span {
    display: block;
    line-height: 22px;
    font-size: 14px;
    justify-content: center;
}


/*Scrollbar cutomization*/
*::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar-track {
    background: #2C3D8F;
}

*::-webkit-scrollbar-thumb {
    background: #243173;
    border: #F2F2FF 2px solid;
    border-radius: 10px;
}

*::-webkit-scrollbar-thumb:hover {
    background: #2C3D8F;
}