@font-face {
    font-family: 'Diddy';
    src: url('/assets/GT-Alpina-Standard-Thin-Trial.otf');
    font-weight: bolder;
    font-style: normal;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

* {
    font-family: 'Diddy';
    animation: fadeIn 1s;
}

html, body { 
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #ffecd2 0%, #fcb69f 100%);
    min-height: 100%;
    height: auto;
    overflow-y: auto;
    text-align: center;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 70px; /* Space for the fixed input at bottom */
}

.container {
    position: relative;
    margin: 0 auto;
    width: 640px;
    max-width: 100%;
    padding: 20px;
}

video { 
    width: 10%; 
    height: 10%; 
}

canvas {
    width: 375px;
    height: 250px;
}

#emotion {
    margin-top: 10px;
    font-size: 24px;
    font-weight: bold;
}

img {
    width: 375px;
    height: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #333;
    font-size: 36px;
    margin-bottom: 20px;
}

.divider {
    margin: 20px auto;
    width: 80%;
    align-self: center;
    border-bottom: 3px solid #fcb69f;
}

.controls {
    margin-top: 10px;
    text-align: center;
}

.button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.chat-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    overflow-y: visible;
    height: auto;
    flex-grow: 1;
}

.chat-content {
    overflow-y: visible;
    flex-grow: 1;
}

#start-button {
    width: 150px;
    height: 100px;
    display: inline-flex;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    font-style: italic;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#start-button:hover {
    background-color: skyblue;
}

.chat-input-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#userInput {
    width: 70%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
    transition: border-color 0.3s ease;
}

#userInput:focus {
    border-color: #007bff;
    outline: none;
}

#send-button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#send-button:hover {
    background-color: #0056b3;
}