:root {
  --black: #000000;
  --white: #ffffff;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* Font Sizes */
  --font-normal: 2.0em;
  --font-small: 0.8125rem;
  /* Sidebar */
  --sidebar-width: 242px;
  --content-max-width: 860px;
}

/*TITLE STYLE*/

/* Global Font Style */
body {
  font-family: 'Lato', sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Content Container Styling */
.content-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
}

/* Main Title Styling */
h1 {
  font-size: 2.2em;
  font-weight: lighter;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

/* Lead Paragraph Styling */
.styled-paragraph {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #2c3e50;
  background: #ffffff;
  padding: 24px 28px;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.styled-paragraph:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.493);
}

.styled-paragraph::first-line {
  font-weight: 600;
  color: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
}

/*ARTICLE STYLE*/

/* Global Font Style */
body {
  font-family: 'Lato', sans-serif; /* Minimalist font */
}

/* Section Title Styling */
.section-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #000000;
  margin-bottom: 20px;
  border-bottom: 2px solid #000000;
  padding-bottom: 8px;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

/* Section Intro Paragraph */
.section-intro {
  font-size: 1.1em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Subsection Title Styling */
.subsection-title {
  font-size: 1.4em;
  font-weight: 500;
  color: #000000;
  margin: 25px 0 15px;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.subsection-title:hover {
  color: #610a0a;
}

/* Hidding Article */
.visible-content {
  margin-bottom: 20px;
}

.hidden-content {
  overflow: hidden;
  max-height: 200px; /* Limit height for blur effect */
  position: relative;
  color: #666;
  filter: blur(4px); /* Apply blur effect */
  opacity: 0.8; /* Slight transparency for a soft look */
  transition: max-height 0.5s ease, filter 0.5s ease, opacity 0.5s ease; /* Smooth transition */
}

.hidden-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px; /* Height of the fade-out gradient */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 100%);
  pointer-events: none; /* Ensure it doesn't block clicks */
}

.hidden-content.show {
  max-height: none;
  filter: none; /* Remove blur on reveal */
  opacity: 1; /* Fully visible */
}

.hidden-content.show::after {
  display: none; /* Hide the gradient when fully revealed */
}

.read-more-container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 20px;
}

.readmore-btn {
  position: relative;
  background: rgb(255, 255, 255);
  box-shadow: #00000038 0px 0px 10px;
  border: none;
  padding: 10px 20px;
  color: #333333;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.read-text {
font-family: 'Inter', sans-serif;
font-weight: 400;
font-size: 1.4rem;
color: #353535;
text-align: center;
text-transform: capitalize;
transition: color 0.4s;
}

.readmore-btn::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  position: relative;
  top: -2px;
}

.readmore-btn:hover {
  color: #666;
}

.readmore-btn:hover::after {
  transform: rotate(45deg) translateY(3px);
}

.readmore-btn.active::after {
  transform: rotate(-135deg);
}

.readmore-btn.active:hover::after {
  transform: rotate(-135deg) translateY(-3px);
}

/* List Styling */
.item-list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.item-list li {
  padding: 12px;
  border-left: 4px solid #a00000;
  margin-bottom: 10px;
  background-color: #cecece;
  color: #000000;
  border-radius: 5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.item-list li:hover {
  background-color: #929292;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.item-list li strong {
  color: #000000;
}

/*CONSIDERATIONS STYLE*/

/* Container for considerations */
.considerations-section {
  padding: 20px;
  border-left: 4px solid #2c7a7b; /* Accent color for attention */
  background-color: #f0f4f5;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Heading style */
.considerations-section h6 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #2c7a7b;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* List item style */
.considerations-section ul {
  padding-left: 20px;
  list-style-type: none; /* Remove default bullets */
}

.considerations-section ul li {
  font-size: 1rem;
  color: #333;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

/* Add custom icon for each list item */
.considerations-section ul li::before {
  content: "✔"; /* Checkmark or any relevant icon */
  color: #2c7a7b;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.1rem;
  transform: translateY(2px);
}

/* HAMBURGER MENU */
.hamburger-menu {
display: block;
position: absolute; /* Ensure it stays at the top-left */
top: 10px; /* Adjust vertical alignment */
left: 10px; /* Adjust horizontal alignment */
cursor: pointer;
font-size: 20px;
user-select: none;
z-index: 1000; /* Ensure it stays above other elements */
width: 40px;  /* Makes the entire hamburger area clickable */
height: 40px; /* Adjust height to match */
}

.checkmark {
position: relative;
top: 0;
left: 0;
height: 1.3em;
width: 1.3em;
}

.checkmark span {
width: 32px;
height: 2px;
background-color: white;
position: absolute;
transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.checkmark span:nth-child(1) {
top: 10%;
}

.checkmark span:nth-child(2) {
top: 50%;
}

.checkmark span:nth-child(3) {
top: 90%;
}

/* ACTIVE STATE */
.hamburger-menu.active .checkmark span:nth-child(1) {
top: 50%;
transform: translateY(-50%) rotate(45deg);
}

.hamburger-menu.active .checkmark span:nth-child(2) {
top: 50%;
transform: translateY(-50%) rotate(-45deg);
}

.hamburger-menu.active .checkmark span:nth-child(3) {
transform: translateX(-50px);
opacity: 0;
}

header {
  position: relative;
  z-index: 10;  /* Ensure the header is always on top */
  }
  
/* Responsive styling for mobile */
@media (max-width: 768px) {
header {
  padding: 10px; /* Reduce padding for smaller screens */
}

.container-1 {
  display: flex; /* Flex to allow the button to remain visible */
  justify-content: flex-end; /* Align to the right */
  width: 100%; /* Full width to ensure button visibility */
}

header .button {
  font-size: 14px; /* Slightly smaller text */
  padding: 8px 12px; /* Adjust button padding */
  position: relative; /* Change position to relative for better visibility */
  right: 0; /* Align button to the right */
  margin: 10px 0; /* Add margin for spacing */
}
}

/* Centering styles for container-1 */
.container-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px; /* Space between welcome message and heading */
}

/* Continuous Shine Keyframes */
@keyframes continuousShine {
  0% {
    background-position: -200%;
  }
  100% {
    background-position: 200%;
  }
}

/*WELCOME MESSAGE*/

/* Welcome Message Styling */
.welcome-message {
  font-size: 18px;
  font-weight: 100;
  margin: 10px 0;
  opacity: 0; /* Start invisible */
  transform: translateY(10px); /* Slightly offset for the slide effect */
  transition: opacity 1s ease, transform 1s ease; /* Smooth fade-in and slide */

  /* Shine Effect */
  color: #ffffff;
  position: relative;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; /* Text will use the gradient */
  animation: continuousShine 3s linear infinite; /* Continuous shine */
}

.welcome-message.visible {
  opacity: 1; /* Fade in */
  transform: translateY(0); /* Slide into place */
}

/* Hidden state to prevent rendering */
.hidden {
  display: none;
}

@media (max-width: 600px) {
  .welcome-message {
    font-size: 16px;
  }
}

/* PAGE TITLE */
.heading {
  font-family: 'Helvetica Neue', Arial, sans-serif; /* Clean sans-serif font */
  font-size: 2.5rem; /* Large, prominent text */
  font-weight: lighter; /* Light weight for elegance */
  text-transform: uppercase; /* All caps for a strong look */
  text-align: center; /* Center align the text */
  color: #b4b4b4; /* Neutral dark gray */
  margin: 20px 0; /* Add space around the heading */
  padding-bottom: 10px; /* Space between text and underline */

  /* Animation setup */
  opacity: 0; /* Initially hidden */
  transform: translateY(20px); /* Start slightly below */
  animation: fadeInUp 1s ease-out forwards; /* Fade and slide in */
}

/* Keyframes for the animation */
@keyframes fadeInUp {
  0% {
      opacity: 0;
      transform: translateY(20px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

/* LOGOUT BUTTON */
.Btn {
--black: #000000;
--ch-black: #000000;
--eer-black: #000000;
--night-rider: #000000;
--white: #ffffff;
--af-white: #f3f3f3;
--ch-white: #e1e1e1;
display: flex;
align-items: center;
justify-content: flex-start;
width: 45px;
height: 45px;
border: none;
border-radius: 2px;
cursor: pointer;
position: relative;
overflow: hidden;
transition-duration: .3s;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.199);
background-color: transparent;
}

button:focus {
  outline: none;
}

#logout-button{
position: absolute; /* Position the button absolutely within the auth-placeholder container */
top: 1px;          /* Adjust this value as needed */
right: 1px;        /* Adjust this value as needed */
z-index: 10;        /* Ensure it's above other elements */
}


/* Plus sign */
.sign {
width: 100%;
transition-duration: .3s;
display: flex;
align-items: center;
justify-content: center;
}

.sign svg {
width: 17px;
}

.sign svg path {
fill: var(--af-white);
}

/* Text */
.text {
position: absolute;
right: 0%;
width: 0%;
opacity: 0;
color: var(--af-white);
font-size: 1.2em;
font-weight: lighter;
transition-duration: .3s;
}

/* Hover effect on button width */
.Btn:hover {
width: 125px;
border-radius: 5px;
transition-duration: .3s;
}

.Btn:hover .sign {
width: 30%;
transition-duration: .3s;
padding-left: 20px;
}

/* Hover effect button's text */
.Btn:hover .text {
opacity: 1;
width: 70%;
transition-duration: .3s;
padding-right: 10px;
}

/* Button click effect */
.Btn:active {
transform: translate(2px ,2px);
}

/* Hide the logout button by default */
.hidden {
display: none;
}

/* LOGOUT CONFIRMATION */
/* Style for the popup overlay */
#popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Slightly dark overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  animation: fadeIn 0.3s forwards; /* Smooth fade-in effect */
}

/* Keyframes for overlay fade-in animation */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Style for the popup box */
#logout-popup {
  position: relative;
  background-color: #000000cc !important; /* Semi-transparent black */
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  max-width: 300px;
  text-align: center;
  transform: scale(0.8);
  animation: scaleIn 0.3s forwards; /* Smooth scale-in effect */
  overflow: hidden; /* Constrain the waves */
  z-index: 10; /* Ensure content layers above the waves */
}

/* Ensure text and buttons stay above waves */
#logout-popup p,
#logout-popup button {
  position: relative;
  z-index: 20; /* Higher than waves */
}
/* Keyframes for popup scale-in animation */
@keyframes scaleIn {
  to {
    transform: scale(1);
  }
}

/* Style for the popup text */
#logout-popup p {
  font-size: 1.1rem;
  color: #dddddd;
  margin-bottom: 16px;
  font-family: Arial, sans-serif;
  text-align: center; /* Optional: Align text to the center */
}

/* Base style for the popup buttons */
#logout-popup button {
  background-color: #990505af; /* Primary red color */
  color: #fff;
  padding: 12px 20px; /* Increased padding for a better feel */
  border: none;
  border-radius: 12px; /* More rounded for a modern look */
  cursor: pointer;
  font-size: 1rem;
  font-weight: lighter;
  transition: all 0.3s ease; /* Smoother and comprehensive transitions */
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add subtle shadow for depth */
}

/* Hover effect for the buttons */
#logout-popup button:hover {
  background-color: #610606; /* Darker red on hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Enhance shadow on hover */
  transform: translateY(-2px); /* Add a lift effect */
}

/* Style for the cancel button */
#logout-popup button#cancel-logout {
  background-color: #202020cb;
  color: #c4c4c4;
  margin-left: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Consistent shadow with other buttons */
}

/* Hover effect for the cancel button */
#logout-popup button#cancel-logout:hover {
  background-color: #000000;
  color: #f2f2f2; /* Slightly brighter text on hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* Waves styling */
.wave {
  position: absolute;
  width: 420px;
  height: 550px;
  opacity: 0.4;
  border-radius: 40%;
  animation: wave 15s infinite linear;
  z-index: 0; /* Ensure waves are behind content */
}

.wave1 {
  top: -30%;
  left: -40%;
  animation-duration: 15s;
}

.wave2 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-duration: 12s;
}

.wave3 {
  top: 50%;
  left: 0;
  animation-duration: 18s;
}

/* Popup buttons container */
.popup-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  position: relative; /* Ensure layering works */
  z-index: 10; /* Higher than waves */
}

/* Wave animation keyframes */
@keyframes wave {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* SIGN IN AND SIGN UP POP UP */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Darker overlay for better contrast */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.popup.hidden {
  display: none;
}

.popup-content {
  position: relative;
  padding: 25px 40px;
  border-radius: 12px; /* Softer corners */
  background: rgba(0, 0, 0, 0.8); /* Semi-transparent for visibility */
  box-shadow: 0px 8px 28px -9px rgba(0, 0, 0, 0.45);
  overflow: hidden; /* Ensures waves stay inside */
  text-align: center;
}

/* Waves styling */
.wave {
  position: absolute;
  width: 420px; /* Reduced width */
  height: 550px; /* Reduced height */
  background: linear-gradient(744deg, #3f3f3f, #7c7c7c 60%, #2c2c2c);
  opacity: 0.4;
  border-radius: 40%;
  animation: wave 15s infinite linear; /* Faster animation */
}

.wave1 {
  top: -30%; /* Adjusted position */
  left: -40%;
  animation-duration: 15s;
}

.wave2 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-duration: 12s;
}

.wave3 {
  top: 50%;
  left: 0;
  animation-duration: 18s;
}

/* Animating the rotation */
@keyframes wave {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Headline and description styling */
.popup-content h2,
.popup-content p {
  position: relative;
  font-weight: lighter;
  color: #ffffff;
  z-index: 10; /* Keeps text above waves */
}

.popup-content h2 {
  margin-bottom: 15px;
  font-size: 2.0em;
}

.popup-content p {
  margin-bottom: 25px;
  font-size: 1.1em;
}

/* Buttons container */
.popup-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  z-index: 10; /* Keeps buttons above waves */
}

/* Buttons container */
.popup-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  position: relative; /* Ensure layering works */
  z-index: 20; /* Higher than waves */
}

.popup-buttons .btn {
  padding: 1.3em 3em;
  text-decoration: none;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: #f7f7f7;
  background-color: #000000c5;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
}

.popup-buttons .btn:hover {
  background-color: #460000cb;
  color: #fff;
}

.popup-buttons .btn:active {
  transform: translateY(-1px);
}

/* Animation for smooth appearance */
@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/*OPTIMIZING FOR MOBILE*/

form {
width: 100%;
max-width: 100%;
padding: 0 10px;  /* Ensure padding on both sides */
box-sizing: border-box;  /* Include padding in width calculations */
}

input, select, textarea {
width: 100%;
max-width: 100%;
margin-bottom: 10px;
box-sizing: border-box;
}

.menu {
z-index: 11;  /* Ensure the menu has a higher z-index */
}

@media (max-width: 768px) {
.content {
    font-size: 16px;  /* Adjust font size for mobile */
    padding: 10px;    /* Add padding for spacing */
}

img {
    max-width: 100%;  /* Ensure images don't overflow */
    height: auto;     /* Maintain aspect ratio */
}

}

/*SCROLLBAR*/

html {
scrollbar-width: thin; /* For Firefox */
scrollbar-color: #990c0c #ffffff; /* For Firefox */
}

body::-webkit-scrollbar {
width: 12px; /* Width of the scrollbar */
}

body::-webkit-scrollbar-track {
background: #920e0e; /* Background of the track */
border-radius: 10px; /* Rounded corners */
}

body::-webkit-scrollbar-thumb {
background-color: #1a1a1a; /* Scrollbar color */
border-radius: 10px; /* Rounded corners */
border: 2px solid #333; /* Border for the scrollbar thumb */
}

body::-webkit-scrollbar-thumb:hover {
background-color: #555; /* Color when hovered */
}

body::-webkit-scrollbar-thumb:active {
background-color: #777; /* Color when clicked */
}

/*THEME*/

.theme-switch__checkbox:checked + .theme-switch__container {
  background-color: var(--container-night-bg);
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__circle-container {
  left: calc(100% - var(--circle-container-offset) - var(--circle-container-diameter));
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__circle-container:hover {
  left: calc(100% - var(--circle-container-offset) - var(--circle-container-diameter) - 0.187em)
}

.theme-switch__circle-container:hover {
  left: calc(var(--circle-container-offset) + 0.187em);
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__moon {
  -webkit-transform: translate(0);
  -ms-transform: translate(0);
  transform: translate(0);
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__clouds {
  bottom: -4.062em;
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__stars-container {
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

  
.ui-switch input:checked+.slider .circle {
  left: calc(100% - var(--circle-diameter));
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjAiIHdpZHRoPSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KICAgIDxwYXRoIGZpbGw9IiNmZmYiCiAgICAgICAgZD0iTTQuMiAyLjVsLS43IDEuOC0xLjguNyAxLjguNy43IDEuOC42LTEuOEw2LjcgNWwtMS45LS43LS42LTEuOHptMTUgOC4zYTYuNyA2LjcgMCAxMS02LjYtNi42IDUuOCA1LjggMCAwMDYuNiA2LjZ6IiAvPgo8L3N2Zz4=");
}

.ui-switch input:active+.slider .circle::before {
  -webkit-transition: 0s;
  -o-transition: 0s;
  transition: 0s;
  opacity: 1;
  width: 0;
  height: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  line-height: 1.15;
}
a{
  color: var(--black);
}
h1,
h2,
h4,
h5,
h6 {
  color: var(--black);
  font-weight: lighter;
  text-align: left;
}

/*H6*/
.centered-heading {
  text-align: center; /* Centers the text horizontally */
  margin: 0 auto;     /* Optional: Centers the h6 element itself if needed */
  font-size: 1.25em;  /* Optional: Adjust the font size */
}

h1, h2 {
    text-align: center;
}

/*HEADER*/

.header {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: var(--sidebar-width);
  background: var(--black);
  color: #fff
}

/* SITE TITLE */
.header .site-title {
  color: var(--white);
  display: block;
  text-decoration: none;
}

/* Shine Keyframes (renamed to "shineEffect") */
@keyframes shineEffect {
  0% {
    background-position: 0;
  }
  60% {
    background-position: 200px;
  }
  100% {
    background-position: 240px;
  }
}

/* Fitness Title Styling */
.fitness-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  color: #222;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to right, #9f9f9f 0, #fff 10%, #868686 20%);
  background-position: 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; /* Text gradient effect */
  
  animation: fadeZoomIn 2s ease-in-out forwards, shineEffect 3s linear infinite; /* Use renamed animation */
  animation-fill-mode: forwards;
}

/* Fade-in and Zoom Keyframes */
@keyframes fadeZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.header {
  background: rgba(255, 255, 255, 0.3);
  border-color: transparent;
  font-size: 1rem;
  padding-top: 0.5rem
}

.header{
  background: rgb(0, 0, 0);
  border-color: transparent
}

/* NAVBAR TOGGLER */
.navbar-toggler {
background: none;
border: none;
padding: 0;
margin: 0;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
}

.navbar-toggler:focus {
outline: none;
}

/* NAV ITEMS */
.nav-item {
list-style: none;
margin: 4px 0;
background: linear-gradient(135deg, #000000, #000000);
border-radius: 8px;
box-shadow: 0 4px 8px rgb(0, 0, 0);
max-width: 250px;
width: 100%;
text-align: center;
transition: background 0.3s, transform 0.2s;
}

.nav-item:hover {
transform: scale(1.05);
}

.nav-link {
text-decoration: none;
padding: 8px 12px;
color: #e0e0e0;
font-weight: bold;
font-size: 16px;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
transition: color 0.3s;
}

.nav-link:hover {
color: #ffffff;
}

.nav-link i {
font-size: 18px;
transition: transform 0.3s;
}

.nav-item:hover i {
transform: rotate(10deg);
}

.nav-link, .nav-link-alt, .nav-link-custom {
color: #fff;
background-color: transparent;
transition: background-color 0.3s, color 0.3s;
padding: 10px 15px;
border-radius: 5px;
display: block;
text-decoration: none;
}

.nav-link.active, .nav-link-alt.active, .nav-link-custom.active {
color: #fff;  /* Ensure text stays visible */
}

/* CONTACT BUTTON */
.nav-item-alt {
margin: 4px 0;
width: 100%;
max-width: 250px;
}

.nav-link-alt {
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
color: #f1f1f1;
padding: 10px 18px;
background-color: #5a5a5a;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
transition: background-color 0.3s, transform 0.2s;
}

.nav-link-alt:hover {
text-decoration: none;
background-color: #4a4a4a;
transform: scale(1.05);
color: inherit; /* Prevent the link from changing color on hover */
}

/* HOW IT WORKS BUTTON */
.nav-item-custom {
margin: 4px 0;
background: linear-gradient(135deg, #000000, #000000);
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
width: 100%;
max-width: 250px;
transition: background 0.3s, transform 0.2s;
}

.nav-link-custom {
text-decoration: none;
color: #fff;
font-weight: lighter;
letter-spacing: 1px;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
transition: background-color 0.3s, transform 0.2s;
}

.nav-link-custom:hover {
text-decoration: none;
color: #636160;
transform: scale(1.05);
}

/* SOCIAL ICONS */
.social-icons {
display: flex;
justify-content: center; /* Center icons horizontally */
gap: 16px; /* Space between icons */
margin-top: 12px;
}
.social-icons a {
font-size: 22px;
color: #f1f1f1;
transition: transform 0.2s;
}

.social-icons a:hover {
transform: scale(1.2);
}

@media (max-width: 600px) {
.nav-link, .nav-link-alt, .nav-link-custom {
    font-size: 14px;
}

.social-icons a {
    font-size: 20px;
}
}

/* NAVBAR */
.navbar {
display: flex;
align-items: center; /* Center items horizontally */
justify-content: center; /* Center items vertically */
padding: 10px;
background-color: #000000;
width: 100%;
gap: 20px; /* Space between elements */
}

.navbar-nav {
display: flex;
flex-direction: column; /* Arrange items in a column */
align-items: center; /* Center items horizontally */
list-style-type: none; /* Remove default list styling */
padding: 0; /* Remove default padding */
margin: 0; /* Remove default margin */
}

.header .navbar {
  padding: 2rem 1rem
}

.header .navbar-dark .navbar-toggler {
  border: none;
  padding: 0.25rem 0.6rem;
}

.header .navbar-dark {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1
}

.header .navbar-dark-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(256,256,256, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.header{
  font-weight: bold;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  color: rgb(255, 255, 255);

}

.header .active {
  color: rgba(255, 255, 255, 0.5)
}

.header .active {
  text-decoration: none
}

.logo {
  display: block;
  width: 100px;
  height: auto;
  margin-top: -4px; /* Adjust this value to move it down */
}

/*SHARE BUTTON*/

.share-button {
  cursor: pointer;
  padding: 0.5em;
  font-size: 1em;
  font-weight: lighter;
  width: 7em;
  margin-top: -7px; /* Adjust this value to move it higher */
  aspect-ratio: 1/0.25;
  color: white;
  background: #000000;
  background-size: cover;
  background-blend-mode: overlay;
  border-radius: 0.5em;
  outline: 0.1em solid #353535;
  border: 0;
  box-shadow: 0 0 1em 1em rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  position: relative;
}

.share-button:hover {
  transform: scale(1.1);
  box-shadow: black;
  background: rgb(119, 11, 11);
  outline: 0;
}

.icon {
fill: white;
width: 1em;
aspect-ratio: 1;
top: 0;
left: 0;
margin: auto;
transform: translate(-35%, 10%);
}


/* Modal Container */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 12%; /* Move modal down by 20% of the viewport height */
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 10000; /* Ensure modal stays above everything */
}

/* Heading Styles */
h3 {
  color: #fff;
  font-weight: 450;
}

/* Modal Content */
.modal-content {
  background: #000000b6; /* Semi-transparent black */
  color: #000; /* Text color inside the modal */
  padding: 20px;
  border-radius: 8px;
  width: 100%; /* Make it responsive */
  max-width: 400px; /* Limit the maximum width */
  text-align: center;
  position: relative; /* Position relative for the close button */
  margin-top: 0; /* Remove the previous margin-top */
  z-index: 11000; /* Ensure content stays above modal background */
}

/* Close Button */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

/* Additional Styles for Responsiveness */
@media (max-width: 500px) {
  .modal-content {
    width: 90%; /* Make modal responsive on smaller screens */
  }
}

/* social */ 
.wrapper {
display: inline-flex;
list-style: none;
height: 120px;
width: 100%;
padding-top: 40px;
font-family: "Poppins", sans-serif;
justify-content: center;
}

.wrapper .icon {
position: relative;
background: #fff;
border-radius: 50%;
margin: 10px;
width: 50px;
height: 50px;
font-size: 18px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
cursor: pointer;
transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon a {
color: inherit; /* Inherit the icon color */
text-decoration: none; /* Remove underline */
}

.wrapper .icon a:hover {
color: inherit; /* Prevent the link from changing color on hover */
}

/* Adjust tooltip styles */
.wrapper .tooltip {
position: absolute;
top: -40px; /* Adjusted for better alignment */
left: 50%; /* Center tooltip horizontally */
transform: translateX(-50%); /* Center tooltip */
font-size: 14px;
background: #fff;
color: #333; /* Set text color to dark for better visibility */
padding: 5px 8px;
border-radius: 5px;
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
opacity: 0;
pointer-events: none;
transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
position: absolute;
content: "";
height: 8px;
width: 8px;
background: #fff; /* Default background for pointer */
bottom: -3px;
left: 50%;
transform: translate(-50%) rotate(45deg);
transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
opacity: 1;
visibility: visible;
pointer-events: auto;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

/* Icon hover styles */
.wrapper .facebook:hover {
background: #1877f2;
}

.wrapper .twitter:hover {
background: #393a3a;
}

.wrapper .instagram:hover {
background: #e4405f;
}

.wrapper .linkedin:hover {
background: #0077b5; /* LinkedIn color */
}

.wrapper .whatsapp:hover {
background: #25D366; /* WhatsApp color */
}

/* Tooltip colors for each icon */
.wrapper .facebook:hover .tooltip {
background: #1877f2; /* Facebook tooltip color */
color: #fff;
}

.wrapper .facebook:hover .tooltip::before {
background: #1877f2; /* Facebook tooltip pointer color */
}

.wrapper .twitter:hover .tooltip {
background: #393a3a; /* Twitter tooltip color */
color: #fff;
}

.wrapper .twitter:hover .tooltip::before {
background: #393a3a; /* Twitter tooltip pointer color */
}

.wrapper .instagram:hover .tooltip {
background: #e4405f; /* Instagram tooltip color */
color: #fff;
}

.wrapper .instagram:hover .tooltip::before {
background: #e4405f; /* Instagram tooltip pointer color */
}

.wrapper .linkedin:hover .tooltip {
background: #0077b5; /* LinkedIn tooltip color */
color: #fff;
}

.wrapper .linkedin:hover .tooltip::before {
background: #0077b5; /* LinkedIn tooltip pointer color */
}

.wrapper .whatsapp:hover .tooltip {
background: #25D366; /* WhatsApp tooltip color */
color: #fff;
}

.wrapper .whatsapp:hover .tooltip::before {
background: #25D366; /* WhatsApp tooltip pointer color */
}


/* Copy Section */
.copy-section {
margin: 20px 0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
}

.copy-section input {
width: 75%;
padding: 10px;
border: none;
border-bottom: 2px solid #555;
background: transparent;
color: white;
font-size: 16px;
outline: none;
}

[type="text"] {
  margin-top: 10px;
  padding: 10px;
  width: 100%;
  border-radius: 5px;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.418);
}

.copy-section .copy-btn {
padding: 10px 16px;
background-color: #c00d0d;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s;
}

.copy-section .copy-btn:hover {
background-color: #810505;
}

/* Copy Link Section */
.copy-section {
margin-top: 20px;
display: flex;
justify-content: space-between;
background-color: #444;
padding: 10px;
border-radius: 8px;
display: flex;
align-items: center;
gap: 10px;
margin: 20px 0; /* Adjust margin as needed */
}

.copy-section input {
width: 75%;
background: none;
border: none;
color: white;
font-size: 16px;
padding: 5px;
outline: none;
}

.copy-btn {
cursor: pointer;
background-color: #990c0c;
color: white;
border: none;
border-radius: 4px;
padding: 8px;
font-size: 14px;
}

  #shareLink {
      width: 100%;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: 15px;
  }

  .copy-btn {
      padding: 10px 15px;
      border: none;
      border-radius: 5px;
      background-color: #007bff;
      color: white;
      font-size: 14px;
      cursor: pointer;
      transition: background-color 0.3s ease;
  }

  .copy-btn:hover {
      background-color: #0056b3;
  }

  #customAlert {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      background-color: #8a0808;
      color: #fff;
      padding: 10px 20px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 300;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      opacity: 0;
      transition: opacity 0.3s ease, bottom 0.3s ease;
      z-index: 1000;
  }

  #customAlert.show {
      opacity: 1;
      bottom: 40px;
  }

  #customAlert.hidden {
      opacity: 0;
  }
  
/*SOCIAL ICON*/

.social-list a {
width: 32px;
height: 32px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background-color: #cccaca;
color: #000000;
text-decoration: none;
font-size: 16px;
transition: background-color 0.3s ease, transform 0.3s ease;
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

/* Hover Effects for Individual Social Icons */
.social-list li:nth-child(1) a:hover {
background-color: #b81212; 
transform: scale(1.1);
}

.social-list li:nth-child(2) a:hover {
background-color: #1d85c5; 
transform: scale(1.1);
}

.social-list li:nth-child(3) a:hover {
background-color: #333;
transform: scale(1.1);
}

.social-list li:nth-child(4) a:hover {
background-color: #e4405f; 
transform: scale(1.1);
}

.social-list li:nth-child(5) a:hover {
background-color: #520e80; 
transform: scale(1.1);
}

/* Optional: Active State */
.social-list a:active {
transform: scale(0.95);
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}


.main-wrapper {
  margin-left: var(--sidebar-width);
  background: #fff;
}

.main-wrapper .container {
  max-width: var(--content-max-width);
}
.page-title {
  position:sticky;
  top:0;
  z-index:9999;
  transition:all .2s;
}
.sticky{
  padding:1em 0 !important;
}

.footer {
  text-align: center ;
  margin: 0 auto;
  padding: 25px 0; /* Adjust the padding as needed */
  font-size: 1em; /* Adjust the font size as needed */
  background-color: #535353; /* Optional: Add a background color */
  color: #ffffff; /* Optional: Change the text color */
  width: 100%; /* Ensure the footer spans the full width of the page */
}

.gradient{
  background: rgb(43,43,43);
  background: linear-gradient(151deg, var(--black) 0%, var(--black) 35%,var(--black) 100%) !important;
}
.content .post .title {
  font-size: 1.275rem
}

.content .post .title a {
  color: var(--black)
}

.content .post .title a:hover {
  color: var(--black)
}

.content .post .post-thumb {
  max-width: 160px;
  border-radius: 2px
}

.content .post .intro {
  font-size: 0.875rem
}

.content .post .more-link {
  font-size: var(--font-small);
}

.content .title {
  font-weight: bold;
  font-size: 2rem
}

.content .content-body p,
.content .content-body li {
  font-size: 1.125rem;
  line-height: 1.6
}

.content .content-body h1 {
  font-size: 2.125rem
}

.content .content-body h2 {
  font-size: 2rem
}

.content .content-body h3 {
  font-size: 1.75rem
}

.content .content-body h4 {
  font-size: 1.5rem
}

.content .content-body h5 {
  font-size: 1.25rem
}

.content .content-body h6 {
  font-size: 1.125rem
}

.content .image-caption {
  color: #8f8f8f;
  font-size: 0.875rem
}

.content .image-caption a {
  color: #8f8f8f;
  text-decoration: none
}

.content .blockquote {
  font-family: Georgia, "Times New Roman", Times, serif;
  border-left: 2px solid var(--black);
  font-size: 1.5rem
}

.content .blockquote p {
  font-size: 1.5rem
}

@media (prefers-reduced-motion: reduce) {
  .social-list a {
      transition: none
  }
  .btn {
      transition: none
  }
}

@media (min-width: 768px) {
 
  
}

@media (max-width: 991.98px) {
  .page-title {
      position:static;
  }
  .header {
      position: sticky;
      width: inherit;
      height: auto
  }

  .header .site-title {
    width: 100%;
    position: absolute;
    left: 0;
    top: 1.2rem;
    display:block;
}

  .header .btn-primary {
      width: 100%
  }

  .header .navbar {
      padding: 1rem
  }

  .main-wrapper {
      margin-left: 0
  }
}

@media (max-width: 767.98px) {
  
}

/*CUSTOM TEXT*/

.custom-text {
  font-family: 'Arial', sans-serif; /* Change to the desired font */
  font-size: 14px; /* Adjust the size as needed */
  color: #333; /* Text color */
  
  background-color: #f0f0f0; /* Background color */
  padding: 10px 20px; /* Space inside the rectangle */
  border-radius: 15px; /* Rounded edges */
  
  border: 2px solid #ccc; /* Border with a subtle color */
  display: inline-block; /* Keep the rectangle close to the text size */
  
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1); /* Optional shadow */
}

/*HOW IT WORKS??*/

.shortcut {
  padding: 10px;
  text-align: center;
  font-weight: bold;
}

.shortcut a {
  color: #0e4988; /* Customize color as needed */
  text-decoration: none;
}

.shortcut a:hover {
  text-decoration: underline;
}

/* SHORTCUT BUTTON*/

/* Ensure the checkbox stays hidden */
input[type="checkbox"] {
  display: none;
}

/* Floating Shortcut Menu Styles */
.shortcut-menu {
  position: fixed;
  top: 50%;
  right: 0px;
  transform: translateY(-50%);
  width: 50px;
  z-index: 9999;
}

/* Show the menu when checkbox is checked */
#toggle-menu:checked ~ nav {
  right: 0;
}

/* Burger Icon Container */
.burger {
  width: 40px; /* Adjusted size for better fit */
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-around; /* Even spacing between lines */
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: 300ms;
  background: transparent; /* Transparent by default */
  border-radius: 50%; /* Perfect circle */
  padding: 8px; /* Add padding for proper spacing */
  box-sizing: border-box;
}

/* Burger Lines */
.burger span {
  width: 100%; /* Full width inside the container */
  height: 3px; /* Thinner lines */
  background-color: rgb(0, 0, 0);
  border-radius: 5px;
  transition: transform 300ms, opacity 300ms, background 300ms;
}

/* Animation: Close (Rotate Lines) */
#toggle-menu:checked + label span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#toggle-menu:checked + label span:nth-child(2) {
  opacity: 0; /* Hide the middle line */
}

#toggle-menu:checked + label span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hover Effect: Change Background and Scale */
.burger:hover {
  background: #740707; /* Light grey background on hover */
  border-radius: 50%;
  scale: 1.1;
}

.burger:hover span {
  background: #e8e8e8;
}

/* Shortcut Options */
.shortcut-options {
  position: fixed;
  top: 50%;
  right: -250px;
  transform: translateY(-50%);
  background: #000000e7;
  width: 220px;
  padding: 15px;
  border-radius: 12px 0 0 12px;
  transition: right 0.9s ease;
  overflow: hidden;
}

/* Close Button */
.close-button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  position: absolute;
  top: 0.5px;
  right: 8px;
  cursor: pointer;
}

/* Links in the Shortcut */
.shortcut-options a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  text-decoration: none;
  color: white;
  padding: 8px 12px;
  margin: 6px 0;
  border-radius: 8px;
  background: rgba(146, 2, 2, 0.877);
  transition: background 0.3s ease;
}

.shortcut-options a:hover {
  background: rgba(146, 2, 2, 0.486);
}
  
/*IMAGES*/

img {
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
img:hover {
  transform: scale(1.03); /* Slight zoom effect on hover */
}

/* SCROLL TO THE TOP BUTTON */
#scrollToTopBtn{
  display: flex; /* Always visible */
  position: fixed; /* Fixed/sticky position */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;  /* Ensure it stays on top */
  padding: 10px;   
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;    
  cursor: pointer;
  border: none;
  background: linear-gradient(#8B0000, #8B0000);
}

.arrow path {
        fill: white;
      }
            
      Btn:hover .arrow {
        animation: slide-in-bottom .7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
      }
      
      @keyframes slide-in-bottom {
        0% {
          transform: translateY(10px);
          opacity: 0;
        }
      
        100% {
          transform: translateY(0);
          opacity: 1;
        }
      }
      
/*SUPPLEMENT VIDEO*/

.video-container {
  margin-top: 20px;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Ensures a 16:9 aspect ratio without padding tricks */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15); /* Soft shadow around the container */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Adding a gradient overlay */
.video-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.589), rgba(0, 0, 0, 0.603));
  pointer-events: none; /* Ensures the video remains interactive */
  transition: opacity 0.4s ease;
  opacity: 0;
}

/* Inner video styling */
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the video completely fills the container */
  border-radius: 20px;
}

/* Hover effects */
.video-container:hover {
  transform: scale(1.03);
  box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.2); /* Deeper shadow on hover */
}

/* Display overlay on hover */
.video-container:hover::before {
  opacity: 1;
}

/*--------------------SUPPLEMENT QUIZ-------------------*/

.minimalist-text {
  font-family: 'Helvetica Neue', Arial, sans-serif; /* Modern and simple font */
  font-size: 1.25rem; /* Clean and readable size */
  font-weight: 500; /* Medium weight for emphasis */
  color: #222222; /* Neutral dark color for text */
  text-align: center; /* Center-align for focus */
  margin: 20px auto; /* Adds spacing around the text */
  line-height: 1.6; /* Comfortable line spacing */
  border-bottom: 2px solid #001986; /* Subtle underline for separation */
  padding-bottom: 0.5rem; /* Adds slight padding for balance */
  max-width: 600px; /* Restricts width for better readability */
}


.login-box {
  position: relative; /* Changed from absolute to relative */
  width: 90%; /* Use 90% width for mobile devices */
  max-width: 400px; /* Keep max width for larger screens */
  padding: 20px; /* Reduce padding on mobile */
  background: rgba(24, 20, 20, 0.987);
  box-sizing: border-box;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  margin: 20px auto; /* Centering the form horizontally */
}

.login-box .user-box {
  position: relative;
}

.login-box .user-box select {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  color: #797979;
  margin-bottom: 20px; /* Slightly reduced margin for mobile */
  border: none;
  border-bottom: 1px solid #fff;
  outline: none;
  background: transparent;
}

.login-box .user-box label {
  position: absolute;
  top: -20px;
  left: 0;
  padding: 10px 0;
  font-size: 14px; /* Slightly smaller font for mobile */
  color: #fff;
  pointer-events: none;
  transition: .5s;
}

.calculate-button {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  transition: .5s;
  margin-top: 30px;
  letter-spacing: 3px;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
}

.calculate-button:hover {
  background: #b80a0a;
  color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 5px #b80a0a,
              0 0 25px #b80a0a,
              0 0 50px #b80a0a,
              0 0 100px #b80a0a;
}

.calculate-button span  {
  position: absolute;
  display: block;
}

.calculate-button:focus {
  outline: none; /* Removes focus outline */
}

.calculate-button:active {
  outline: none; /* Ensures no outline when active */
  border: none;  /* Ensures no border when clicked */
}

.calculate-button span:nth-child(1) {
  bottom: 2px;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #b80a0a);
  animation: btn-anim1 2s linear infinite;
}


@keyframes btn-anim1 {
  0% {
    left: -100%;
  }

  50%, 100% {
    left: 100%;
  }
}


/* Responsive design for smaller devices */
@media (max-width: 768px) {
  .login-box {
    padding: 15px; /* Reduce padding on mobile */
  }
  
  .calculate-button {
    padding: 8px 16px; /* Smaller padding for buttons */
    font-size: 12px; /* Smaller font size for buttons */
    letter-spacing: 2px; /* Adjust letter-spacing for better readability */
  }
}
   

#result {
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  text-align: left;
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #000000;
  margin-top: 16px;
}

#result h5 {
  font-weight: 500;
  font-size: 1.5em;
  margin-bottom: 12px;
  color: #575757;
}

/* Shine effect for h5 */
.shining-effect {
  display: inline-block; /* Ensure the element is treated as a block for better effect */
  background: linear-gradient(90deg, #ffffff, #424242, #ffffff);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; /* Makes the text color transparent to show the gradient */
  animation: shine 3s linear infinite;
}

/* Keyframes for the shine animation */
@keyframes shine {
  0% {
      background-position: 200% 0;
  }
  100% {
      background-position: -200% 0;
  }
}

#result p {
  font-weight: 400;
  font-size: 1em;
  line-height: 1.6;
  margin: 4px 0;
  color: #dddddd;
}

/* Style for the recommendation links */
.result a {
  color: #025992; /* Blue color for links */
  text-decoration: none; /* Remove underline */
  font-weight: lighter; /* Make the text bold */
  transition: color 0.3s ease; /* Smooth color transition */
}

.result a:hover {
  color: #002f4e; /* Change color to green on hover */
  text-decoration: underline; /* Add underline on hover */
}

/* LOADING */
/* Adjust loader to fit inside the login box */
.loader {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; /* Adjust to fill width of form */
  padding: 10px 0; /* Optional padding */
}

.loader-text {
  font-family: 'Arial', sans-serif; /* Minimalist font */
  color: #cccccc; /* Light gray to match loader style */
  font-size: 0.9rem; /* Small, subtle font size */
  margin-top: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.85;
  text-align: center;
  animation: fadeIn 1.5s ease-in-out infinite alternate;
}

.loaderMiniContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 90%; /* Adjust to fit in the login box */
  max-width: 120px; /* Limit width for smaller screens */
}

.barContainer {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  background-position: left;
}

.bar {
  width: 100%;
  height: 6px; /* Slightly smaller height */
  background: linear-gradient(
    to right,
    rgb(150, 6, 6),
    rgb(217, 190, 255),
    rgb(150, 6, 6)
  );
  background-size: 200% 100%;
  border-radius: 10px;
  animation: bar ease-in-out 3s infinite alternate-reverse;
}

.bar2 {
  width: 50%;
}

.svgIcon {
  position: absolute;
  left: -20px;
  margin-top: 12px;
  z-index: 2;
  width: 50%; /* Reduce size for smaller containers */
  animation: search ease-in-out 3s infinite alternate-reverse;
}

.svgIcon circle,
line {
  stroke: rgb(158, 8, 8);
}
.svgIcon circle {
  fill: rgba(98, 65, 142, 0.238);
}

@keyframes bar {
  0% {
    background-position: left;
  }
  100% {
    background-position: right;
  }
}

@keyframes search {
  0% {
    transform: translateX(0%) rotate(70deg);
  }
  100% {
    transform: translateX(60px) rotate(10deg);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .loaderMiniContainer {
    max-width: 100px; /* Smaller width for mobile */
  }
}

/*--------------------SUPPLEMENT TRACKER-------------------*/

.login-box {
  position: relative;
  width: 90%; /* Use 90% width for mobile */
  max-width: 400px; /* Retain max-width for larger screens */
  padding: 20px; /* Reduce padding on mobile */
  background: rgba(24, 20, 20, 0.987);
  box-sizing: border-box;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .6);
  border-radius: 10px;
  margin: 20px auto;
}

/* Styling for calendar and time inputs */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1); /* Inverts the colors, making the icon white */
}

/* Custom background and text color for inputs */
.user-box input[type="date"],
.user-box input[type="time"] {
  color: #FFF;
  border-radius: 5px;
  padding: 10px;
  background: rgba(0, 0, 0, 0); /* Added background for better visibility */
  border-bottom: 1px solid #fff;
  width: 100%; /* Ensure full width */
}

/* Hover effect to change the icon color */
.user-box input[type="date"]:hover::-webkit-calendar-picker-indicator,
.user-box input[type="time"]:hover::-webkit-calendar-picker-indicator {
  filter: invert(0.5); /* Adjust the color on hover */
}

h1, h2 {
  text-align: center;
  margin-bottom: 20px;
}

.user-box {
  position: relative;
  margin-bottom: 24px;
  color: wheat;
}

.user-box input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  color: #797979;
  border: none;
  border-bottom: 1px solid #fff;
  outline: none;
  background: transparent;
}

/* Adjusted label to stay above textarea */
.user-box label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #fff;
  pointer-events: none;
  transition: 0.5s;
}

input[type="date"], input[type="time"] {
  color: #fdfafa;
}

/* Styling the notes textarea */
#notes {
  width: 100%;
  min-height: 100px;
  padding: 12px 16px;
  font-size: 16px;
  background-color: #292929;
  border: 1px solid #ccc;
  border-radius: 8px;
  resize: vertical;
  outline: none;
  transition: all 0.3s ease;
}

/* Focus effect for the textarea */
#notes:focus {
  border-color: #a52020; /* Accent color */
  box-shadow: 0 4px 8px rgba(180, 17, 17, 0.781);
  background-color: #2c2c2c;
}

/* Floating effect: moves label up when textarea is focused or filled */
#notes:focus,
#notes:not(:placeholder-shown){
  top: -10px;
  left: 14px;
  font-size: 13px;
  color: #b6b6b6;
  background-color: #292929;
  padding: 0 4px;
}

.history-list {
  padding: 10px;
  border-radius: 10px;
  margin-top: 20px;
  max-height: 150px;
  overflow-y: auto;
}

.history-item {
  background-color: #bc1a1a;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: #FFF;
}

  .history-list {
    max-height: 100px; /* Reduce height for better mobile layout */
  }

/* Edit and Delete buttons styling */
.edit-btn, .delete-btn {
  padding: 6px 12px;
  margin-top: 8px;
  font-size: 0.9em;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Colors for buttons */
.edit-btn {
  background-color: #3182ce; /* Light blue */
}

.delete-btn {
  background-color: #e53e3e; /* Light red */
}

/* Hover effects for buttons */
.edit-btn:hover {
  background-color: #2b6cb0;
}

.delete-btn:hover {
  background-color: #c53030;
}

/*-----TRACK LOADING-----*/

.form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%; /* Adjust to form width */
  height: 100%; /* Adjust to form height */
}

.loading-animation {
  width: 54px;
  height: 54px;
  position: relative;
  border-radius: 10px;
}

.loading-animation div {
  width: 8%;
  height: 24%;
  background: rgb(128, 128, 128);
  position: absolute;
  left: 50%;
  top: 30%;
  opacity: 0;
  border-radius: 50px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  animation: fade458 1s linear infinite;
}

@keyframes fade458 {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.25;
  }
}

/* Bar animations */
.loading-animation .bar1 { transform: rotate(0deg) translate(0, -130%); animation-delay: 0s; }
.loading-animation .bar2 { transform: rotate(30deg) translate(0, -130%); animation-delay: -1.1s; }
.loading-animation .bar3 { transform: rotate(60deg) translate(0, -130%); animation-delay: -1s; }
.loading-animation .bar4 { transform: rotate(90deg) translate(0, -130%); animation-delay: -0.9s; }
.loading-animation .bar5 { transform: rotate(120deg) translate(0, -130%); animation-delay: -0.8s; }
.loading-animation .bar6 { transform: rotate(150deg) translate(0, -130%); animation-delay: -0.7s; }
.loading-animation .bar7 { transform: rotate(180deg) translate(0, -130%); animation-delay: -0.6s; }
.loading-animation .bar8 { transform: rotate(210deg) translate(0, -130%); animation-delay: -0.5s; }
.loading-animation .bar9 { transform: rotate(240deg) translate(0, -130%); animation-delay: -0.4s; }
.loading-animation .bar10 { transform: rotate(270deg) translate(0, -130%); animation-delay: -0.3s; }
.loading-animation .bar11 { transform: rotate(300deg) translate(0, -130%); animation-delay: -0.2s; }
.loading-animation .bar12 { transform: rotate(330deg) translate(0, -130%); animation-delay: -0.1s; }

/* MY SUPPLEMENTATION CHOICES */

.section-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: #2c3e50;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  border-bottom: 2px solid #3498db;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.2rem;
  color: #34495e;
  line-height: 1.6;
  font-style: italic;
  margin-top: 0.5rem;
}


/* Section Container */
.supplement-section {
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Post Styling */
.supplement-post {
  border-bottom: 1px solid #ddd;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.supplement-post:last-child {
  border-bottom: none;
}

/* Media Layout */
.supplement-media {
  display: flex;
  gap: 1.5rem; /* Adds spacing between image and text */
}

.flex-column {
  flex-direction: column;
}

.flex-md-row {
  flex-direction: row;
}

.align-items-start {
  align-items: flex-start;
}

/* Images */
.supplement-image {
  max-width: 150px; /* Resized for better spacing */
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0; /* Prevents image from shrinking */
}

.supplement-image:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

/* Titles */
.supplement-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
}

/* Descriptions */
.supplement-description {
  font-size: 1.125rem;
  color: #6c757d;
  line-height: 1.75;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .supplement-media {
      flex-direction: column;
      text-align: center;
  }

  .supplement-image {
      margin: 0 auto 1rem auto; /* Center image on mobile */
      max-width: 100%; /* Full width on small screens */
  }

  .supplement-content {
      text-align: center;
  }
}

/*-----WARNING-----*/
.warning {
    margin-top: 30px;
    padding: 15px;
    background-color: #ffdddd;
    border-left: 6px solid #7c1212;
    font-size: 0.9em;
    color: #333;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
  }

/* Cookie Consent Popup */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-icon {
  color: #990606;
  font-size: 24px;
  flex-shrink: 0;
}

.cookie-text {
  flex: 1;
  color: #fff;
}

.cookie-text h3 {
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 500;
}

.cookie-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.4;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background-color: #990606;
  color: white;
}

.cookie-btn.accept:hover {
  background-color: #b30707;
}

.cookie-btn.decline {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-btn {
    flex: 1;
    max-width: 120px;
  }
}
  