@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #454545;
    height: auto;
}


.container {
    width: 100%;
    height: auto;
    padding: 20px;
    display: flex;
    gap: 15px;
}



.left,
.right {
    flex: 1;              
    display: flex;
    flex-direction: column;
    gap: 8px;
}



label {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 15px;
    border-radius: 10px;
    background: #141313;
    color: #fff;
    font-size: 14px;
}

#p1,
#p2,
#p3 {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-left: 5px;
}

#p1 {
    margin-left: auto;
    background: red;
}

#p2 {
    background: yellow;
}

#p3 {
    background: #1fda1f;
}


#html-logo {
    background: #e34c26;
    margin-right: 10px;
    border-radius: 4px;
}

#css-logo {
    background: #2965f1;
    margin-right: 10px;
    border-radius: 4px;
}

#js-logo {
    background: #f7df1e;
    margin-right: 10px;
    border-radius: 4px;
}


textarea {
    width: 100%;
    height: 28%;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    outline: none;
    font-size: 18px;
    resize: none;
    border-radius: 10px;
    background: #0005;
}

.CodeMirror {
    height: calc(33.3% - 40px);
    font-size: 14px;
    border-radius: 10px;
}


.right label {
    background: #000;
    justify-content: center;
    gap: 5px;
}

.right box-icon {
    font-size: 1px;
    scale: 1.2;
    background: white;
    border-radius: 50%;
    padding: 4px;
}



iframe {
    width: 100%;
    flex: 1;
    background: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px;
}

@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }

    .output {
        height: 200px;
    }
}
