@font-face {
    font-family: "myfont";
    src: url("./font/Nunito-VariableFont_wght.ttf");
}
body{
    font-family: "myfont";
    margin: 0;
    padding: 0;
    background-color: #4a235a;
}
div.masterContainer{
    min-height: 100vh;
    display: grid;
    grid-template-columns: 20% 80%;

}
div#chat-area{
    box-sizing: border-box;
    padding: 20px 20px 10px;
    
}
div#contactInfo {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    height: 70px;
    background-color: #c79bd3;
    box-sizing: border-box;
    padding: 7px 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    border-bottom: 1.4px solid #4a235a;
    position: sticky;
    top: 0;
    z-index: 100; /* Ensure it stays on top */
}
img.profilePic {
    width: 50px;
    border-radius: 50%;
    border: 2px solid #4a235a;;
}


.chat-container {
    background-color: #d8bfd8;
    min-height: 76vh;
    max-height: 78vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 20px 40px;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
    overflow-y:scroll;
    overflow-x: auto;
    
    
}


div.date-divider {
    width: max-content;
    background-color: #c79bd3;
    padding: 2px 12px;
    margin: 10px auto;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: bold;
    color: #6d4878;
}

.chat-bubble {
    max-width: 80%;
    padding: 7px 10px;
    border-radius: 12px;
    word-wrap: break-word;
    margin: 5px 0;
}
.chat-bubble p{
    margin: 0;
}
.sent {
    background-color: #c79bd3;
    align-self: flex-end;
    text-align: right;
    color: #4a235a;
}

.received {
    background-color: #e6c5ec;
    align-self: flex-start;
    text-align: left;
    color: #4a235a;
}

.timestamp {
    font-size: 0.75em;  /* Smaller for subtle appearance */
    color: #6d4878;  /* Softer color */
    margin-top: 3px;
    display: block;
}

.sent .timestamp {
    text-align: right;  /* Right-aligned for Shreya's messages */
}

.received .timestamp {
    text-align: left;  /* Left-aligned for your messages */
}

img.chat-media {
    max-width: 100%;
    border-radius: 5px;
    margin-top: 5px;
}

div.chat-bubble>img{
    width: 350px;
}

.chat-container::-webkit-scrollbar {
    width: 8px;
    margin-right: 8px;
}

.chat-container::-webkit-scrollbar-track {
    background: transparent; /* Removes the white background */
}

.chat-container::-webkit-scrollbar-thumb {
    background: #4a235a; /* Keeps it within the theme */
    border-radius: 4px;
}

div#features{
    
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    position: relative;
    
}
div#features>div:nth-of-type(1){
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fafffc;
    
}div#features>div:nth-of-type(1) p{
    margin: 0;
    margin-top: 10px;
    font-size: 9pt;
    letter-spacing: 0.8px;

}
div#features img#logo{
    width: 200px;
    margin: auto;
}
div#featuresList{
    margin-top: 40px;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    justify-content: left;
    text-align: left;
    width: 85%;

}
div#featuresList p{
    color: #fafffc;
    font-weight: 700;
    padding: 10px;
    margin: 0;
    letter-spacing: 1.1px;

}

.scroll-btn {
    font-family: "myfont";
    font-weight: 500;
    
    text-align: left;
    padding: 7px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    border: 1.4px solid #c79bd3;
    background-color: #4a235a;
    /* background-color: #c79bd3; */
    /* color: #4a235a; */
   
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fafffc;
}

.scroll-btn img{
    width: 30px;
}