* {
    margin: 0;
    background-color: transparent;
    padding: 0;
    font-family: 'minecraft', fantasy;
    box-sizing: border-box;
    border: none;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    background-image: url('images/talisman.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    overflow: hidden;
}

#mineflayer-chat-messages li {
    color: white;  /* default color for any <li> messages */
}


.timestamp {
    color: rgb(19, 141, 165);
}

.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 25%;
    max-height: 25%;
}

.side-nav {
    position: fixed;
    background: transparent !important;
    left: 0;
    top: 0;
    width: 120px;
    height: 100vh;
    transform: translateY(17%);
    background-color: transparent;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.side-nav ul li {
    list-style: none;
    display: inline-block;
    margin-right: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.side-nav ul li a {
    text-decoration: none;
    color: transparent;
    font-size: 16px;
}

.button {
    margin-bottom: 0px;
    padding: 0px;
    background-color: transparent;
    color: #fff;
    cursor: pointer;
}

.header {
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
    z-index: 2;
    width: 100%; /* Set the header width to 100% */
    position: fixed; /* Fix the header at the top */
    top: 0; /* Align the header to the top of the viewport */
}


.top-buttons {
    display: flex;
    justify-content: center; /* Center the buttons horizontally */
    align-items: center; /* Center the buttons vertically */
    width: 100%; /* Set the buttons width to 100% */
    max-width: 800px; /* Set a max-width for the buttons to prevent them from stretching too wide */
    padding: 20px 10px; /* Add padding to the top and bottom, and adjust left and right as needed */
}

.top-button {
    height: 40px; /* Adjust height as needed */
    width: 240px; /* Adjust width as needed */
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
    background: #999 url('images/backgroundbutton.png') center / cover;
    image-rendering: pixelated;
    border: 2px solid #000;
    position: relative;
    margin-right: 15px;
    font-size: 16px;
}

.top-button .title {
    width: 100%; 
    height: 100%;
    padding-bottom: .3em;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #DDD;
    text-shadow: 2px 2px #000A;
    box-shadow: inset -2px -4px #0006, inset 2px 2px #FFF7;
}

.top-button:hover .title {
    background-color: rgba(100, 100, 255, .45);
    text-shadow: 2px 2px #202013CC;
    color: #FFFFA0;
}

.top-button:active .title {
    box-shadow: inset -2px -4px #0004, inset 2px 2px #FFF5;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center all content horizontally */
    width: 100%; /* Set the wrapper width to 100% */
    max-width: 800px; /* Set a max-width for the content to prevent it from stretching too wide */
    padding: 10px; /* Add some padding around the content */
    box-sizing: border-box;
    margin-top: 100px; /* Adjust the top margin as needed */
    margin-bottom: 100px; /* Adjust the bottom margin as needed */
    overflow-y: auto;
}

#mineflayer-chat-container {
    position: relative; /* Change position to relative */
    width: 100%; /* Set the width to 100% */
    max-width: 800px; /* Set a max-width for the chat container */
    padding: 10px; /* Add some padding around the chat container */
    box-sizing: border-box;
}

#mineflayer-chat-container h2 {
    color: #01C0C4;
    font-size: 200%;
    text-align: center;
}

#mineflayer-chat-messages {
    max-width: 100%; /* Set the max-width to 100% */
    width: 100%; /* Set the width to 100% */
    overflow-y: auto; /* Add vertical scroll if needed */
    padding: 5px; /* Add some padding around the chat messages */
    box-sizing: border-box;
}

#mineflayer-chat-messages-container {
    background-color: rgba(0, 0, 0, 0.438); /* Adjust as needed */
    max-width: 850px;
    /* Add some height to accommodate input elements below */
    height: calc(100vh - 200px - 60px); /* Adjust as needed */
    overflow-y: auto;
}

@font-face {
    font-family: 'minecraft';
    src: url('fonts/minecraft.otf') format('opentype');
}



.social-media-buttons {
    display: flex; /* Use flexbox to display buttons horizontally */
    justify-content: center; /* Center the buttons horizontally */
    align-items: center; /* Center the buttons vertically */
    padding: 5px; /* Add padding to create space around the buttons */
    border-radius: 10px; 
    background-color: rgba(0, 0, 0, 0.438); /* Adjust as needed */
    
}

.social-media-buttons .const,
.social-media-buttons .youtube,
.social-media-buttons .telegram,
.social-media-buttons .twitter,
.social-media-buttons .discord {
    width: 40px;
    height: 40px;
    display: flex; /* Ensure the images are aligned correctly */
    justify-content: center; /* Center the images horizontally */
    align-items: center; /* Center the images vertically */
    cursor: pointer; /* Change cursor to pointer on hover */
    transition: filter 0.3s; /* Add a smooth transition effect */
}


.social-media-buttons .const:hover,
.social-media-buttons .youtube:hover,
.social-media-buttons .telegram:hover,
.social-media-buttons .twitter:hover,
.social-media-buttons .discord:hover {
    filter: brightness(-1.9); /* Optional: Add a brightness effect on hover */
    transform: scale(1.05);
}

.social-media-buttons button {
    padding: 0; /* Remove padding to make button area match image size */
    border: none; /* Remove border */
}

.social-media-buttons .const,
.social-media-buttons .youtube,
.social-media-buttons .telegram,
.social-media-buttons .twitter,
.social-media-buttons .discord {
    margin-right: 10px; /* Add space between the buttons */
    padding: 0; /* Remove padding to make button area match image size */
    border: none; /* Remove border */
    background-color: transparent; /* Remove background color */
}

.social-media-buttons .const:last-child,
.social-media-buttons .youtube:last-child,
.social-media-buttons .telegram:last-child,
.social-media-buttons .twitter:last-child,
.social-media-buttons .discord:last-child {
    margin-right: 0; /* Remove margin-right for the last button */
}
.social-media-buttons button img {
    width: 40px; /* Set the width of the image */
    height: 40px; /* Set the height of the image */
}

.join-message {
    color: #AAAAAA;
    font-size: 1.1em;
}

.death-message {
    color: #FF5555;
    font-size: 1.1em;
}

.leave-message {
    color: #AAAAAA;
    font-size: 1.1em;
}

.whisper-message {
    color: #FF55FF;
    font-size: 1.1em;
}

.console-message {
    color: #FFAA00;
    font-size: 1.1em;
}

.other-message {
    color: white;
    font-size: 1.1em;
}

.green-text-message {
    color: #55FF55;
    font-size: 1.1em;
}

.the-honored-one {
    color: #a82ec7;
    font-size: 1.1em;
}

.white-text {
    color: white;
    margin-left: 7px;
}

.timestamp {
    color: #01C0C4; /* Change to your desired color */
    margin-right: 5px; /* Add margin-right for spacing */
}

.side-nav button {
    cursor: pointer;
}

#message-input-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 850px; /* Adjusted to match chat box width */
    margin-top: 10px; /* Adjust as needed */
}

#message-input {
    flex: 1;
    padding: 8px;
    border-radius: 5px;
    color: #bbafaf;
    width: calc(100% - 100px);
    max-width: calc(100% - 100px);
    background-color: rgba(0, 0, 0, 0.438);
}


#token-input {
    margin-left: 10px;
    padding: 8px;
    border-radius: 5px;
    width: 100px;
    color: #bbafaf;
    background-color: rgba(0, 0, 0, 0.438);
}

#message-input-container button {
    padding: 8px 16px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #1194ac;
    margin-left: 10px;
}

#message-input-container button:hover {
    background-color: #01C0C4;
}

#footer {
    text-align: center;
    position: fixed;
    bottom: 10px; /* Adjust this value according to your preference */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 10px 0; /* Adjust vertical padding */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow to the footer */
}

#footer p {
    margin: 0;
    font-size: 16px; /* Adjust font size */
}

#footer-content {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.438);
    padding: 4px;
    color: #fff;
    border-radius: 4px; /* Optional: Add border radius for rounded corners */
}

#footer a {
    color: #01C0C4; /* Link color */
}


.advertisement {
    position: absolute;
    width: 307px;
    height: 461x;
}

.left-advertisement {
    left: 10%;
    transform: translateX(-50%);
    top: 50%;
    margin-top: -260px; /* Half of the height to center vertically */
    background-color: rgba(0, 0, 0, 0.438);
    margin-left: 50px;
    border-radius: 8px;
    cursor: pointer; /* Change cursor to pointer on hover */
}

.right-advertisement {
    right: 10%;
    transform: translateX(50%);
    top: 50%;
    margin-top: -260px; /* Half of the height to center vertically */
    background-color: rgba(0, 0, 0, 0.438);
    margin-right: 50px;
    border-radius: 8px;
    cursor: pointer; /* Change cursor to pointer on hover */
}

.advertisement img {
    width: 307px;
    height: 461px;
    cursor: pointer; /* Change cursor to pointer on hover */
}


.right-advertisement:hover {
    background-color: rgba(37, 37, 37, 0.438);
}

.left-advertisement:hover {
    background-color: rgba(37, 37, 37, 0.438);
    }
