/* File: css/master.css */

@font-face {
    font-family: 'Mojangles';
    src: url('../font/mojangles.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: "Mojangles";
    background-color: #fbf9f9;
}

.navbar-default .navbar-nav > li > a {
    color: white;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #edbf56;
}

.navbar-default .navbar-nav > li > a:hover {
    color: #ff69b4;
}

.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:active {
    color: #edbf56;
}

.navbar {
    background-color: transparent;
    border: none !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: none !important;
}

.navbar-nav {
    text-align: center;
    width: 100%;
}

.navbar-nav > li {
    display: inline-block;
    float: none;
}

.navbar-nav > li > a {
    font-weight: bold;
    font-size: 170%;
    color: #ff69b4;
    transition: color 0.2s;
    padding-bottom: 0.5rem;
    text-decoration: none;
    border: 2px solid transparent;
    background-color: transparent !important;
}

.logo {
    margin-top: 30px;
}

/* Footer styles */
.footer {
    background-color: #1d1d1d;
    color: black;
    text-align: center;
    padding: 25px 0;
    font-weight: bold;
    position: relative;
    clear: both;
    border-top: 1px solid black;
}

.footer .footer-title {
    color: #ff69b4;
    font-size: 25px;
    margin-bottom: 15px;
}

.footer .nav {
    list-style: none;
    padding-left: 0;
}

.footer .nav-item {
    padding: 3px 0;
}

.footer .nav-link {
    color: pink;
    text-decoration: none;
    font-size: 18px;
}

.footer .nav-link i {
    margin-right: 8px;
}

.footer-column {
    text-align: center;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .footer-column {
        text-align: left;
    }
}

.icon {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    margin-right: 8px;
    filter: brightness(0) saturate(100%) invert(30%) sepia(99%) saturate(6145%) hue-rotate(306deg) brightness(93%) contrast(101%);
}

.white-icon {
    filter: brightness(0) invert(1);
}

.copy-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
    vertical-align: middle;
}

.copy-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    z-index: 1000;
    transition: opacity 0.5s ease-in-out;
}

.copy-notification.fade-out {
    opacity: 0;
}

.copy-notification .close-btn {
    margin-left: 10px;
    font-weight: bold;
    cursor: pointer;
}

.server-ip {
    display: flex;
    align-items: center;
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f6d0e2;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb {
    background-color: #ff69b4;
    border-radius: 20px;
    border: 3px solid #f6d0e2;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #ff69b4 #f6d0e2;
}

*::-webkit-scrollbar-corner {
    background: transparent;
}

/* Hamburger toggle button */
.navbar-toggle {
    border: none;
    background: transparent;
    margin-right: 15px;
}

.navbar-toggle .icon-bar {
    background-color: white;
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
}

/* Mobile Menu Overlay */
@media (max-width: 767.98px) {
    .navbar-collapse {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 102vw;
        height: 100vh;
        background-color: #252424 !important;
        z-index: 9999;
        padding-top: 60px;
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .navbar-collapse.in,
    .navbar-collapse.show {
        display: flex !important;
    }

    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .navbar-nav > li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .navbar-nav > li > a {
        font-size: 1.8rem;
        color: #ffffff !important;
        padding: 15px;
    }

    .navbar-toggle .icon-bar {
        background-color: white !important;
    }

    /* Close button only visible on mobile */
    .navbar-collapse .close-btn {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 30px;
        font-weight: bold;
        color: #ffffff;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10000;
    }
}

/* Hide close button by default outside mobile */
.close-btn {
    display: none;
}

body.menu-open,
html.menu-open {
    overflow: hidden;
}

/* Add smooth transition for padding */
body {
    transition: padding-right 0.2s ease;
}

@media (max-width: 250px) {  
 .navbar-collapse {
    width: 110vw; 
    }
} 
