
.laptop {
        width: 480px;
        height: 310.179px;
        padding: 5px;
        background-color: var(--macbook);
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        position: relative;
}
.laptop::before {
        content: '';
        width: 130%;
        height: 25px;
        background-color: var(--macbook);
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
}
.laptop::after {
        content: '';
        width: 20%;
        height: 5px;
        background-color: var(--macbook);
        position: absolute;
        bottom: -6px;
        left: -10%;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
}
.laptop-inner::after {
        content: '';
        width: 20%;
        height: 5px;
        background-color: var(--macbook);
        position: absolute;
        bottom: -6px;
        right: -10%;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
}

.laptop-inner::before {
        content: '';
        width: 20%;
        height: 10px;
        background-color: var(--macbook);
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
}
.laptop-inner {
        width: 100%;
        height: 100%;
        background-color: var(--bg-color);
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        display: grid;
        grid-template-rows: 12px 1fr;
}

.toolbar {
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        padding: 2px;
        display: flex;
        gap: 2px;
        border-bottom: 1px solid var(--text-muted);
}

.btn {
        height: 8px;
        width: 8px;
        border-radius: 50%;
}

.btn1{
        background-color: red;
}
.btn2{
        background-color: orange;
}
.btn3{
        background-color: green;
}

.codeeditor {
        display: grid;
        grid-template-columns: 1fr 3fr;
}

.sidebar {
        background-color: var(--editor);
        border-right: 1px solid var(--text-muted);
}
.sidebar ul {
        background-color: transparent;
}
.sidebar ul li {
        background-color: transparent;
        list-style: none;
        font-size: 12px;
        margin-top: 2px;
        padding: 0px 2px;
}

.sidebar ul li:nth-child(1) {
        padding: 5px 2px;
        border-bottom: 1px solid var(--text-muted);
}

.editor {
        display: grid;
        background-color: var(--editor);
        grid-template-rows: 1fr 6fr 4fr;
}

.openfile {
        background-color: var(--editor);
        border-bottom: 1px solid var(--text-muted);
        display: flex;
        justify-content: space-between;
        align-items: center;
}

.file {
        margin: 0px 2px;
        width: 60px;
        background-color: transparent;
        font-size: 12px;
        border-right: 1px solid var(--text-muted);
        white-space: pre;
}

.deployment, .deployment label{
        margin: 0px 2px;
        background-color: var(--primary);
        font-size: 10px;
        padding: 4px;
        border-radius: 2px;
        cursor: pointer;
        color: whitesmoke;
}

.deployment input{
        display: none;
}

.code {
        padding: 2px 10px;
        background-color: var(--editor);
        font-size: 12px;
}

.code form{
        background-color: transparent;
}
.const {
        background-color: transparent;
        color: var(--primary);
}
.variable {
        background-color: transparent;
        color: var(--yellow);
} 
.require {
        background-color: transparent;
        color: var(--secondary);
}
.function {
        color: orange;
        background-color: transparent;
}
.round_bracket {
        color: blue;
        background-color: transparent;
}
.terminal {
        display: var(--terminal);
        border-top: 1px solid var(--text-muted);
        background-color: var(--editor);
}
@media (max-width: 550px) {
        .laptop {
                display: none;   
        }       
}