* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} 

body {
    font-family: "Varela Round", sans-serif;
    --dynamic-background: linear-gradient(135deg, #0f0063, #4e06a0, #b300ff); /* Default */
    background-size: 200% 200%; 
    animation: gradAnimate 30s ease-in-out infinite; 
    color: #c0c0c0;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-attachment: fixed;
    zoom: 0.8;
  }
.top-bar {
    width: 100%;
    height: 10vh;
    background-color: black;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
  }
  .side-bar {
    width: 5.5vw;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 1rem;
    position: fixed;
    z-index: 499;
    height: 100%;
    left: 0%;
    top: 0%;
    flex-direction: column;
}


.bodyy {
    width: 100%;
    height: 100vh;
    font-family: Arial, sans-serif;
    background-color: #222831; 
}

.navv-bar {
    height: 80px;
    width: 100%;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 1rem;
    position: fixed;
    top: 0;
    z-index: 499;
    position:inherit;
    min-height: 17%;
    max-height: 17%;
}

.navv-button {
    height: 100%;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;

}

#fullscreenBtn {
    position: fixed;
    top: 0;
    right: 10px;
    bottom: 10px;
    z-index: 10;
    background: transparent;
    border: none;
    padding: 10px;
    display: none;
}
.credit {
    position: absolute;
    height: 24px;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    gap: 0.5rem;
    border-radius: 5px;
    top: 25px;
    right: 16px;
    z-index: 500;
  }

.nav-button img {
    height: 24px;
    width: 24px;
}
.app-button img {
    height: 60px;
    width: 60px;
}
:root {
    --nav-hover-color: #111; 
}

.tabs-container button:hover {
    background-color: var(--nav-hover-color);
}


::-webkit-scrollbar {
    width: 11px; 
}

::-webkit-scrollbar-track {
    background: #000000; 
    border-radius: 10px; 
}

::-webkit-scrollbar-thumb {
    background: #ffffff; 
    border-radius: 10px; 
    transition: background 0.3s; 
}

::-webkit-scrollbar-thumb:hover {
    background: #ffffff; 
}

* {
    scrollbar-width: thin; 
    scrollbar-color: #ffffff #000000; 
}

body {
    -ms-overflow-style: scrollbar; 
}
body {
    margin: 0;
}

.custom-dropdown {
    background-color: black;
    top: 0%;
    left: 0%;
    position: absolute;
    z-index: 8000;
    width: auto; 
    margin: 0px 0; 
    font-family: Arial, sans-serif; 
}

.custom-dropdown-button {
    padding: 15px 25px; 
    font-size: 30px;
    background-color: #0077ff00;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer; 
    outline: none;
    box-sizing: border-box; 
    display: inline-block;
    width: auto; 
    height: auto; 
    line-height: 1.5; 
    text-align: center; 
    transition: background-color 0.3s ease, transform 0.3s ease; 
}

.custom-dropdown-button:hover {
    background-color: #111; 
    transform: translateY(-2px); 
}

.dropdown-options {
    align-self: center;
    width: 5%;
    height: 100%;
    background: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 1rem;
    position: fixed;
    left: 0;
    z-index: 499;
    top: 0;
    bottom: 0;
    height: auto;
    visibility: hidden;
}
.searching-button {
    width: 50px;
    height: 50px;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 15px;
    box-sizing: border-box;
    flex-shrink: 0;
    z-index: 9999;
}

.dropdown-options a {
    padding: 16px 20px; 
    display: block;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #000000;
    transition: background-color 0.3s ease; 
}

.dropdown-options a:hover {
    background-color: #111;
}

.custom-dropdown:hover .dropdown-options {
    display: block;
    opacity: 1;
    visibility: visible; 
}

.custom-dropdown-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.dnone {
    display: none;
    visibility: hidden;
    width: 0%;
    height: 0%;
}

.logo {
    position: absolute;
    top: 10px;
    left: 20px;
    z-index: 500;
  }

.logo img {
    height: 50px;
    width: auto;
}

#main {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px); 
    background: linear-gradient(135deg, #000000, #1b043a, #1a1342); 
    -webkit-animation: backgroundAnim 60s ease infinite;
    -moz-animation: backgroundAnim 60s ease infinite;
    animation: backgroundAnim 60s ease infinite;
    background-attachment: fixed;
    background-size: 300% 300%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    padding-top: 1rem; 
}

#title {
    position: relative;
    font-size: 3rem; 
    color: #ffffff; 
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6); 
}

#sigma {
    font-size: 25px;
    text-align: center;
    size: 50px;
    color: white;
    text-decoration: none;
    animation: appear 2s ease-in-out; 
}

@keyframes appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes glowFadeAnim {
    0% { 
        opacity: 1; 
        text-shadow: 
            0 0 5px rgba(7, 105, 234, 0.8), 
            0 0 10px rgba(7, 105, 234, 0.5), 
            0 0 20px rgba(7, 105, 234, 0.3); 
    }
    100% { 
        opacity: 0.05; 
        text-shadow: 
            0 0 10px rgb(0, 0, 0), 
            0 0 30px rgba(0, 0, 0, 0.7), 
            0 0 80px rgba(0, 0, 0, 0.5); 
    }
}

#title {
    color: rgb(255, 255, 255);
    font: rgb(255, 255, 255);
    font-size: 2rem;
    margin-top: 1rem;
}
.special{
    text-align:center;
    padding:10px;
    color: #0955ed;

}
h3{
    color: #ffffff;
    text-align: center;
    font-size:30px;
}
h4{
    color: #ffffff;
    text-align: center;
    font-size:20px;
}

#description {
    color: white;
    font-weight: 200;
    opacity: 0.75;
}

#address {
    width: 30rem;
    height: 3rem;
    background: #ffffff;
    color: rgb(0, 0, 0);
    outline: none;
    border: none;
    padding: 14px;
    font-size: 1rem;
    font-weight: 900;
    border-radius: 1rem;
}
#urlInput {
    width: 35rem;
    height: 4rem;
    background: #ffffff;
    color: rgb(0, 0, 0);
    outline: none;
    border: none;
    padding: 14px;
    font-size: 1rem;
    font-weight: 900;
    border-radius: 1rem;
    align-self: center;
    align-items: center;
    align-content: center;
}
#MyInput {
    width: 35rem;
    height: 4rem;
    background: #ffffff;
    color: rgb(0, 0, 0);
    outline: none;
    border: none;
    padding: 14px;
    font-size: 1rem;
    font-weight: 900;
    border-radius: 1rem;
}

#frame {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    background: black;
    outline: none;
    border: none;
}
.iframeWindow {
    position: absolute;
    width: 125vw;
    height: 117vh;
    border: 0;
    padding: 0;
    margin: 0;
    left: 0;
    bottom: 0;
    background-color: #00000000;
    z-index: -1;
}

#switcher {
    position: absolute;
    z-index: 999;
}






/* Combined css pages */




.btn {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.btnn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}
.btn-container {
    position: relative;
}
.favorite-container {
    position: relative;
}
.btnn-container {
    position: relative;
}

h3 {
    color: #ffffff;
    text-align: center;
    font-size: 30px;
}

ul, ol, li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.category-container {
    display: block;
}
h6 {
    color: #ffffff;
    margin-left: 40px;
    font-size: 30px;
    text-shadow: 
        1px 1px 0 black, 
        -1px -1px 0 black,
        -1px 1px 0 black,
        1px -1px 0 black;
}

.x-axis {
    width: 100%;
    height: 10px;
    background-color: black;
    margin: 20px 0;
}

#overlayy {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 1;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn {
    background-color: rgba(0, 0, 0, 0);
    color: #ffffff;
    font-weight: bold;
    letter-spacing: 1.5px;
    overflow: hidden;
    transition: 0s;
    cursor: default;
    margin: 0 5px;
    width: 275px;
    height: 145px;
    text-align: left;
    position: relative;
    opacity: 1;
    border-radius: 15px;
    white-space: nowrap;
    box-sizing: border-box;
    border: 2px solid #ffffff;
}

.btnn {
    background-color: rgba(0, 0, 0, 0);
    color: #ffffff;
    font-weight: bold;
    border: 2px solid #ffffff;
    letter-spacing: 1.5px;
    overflow: hidden;
    transition: 0s;
    cursor: default;
    margin: 10px 5px; 
    width: 275px;
    height: 145px;
    text-align: left;
    position: relative;
    opacity: 1;
    border-radius: 15px;
    white-space: nowrap;
    box-sizing: border-box;
}


.btn-text {
    color: white;
    font-size: 2.9rem;
    pointer-events: none;
}
.btnn-text {
    color: white;
    font-size: 0.9rem;
    pointer-events: none;
}
.btn {
    flex-shrink: 0;
    padding: 10px 20px;
    margin-right: 10px;
    white-space: nowrap;
    box-sizing: border-box;
}
.btnn {
    flex-shrink: 0;
    padding: 10px 20px;
    margin-right: 10px;
    white-space: nowrap;
    box-sizing: border-box;
}
.btn-container::-webkit-scrollbar {
    display: none;
}
.favorite-container::-webkit-scrollbar {
    display: none;
}
.btnn-container::-webkit-scrollbar {
    display: none;
}
.imgg {
    width: 275px;
    top: 0;
    max-height: 200px;
    min-height: 165px;
    border-radius: inherit;
    position: relative;
}

.btn-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    padding: 10px 0;
    gap: 0;
    width: 100%;
    scrollbar-width: none;
    box-sizing: border-box;
}
.favorite-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    padding: 10px 0;
    gap: 0;
    width: 100%;
    scrollbar-width: none;
    box-sizing: border-box;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.btnn-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    padding: 5px 0;
    width: 100%;
    scrollbar-width: none;
    box-sizing: border-box;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.btnnn-container {
    display: flex;
    flex-wrap: wrap;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;
    gap: 15px;
    width: 100%;
    scrollbar-width: none;
    box-sizing: border-box;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#fullscreenBtn {
    position: fixed;
    right: 15%;
    z-index: 10;
    display: none;
    background: transparent;
    border: none;
    padding: 0;
}

#searchIcon {
    background-color: white;
    color: black;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    position: fixed;
    top: 1%;
    right: 10px;
    z-index: 1000;
}

#searchWrapper {
    position: fixed;
    top: 1%;
    left: -350px;
    transition: all 0.3s ease;
    z-index: 999;
}

#searchWrapper.show {
    left: 75%;
}

#myInput {
    padding: 5px;
    font-size: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 300px;
    height: 1%;
}

.search-bar-container.show {
    right: 50px;
}

#myUL {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#Toggle {
    background-color: #ffffff;
    border-color: #22283100;
    color: #000000;
    text-align: center;
    font-size: 25px;
    border-radius: 10px;
    position: fixed;
    top: 2%;
    left: 50%;
    z-index: 99999;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
}
.btn .button-text {
    display: none;
    position: absolute;
    top: 10%;
    left: 2%;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size:large;
}
.button-text {
    z-index: 500;
}
.btn:hover .button-text {
    display: block;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.632); 
    opacity: 0;
    transition: opacity 0.5s ease;
}

.btn:hover::after {
    opacity: 1;
}

.btn:hover .button-text {
    display: block;
}

#myUL li a {
    border: 1px solid #ddd;
    margin-top: -1px;
    background-color: #f6f6f6;
    padding: 12px;
    text-decoration: none;
    font-size: 18px;
    color: black;
    display: block;
}

#myUL li a:hover:not(.header) {
    background-color: #eee;
}

#save, #upload {
    background-color: #ffffff;
    border-color:#22283100;
    color: #000000;
    text-align: center;
    font-size: 20px;
    border-radius: 10px;
}

h3 {
    color: #ffffff;
    text-align: left;
    font-size: 20px;
    top: 2%;
    z-index: 9100;
}

h4 {
    color: #ffffff;
    text-align: center;
    font-size: 20px;
    top: 2%;
    position: fixed;
    left: 1%;
    right: 1%;
    z-index: 9100;
}

h5 {
    color: #ffffff;
    text-align: center;
    font-size: 20px;
    top: 2%;
    position: fixed;
    left: 10%;
}

.scroll-arrow {
    background-color: white;
    color: black;
    font-size: 20px;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: none;
    background: linear-gradient(145deg, #e1e1e1, #ffffff);
    transform: perspective(1000px) translateZ(5px) rotateY(5deg);
    transition: all 0.3s ease;
    position: absolute;
    top: 55%;
    right: 10px;
}

.scroll-arrow:hover {
    background: linear-gradient(145deg, #ffffff, #e1e1e1);
    transform: perspective(1000px) translateZ(7px) rotateY(5deg);
}

.left-arrow {
    right: 80px;
}

.right-arrow {
    right: 10px;
    display: block;
}

.scroll-arrow:hover {
    background-color: #000000;
    color: rgba(0, 0, 0, 0.644);
}

body {
    margin: 0;
    position: relative;
    z-index: 0;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    backdrop-filter: blur(40px);
    z-index: -1;
}

.nav-barr {
    height: 40px;
    width: 100%;
    background: #00000099;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 1rem;
    position: fixed;
    top: 0;
    z-index: 8000;
    min-height: 5%;
    max-height: 8%;
}

.btn:hover {
    transform: scale(1.05);
}
.btnn:hover {
    transform: scale(1.05);
}

.btn, .btnn {
    margin-top: 0;
    padding-top: 0;
}
.heart {
    color: rgb(255, 255, 255);
}

#heartIcon {
    position: absolute;
    bottom: 8%;
    right: 4%;
    font-size: 24px;
    z-index: -1;
    pointer-events: none; /* Prevents the heart icon from being clicked when not hovered */
  }
  
  .btn:hover #heartIcon {
    z-index: 1;
    pointer-events: auto; /* Allows the heart icon to be clickable when hovered */
  }
  .heartOverlay {
    position: absolute;
    bottom: 8%;
    right: 4%;
    width: 244px; /* Width of the clickable area */
    height: 244px; /* Height of the clickable area */
    z-index: 99999999; /* Ensure it covers the button */
    background: transparent; /* Transparent layer covering the button */
  }
  .hearted {
    color: rgb(0, 132, 255);
  }