
body {
    height: 95vh; /* Full viewport height */
    background-color: #f4ebe3;
    margin: 0;
    padding: 0;
}






/* Header styling */
header {
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #F3EDE5;
    box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.1); /* Adds a shadow effect */
}

/* Logo styling */
.logo img {
    height: 65px; /* Adjust size as needed */
    width:260px;
}









/* Centering Container */
.centered-container {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    margin-top: 40px;
}

/* Form Group */
.form-group {
    font-size: 25px;
    text-align: center;
}

/* Input Group */
.input-group {
    display: flex;
    gap: 10px; /* Adds space between select and button */
    margin-top: 10px;
}

select {
    width: 150px;
    padding: 5px;
    border-radius: 13px;

}

.language-button {
    border-radius: 13px;
    border-width: 1px;
    background-color: #F7CC6A;
    border-color: #F7CC6A;
}

  

  .language-columns-wrapper {
    width: 100%; /* Full width of the page */
    background-image: url('pictures/languages2.jpg'); /* Replace with your image file or URL */
    background-size: cover; /* Ensure the image covers the entire area */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevents the image from tiling */
    display: flex;
    justify-content: center; /* Center the columns within the wrapper */
    height: 65%;
}


.language-columns {
    display: flex;
    justify-content: space-between; /* Evenly space the columns */
    align-items: center; /* Center the columns vertically */
    max-width: 80%; /* Set a maximum width to fit the screen size */
    width: 100%; /* Ensure it uses full width within the max-width constraint */
}

.column {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    margin: 0 5px; /* Space between columns */
    flex: 1; /* Allow columns to expand evenly */
    text-shadow: 6px 3px 3px rgba(0, 0, 0, 0.6); 
}

/* Default state for the words (dimmed) */
.column p {
    font-size: 27px;
    color: #888; /* Dimmed color */
    transition: color 0.3s ease; /* Smooth transition for color change */
    color: white;
    border-radius: 60px;
    padding: 8px 25px;
    font-weight: 800;
    background-color: hsla(0, 0%, 47%, 0.8); 

}

/* Highlighted state for the words */
.column p.active {
    color: #F7CC6A; /* Bright color when active */
    font-weight: 800;
}



.icon-image {
    width: 43px; /* Adjust size as needed */
    height: 40px; /* Adjust size as needed */
    margin-right: 8px; /* Space between the icon and the text */
    vertical-align: middle; /* Align the icon with the text */
}


/******************************** Chat button ******************************************/


.message-box {
    background: white;
    border-radius: 15px;
    border: 1px solid black;
    padding: 20px;
    height: 400px;
    overflow-y: auto;
    width: 88%; /* Match the fixed width of the chat container */
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: monospace;
}

.bar-wrapper {
    display: flex;
    margin-top: 20px;
}

.bar-wrapper select {
    margin-right: 5px;
    padding: 4px;
    border-radius: 15px;
    border: 1px solid black;
    font-family: monospace;
    width: 90px;
}

.bar-wrapper input {
    flex: 1;
    padding: 6px;
    font-size: 12px;
    border-radius: 15px;
    border: 1px solid black;
    font-family: monospace;
    margin-right: 0px;
}

.bar-wrapper button {
    font-family: monospace;
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 15px;
    border: none;
    background-color: #ffca54;
    color: #2a86a2;
    cursor: pointer;
    margin-left: 10px;
}

/* .bar-wrapper button:hover {
    background-color: #c24e82;
} */

.chat {
    display: flex;
    margin: 10px 0;
    font-family: monospace;
}

.chat.message {
    justify-content: flex-end;
}

.chat.response {
    justify-content: flex-start;
}

/* Ensure the chat message bubbles stay within the fixed width */
.chat span {
    background: #ffffff;
    padding: 10px;
    border-radius: 15px;
    max-width: 90%; /* Prevents text from stretching the chat box */
    word-wrap: break-word; /* Allows long text to wrap within the box */
}

.chat.response span {
    background: #e7f3fe;
}

@keyframes slideIn {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
/* Chat container is hidden by default */
.chat-container {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    padding: 17px;
    width: 350px; /* Set a fixed width */
    max-width: 350px; /* Ensures the chat container doesn’t exceed this width */
    flex-direction: column;
}

/* Show the chat container when it's toggled on */
.chat-container.active {
    display: block;
    animation: slideIn 0.5s ease-out;
    background-color: white;
    padding: 17px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;

    flex-direction: column;

}

/* width: 300px;
background-color: white;
border-radius: 25px;
padding: 20px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column; */
/******************************** Chat button ******************************************/
/* Chat button styles */


.chat-button {
    background-color: #2a86a2; /* Button color */
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    font-size: 16px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
}

.chat-button:hover {
    transform: translateY(-2px); /* Pop up on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4); /* Darker shadow on hover */
}

/* Chat window styles */
.chat-window {
    position: fixed;
    bottom: 70px;
    right: 20px;
    width: 300px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    display: none; /* Hidden by default */
    flex-direction: column;
}

.chat-header {
    background-color: #567BA1;
    color: white;
    padding: 10px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-body {
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.chat-footer {
    display: flex;
    padding: 10px;
}

.chat-footer input[type="text"] {
    flex: 1;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 5px;
}

.send-button {
    background-color: #567BA1;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

/* Slide-in animation for chat button */
@keyframes slideIn {
    from {
        right: -100px; /* Start off-screen */
    }
    to {
        right: 20px; /* Slide into view */
    }
}



