*{
    margin:0px;
}

body{
    background-color:#000000;
    margin: 0;
    padding: 0;
}
nav{
    background-color:rgb(122 122 122);
    display: flex;
    width:auto;
    height:40px;
    padding: 8px;
    align-items:center;
}
nav a{
    padding: 15px;
    list-style: none;
    text-decoration:none;
    color:white;
    text-overflow: none;
    justify-content: center;
    align-content: center;
    border-radius: 10px;
}
a:hover{
    background-color: #0050a7;
}
.downloadbtns{
    position:absolute;
    left:75%;
}
#uploadCode{
    display: none; /* input ko chhupa do */
  }
#downloadCode {
    display: block;
    text-decoration: none;
    color: white;
    text-align: left;
    border: none;
    padding: 10px;
    border-bottom: 1px solid #555;
    background-color: #000000;
    border-radius: 5px;
}

#downloadCode:hover{
    background-color: #0050a7;
    cursor: pointer;
}
  .HTML-box{
    height: 33%;
  }

.main-tittle{
    font-size:33px;
    position: absolute;
    left: 40%;
    color:white;
}
#main-content{
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto; 
    flex-direction: column; 
}
.divisions {
    display: flex;
    flex-direction: row;
    height: calc(100vh - 130px); /* Fill most of the screen minus nav & margins */
    gap: 5px;
}

.inputs {
    width: 40%; /* Reduced from 50% */
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    padding-left: 10px;
    gap: 10px;
    height:100%;
}

.editor-container {
    background-color: rgb(54 54 55);
    flex: 1; 
    height: 92%;
    border: 1px solid #ddd;
}
select{
    background-color: black;
    color: #ddd;
    border: none;
    border-radius: 10px;
    height: 34px;
    width: 150%;
    font-weight: 600;
    text-align: center;
}

label{
    color:white;
    font-size:15px;
}
.output {
    flex: 1;
    height: 100%;
    width: 100%;
}
.outputbox{
    background-color:white;
    width: 100%;
    height:100%;
}

#console-container {
    background-color: rgb(65, 65, 65);
    color: white;
    font-family: monospace;
    min-height:200px;
    max-height :fit-content;
    width: 100%;
    overflow-y: auto;
    border-top: 2px solid #555;
    position: relative;
    margin-top:40px;
}
#console-output {
    height: 150px;
    overflow-y: auto;
    white-space: pre-wrap;
}
#clear-console {
    background: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-weight: bold;
}
#draw-menu {
    position: fixed;
    left: 0;
    top: 50px;
    width: 80%;
    max-width: 250px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    display: none; /* Initially hidden */
    flex-direction: column;
    z-index: 1000;
}
#draw-menu a ,.newAdded{
    display: block;
    padding: 10px;
    border-bottom: 1px solid #555;
    text-decoration: none;
    color: white;
    text-align: left;
}
.newAdded:hover{
    background-color: #0050a7;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}
.AI_develop{
    margin-left: 1.5%;
}
.AI_develop:hover{
    background-color: #000000;
}

.menu-btn{
    color:white;
    background-color: #000000;
    border: none;
    border-radius:10px;
    height:34px;
    width:34px;
    margin-left: 10px;
    cursor: pointer;
}
hr{
    background-color: #000000;
    width: 10px;
    cursor: w-resize;
    margin-top: 12px;
    border-radius: 5px;
    border: none;
}

.divider{
    display: none;
}
@media only screen and (min-width: 900px){
    .divider{
        width: 100%;
        display: block;
        height: 12px;
        background-color: #000000;
        cursor:s-resize;
        border: none;
    }
    .inputs{
        gap: 15px;
        height: 97%;
    }
}

#importModule:hover {
    background-color:  #0050a7;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}


@media only screen and (max-width: 900px) {


    #draw-menu.active {
        display: flex; /* Show when active */
    }


    #draw-menu a:hover {
        background: green;
    }

    /* Menu Toggle Button */
    .menu-btn {
        visibility:visible;
        display: block;
        position: fixed;
        left: 10px;
        top: 10px;
        background: green;
        color: white;
        padding: 10px;
        border: none;
        cursor: pointer;
        z-index: 1;
    }

    .AI_develop{
        margin-left: 7.5%;
    }
    nav {
        text-align: center;
        padding: 10px;
    }

    #container-bc0472e14afa27bc2e854d0dbb92efea{
  display: none;
}
    .main-tittle {
        font-size: 28px;
        position: absolute;
        text-align: center;
    }
    tr{
        display:flex;
        flex-direction:column;
    }
    #checkAi{
        margin-left:0px;
    }
    h1{
        font-size:34px;
    }
    #main-content{
        display: flex;
        margin-top: 5rem;
        justify-content: center;
        align-items: center;
        height: 100%;
        flex-direction: column;
    }
    #draw-menu {
        position: fixed;
        left: 0;
        top: 50px;
        width: 80%;
        max-width: 250px;
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 10px;
        display: none; /* Initially hidden */
        flex-direction: column;
        z-index: 1000;
    }

    #draw-menu.active {
        display: flex; /* Show when active */
    }

    #draw-menu a {
        display: block;
        padding: 10px;
        border-bottom: 1px solid #555;
        text-decoration: none;
        color: white;
        text-align: left;
    }

    #draw-menu a:hover {
        background: green;
    }

    /* Menu Toggle Button */
    .menu-btn {
        visibility:visible;
        display: block;
        position: fixed;
        left: 10px;
        top: 10px;
        background: green;
        color: white;
        padding: 10px;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    #draw-menu {
        position: fixed;
        left: 0;
        top: 50px;
        width: 80%;
        max-width: 250px;
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 10px;
        display: none; /* Initially hidden */
        flex-direction: column;
        z-index: 1000;
    }

    #draw-menu.active {
        display: flex; /* Show when active */
    }

    #draw-menu a {
        display: block;
        padding: 10px;
        border-bottom: 1px solid #555;
        text-decoration: none;
        color: white;
        text-align: left;
    }

    #draw-menu a:hover {
        background: green;
    }

    /* Menu Toggle Button */
    .menu-btn {
        visibility:visible;
        display: block;
        position: fixed;
        left: 10px;
        top: 10px;
        background: green;
        color: white;
        padding: 10px;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    .divisions{
        display:flex;
        flex-direction :column;
    }
    .inputs{
        width:100%;
        flex-direction:column;
        margin-left:5px;
        margin-right:5px;
        min-height: 200px;
    }
    .output{
        width:100%;
        margin-top:20px;
        margin-left:5px;
        margin-right:5px;
        height: 100%; /* Full height use kare */    
    }
}