@import url('https://fonts.googleapis.com/css2?family=Andale+Mono&display=swap');

html, body {
    font-family: 'Andale Mono', monospace;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Disable scrolling */
    height: 100%;
    width: 100%;
    background: #101010; /* Background color */
    color: white; /* Text color */
}

.logo {
    position: absolute; /* Make it float */
    top: 10px;
    left: 10px;
    z-index: 30; /* Ensure it's above other elements */
    cursor: move; /* Change cursor to indicate draggable */
}

.logo img {
    max-height: 50px;
}

.tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #FF7A00; /* Background color changed to orange */
    position: fixed;
    top: 50px; /* Adjusted to be below the logo */
    z-index: 10;
    height: 40px; /* Ensure the height is defined */
    padding: 0; /* Remove padding to avoid interference */
}

.tab {
    flex: 1;
    padding: 0; /* Remove padding */
    height: 100%; /* Match the height of the navigation bar */
    line-height: 40px; /* Adjust line height for better vertical alignment */
    color: black; /* Text color */
    background: #FF7A00; /* Match background color */
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s;
    min-width: 100px; /* Ensure a minimum width for each tab */
}

.tab:hover {
    background: #FF9900; /* Slightly darker shade for hover */
}

.content {
    width: 100%;
    height: calc(100% - 90px); /* Adjust based on the height of the logo and tabs */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    margin-top: 90px; /* Adjust based on the height of the logo and tabs */
    box-sizing: border-box;
    padding: 20px;
    overflow: hidden; /* Prevent horizontal overflow */
}

img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    cursor: pointer; /* Make images clickable */
}

.navigation {
    position: fixed;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.arrow {
    background: rgba(255, 255, 255, 0.5); /* White background with transparency */
    color: white; /* White arrow color */
    border: none;
    padding: 20px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .tabs {
        display: none; /* Hide the top bar on mobile */
    }
    .navigation {
        display: none; /* Hide the side arrows on mobile */
    }
    .content {
        margin-top: 70px; /* Adjust for the logo height only */
        height: calc(100% - 70px); /* Adjust for the logo height only */
    }
}

/* Styles for ChatTDT Page */
body.chattdt {
    background: #6441a5;
}

body.chattdt .tabs {
    background: white;
}

body.chattdt .tab {
    color: #6441a5;
    background: white;
}

body.chattdt .tab:hover {
    background: #e0e0e0; /* Slightly darker shade for hover */
}
