:root {
    --background: #ffffff;
    --background-text: #121212;
    
    --surface: #121212;
    --surface-text: #ffffff;

    --surface--chat: lightgray;
    --chat-text: black;

    --error: #CF6679;
    --error-text: #000000;
    
    --primary-color: #BB86FC;
    --primary-text: #000000;

    --secondary-color: #03DAC6;
    --secondary-text: #000000;

    --elevation-low: 0 1px 3px rgba(0, 0, 0, 0.2);
    --elevation-medium: 0 3px 6px rgba(0, 0, 0, 0.3);
    --elevation-high: 0 10px 20px rgba(0, 0, 0, 0.4);

    --radius: 10px;

  }

#navbar {
    background-color: transparent;
}


.dock {
    position: relative;
    background-color: transparent;
    color: var(--chat-text);
    margin-top: 10px;
    margin-left: 0px;
    z-index: 2 !important;
}

.mybutton {
    display: none;
}

.testContainer {
    display: flex;
    align-items: stretch;
    border-radius: 10px;
}

.chat-container {
    width: 20%; /* Set the width to 20% */
    height: 720px;
    margin-left: 30px;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4)
}

.video-container {
    position: relative;
    flex: 1;
    height: 100%;
    width: 56.25%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    z-index: 1;
    /*box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);*/
}

.blurred-background {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px); /* 10px on each side */
    height: calc(100% + 20px); /* 10px on each side */
    filter: blur(20px) brightness(80%); /* Apply blur */
    z-index: 1; /* Place behind the main video */
    background: no-repeat center center;
    background-size: cover;
    pointer-events: none; /* Ensure it doesn't interfere with video controls */
    border-radius: 10px; /* Match the border-radius of the video-container */
}

.video-container::before {
    content: '';
    display: block;
    padding-top: 56.25%;
    border-radius: 10px;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Place in front of the blurred background */
    border-radius: 10px; /* Match the border-radius of the video-container */
}

#chat {
    flex: 1; /* Take up remaining space */
    overflow-y: auto; /* Enable scrolling for chat messages */
    padding: 10px;
    border-radius: 0px 10px 0px 0px; /* Match the border-radius of the video-container */
    background-color: var(--surface--chat);
}

.floating-square {
    position: absolute;
    bottom: 0; /* Position at the bottom of the chat-container */
    width: 100%; /* Take up full width of the chat-container */
    padding: 5px;
    background-color: var(--surface--chat);
    border-radius: 0px 0px 10px 0px; /* Match the border-radius of the video-container */
    box-sizing: border-box; /* Ensure padding is included in the element's total width and height */
    position: relative; /* Make this a relative container for absolute positioning */
}

.input-container {
    position: relative;
    width: 100%;
}

.full-width-input {
    width: 100%; /* Take up full width of the input-container */
    padding: 5px;
    border: none;
    border-bottom: 2px solid var(--surface--chat);
    border-radius: 10px;
    box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
    padding-right: 60px; /* Add padding on the right to create space for the button */
    outline: none;
}

.send-button {
    position: absolute;
    top: 50%; /* Center the button vertically */
    right: 10px; /* Position the button 10px from the right */
    transform: translateY(-55%); /* Center the button vertically */
    padding: 10px;
    border: none;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
}

.send-button .material-symbols-outlined {
    font-size: 18px;
}


.message-card {
    padding: 10px;
    margin: 0px;
    color: var(--chat-text);
  }
  .user-info {
    display: flex;
    align-items: center;
  }
  .avatar {
    border-radius: 50%;
    width: 20px;
    margin-right: 10px;
  }
  .username {
    display: block;
    font-weight: bold;
    margin-right: 5px;
    font-size: 10pt;
    font-family: var(--font);

  }
  .timestamp {
    display: block;
    margin-left: 30px;
    font-size: 7pt;
    font-style: italic;
    font-family: var(--font);
  }
  .message-content {
    margin-left: 30px;
    margin-right: 5px;

    font-family: var(--font);
    font-size: 10pt;
  }

/* Media query to hide the chat container on smaller screens */
@media (max-width: 1080px) {
    .chat-container {
        display: none; /* Hide the chat container */
    }

    .mybutton {
        display: block;
    }

}