/* Scrollbar styling for Chrome, Safari, and Edge */
::-webkit-scrollbar {
    width: 12px;            /* Width of the scrollbar */
}
::-webkit-scrollbar-track {
    background: #f1f1f1;    /* Background of the scrollbar track */
}
::-webkit-scrollbar-thumb {
    background-color: #888; /* Color of the scrollbar thumb */
    border-radius: 10px;    /* Rounded corners */
    border: 3px solid #f1f1f1; /* Adds padding around the thumb */
}
::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Color on hover */
}
/* Scrollbar styling for Firefox */
* {
    scrollbar-width: thin;     /* Makes the scrollbar thinner */
    scrollbar-color: #888 #f1f1f1; /* Thumb color and track color */
}
.mc-related {
    font-family: 'Poppins', sans-serif;
    background: url('https://i.ibb.co/JybNthy/2024-09-28-13-05-11.png') no-repeat center center fixed;
    background: url('https://i.ibb.co/vx68tQy/2024-10-19-12-11-32.png') no-repeat center center fixed;
    background: url('https://i.ibb.co/ctLtJQx/2024-11-08-15-18-28.png') no-repeat center center fixed;
    background: url('https://i.ibb.co/ctLtJQx/2024-11-08-15-18-28.png') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 0;
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.mc-box {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2.5rem;
    border-radius: 0.625rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 80%;
    max-width: 37.5rem;
    z-index:1;
}
.mc-related h1 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}
.mc-related .status {
    font-size: 1.25rem;
    margin-bottom: 1.875rem;
}
.mc-related  .status p {
    margin: 0.625rem 0;
}
.mc-related .motd {
    margin: 1.25rem 0;
    font-style: italic;
    font-size: 1.125rem;
    color: #fff;
}
.mc-related .motd p {
    margin: 0;
}
.mc-related .player {
    position: relative;
    display: inline-block;
}
.mc-related .player .player-head {
    width: 2rem;
    height: 2rem;
    border-radius: 0.25rem;
    transition: transform 0.3s ease;
}
.mc-related .player .tooltip {
    visibility: hidden;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    text-align: center;
    padding: 0.3125rem 00.625rem;
    border-radius: 0.3125rem;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the head */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Smooth transition */
    white-space: nowrap;
}
.mc-related .player:hover .tooltip {
    visibility: visible;
    opacity: 1;
}
.mc-related .player-head:hover {
    transform: scale(1.15);
}
.mc-related .apply-button {
    background-color: rgba(50, 205, 50, 1);
    color: rgba(0, 0, 0, 1);
    padding: 1rem 2rem;
    text-align: center;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    border-radius: 0.25rem;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}
.mc-related .apply-button:hover {
    background-color: rgba(50, 155, 50, 1);
    color: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}
.mc-related .players-online {
    font-size: 1.125rem;
    margin-top: 0.625rem;
}
.mc-related .status-indicator {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    margin-left: 0.625rem
}
.mc-related .status-indicator.online {
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0px rgba(50, 205, 50, 0.2);
    }
    100% {
        box-shadow: 0 0 0 20px rgba(50, 205, 50, 0);
    }
}


.mc-related .countdown-timer {
    font-size: 0.75rem;  /* Adjust the size as needed */
    color: #fff;      /* Optional: keep the text color */
}
.mc-related .countdown-timer {
    font-size: 0.75rem;  /* Adjust the size to your preference */
    color: #fff;      /* Optional: white text */
}

.mc-related .countdown-text {
    font-size: 0.75rem;  /* You can adjust the entire text size here */
    color: #fff;
}
.mc-modal {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 1s ease;
    backdrop-filter: blur(5px);
}
.mc-related .close {
    position: absolute;
    top: 1rem;  /* Adjust to your preference */
    right: 1.5rem;  /* Adjust to your preference */
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    transition: color 0.35s ease;
    cursor: pointer;
}
.mc-related .close:hover {
    color: crimson;
}
.mc-related .close:hover {
    color: crimson;
}
.mc-modal.active {
    display: block;
    opacity: 1;
}

.mc-modal-content {
    overflow: auto;
    max-height: 25rem;
    background-color: rgba(50, 50, 50, 0.7);
    margin: 10% auto;
    padding: 1.25rem;
    border-radius: 5px;
    width: 80%;
    max-width: 37.5rem;
    text-align: center;
    transform: scale(0.7);
    opacity: 0;
    transition: transform 0.7s ease, opacity 0.7s ease;
    box-shadow: rgb(0 0 0 / 70%) 0px 6px 15px 5px;
}

/* For WebKit browsers (Chrome, Safari, Edge) */
.mc-modal-content::-webkit-scrollbar {
  width: 8px; /* Adjust the width of the scrollbar */
}

.mc-modal-content::-webkit-scrollbar-track {
  background: #2a2a2a; /* Dark background for the scrollbar track */
  border-radius: 10px; /* Smooth edges */
}

.mc-modal-content::-webkit-scrollbar-thumb {
  background-color: #888; /* Grey color for the scrollbar thumb */
  border-radius: 10px; /* Rounded corners for a sleek look */
  border: 2px solid #2a2a2a; /* Adds padding and matches track color */
}

.mc-modal-content::-webkit-scrollbar-thumb:hover {
  background-color: #555; /* Slightly darker color on hover */
}

/* Firefox-specific styling */
.mc-modal-content {
  scrollbar-width: thin; /* Makes the scrollbar thin */
  scrollbar-color: #888 #2a2a2a; /* Thumb color and track color */
}

.mc-modal.active .mc-modal-content {
    transform: scale(1);
    opacity: 1;
}

.mc-modal.closing {
    opacity: 0;
}

.mc-modal.closing .mc-modal-content {
    transform: scale(0.7);
    opacity: 0;
}
/* Player Stuff */
        
.mc-related .health-bar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mc-related .heart {
    width: 2rem;  /* Adjust the size as needed */
    height: 2rem;
    background-size: cover;
    margin: 2px;
}

.mc-related .full-heart {
    background-image: url('assets/images/mc-full-heart.png'); /* Image for full heart */
}

.mc-related .half-heart {
    background-image: url('assets/images/mc-half-heart.png'); /* Image for half heart */
}

.mc-related .empty-heart {
    background-image: url('assets/images/mc-empty-heart.png'); /* Image for empty heart */
}
.mc-related .xp-bar-container {
    width: 100%;  /* Adjust the width of the XP bar */
    height: 1.5rem;
    background-color: #3b3b3b;  /* Dark gray background, like in Minecraft */
    border: 0.125rem solid #000;  /* Add a black border */
    border-radius: 0.25rem;  /* Optional: Add rounded corners */
    position: relative;
}

.mc-related .xp-level {
    text-align: center;
    color: yellow;
    font-family: 'Minecraft', sans-serif;  /* Use a Minecraft-like font if available */
    margin-top: 0.625rem;
}
.mc-related .xp-bar-fill {
    height: 100%;
    background-color: #7FFF00;  /* Lime green color */
    width: 0%;  /* This will be updated dynamically */
    transition: width 0.5s ease;  /* Smooth transition for the width */
    border-radius: 0.25rem 0 0 0.25rem;  /* Rounded corners only on the left */
}
.mc-related .color-diamond {
    color: rgb(85, 255, 255);
}
.mc-related .color-totem {
    color: rgb(255, 204, 51);
}
.mc-related .search-bar {
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 1rem;
    text-align: center;
    padding: 1rem; 
    width: 20rem; 
    font-size: 1rem;
}
.mc-related .search-bar::placeholder  {
    color: rgb(255, 255, 255);
}