/*
 Theme Name: Badr
 Theme URI: https://www.hanybee.com/badr-theme
 Author: Hany Elnaggar
 Author URI: https://www.hanybee.com/
 Description: A simple seo WordPress theme for Pagespeed.
 Version: 1.0.3
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags:light, pagespeed, simple, responsive-layout, accessibility-ready
 Text Domain: Badr
*/
/* General Styles */
 .menu li {
    display: unset!important;
}
a {
    font-size: large;
}
.nav {display: flex;}
.menu li {
    display: inline-grid;
    background-clip: padding-box;
    background-color: #ff8c40;
    text-align:center;
    border: 5px solid transparent;
    border-radius: 11px;
    box-shadow: rgba(0, 0, 0, .02) 0 1px 3px 0;
    cursor: pointer;
    font-size: large;
    padding: calc(.375rem - 1px) calc(1.5rem - 1px);
    align-content: center;
    }
 body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}
.wp-caption, iframe, img {
    max-width: 100%;
    height:auto;
    text-align: justify;
}
h3.title3 {
    background: beige;
    padding: 10px;
    font-size: larger;
    text-align: center;
}



div#time {
    background: beige;
    text-align: center;
}
figure {text-align: center;}
.relasted {
    padding: 5px;
    text-align: center;
    background: black;
    color: white;
}
 

.tag {
    padding: 5px;
    background: orange;
}
.relasted a {
    color: yellow;
}

h3.title3 a {
    color: firebrick;
}

h3.title3 a:hover {
    color: black;
}
 li.page_item {border-bottom: dashed;padding: 5px;}
 
div#primary-menu {
    text-align: center;
    font-size: larger;
}

div#primary-menu a {
    color: white;
}

div#primary-menu a:hover {
    color: yellow;
}



.button-5 {
    align-items: center;
    background-clip: padding-box;
    background-color: #ff8c40;
    border: 1px solid transparent;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, .02) 0 1px 3px 0;
    cursor: pointer;
    display: inline-flex;
    font-family: Arial, sans-serif;
    font-size: 23px;
    justify-content: center;
    line-height: 1.25;
    margin: 0;
    min-height: 3rem;
    padding: calc(.875rem - 1px) calc(1.5rem - 1px);
    transition: 250ms;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
}
p {
    font-size: medium;
}
h2 {
    font-size: x-large;
}
h1 {
    font-size: xx-large;
}
p a {
    background-size: 100% .2em;
    background-position: 0 88%;
    font-weight: var(--_link-font-weight, 800);
}
p a, p a:hover {
    background-image: linear-gradient(120deg, #ffd43b 0, #ffd43b 100%);
    background-repeat: no-repeat;
    color: inherit;
}
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px 20px 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* NAV */  
 .header {
    background: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 0;
    z-index: 100;
    transition: background-color 0.3s;
    width: 100%;
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 1024px;
    padding: 0 20px;
  }
  
  .logo a{
    text-decoration: none;
    color: #fff;
    font-size: 18px;
  }
.logo img{
  height: 70px;
  width: auto;
}
  
  .nav {
    display: flex;
  }
  
  .nav-link {
    margin-left: 20px;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
    font-size: 18px;
  }
  
  .nav-link:hover {
    color: #8ED117;
  }
  
  .nav-link.active{
    color: #8ED117;
  }
  
  .burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
  }
  
  .burger span {
    display: block;
    height: 3px;
    background-color: #fff;
    transition: background-color 0.3s, transform 0.3s, opacity 0.3s;
  }
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 0;
    z-index: 100;
    transition: background-color 0.3s;
    width: 100%;
  }
  
  .header-container {
    background: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    padding: 0px 25px;
    flex-direction: row-reverse;
  }
  
  .logo a{
    text-decoration: none;
    color: #fff;
    font-size: 18px;
  }
.logo img{
  height: 30px;
  width: auto;
}
  
  .nav {
    display: flex;
  }
  
  .nav-link {
    margin-left: 20px;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
    font-size: 18px;
  }
  
  .nav-link:hover {
    color: #8ED117;
  }
  
  .nav-link.active{
    color: #8ED117;
  }
  
  .burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
  }
  
  .burger span {
    display: block;
    height: 3px;
    background-color: #fff;
    transition: background-color 0.3s, transform 0.3s, opacity 0.3s;
  }

header h1 {
    font-size: 2.5em;
    margin: 0;
}

header p {
    font-size: 1em;
    color: #666;
}

header .featured-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
}

/* Content Styles */
.content {
    font-size: 1em;
    line-height: 1.8;
}

.content h2, .content h3, .content h4, .content h5, .content h6 {
    margin-top: 1.5em;
}
.extra-block {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.extra-block h2 {
    margin-top: 0;
    font-size: 1.5em;
}

.extra-block p {
    font-size: 1em;
    line-height: 1.6;
}


/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: #fff;
    margin-top: 20px;
}

footer p {
    margin: 0;
}

/* Comments Section */
.comments-area {
    margin-top: 40px;
}

.comments-area h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list li {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.comment-list .comment-body {
    padding-left: 10px;
}


nav li::marker {
    content: "";
}


    ul li:hover > ul,
    ul li ul:hover {
      visibility: visible;
      opacity: 1;
      display: block;
      min-width: 250px;
      text-align: left;
      padding-top: 20px;
      box-shadow: 0px 3px 5px -1px #ccc;
    }

    ul li ul li {
      clear: both;
      width: 100%;
      text-align: left;
      margin-bottom: 20px;
      border-style: none;
    }

    ul li ul li a:hover {
      padding-left: 10px;
      border-left: 2px solid #3ca0e7;
      transition: all 0.3s ease;
    }


a {

    text-decoration: none;

    &:hover {
        color: #3CA0E7;
    }
 
}

 ul li ul li a { transition: all 0.5s ease; }













  /* Media Query for Mobile */
  @media screen and (max-width: 768px) {
    .nav {
      display: none;
    }
  .nav {
      display:none
      flex-direction: column-reverse;
      flex-wrap: nowrap;
      align-content: center;
    }
  
    .burger {
      display: none;
    }
    .logo{
      font-size: 18px;
    }
.menu li {
    display: block!important;
}
 

.burger {
   
display: flex;}
  }
    .burger {
      display: flex;
    }
    .logo{
      font-size: 18px;
    }
  }
  
  /* Burger Menu Active */
  .burger-active {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .burger-active .nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  
  .burger-active .nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .burger-active .nav-link {
    display: block;
    margin: 10px 0;
    font-size: 18px;
  }
  
  .burger-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .burger-active span:nth-child(2) {
    opacity: 0;
  }
  
  .burger-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  /* Header background change */
  .header-scrolled {
    background-color: #181715;
  }
body {
        font-size: 1em;
    }

    header h1 {
        font-size: 2em;
    }

    .content {
        font-size: 0.9em;
    }

    header p {
        font-size: 0.9em;
    }

    footer {
        padding: 15px;
    }

    footer p {
        font-size: 0.9em;
    }

    .comments-area h2 {
        font-size: 1.3em;
    }

    .comment-list .comment-body {
        font-size: 0.9em;
    }
    .extra-block {
        padding: 15px;
    }

    .extra-block h2 {
        font-size: 1.3em;
    }

    .extra-block p {
        font-size: 0.9em;
    }


/* NAV */ 
 header h1 {
        font-size: xx-large;
        text-align: center;
        background: beige;
        color: orangered;
    }

    .content {
        font-size: medium;
    }

    header p {
        font-size: 0.8em;
    }

    footer p {
        font-size: 0.8em;
    }

    .comments-area h2 {
        font-size: 1.2em;
    }

    .comment-list .comment-body {
        font-size: 0.8em;
    }
    .extra-block {
        padding: 10px;
    }

    .extra-block h2 {
        font-size: 1.2em;
    }
}
  