/*---------------------------------------*\ 
    AUTHOR: A.M.M. Elsayed   
    * ALL RIGHTS RESERVED *
\*---------------------------------------*/

*{
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

html {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column; /* Items are placed left to right. */
    /* background-color: #101010; */
}

body {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column; 
    justify-content: space-between; /* Items are placed top to bottom. */
    /* align-items: stretch;  */
}

body main {
    margin: 0px;   /* Space outside the border */
    padding: 20px;  /* Space inside the border, between content and border */
    flex: 1; /* Fills available space */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    flex-direction: column; 
    justify-content: flex-start;   
    align-items: center; 
    background-color: white;
}

/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
/* Defining the title of any page */

.page-top {
    width: 100%;
    height: 150px;
    max-width: 1000px;
    min-width: 0;
    display: flex;
    flex-direction: row; 
    justify-content: space-between;
    align-items: center;   
}

.page-top h1 {
    font-size: 45px;
}

/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */


/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
/*  Defining (text) sections      */

section {
    width: 100%;
    max-width: 1000px;
    min-width: 0;
    margin: 20px 0px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    color: black;
    display: flex;
    flex-direction: column; 
    justify-content: space-between;   
    align-items: stretch; 
}

section p {
    padding: 20px 20px 20px 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

section ul li {
    padding: 20px 20px 20px 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
}

section ul li img{
    width: 70px;
    height: 70px;
    padding-right: 20px;
    object-fit: fill; 
} 

section ul li dev{
    text-align: justify;
}


section p, section ul li strong{
    font-size: 15px;
}

section h2, section h3, section h4 {
    padding: 20px 20px 10px 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    background-color: rgb(240, 240, 240);
}


.navigations nav ul li #about {
    font-weight:350;
}

/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */


.PROG-LANG-TABLE {
    padding: 20px;
    width: 100%;
}

.PROG-LANG-TABLE .PROG-LANG-CATEGORY{
    display: flex;
    flex-direction: row; 
    justify-content:flex-start;   
    align-items: stretch; 
    border-bottom: 0.01cm solid black;
    background-color: none;
    transition: background-color 0.1s ease;
}

.PROG-LANG-TABLE .PROG-LANG-CATEGORY:last-child{
    border-bottom: none;
}

.PROG-LANG-TABLE .PROG-LANG-CATEGORY:hover{
    background-color: rgb(250, 250, 250);
}

.PROG-LANG-TABLE .PROG-LANG-CATEGORY .CATEGORY-TITLE{
    display: flex;
    flex-direction: column; 
    justify-content:center;   
    align-items: center; 
    width: 100%;
    max-width: 150px;
    padding: 14px;
}

.PROG-LANG-TABLE .PROG-LANG-CATEGORY .CATEGORY-TITLE spam{
    font-weight: bold;
}

.PROG-LANG-TABLE .PROG-LANG-CATEGORY .CATEGORY-CONTENT {
    display: flex;
    flex-direction: column; 
    justify-content:flex-start;   
    align-items: center; 
    width: 100%;
    max-width: 90px;
    padding: 15px;
}

.PROG-LANG-TABLE .PROG-LANG-CATEGORY .CATEGORY-CONTENT img {
    max-width: 40px;
    max-height: 40px;
}

@media screen and (max-width: 900px) {

    .PROG-LANG-TABLE .PROG-LANG-CATEGORY{
        flex-wrap: wrap;
        justify-content:center; 
        border-bottom: none;
    }

    .PROG-LANG-TABLE .PROG-LANG-CATEGORY .CATEGORY-TITLE{
        max-width: 800px;
        background-color: rgb(245, 245, 245);
    }




}