* {
    width: auto;
}

:root {
    --bg-color: white;
    --bg-color-second: #f0f0f0;
    --text-color: black;
    --hover-bg-color: color-mix(in srgb, var(--text-color) 20%, transparent);
    --color1: #8ECAE6;
    --color2: #219EBC;
    --color3: #126782;
    --color4: #023047;
    --color5: #FFB703;
    --color6: #FD9E02;
    --color7: #FB8500;
    overflow-x: hidden;
}

body {
    color-scheme: dark;
    background-color: var(--bg-color) !important;
    color: var(--text-color) !important;
    margin: 0;
    padding: 0;
}

.seasonal-icons  {
    transform: translate(-40px, 35px);
    color: red !important;
    border: black 1px;
    cursor: default;
}

svg:not(:host).svg-inline--fa, svg:not(:root).svg-inline--fa{
    outline: none;
}
button:focus {
    outline: none !important;
}

html:focus-within {
    scroll-behavior: smooth;
}

.fa-regular:hover {
    font-weight: 900 !important;
}

.smol-title-new-line h3 {
    /* display: block; */
    padding-bottom: 50px;
}


/* Nav Bar Start */

.footer-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;
    min-height: 86vh;
}

/* Ensure no extra spacing from parent containers */
.topbar {
    margin: 0;
    padding: 0;
    /* padding-top: 15vh; */
    /* position: flex;
    flex-direction: column;
    min-height: 100vh; */
    align-self: end;
}

div .navbar {
    transition: 0.25s;
    background-color: var(--bg-color-second);
    /* padding-top: 0px !important; */
    line-height: 20px;
}

.topbar .navbar {
    background-color: var(--bg-color) !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); /* Light shadow */
    padding-top: 1rem; /* More vertical padding */
    padding-bottom: 10px !important;
}

@media (max-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
    }
}
@media (max-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
}

.nav-item{
    justify-content: center;
    display: flex;

}

.nav-link{
    padding: 10px !important;
    justify-content: center !important;
}

.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
    color: var(--primary-color);
    /* background-color: rgba(0, 86, 179, 0.05); /* Light accent on hover/active */
    background-color: var(--bg-color-second); /* Light accent on hover/active */
    border-radius: 8px;
}

.navbar-nav .nav-item.dropdown .dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.navbar-nav .nav-item.dropdown .dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-left: 0.2px;
    width: auto;
    margin-bottom: 10px;
}

.navbar-toggler {
    transition: 0.25s;
    background-color: var(--bg-color-second) !important;
}

.navbar-toggler div {
    width: 33px;
    margin-top: 3px;
    margin-bottom: 3px;
}

.navbar-toggler .closeicon * {
    display: block;
    margin-bottom: 5px;
    position: relative;
    background: #cdcdcd;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.55s ease;
}

.navbar-toggler .bar1 {
    transform-origin: 0% 0%;
    background-color: #cdcdcd !important;
    position: relative;
}

.navbar-toggler .bar3 {
    transform-origin: 0% 100%;
    /* 12% */
}

.dropdown-menu {
    background-color: var(--bg-color-second) !important;
}

.closeicon {
    width: 1.5rem;
    height: 1.5rem;
}

.closeicon .bar1,
.bar2,
.bar3 {
    width: 100%;
    height: 5px;
    margin-bottom: 5px;
    background-color: grey;
    border: 10px;
    border-radius: 10px;
}

.topbar ul li {
    list-style: none;
    display: inline-block;
    margin: 0 20px;
    position: relative;
}

.topbar .navbar ul li a {
    text-transform: uppercase;
    color: var(--text-color);
}

.topbar .picture img {
    filter: blur(8px);
    -webkit-filter: blur(4px);
    width: 100%;
    height: 500px;
}


/* Style the dropdown links */

.topbar .navbar .dropdown-menu {
    min-width: 160px;
    padding: 5px 0;
    /* margin-top: -0.4rem; */
    margin-left: -2px;
    font-size: 14px;
    text-align: left;
}


/* Style the dropdown links on hover */

/* Removed hover functionality to enable click-to-open with animation.
   The dropdown will now open when its toggle button is clicked and JavaScript adds the '.show' class. */
/*
.topbar .navbar .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
}
*/

.dropdown-menu {
      /* Default state: hidden and ready for "fall from above" animation */
      display: none; /* Crucial: Hides the menu, prevents it from occupying space, and fixes the "hovering over place" issue */
      opacity: 0; /* Start fully transparent */
      transform: translateY(-10px); /* Start 15px ABOVE its final position for the "falling from above" effect */
      pointer-events: none; /* Not interactive when hidden */

      background-color: var(--bg-color-second, #fff); /* Ensure fallback, uses variable from :root */
      padding: 1rem;
      width: 200px; /* Note: This is overridden by 'width: auto' for .navbar-nav .dropdown-menu if applicable */
      transition: opacity 0.4s ease, transform 0.4s ease; /* For the reverse animation on close */
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      border-radius: 8px;
      position: absolute;
      top: 700px; /* Moved 10px down (was 60px) */
      left: 20px; /* This absolute positioning might need review */
      z-index: 1000; /* A common z-index for dropdowns to ensure it's above other content */
      /* The 'margin-top: 0.5rem;' from geminiCss.css for '.navbar-nav .nav-item.dropdown .dropdown-menu' will provide a nice gap when shown. */
      margin-top: .06rem !important;
}

@media (max-width: 1200px) {
    .show { /* This is a generic .show class, ensure it doesn't conflict if .dropdown-menu.show is used for specificity */
        opacity: 1;
        pointer-events: auto;
    }

    /* The .dropdown-menu:not(.show) rule that was here is no longer strictly needed
       as the base .dropdown-menu style now correctly defines its hidden state. */
}
@media (max-width: 1200px) {
    .navbar-nav .nav-link {
        text-align: center;
    }
}

@media (max-width: 1200px) {
    /* Only style nav-links inside dropdown menus or inside .mobile-submenu */
    .dropdown-menu .nav-link,
    .mobile-submenu .nav-link {
        /* background: linear-gradient(90deg, var(--color2) 60%, var(--color3) 100%); */
        color: #fff;
        border-radius: 10px;
        margin: 6px 12px;
        padding: 12px 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.10);
        border: 2px solid var(--color5);
        font-weight: 600;
        letter-spacing: 0.5px;
        transition: background 0.2s, color 0.2s, border 0.2s;
        display: block;
        text-align: center;
    }
    .dropdown-menu .nav-link:hover,
    .mobile-submenu .nav-link:hover,
    .dropdown-menu .nav-link.active,
    .mobile-submenu .nav-link.active {
        background: linear-gradient(90deg, var(--color3) 60%, var(--color2) 100%);
        color: var(--color5) !important;
        border-color: var(--color6);
    }
}

.dropdown>.dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

/* This rule defines how the dropdown menu appears when the .show class is applied to it.
   Bootstrap's JavaScript, for example, adds the .show class to the .dropdown-menu element. */
.dropdown-menu.show {
    display: block; /* Make it visible in the layout first */
    animation: fallInDropdown 0.4s ease forwards; /* Apply the fall-in animation */
    pointer-events: auto; /* Allow interaction */
}

@media (min-width: 1201px) {
    .topbar .navbar .dropdown:hover > .dropdown-menu {
        display: block; /* Make it visible */
        /* Apply the same fall-in animation on hover for larger screens */
        animation: fallInDropdown 0.4s ease forwards;
        pointer-events: auto; /* Make it interactive */
    }
}


.dropdown-item:hover {
    background-color: var(--bg-color) !important;
}

.logo {
    margin-top: -10px;
    color: #fff;
    height: 100px;
    width: 125px;
    transition: transform 0.6s ease-in-out;
    object-fit: contain;
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    .logo {
        transition: none
    }
}

.logo:hover {
    transform: rotate(-710deg) scale(1.1);
}


/* Nav Bar End */


/* Sub-navbar styling */
/* Remove extra spacing or borders */
.subnav {
    background-color: var(--bg-color); /* Ensure consistent background */
    border: none; /* Remove any borders */
    margin: 0; /* Remove extra margins */
    padding-top: 7rem; /* Adjust padding if needed */
    transition: 0.25s;
}

.subnav .navbar {
    justify-content: center; /* Center the menu items */
}

.subnav .nav-link {
    color: #007bff; /* Bootstrap primary color */
    font-weight: 500;
    transition: color 0.3s ease;
}

.subnav .nav-link:hover {
    color: #0056b3; /* Darker shade on hover */
    /* text-decoration: underline; */
}

.navbar-collapse {
    justify-content: center;
    flex-grow: 1;
}

/* Footer Start */
footer {
    margin-top: calc(5vh - 0.25rem);
    padding-top: 2rem;
    bottom: 0;
    width: 100%;
    display: block;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
}

.single-content {
    text-align: center;
    padding: 115px 0;
}

.single-box p {
    color: #fff;
    line-height: 1.9;
}

.single-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.single-box .card-area i {
    color: #ffffff;
    font-size: 20px;
    margin-right: 10px;
}

.single-box ul {
    list-style: none;
    padding: 0;
}

.single-box ul li a {
    text-decoration: none;
    color: #fff;
    line-height: 2.5;
    font-weight: 100;
}

.single-box ul li form {
    text-decoration: none;
    color: #fff;
    line-height: 2.5;
    font-weight: 100;
}

.single-box ul li btn {
    text-decoration: none;
    color: #fff;
    line-height: 2.5;
    cursor: pointer;
    font-weight: 100;
}

.single-box h2 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

#basic-addon2 {
    background: #fe1e4f;
    color: #fff;
}

.socials i {
    font-size: 18px;
    margin-right: 15px;
}

@media (max-width: 767px) {
    .single-box {
        margin-bottom: 50px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .single-box {
        margin-bottom: 50px;
    }
}


/* Footer End */


/* Button Scroll To Top Start */

.btnScrollTop {
    z-index: 10;
    position: fixed;
    right: 10px;
    bottom: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--text-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    opacity: 0;
    z-index: 9999;
    transition: all 0.6s;
}
.btnScrollTop > svg {
    color: var(--bg-color) !important;
}

.btnScrollTop i {
    color: black;
}

.btnScrollTop.active {
    pointer-events: auto;
    opacity: 1;
}

.btnScrollTop:active {
    background: #cccc2222;
}

.btnScrollTop:focus {
    outline: 0;
}


/* Button Scroll To Top End */

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

@media screen and (max-width: 1200px) {

    .navbar-collapse{
        transform: translateY(-25px);
    }
    .fixed-top{
        /* transform: translateY(-50px); */
        position: relative !important;
    }
    .topbar>.navbar-expand-xl {
        display: none !important;
    }
    .mobile-submenu{
        text-align: center;
    }
    
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    background: url(/img/sun.png), linear-gradient(135deg, orange, yellow);
    background-size: cover;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
    background: url(/img/moon.png), linear-gradient(135deg, grey, whitesmoke);
    background-size: cover;
}


/* Rounded sliders */

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #222;
}

input:checked+.slider:after {
    width: 1%;
    height: 1%;
    display: block;
    /* left: -100px; */
    position: relative;
}

.labelText {
    font-size: 12px;
}

select option {
    background-color: var(--bg-color);
    color: var(--text-color);
}

.unselectable {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.fixed-top {
    z-index: 10;
}

#oneko {
    z-index: 1;
}

.darkBlue {
    background-color: var(--color4);
}


#important {
    padding-bottom: 10px !important;
}

.card-body{
    padding-bottom: 0 !important;
}

.create-date{
    padding-top: 10px;
}

.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    z-index: 1029;
    pointer-events: none;
}

.snowflake {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    opacity: 0.8;
    pointer-events: none;
}

/* Center the dark mode switch on screens 1200px and narrower */
@media (max-width: 1200px) {
    .switch {
        display: block; /* Allows margin auto to work for horizontal centering */
        margin-left: auto;
        margin-right: auto;
    }
}

@keyframes fall {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    10% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
        transform: translateY(100vh);
    }
}

@keyframes diagonal-fall {
    0% {
        opacity: 0;
        transform: translate(0, 0);
    }

    10% {
        opacity: 1;
    }

    100% {
        opacity: 0.25;
        transform: translate(10vw, 100vh);
    }
}

@keyframes fallInDropdown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* turn off cat button */

:root{
  --ts: .7s;
}
.box_button{
  position: relative;
  font-size: 1.5rem;
  width: 4em;
  height: 2em;
  display: flex;
  border-radius: 1em;
  border: .18em solid white;
  box-sizing: border-box;
  cursor: pointer;
  box-shadow: 0 .2em .2em hsla(0,0%,50%,.5);
  transition: var(--ts);
}
.text{
  font-size: .75em;
  height: 100%;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-family: sans-serif;
  overflow: hidden;
}
.text_left{
  color: white;
}
.text > div{
  position: relative;
  transition: var(--ts);
  right: 0;
}
.icon{
  position: absolute;
  height: 100%;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: orange;
  font-size: 1.5em;
  transition: var(--ts);
  left: 0;
}
#tl{
  left: 3em;
  color: gray
}
#tr{
  color: dodgerblue
}
/* end of cat button */

@media (max-width: 1199.98px) {
    .navbar-collapse.collapse.show {
        display: flex !important; /* Принудително използваме flexbox */
        flex-direction: column; /* Подрежда елементите вертикално */
        align-items: center; /* Хоризонтално центриране на елементите */
        overflow-y: auto; /* Добавя скрол, ако съдържанието е твърде дълго */
    }
}



.navbars .mobile-dropdown-parent > .mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.navbars .mobile-submenu {
    list-style: none;
    padding-left: 20px;
    display: none;
    background-color: rgba(0,0,0,0.05);
    border-radius: 0.25rem;
    margin-top: 0.25rem;
}

.navbars .mobile-submenu .nav-item .nav-link {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    font-size: 0.9em;
}

.mobile-arrow {
    transition: transform 0.2s ease-in-out;
    margin-left: 5px;
}

.navbars > ul.navbar-nav.original-main-nav-hidden > li {
    display: none !important;
}
.toast {
    display: flex;
    flex-direction: column; /* Stack notifications vertically */
    position: fixed;
    top: 150px; /* Adjust based on the height of your navbar */
    right: 1px; /* Align to the right with some padding */
    width: auto; /* Let the width adjust based on content */
    max-width: 300px; /* Optional: max width to keep notifications from getting too wide */
    z-index: 9999; /* Ensure notifications are on top */
    font-family: 'Roboto', sans-serif;
}

.wrapper {
    width: 100px;
    height: auto;
    background-color: #1e1e1e;
    float: right;
}

div[class^="wrapper"] {
    margin-bottom: 10px;
    width: 275px;
    margin: 0 0 8px -180px;
    border-radius: 10px;
    background-color: rgba(20, 20, 20, 0.85);
    background-blend-mode: darken;
    color: var(--text-color);
    display: flex;
    align-items: center;
    position: relative;
}

div[class^="notification_main"] {
	padding: 10px;
	display: flex;
	align-items: center;
	width: 100%;
}

div[class^="notification_main"] svg{
	font-size: 24px;
	margin-right: 10px;
}

div[class^="wrapper"] notification-text {
    padding-right: 7px;
    display: flex;
    flex-direction: column;
}

div[class^="wrapper"] notification-title {
    font-weight: bold;
    font-size: 16px;
    font-weight: 600;
}

div[class^="wrapper"] notification-message {
    font-size: 14px;
}

.main {
    margin: 12px 16px 12px 56px;
    position: relative;
}

.main::before {
    font-size: 24px;
    top: calc(50% - 12px);
    left: -40px;
    line-height: 24px;
    position: absolute;
}

/* Success Notification*/

.toast .success-icon::before {
    font-family: "Font Awesome 5 Free";
    content: "\f058";
    color: #47cf73;
}

.toast .success {
    background-color: rgba(20, 20, 20, 0.85);
    color: #fff;
    padding: 5px 5px 5px 5px;
}

.toast .success-border {
    border-left: 4px solid #47cf73;
}

/* Info Notification*/

.toast .info-icon::before {
    font-family: "Font Awesome 5 Free";
    content: "\f05a";
    color: #2f83ff;
}

.toast .info {
    background-color: rgba(20, 20, 20, 0.85);
    color: #fff;
    padding: 5px 5px 5px 5px;
}

.toast .info-border {
    border-left: 4px solid #2f83ff;
}

/* Warning Notification */

.toast .warning-icon {
    font-family: "Font Awesome 5 Free";
    content: "\f071";
    color: #ffc107;
}

.toast .warning {
    background-color: rgba(20, 20, 20, 0.85);
    color: #fff;
    padding: 5px 5px 5px 5px;
}

.toast .warning-border {
    border-left: 4px solid #ffc107;
}

/* Error Notification */


.toast .error-icon::before {
    font-family: "Font Awesome 5 Free";
    content: "\f06a";
    color: #dc3545;
}

.toast .error {
    background-color: rgba(20, 20, 20, 0.85);
    color: #fff;
    padding: 5px 5px 5px 5px;
}

.toast .error-border {
    border-left: 4px solid #dc3545;
}

/* Long Text Notification */

.toast .neutral-icon::before {
    font-family: "Font Awesome 5 Free";
    content: "\f11c";
    color: #6c757d;
}

.toast .neutral {
    background-color: rgba(20, 20, 20, 0.85);
    color: #fff;
    padding: 5px 5px 5px 5px;
}

.toast .neutral-border {
    border-left: 4px solid #6c757d;
}

.toast .notification-close-btn {
    position: absolute;
    right: -25px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-color);
}

.toast .notification-close-btn:hover svg path {
    color: red;
}
