:root {
    --border-color : #272727;
    --border-size: 2px;
    --border-radius : 10px;
    --left-size : 40%;
    --info-color: #808285;
    --button-color :  #1b1920;
    --validate-color: #03c988;
    --buttons-color: #8b5cf6; 
    --selected-color: #1b1920;
}

@font-face {
    font-family: 'Lato';
    src: url('./fonts/Lato-Regular.woff') format('woff'), /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
         url('./fonts/Lato-Regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}

@font-face {
    font-family: 'Nunito';
    src: url('./fonts/Nunito-Regular.ttf') format('woff'), /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
         url('./fonts/Nunito-Regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}

body {
    background-color: #111015;
    color: white;
    margin: 0;
    font-family: 'Lato';
    height: 100vh;
    
}


main {
    padding: 3rem;
    margin-right: 0rem;
    width: 100%;
    gap: 20px;

    padding-top: 0;
    padding-bottom: 0;

    margin-top: 50px;

    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
}



main #left {
    max-width: var(--left-size);
    box-sizing: border-box;
    min-width: var(--left-size);
}


main #right {
    width: -webkit-fill-available;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

button, a {
    padding: 10px 12px;
    color: white;
    outline: none;
    border: none;
    font-size: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    width: fit-content;
    vertical-align: middle;
    align-items: center;
    display: flex;
    font-family: "Nunito";
    gap: 0.5rem;
    cursor: pointer;
    font-weight: bold;
    height: fit-content;
}

#browser {
    background-color: var(--validate-color) !important
}

#open-close, .actions button, .card-headers button, #create-new  {
    background-color: var(--buttons-color);
}

#main-buttons {
    display: flex;
    gap: 2rem;
}

.stopping {
    background-color: #f6c05c !important;
}

.stop {
    background-color: #f65c5c !important;
}



.actions {
    margin-top: 2rem;
    box-sizing: border-box;
    display: flex;
    border: var(--border-size) solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--button-color);
    width: 90%;
    flex-direction: column;
}


.actions .area {
    display: flex;
    width: 100%;
    border: none;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.actions h2 {
    font-size: 14px;
    margin: 0;
    font-weight: normal;
}

.actions button {
    font-size: 14px;
}

.actions p {
    margin: 0;
    margin-top: 0.5rem;
    font-size: 12px;
}

.actions .col {
    width: 60%;
    box-sizing: border-box;
}

.shortcut {
    background-color: #48484a;
    border-radius: 5px;
    padding: 3px;
    margin-right: 2px;
    font-size: inherit;
    color: rgb(169, 169, 169);
}

.actions .area + .area {
    border-top: 1px solid var(--border-color);
}

#extensionsContainer {
    padding: 0;
}


.item {
    padding: 10px;
    border-radius: var(--border-radius);
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.item:hover {
    
    background-color: var(--selected-color);
}


.card-headers {
    display: flex;
    gap: 50px;
}


.svg-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#sql-installed-version {
    position: relative;
}

#status-db {
    border-radius: 5px;
    padding: 5px;
    width: fit-content;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: bold;
    height: fit-content;
    width: 55px;
    box-sizing: border-box;
    text-align: center;
    
    
}

.open-sql {
    background-color: #384b56;
    color: #69bf9e;
}

.close-sql {
    background-color: #563838;
    color: #bf6969;
}


.toggle-container {
    
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: row !important;
    justify-content: space-between;
}

.toggle {
    background-color: #d0cfd4 ;
    border-radius: 360px;
    padding: 5px 6px;
    width: fit-content;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    transition: 0.3s;
    align-items: center;
    width: 60px;
    /*justify-content: flex-end;*/
    position: relative;
    height: 30px;
}

.toggle svg {
    background: none !important;
    padding: 0 !important;
}



.toggle .handle {
    border-radius: 360px;
    box-sizing: border-box;
    color: white;
    
    transition: 0.3s;
    position: absolute;
    top: 5px;
    left: 6px;
    
}


.toggle[status="unactivate"] .handle {
    color: white;
}


.toggle[status="activate"] .handle{
    transform: translateX(-100%);
    left: calc(100% - 6px);
    color: white;
}






.toggle[status="activate"] {
    background-color: #57ba60;
}






.toggle .handle {
    transform: scale(105%);
}



h1 {
    margin: 0;
    font-size: 25px;
}


.main-box {
    border-radius: var(--border-radius);
    width: 100%;
    box-sizing: border-box;
    background-color: #1b1920;
}



.projet-container {
    display: flex;
    gap: 20px;
}

main .left {
    width: 100%;
    
}


.projects {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 20px;
}

main .right {
    width: 35%;
    height: max-content;
}

.row.selected {
    border-color: var(--buttons-color);
}