:root{
    --primary: #c3f73aff;
    --secondary: #95e06cff;
    --contrast: #68b684ff;
    --steel-azure: #094d92ff;
    --text-color: #1c1018ff;
    --border: solid 1px #30303046;
    --border_radius: 7px;
    --margin: 10px;
    --shadow: 0 0 1px black;
    --soft_border: 1px #8383837c solid;
}
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
::selection {
    background: #C1FE72;
    color: black;
    border-radius: 10px;
}
.Basic_Btn{
    background-color: #00e8b2;
    color: #303030;
    width: 100px;
    height: 25px;
    border-radius: 5px;
    border: var(--soft_border);

}
.Dangour_Btn{
    background-color: #ff0000;
    color: #ffffff;
    width: 100px;
    height: 25px;
    border-radius: 5px;
    border: var(--soft_border);
}
.Icon_Sidebar{
    width: 20px;
    height: 20px;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.ttf") format("truetypew");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Commissioner";
  src: url("/assets/fonts/Commissioner.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair_Display";
  src: url("/assets/fonts/Playfair_Display.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
#Home_Page{
display: none;
}
#Table_Editor_Page{
display: none;
}
#Terminal_Page{
display: none;
}
#Auth_Page{
display: none;
}
#Database_Page{
display: none;
}
#Storage_Page{
display: none;
}
#Stack_Functions_Page{
display: none;
}
#Logs_Page{
display: none;
}
#Realtime_Page{
display: none;
}
body {
    display: grid;
    font-family: "Inter", sans-serif;
    width: 100vw;
    min-height: 100dvh; 
    background-color: #3d3d3d;
    margin: 0;
    padding: 0;
    background-attachment: fixed; 
    overflow-x: hidden;
}
input:focus {
  outline: none;
  border: 2px solid rgb(160, 160, 160); 
}
.text_login2{
    margin-bottom: 5px;
}
.login_register_input{
    background-color: #303030;
    color: white;
    border: black solid 2px;
    border-radius: var(--border_radius);
    height: 50px;
    width: 400px;
    box-shadow: 0 0 1px rgb(0, 0, 0);
    font-size: 15px;
}
.logo_login_register{
    width: 100px;
    justify-self: center;
    border-radius: var(--border_radius);
    box-shadow: var(--shadow);
}
.Login_Page, .Register_Page{
    justify-self: center;
    align-self: center;
    display: grid;
    background-color: var(--primary);
    border-radius: var(--border_radius);
    padding: var(--margin);
    box-shadow: var(--shadow);
}
.text_login_container,.text_register_container{
    justify-self: center;
}
.text_login3,.text_register3{
color: #303030;
}
.text_login1,.text_register_1{
margin: 5px;
justify-self: center;
}
.text_login3:hover,.text_register3:hover{
    cursor: pointer;
    text-decoration: underline;
}
.login_form{
    display: grid;
    grid-gap: 10px;
}
.text_login_container,.text_register_container{
    display: flex;
    gap: 10px;
}
.register_login_btn{
    font-size: 20px;
    width: 300px;
    height: 50px;
    background-color: #303030;
    color: white;
    border: var(--border);
    border-radius: var(--border_radius);
    margin: var(--margin);
    justify-self: center;
}
.register_login_btn:hover{
    filter: contrast(1.2);
}

.Register_Page{
    display: none;
}

#message-bar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    
    background: var(#303030);
    color: white;
    
    padding: 12px 20px;
    border-radius: var(--border_radius);
    box-shadow: var(--shadow);
    border: var(--border);

    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

#message-bar.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

#message-bar.success {
    background: var(--primary);
    color: black;
}

#message-bar.error {
    background: #ff4d4f;
}

#message-bar.info {
    background: #1677ff;
}
.Server_Offine_Page{
    display: none;
    height: 100%;
    width: 100%;
    justify-self: center;
    align-self: center;
    background-image: url(/assets/img/Background.png);
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: auto;
}
.Logo_Server_Offline{
    margin-top: 9px;
    border-radius: 100%;
    width: 110px;
    box-shadow: 0 0 3px white;
    justify-self: center;
}
.System_offline_p{
    text-align: center;
    color: #ff4d4f;
}
.System_offline_card{
    border-radius: 40px;
    width: 200px;
    height: 30px;
    justify-self: center;
    padding: 0;
    background-color: #ff686a5f;
    border: solid #ed0004 2px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.System_offline_point{
    background-color: red;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    animation: animation infinite 2s;
    margin: 5px;
    box-shadow: 0 0 2px#ed0004;
}
@keyframes animation{
    0%{
        opacity: 1;
    }
    50%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
.System_offine_text_1{
    color: white;
    font-size: 30px;
    justify-self: center;
    align-self: flex-end;
    margin: 0;
    padding: 0;
}
.System_offine_text_2{
    color: var(--primary);
    font-size: 40px;
    justify-self: center;
    align-self: flex-start;
    margin: 0;
    padding: 0;
}
.System_offine_text_3{
    color: rgba(239, 239, 239, 0.607);
    justify-self: center;
    font-size: 15px;
}
.System_offine_text_4{
    color: rgba(249, 248, 248, 0.961);
    justify-self: center;
    font-size: 20px;
}
.Estimated_time_p_1{
    font-size: 15px;
    color: rgba(190, 190, 190, 0.47);
    justify-self: center;
    margin: 5px;
}
.Estimated_time_p_2{
    color: rgb(255, 170, 0);
    font-size: 20px;
    justify-self: center;
    margin: 5px;
}
.Estimated_time_div{
    justify-self: center;
    background-color: #3a3a3a67;
    border: solid 1px #c1fe7259;
    width: 270px;
    height: 100px;
    border-radius: 7px;
}
.Maintenance_point{
    background-color: #C1FE72;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    margin: 5px;
    align-self: center;
}
.Maintenance_div{
    justify-self: center;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(2, 1fr);
    background-color: #c1fe720b;
    border: solid 1px #c1fe724d;
    border-radius: 7px;
}
.Maintenance_Element_1, 
.Maintenance_Element_2 {
    display: grid;
    grid-template-columns: auto auto 1fr auto; 
    gap: 12px;
    align-items: center;
}
.Maintenance_p{
    justify-self: flex-start;
    align-self: center;
    color: rgba(190, 190, 190, 0.47);
}
.Maintenance_value{
    align-self: center;
    justify-self: end;
    color: white;
}
.questions_maintenance_link{
    color: var(--primary);
    justify-self: center;
    align-self: center;
}
.questions_maintenance_p{
    color: rgba(166, 166, 166, 0.454);
    align-self: center;
}
.questions_maintenance_div{
    justify-self: center;
    display: flex;
    gap: 10px;
}

.Server_Offine_Page {
    min-height: 100dvh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.Projects_Page{
    width: 100%;
    height: 100%;
    display: none;
    justify-self: center;
    align-self: center;
}
.side_bar_primary{
    display: none;
    align-self: flex-end;
    position: fixed;
    height: calc(100% - 5vh );
    width: 5vh;
    border-right: var(--border);
    transition: all 0.15s;
}

.Header_Bar{
    position: fixed;
    justify-self: center;
    align-self: flex-start;
    width: 100%;
    height: 5vh;
    border-bottom: var(--border);
    border-left: var(--border);
    border-left: none;
    display: none;
    grid-template-columns: 1fr 18fr 1fr;
}
.Logo-div{
    background-color: var(--primary);
    border-bottom: var(--border);
    height: 5vh;
    width: 5vh;
    display: flex;
    justify-content: center;
}
.Logo-p{
    justify-self: center;
    align-self: center;
    font-family: "Playfair_Display", sans-serif;
    font-size: 30px;
    color: var(--text-color);
}
.seperator{
    font-size: 2.5vh;
    color: #30303071;
    font-weight: 300;
    align-self: center;
    margin-left: 5px;
    margin-right: 5px;
}
.path_item{
    text-align: center;
    align-self: center;
    color: var(--text-color);
}
.path_item:hover{
    cursor: pointer;
}

.path_div{
    height: 100%;
    width: min-content;
    display: flex;
    margin-left: 10px;
}
.profile-picture-div{
    justify-self: center;
    align-self: center;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    background-color: var(--primary);
    border: var(--border);
    display: grid;
}
.profile-picture{
    justify-self: center;
    align-self: center;
}
.side_bar_primary:hover{
    width: 15vw;
}
.side_bar_primary:hover .side-bar-btn{
    justify-content: flex-start;
    width: 14vw;
}
.side_bar_primary:hover .side-bar-btn img{
    justify-self: center;
}
.side_bar_primary:hover .side-bar-btn p{
    display: block;
}
.side-bar-project-div{
    border-bottom: var(--border);
    padding: 10px 0px 10px 0px;
}
.side-bar-services-div{
    border-bottom: var(--border);
    padding: 10px 0px 10px 0px;
}
.footer-sidebar{
    padding: 10px 0px 10px 0px;
}
.side-bar-btn{
    width: 4vh;
    height: 30px;
    justify-content: center;
    justify-self: start;
    transition: all 0.1s ease-out;
    background-color: transparent;
    border: 0px solid;
    margin: 5px;
    display: grid;
    grid-template-columns: 4vh 1fr;
    border-radius: 5px;
}
.side-bar-btn:not(.active):hover {
  background-color: rgba(221, 221, 221, 0.258);
}
.side-bar-btn.active{
    background-color: var(--primary);
    border: 1px solid #303030;
}
.side-bar-btn p{
    display: none;
    white-space: nowrap;
    transition: opacity 0.1s ease-in;
    color: var(--text-color);
    align-self: center;
    justify-self: start;
    margin-left: 6px;
}

.side-bar-btn:hover{
    cursor: pointer;
}
.side-bar-btn img{
    justify-self: center;
    align-self: center;
}
@media (max-width: 768px) {
    body {
        display: block;
        height: auto;
        overflow-y: auto;
    }

    .Login_Page, .Register_Page {
        margin: 10dvh auto;
        width: 90%;
        max-width: 400px;
    }
}
.page{
    width: 100%;
    height: 100%;
}