body{
    padding: 20px   0px;
}
.flag {
    padding: 130px 50 px 50px 50px;
    text-align: center;
}
/* Add this to your CSS file or in a style tag in the head of your HTML */
.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 5px; /* Adjust the margin as needed */
}

.button-img {
  max-width: 100%; /* Ensure the image doesn't overflow its container */
}
.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
  }

  @media (min-width: 768px) {
    .bd-placeholder-img-lg {
      font-size: 3.5rem;
    }
  }

  .b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
  }

  .b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
  }

  .bi {
    vertical-align: -.125em;
    fill: currentColor;
  }

  .nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
  }

  .nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
  }

  .bd-mode-toggle {
    z-index: 1500;
  }

  .bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
  }
  
.form-signin {
    max-width: 330px;
    padding: 1rem;
  }
  
  .form-signin .form-floating:focus-within {
    z-index: 2;
  }
  
  .form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
  
  .form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  /* Styling for the blurred background overlay */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px); /* Adjust the blur strength as needed */
  z-index: 2; /* Place the overlay behind the popup but above the content */
  
}

/* Styling for the footer popup */
.footer-popup {
  z-index: 99999;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}

.footer-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  max-width: 1200px;
  height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.375rem;
  text-align: right;
  color: var(--bs-body-color);
  animation: modalSlideIn 0.3s ease-out;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.footer-content::-webkit-scrollbar {
  width: 6px;
}

.footer-content::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 3px;
}

.footer-content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.footer-content::-webkit-scrollbar-thumb:hover {
  background: #999;
}
.popup-header {
  overflow-y: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.close-button {
  cursor: pointer;
  margin-right: 10px; /* Adjust margin as needed */
}

#word-display {
  text-align: center;
  font-weight: bold;
  font-size: 36px;
  color: var(--bs-body-color);
  margin-top: 20px;
}

/* Add a blur class to #contento */
#contento.blur-contento {
  filter: blur(5px); /* Adjust the blur amount as needed */
}

/* Styles for the container holding the buttons */
.buttons-container {
  display: flex;
  flex-direction: column; /* Change to column layout */
  background-color: #333333;
  border: 1px solid #c0c0c0;
  padding: 10px; /* Add padding to the container */
}

/* Common styles for both buttons */
.buttons-container a {
  display: flex;
  align-items: center;
  padding: 10px;
  text-decoration: none;
  color: #c0c0c0;
}

/* Styles for the "طريقة النطق" button */
.pronounce-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #c0c0c0; /* Add border between buttons */
}

.pronounce-button img {
  display: block;
  margin: 0 auto;
}

.pronounce-button p {
  text-align: center;
}

/* Styles for the "هنا كلام هنا كلام..." button */
.long-text-button {
  border-bottom: 1px solid #c0c0c0; /* Add border between buttons */
  overflow: hidden; /* Hide overflowing text */
  white-space: pre-line;
  text-overflow: ellipsis; /* Add ellipsis (...) for long text */
  word-wrap: break-word;
}
.word-link {
  word-spacing: 0.0em; /* Adjust the value as needed */
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}


@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
  --bd-violet-bg: #712cf9;
  --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: #6528e0;
  --bs-btn-hover-border-color: #6528e0;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: #5a23c8;
  --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
  z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}

    /* Style the dropdown button (your trigger) */
    .dropbtn {
      background-color: #3498db;
      color: white;
      padding: 12px;
      border: none;
      cursor: pointer;
  }
  
  /* Style the container of the dropdown content */
  .dropdown {
      position: relative;
      display: inline-block;
  }
  
  /* Style the dropdown content (hidden by default) */
  .dropdown-content {
      display: none;
      position: absolute;
      background-color: #f9f9f9;
      min-width: 160px;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  }
  
  /* Style the links inside the dropdown */
  .dropdown-content a {
      padding: 12px 16px;
      text-decoration: none;
      display: block;
  }
  
  /* Show the dropdown content when the button is hovered over */
  .dropdown:hover .dropdown-content {
      display: block;
      max-height: 150px; /* Add max-height and overflow properties for scrolling */
      overflow-y: auto;
  }
/* Add scrollable content styles */
.scrollable-dropdown {
  position: relative;
  overflow: hidden;
  height: 30vw; /* Adjust the desired height */
}

.dropdown-scroll {
  overflow-y: auto;
  max-height: 30vw;
}



div.scrollmenu {
  background-color: #333;
  overflow: auto;
  white-space: nowrap;
}

div.scrollmenu a {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px;
  text-decoration: none;
}

div.scrollmenu a:hover {
  background-color: #777;
}

.editor {
  border: 1px solid #ccc;
  height: 200px;
  padding: 10px;
  overflow: auto;
}






