@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root{
    --bg-black: #0e0e10;
    --text-grey: #cccccc;
}

body {
    margin: 0;
    line-height: inherit;
    overflow-x: hidden !important;
    position: relative;
    font-family: "Roboto", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:"wdth" 100;
    /* background-color: #000; */
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url('../background-pattern.png') repeat center center; */
    opacity: 0.1; /* Adjust opacity */
    z-index: -1; /* Keep it behind content */
}

.bg-black{
    background-color: var(--bg-black) !important;
}

.text-grey{
    color: var(--text-grey);
}


.top_header_icon{
    background-color: #ddd;
    padding: 9px 13px;
    border-radius: 50%;
}
.top_header_social_icon{
    background-color: #ddd;
    border-radius: 50%;
}
.navbar_items{
  position: relative;
    padding: 3px;
    border: 1px solid transparent;
    cursor: pointer;
}
.navbar_items-link{
  display: none;
  width: 250px;
  position: absolute;
  z-index: 9999;
  list-style: none;
  left: -17px;
  margin-top: 10px;
  background: #fff;
  cursor: pointer;
  /* border: 1px solid #ddd; */
  line-height: 2.5rem;
  padding: 0;
}
.navbar_items-link a{
  padding-left: 5px;

}
.navbar_items-link a:hover{
  display: block;
  background-color: #000;
  color: #ddd;
}

.navbar_items:hover{
    color: #001;
}

.dropdown-toggle::after {
    content: none !important;
}

 /* Custom Footer Styling */
 .footer {
    background-color: var(--bg-black);
    color: var(--text-grey);
    padding: 50px 0;
}

.footer a {
    color: var(--text-grey);
    text-decoration: none;
}

.footer a:hover {
    color: #007bff;
    text-decoration: underline;
}

.footer h5 {
    margin-bottom: 20px;
    font-weight: bold;
}

.footer .social-icons a {
    margin: 0 10px;
    font-size: 24px;
    color: var(--text-grey);
}

.footer .social-icons a:hover {
    color: #007bff;
    transform: scale(1.2);
    transition: all 0.3s ease-in-out;
}

.newsletter {
    position: relative;
    justify-content: space-between;
    align-items: center;
    background-color: var(--text-grey);
    border-radius: 50px;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.newsletter input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 14px;
    outline: none;
}

.newsletter input:focus {
    border-color: #007bff;
}

.newsletter button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    position: absolute;
    right: 4%;
}

.newsletter button:hover {
    background-color: #0056b3;
}

/* === Post details ===*/
/* Custom Styles for Detail Page */
.detail-page {
    background-color: #f8f9fa;
    padding: 20px 5px;
}

.card-detail-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-top: 20px;
}

.card-description {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-top: 20px;
}

.back-button {
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 20px;
    margin-top: 40px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.back-button:hover {
    background-color: #0056b3;
}

.right-sidebar {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.right-sidebar h5 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    text-transform: uppercase;
}

.right-sidebar ul {
    padding-left: 0;
}

.right-sidebar ul li {
    margin-bottom: 15px;
}

.right-sidebar ul li a {
    font-size: 16px;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.right-sidebar ul li a:hover {
    color: #0056b3;
    padding-left: 10px;
    font-weight: bold;
}

.right-sidebar ul li a:focus {
    color: #0056b3;
    text-decoration: underline;
}

/* Custom Card Styling */
.custom-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}

.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.custom-card img {
    height: 200px;
    object-fit: cover;
}

.custom-card .card-body {
    text-align: center;
}

.btn-custom {
    background-color: #007bff;
    color: white;
    border-radius: 20px;
    padding: 10px 20px;
    transition: background 0.3s ease-in-out;
}

.btn-custom:hover {
    background-color: #0056b3;
}

.category_image{
    background-image: url('../category-background.jpg');
    position: relative;
}

/* == users == */
.btn-toggle {
    display: inline-flex;
    align-items: center;
    padding: .25rem .5rem;
    font-weight: 600;
    color: rgba(0, 0, 0, .65);
    background-color: transparent;
    border: 0;
  }
  .btn-toggle:hover,
  .btn-toggle:focus {
    color: rgba(0, 0, 0, .85);
    background-color: #d2f4ea;
  }
  
  .btn-toggle::before {
    width: 1.25em;
    line-height: 0;
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
    transition: transform .35s ease;
    transform-origin: .5em 50%;
  }
  
  .btn-toggle[aria-expanded="true"] {
    color: rgba(0, 0, 0, .85);
  }
  .btn-toggle[aria-expanded="true"]::before {
    transform: rotate(90deg);
  }
  
  .btn-toggle-nav a {
    display: inline-flex;
    padding: .1875rem .5rem;
    margin-top: .125rem;
    margin-left: 1.25rem;
    text-decoration: none;
  }
  .btn-toggle-nav a:hover,
  .btn-toggle-nav a:focus {
    background-color: #d2f4ea;
  }
  
  .scrollarea {
    overflow-y: auto;
  }
  