@font-face {
    font-family: 'MinecraftRegular';
    src: url('MinecraftRegular-Bmg3.otf') format('opentype');
}

@font-face {
    font-family: 'MinecraftTen';
    src: url('MinecraftTen-VGORe.ttf') format('truetype');
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('backgrounds/oxidized_copper.png') no-repeat center center fixed;
    background-size: cover;
    font-family: 'MinecraftRegular', Arial, sans-serif;
}

.site-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.site-logo {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.site-title {
    font-family: 'MinecraftTen', Arial, sans-serif;
    font-size: 2.5em;
    display: flex;
    align-items: center;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 80%;
    max-width: 1200px;
    height: 80%;
    margin-bottom: 20px;
}

.card {
    width: 50%;
    height: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
    overflow: hidden; /* Ensure content is clipped to fit the rounded corners */
    position: relative;
}

.card img {
    width: 100%;
    height: 75%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    object-fit: cover;
}

.skin-image {
    position: absolute;
    top: 15%;
    /* bottom: 80%; */
    left: 50%;
    transform: translateX(-50%) scale(1); /* Adjust scale as needed */
    image-rendering: pixelated; /* Ensure good scaling for pixel graphics */
    width: auto;
    height: auto;
    z-index: 1;
}

.info {
    width: 100%;
    height: 25%;
    padding: 20px;
    text-align: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 2; /* Ensure the info section is above the skin image */
    background: rgba(255, 255, 255, 0.9); /* Slightly transparent background for better readability */
}

.info h2 {
    margin: 10px 0;
    font-size: 2em;
    font-family: 'MinecraftTen', Arial, sans-serif;
}

.info p {
    color: #555;
    font-size: 1.2em;
}

.chat {
    width: 45%;
    height: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chat-header, .chat-footer {
    padding: 10px;
    background: #f0f0f0;
    border-bottom: 1px solid #ddd;
}

.chat-header {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.chat-body {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
    font-size: 1.2em; /* Larger text size */
}

.chat-footer {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    align-items: center;
}

.chat-footer input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-right: 10px;
    font-family: 'MinecraftRegular', Arial, sans-serif;
}

.chat-footer button {
    background: #1E90FF; /* Blue color */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
}

.chat-footer button i {
    font-size: 1.2em;
}

.dashboard {
    width: 100%;
    display: flex;
    justify-content: center;
    background: #1d332a;
    padding: 10px 0;
    margin-top: auto;
}

.dashboard-button {
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 0 10px;
    padding: 20px;
    cursor: pointer;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-button img {
    width: 40px;
    height: 40px;
}
