

body{
    font-family: 'Tajawal', 'IBM Plex Sans Arabic', sans-serif;
    direction: rtl;
}
  

nav{
    direction: ltr !important;
}

*{
    font-family: "IBM Arabic";
}

.Darks{
    font-size: 16px;
    background-color: #121212;
    color: #E0E0E0;
}

.light{
    background-color: #fff;
    color: #333;
    font-size: 16px;
}

.navbar-brand img{
    width: 40px;
    height: 40px;
    border-radius: 20px;
}

.Darks .marker{
    background-color: #ffffff7e;
    padding: 2px;
    border-radius: 2px;
    color: #FFCC66;
}

.light .marker{
    background-color: #44444498;
    padding: 2px;
    border-radius: 2px;
    color: #FF5722;
}

main{
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    margin-top: 10px;
}

.CodeMirror{
    text-align: left;
}

.CodeMirror-placeholder{
    text-align: center;
    font-family: "IBM Arabic" !important;
    font-size: medium;
    font-weight: bold;
}

#Themes{
    font-family: "IBM Arabic" !important;
    font-style: normal !important;
}

main img{
    width: 250px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    cursor: pointer;
    animation: Floating 1.5s linear infinite;
    transition: 0.5s linear;
}

main img:hover{
    animation-play-state: paused;
    border-radius: 5px;
}

@keyframes Floating{
    0%{top: 0;}
    50%{top: 10px;}
    100%{top: 0;}
}

.toolbar-item span{
    margin-left: 5px;
}

.toolbar-item button span{
    margin-left: 0;
}

h1,h2{
    font-size: 28px;
    font-weight: bold;
}

.versions li{
    list-style: square;
}

.light h1{
    color: #5100FF !important;
}


.light h2{
    color: #5100FF !important;
}

.Darks h1{
    color: #5CFFFF !important;
}

.my-popup {
    background-color: #121212 !important;
    color: #fff !important;
    border-radius: 20px !important;
}

.Darks h2{
    color: #5CFFFF !important;
}

.Darks .showExampels{
    padding: 50px;
    width: 80%;
    height: fit-content;
    border: solid #00A362 2px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 30px;
    border-radius: 5px;
}

.light .showExampels{
    padding: 50px;
    width: 80%;
    height: fit-content;
    border: solid #0024DD 2px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 30px;
    border-radius: 5px;
}

.Darks .result{
    overflow-x: scroll;
    margin-top: 5px;
    background: #161616;
    padding: 10px;
    margin-top: 20px;
}

.light .result{
    overflow-x: scroll;
    margin-top: 5px;
    background: #c5c5c5;
    padding: 10px;
    margin-top: 20px;
}

pre{
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

pre code{
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.nav-sections{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 99%;
    gap: 20px;
}

.Darks details{
    padding-left: 10px;
    font-family: "IBM Arabic";
    text-transform: capitalize;
    font-weight: bold;
    display: inline;
    color: gray;
}

.Darks details:hover{
    color: white;
}

.light details{
    padding-left: 10px;
    font-family: "IBM Arabic";
    text-transform: capitalize;
    font-weight: bold;
    display: inline;
    color: #444;
}

.light details:hover{
    color: #000;
}

.Darks .nav-sections a{
    text-decoration: none;
    font-family: "IBM Arabic";
    font-size: medium;
    color: #174f8b;
    font-weight: bold;
}

.Darks .nav-sections a:hover{
    color: #007bff;
}

.light .nav-sections a{
    text-decoration: none;
    font-family: "IBM Arabic";
    font-size: medium;
    color: #174f8b;
    font-weight: bold;
}

.light .nav-sections a:hover{
    color: #007bff;
}

h1,h2,h3,h4,h5,h6{
    font-family: "Tajwal" !important;
    font-weight: bold;
}

h1{
    font-size: xx-large;
}

hr{
    width: 100% !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

#terminal{
    width: 100%;
    text-align: left;
    height: 350px;
    background: #000;
    color: #00FF55 ;
    font-family: "IBM Arabic";
    font-weight: bold;
    font-size: 14px;
    overflow-y: scroll;
    padding-left: 5px;
    border: solid #222 1px;
    margin-top: 2px;
    direction: ltr !important;
}

#terminal::after{
    content: '_';
    color: #F8F8F2;
    animation: blink 0.4s infinite alternate;
}

#terminal::selection{
    background: #3E4451;
}

.buttons{
    margin-bottom: 5px; 
    display: flex; 
    flex-direction: row; 
    justify-content: center; 
    align-items: center; 
    gap: 5px; 
    flex-wrap: wrap; 
    word-wrap: normal;
}

.link{
    width: 100%;
    direction: ltr !important;
}

@keyframes blink{
    from{ opacity: 1; }
    to{ opacity: 0; }
}