@-webkit-keyframes appear {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes appear {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

body {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-weight: 400;
    background-color: #fff;
    color: #000;
    padding-bottom: 4rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode {
    background-color: #1a1a1a;
    color: #ffffff;
}

body.dark-mode .sites a {
    background: #2a2a2a;
}

body.dark-mode #top {
    background-color: #2a2a2a;
    border-bottom: 1px solid #333;
}

body.dark-mode #search form #GoogleSearch input {
    background-color: #333;
    color: #fff;
}

a img {
    visibility: visible;
}

a span:first-child {
    visibility: visible;
}

.google-logo {
    background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/59615/logo--google.svg?v=2) no-repeat 50% 50%;
    background-size: 120px 44px;
    width: 120px;
    height: 44px;
    color: #4285F4;
    display: block;
    position: absolute;
    top: 0.3rem;
    right: 1.5rem;
    z-index: 2;
    cursor: pointer;
}

    .google-logo a {
        display: block;
        width: 120px;
        height: 44px;
    }

@media screen and (max-width: 530px) {
    .google-logo {
        background-position: 0 3px;
        margin-left: -20px;
        transform: scale(0.6);
    }
}

@media screen and (max-width: 255px) {
    .google-logo .google_logo {
        display: none;
    }
}

#top {
    padding-top: 30px;
    background-color: #fafafa;
    border-bottom: 1px solid #ebebeb;
}

#search {
    border-color: transparent;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 632px;
    height: 44px;
}

@media screen and (max-width: 530px) {
    #search {
        padding: 10px;
        height: 60px;
    }

        #search a {
            max-width: 80px;
        }
}

#search form {
    display: inline;
}

    #search form #GoogleSearch input {
        position: relative;
        line-height: 34px;
        margin-bottom: 5px;
        width: 100%;
        height: 34px;
        font: 16px arial, sans-serif;
        padding-left: 16px;
        border-color: transparent;
        background-color: #fff;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
        height: 44px;
        border-radius: 3px;
        transition: box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);
    }

        #search form #GoogleSearch input:hover, #search form #GoogleSearch input:focus {
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
        }

    #search form #GoogleSearch button {
        display: none;
        color: #4284f3;
        background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/59615/icon--microphone.png) no-repeat 50% 50%;
        background-size: 24px 24px;
        border-color: transparent;
        border-radius: 0 2px 2px 0;
        width: 24px;
        height: 24px;
        cursor: pointer;
        position: absolute;
        left: -45px;
        outline: 0;
        box-shadow: none;
        z-index: 99;
    }

.menu-wrapper {
    width: 80px;
    height: 80px;
    position: fixed;
    top: 15px;
    right: 10px;
    z-index: 3;
}

.menu-wrapper img {
    width: 34px;
    height: 60px;
}

.menu-wrapper .menu {
    width: 60px;
    height: 60px;
    top: 25px;
    right: 20px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 2.5px 0 rgba(0, 0, 0, 0.12), 0 2px 2px 0 rgba(0, 0, 0, 0.24);
    text-align: center;
    color: #fff;
    position: fixed;
    cursor: pointer;
    z-index: 3;
    transition: all 200ms ease-in-out;
}

body.dark-mode .menu-wrapper .menu {
    background-color: #2a2a2a;
    box-shadow: 0 2px 2.5px 0 rgba(0, 0, 0, 0.3), 0 2px 2px 0 rgba(0, 0, 0, 0.4);
}

.menu-wrapper .menu ul {
    display: none;
    -webkit-animation: appear 1000ms;
    animation: appear 1000ms;
}

.menu-wrapper:hover .menu {
    width: 200px;
    height: 220px;
    border-radius: 3px;
    z-index: 999;
}

.menu-wrapper:hover .menu ul {
    display: block;
    list-style-type: none;
    color: #fff;
    position: absolute;
    top: 0;
    width: 100%;
    text-align: center;
    margin: 5px 0;
    padding: 0;
    font-size: 22px;
    height: 240px;
}

.menu-wrapper:hover .menu ul li {
    transition: all 200ms ease-in;
    width: 180px;
    margin: 0 auto;
}

.menu-wrapper:hover .menu ul li a {
    font-family: "Product Sans", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-weight: 400;
    text-decoration: none;
    display: block;
    width: 180px;
    color: #aaa;
    padding: 7px 0;
    margin: 5px 0;
    border-radius: 4px;
    transition: all 100ms ease-in;
}

body.dark-mode .menu-wrapper:hover .menu ul li a {
    color: #888;
}

.menu-wrapper:hover .menu ul li a:hover {
    color: #4285F4;
    background-color: #fafafa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    -webkit-appearance: none;
}

body.dark-mode .menu-wrapper:hover .menu ul li a:hover {
    background-color: #333;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.4);
}

.menu-wrapper:hover .menu ul li a:focus,
.menu-wrapper:hover .menu ul li a:active {
    color: #fff;
    background-color: #4285F4;
}

body.dark-mode .menu-wrapper:hover .menu ul li a:focus,
body.dark-mode .menu-wrapper:hover .menu ul li a:active {
    background-color: #4285F4;
}

@media screen and (max-width: 900px) {
    .menu-wrapper {
        top: -8px;
        right: -8px;
        width: 40px;
        height: 40px;
    }

    .menu-wrapper .menu {
        top: -5px;
        right: -5px;
        width: 40px;
        height: 40px;
        border-radius: 5px;
    }

    .menu-wrapper .menu img {
        width: 25px;
        height: 43px;
        margin-left: -3px;
    }
}

.sites {
    padding-top: 3rem;
    color: inherit;
    display: flex;
    flex-flow: row wrap;
    align-content: space-between;
    justify-content: center;
}

    .sites a {
        color: inherit;
        font-size: 1.3rem;
        background: black;
        border-radius: 4px;
        width: 188px;
        height: 120px;
        margin: 1rem;
        line-height: 120px;
        text-align: center;
        color: #4584ee;
        box-sizing: border-box;
        display: block;
        vertical-align: middle;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.28);
        transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
        -webkit-appearance: none;
    }

        .sites a:hover, .sites a:focus, .sites a:active {
            box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
        }

        .sites a span:nth-child(1) {
            font-family: Material-Icons;
            padding-right: 0;
            font-size: 55px;
        }

        .sites a span#title {
            opacity: 0;
            position: absolute;
            font-size: 16px;
            font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
            font-weight: 400;
            text-rendering: optimizeLegibility;
            transition: all ease-in-out 150ms;
            position: absolute;
            top: 77px;
            left: 0;
            color: #bbb;
            width: 188px;
            height: 1rem;
            text-align: center;
            text-shadow: none;
        }

        .sites a:hover span#title {
            opacity: 1;
        }

        .sites a img {
            width: 55px;
        }

.sites a:nth-child(3n) {
    page-break-after: always;
}

.sites a:hover, .sites a:focus, .sites a:active {
    transform: translateY(-5px);
    text-decoration: none;
    color: #4584ee;
}

#Amazon {
    background: #0b0c07;
}

    #Amazon img {
        filter: invert(1);
    }

#Apple {
    background: #999;
}

    #Apple img {
        filter: invert(1);
    }


#GitHub {
    background: #25292e;
}

    #GitHub img {
        filter: invert(1);
    }

#Google {
    background: #4285F4;
}

    #Google img {
        filter: invert(1);
    }

#LinkedIn {
    background: #0077b5;
}

    #LinkedIn img {
        filter: invert(1);
    }

#Reddit {
    background: #ff4500;
}

    #Reddit img {
        filter: invert(1);
    }

#Twitter {
    background: #1da1f2;
}

    #Twitter img {
        filter: invert(1);
    }

#YouTube {
    background: #fd0016;
}

    #YouTube img {
        filter: invert(1);
        width: 65px;
    }

#WellsFLIX {
    background: #fff;
}
    #WellsFLIX img {
        width: 70px;
    }

#Mail {
    background: #b58765;
}
    #Mail img {
        width: 115px;
    }
#Plex {
    background: #eecc00;
}
    #Plex img {
        width: 120px;
    }
#Gmail {
    background: #fff;
}
body.dark-mode #Gmail {
    background: #2a2a2a;
}
#XOA {
    background: #fff;
}
    #XOA img {
        width: 90px;
    }
body.dark-mode #XOA {
    background: #2a2a2a;
}
#Cloudflare {
    background: #f38020;
}
    #Cloudflare img {
        width: 80px;
        filter: invert(1);
        filter: brightness(100);
    }

#Overseerr {
    background: #25292e;
}

    #Overseerr img {
        width: 90px;
    }

#Downloads {
    background: #fff;
}

    #Downloads img {
        width: 90px;
    }

body.dark-mode #Downloads {
    background: #2a2a2a;
}

#Radarr {
    background: #ffc230;
}

    #Radarr img {
        width: 80px;
        filter: invert(1);
        filter: brightness(0);
    }
#Sonarr {
    background: #00ccff;
}

    #Sonarr img {
        width: 80px;
    }

#Lidarr {
    background: #009252;
}

    #Lidarr img {
        width: 80px;
    }
#Prowlarr {
    background: #f8a37b;
}

    #Prowlarr img {
        width: 80px;
    }

#R730 {
    background: #fff;
}

    #R730 img {
        width: 150px;
    }

body.dark-mode #R730 {
    background: #2a2a2a;
}

#R320 {
    background: #fff;
}

    #R320 img {
        width: 150px;
    }

body.dark-mode #R320 {
    background: #2a2a2a;
}

#Status {
    background: #a8e8c0;
}

    #Status img {
        width: 100px;
    }

#HomeBridge {
    background: #fff;
}

    #HomeBridge img {
        width: 90px;
    }

body.dark-mode #HomeBridge {
    background: #2a2a2a;
}

#Technitium_P {
    background: #fff;
}

    #Technitium_P img {
        width: 80px;
    }

body.dark-mode #Technitium_P {
    background: #2a2a2a;
}

#Technitium_S {
    background: #fff;
}

    #Technitium_S img {
        width: 80px;
    }

body.dark-mode #Technitium_S {
    background: #2a2a2a;
}

#Unmanic {
    background: #0097d7;
}

    #Unmanic img {
        width: 48px;
        height: 48px;
        filter: invert(1);
        filter: brightness(100);
    }

#Dockge {
    background-color: #b4daf8;
    border-radius: 12px;
    padding: 12px;
}

#Dockge img {
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;
}

/* Dockge Page Styles */
.dockge-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.dockge-header {
    text-align: center;
    margin-bottom: 2rem;
}

.dockge-back-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

body.dark-mode .dockge-back-button {
    background: rgba(255, 255, 255, 0.1);
}

.dockge-back-button:hover {
    background: rgba(0, 0, 0, 0.2);
    color: inherit;
    text-decoration: none;
    transform: translateX(-5px);
}

body.dark-mode .dockge-back-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.dockge-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dockge-item {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

body.dark-mode .dockge-item {
    background: rgba(255, 255, 255, 0.05);
}

.dockge-item:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

body.dark-mode .dockge-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dockge-item a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.dockge-item a::before {
    content: "→";
    margin-right: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.dockge-item:hover a::before {
    opacity: 1;
    transform: translateX(5px);
}

.dockge-title {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #000, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.dark-mode .dockge-title {
    background: linear-gradient(45deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .dockge-container {
        padding: 1rem;
    }

    .dockge-item a {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
}

body.dark-mode .theme-toggle {
    background: rgba(40, 40, 40, 0.9);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    fill: #333;
}

body.dark-mode .theme-toggle svg {
    fill: #fff;
}

/* Search Engine Dropdown Styles */
.search-engine-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-engine-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
}

.search-engine-options {
    position: absolute;
    top: 10px;
    left: 0;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 120px;
    z-index: 1000;
    display: none;
    overflow: hidden;
}

body.dark-mode .search-engine-options {
    background: #2a2a2a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.search-engine-options.show {
    display: block;
}

.search-engine-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-engine-option:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

body.dark-mode .search-engine-option:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Small logos for dropdown */
.google-logo-small {
    background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/59615/logo--google.svg?v=2) no-repeat 50% 50%;
    background-size: 80px 30px;
    width: 80px;
    height: 30px;
    display: inline-block;
}

.duckduckgo-logo-small {
    background: url(https://duckduckgo.com/assets/logo_homepage.normal.v108.svg) no-repeat 50% 50%;
    background-size: 80px 30px;
    width: 80px;
    height: 30px;
    display: inline-block;
}

.bing-logo-small {
    background: url(https://www.bing.com/sa/simg/bing_p_rr_teal_min.ico) no-repeat 50% 50%;
    background-size: 30px 30px;
    width: 30px;
    height: 30px;
    display: inline-block;
}

/* Main search engine logos */
.duckduckgo-logo {
    background: url(https://duckduckgo.com/assets/logo_homepage.normal.v108.svg) no-repeat 50% 50%;
    background-size: 120px 44px;
    width: 120px;
    height: 44px;
    color: #de5833;
    display: block;
    position: absolute;
    top: 0.3rem;
    right: 1.5rem;
    z-index: 2;
    cursor: pointer;
}

.bing-logo {
    background: url(https://www.bing.com/sa/simg/bing_p_rr_teal_min.ico) no-repeat 50% 50%;
    background-size: 44px 44px;
    width: 44px;
    height: 44px;
    color: #00a4ef;
    display: block;
    position: absolute;
    top: 0.3rem;
    right: 1.5rem;
    z-index: 2;
    cursor: pointer;
}

#Listmonk {
    background: #fff;
}

#Listmonk img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

body.dark-mode #Listmonk {
    background: #2a2a2a;
}

body.dark-mode #Listmonk img {
    filter: none;
}

#Dispatcharr {
    background: #fff;
}

#Dispatcharr img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

body.dark-mode #Dispatcharr {
    background: #2a2a2a;
}

body.dark-mode #Dispatcharr img {
    filter: none;
}

/* iDRAC Styles */
#iDRAC {
    background: #fff;
}

#iDRAC img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

/* iDRAC Page Styles */
.idrac-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.idrac-header {
    text-align: center;
    margin-bottom: 2rem;
}

.idrac-back-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

body.dark-mode .idrac-back-button {
    background: rgba(255, 255, 255, 0.1);
}

.idrac-back-button:hover {
    background: rgba(0, 0, 0, 0.2);
    color: inherit;
    text-decoration: none;
    transform: translateX(-5px);
}

body.dark-mode .idrac-back-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.idrac-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.idrac-item {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

body.dark-mode .idrac-item {
    background: rgba(255, 255, 255, 0.05);
}

.idrac-item:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

body.dark-mode .idrac-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.idrac-item a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.idrac-item a::before {
    content: "→";
    margin-right: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.idrac-item:hover a::before {
    opacity: 1;
    transform: translateX(5px);
}

.idrac-title {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #000, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.dark-mode .idrac-title {
    background: linear-gradient(45deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .idrac-container {
        padding: 1rem;
    }

    .idrac-item a {
        padding: 1rem;
        font-size: 1rem;
    }
}