* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0f0e27;
    font-family: 'Source Code Pro', monospace;
    color: white;
}

main {
    display: grid;
    /* grid-template-columns: 280px 2fr 2fr; */
    grid-template-columns: 280px minmax(20%, 2fr) 2fr;
    grid-template-rows: 100vh;
}

ion-icon {
    font-size: 1.2rem;
}

.title {
    font-weight: bold;
    padding-left: 20px;
    font-size: 1.2rem;
}

.panel__directory {
    padding: 20px 20px;
    border-right: .2px solid rgba(128, 128, 128, 0.281);
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    font-size: 1rem;
}

.button--new {
    background-color: #201d5a;
    display: block;
    text-align: center;
    margin: 0 auto;
    margin-top: 20px;
    border-radius: 3px;
    padding: 4px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.panel__output {
    display: flex;
    flex-flow: column;
    /* justify-content: center; */
    align-items: center;
    text-align: center;
    padding: 20px 20px;
    border-left: .2px solid rgba(128, 128, 128, 0.281);
    overflow-y: auto;
}


.files {
    margin-top: 10px;
}

.file {
    color: rgb(173, 173, 173);
    margin-top: 20px;
    padding: 20px;
    border-radius: 12px;
}

.subtitle {
    font-size: 0.7rem;
    display: block;
    margin-left: 20px;
    color: grey;
    margin-top: 0.2rem;

}

.file p {
    display: inline-block;
}

.file:hover {
    background-color: #222045;

    cursor: pointer;
}

.panel__code {
    display: flex;
    flex-direction: column;
}

.panel__output img {
    text-align: center;
    width: 60%;
}

.breadcumb {
    display: inline-block;
    padding: 30px 30px;
    position: relative;
    font-size: .9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.breadcumbs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.breadcumbs::-webkit-scrollbar {
    width: 1em;
    height: 2px;
}

.breadcumbs::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.breadcumbs::-webkit-scrollbar-thumb {
    background-color: #1e2935;
    outline: 1px solid #131036;
}

.breadcumb:hover {
    background-color: #131036;
    cursor: pointer;
}

.breadcumb--active::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background: #4731c5b9;
    bottom: 0;
    left: 0;
}




.panel__output::-webkit-scrollbar {
    width: .6em;
    height: 2px;
}

.panel__output::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.panel__output::-webkit-scrollbar-thumb {
    background-color: #151434;
    outline: 1px solid #131036;
    border-radius: 15px;
}


.panel__output--active::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background: #4731c5b9;
    bottom: 0;
    left: 0;
}



.file ion-icon {
    font-size: .9rem;
}

.button--new ion-icon {
    font-size: .9rem;
}

.editor {
    width: 100%;
    height: 90%;
    background-color: #14122d;
    flex: 1;
    color: white;
    padding: 10px 10px;
    position: relative;
    font-weight: 500;
}


.codeeditor {
    font-size: 1rem;

    border: none;
    outline: none;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;

    resize: none;
    /*remove the resize handle on the bottom right*/
    font-family: 'Source Code Pro', monospace;
    overflow-y: hidden;

}

/*editor*/

.line-numbers {
    text-align: right;
    display: inline-block;
    margin-right: 10px;
}

.line-numbers p {
    counter-increment: linenumber;
}

.line-numbers p::before {
    content: counter(linenumber);
    display: inline-block;
    color: #506882;
    width : 19px;
    font-size: 1em;
}

.selected {
    color: white;
    background-color: #14122d;
}

.actions {
    padding: 10px 20px;
    background-color: #14122d;
    border-top: .2px solid rgba(128, 128, 128, 0.281);
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.button-action {
    border-radius: 20px !important;
    background-color: rgb(11, 99, 162);
}

.button_container {
    margin-top: 30px;
}

.button--save {
    padding: 10px 20px;
    border-radius: 10px;
    background-color: #4631c5;
    display: inline-block;
    cursor: pointer;
    font-family: 'Lato';
    font-weight: 100;
}

.action {
    display: inline-block;
    margin: 0 10px;
    font-size: 1.1rem;
}

.notifier {
    justify-self: start;
    color: #506882;
}

.empty__container {
    margin-top: 30%;
}

.error {
    padding: 10px;
    border-radius: 10px;
    margin-top: 40px;
}

.error img {
    margin-top: 30px;
    width: 80%;
}

.hide {
    display: none;
}

/*table*/

.result {
    width: 100%;
}

table.GeneratedTable {
    width: 100%;
    background-color: rgb(28 25 62);
    border-collapse: collapse;
    border-width: 0px;
    border-color: #ffffff;
    border-style: solid;
    color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    -webkit-box-shadow: 0px 0px 7px 5px rgba(0, 0, 0, 0.052);
    box-shadow: 0px 0px 7px 5px rgba(0, 0, 0, 0.018);
}

table.GeneratedTable td,
table.GeneratedTable th {
    border-width: .2px;
    border-color: #ffffff1b;
    border-style: solid;
    padding: 4px;
}

table.GeneratedTable thead {
    background-color: #151235;
}

table.GeneratedTable tr:nth-child(2n) {
    background-color: rgb(31 29 67);
    ;
}


.simbol-table {
    background-color: rgb(72 7 200);
    padding: 10px;
    border-radius: 5px;
}

.error-table {
    background-color: rgb(200 7 62);
    padding: 10px;
    border-radius: 5px;
}

.triplo-table {
    background-color: rgb(144 7 200);
    padding: 10px;
    border-radius: 5px;
}

.button-pdf {
    margin-top: 10px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.243);
    padding: 10px;
    border-radius: 10px;
    text-align: start;
    font-size: .8em;
}

.button-pdf:hover {
    cursor: pointer;
}

/*animation*/

.loader {
    width: 20px;
    height: 20px;
    border: 3px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.backdrop,
.codeeditor {
    font-size: 1rem;
    font-family: 'Source Code Pro', monospace;
    width: 92%;
    height: 100%;
    position: relative;
}

.codeeditor {
    width: 90%;
    margin: 0;
    position: absolute;
    border-radius: 0;
    background-color: transparent;
    color: transparent;
    caret-color: #555555;
    z-index: 2;
    resize: none;
    padding: 0;
    margin: 0;
    margin-left: 10px;
    border: 1px solid transparent;

}

.backdrop {
    position: absolute;
    z-index: 1;
    border: 1px solid transparent;
    overflow: auto;
    pointer-events: none;
    margin-left: 38px;
}

.custom-area {
    white-space: pre-wrap;
    word-wrap: break-word;

}


/**utilies*/

.pointer {
    cursor: pointer;
}


.icon {
    display: inline-block;
    vertical-align: middle;
}

.text {
    display: inline-block;
    vertical-align: middle;
}