@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* start: Globals */
*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font: inherit;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--slate-700);
    height: 100%;
    overflow-x: hidden;
    /* display: grid; */
    /* align-items: center; */
    /* overflow-x: inherit; */
    /* -webkit-overflow-scrolling: touch; */
}

/* end: Globals */

/* start: Chat */
.chat-section {
    position: relative;
    /* box-shadow: inset 0 160px 0 0 rgb(221, 221, 221); */
    /* min-height: 100dvh; */
    /* min-height: 100%; */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--slate-100);

    overflow-x: hidden;
    overflow-y: auto;
}

.chat-container {
    /* max-width: 1360px; */
    width: 100%;
    
    height: 100%;
    /*1780px; 720px;*/
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, .1);
    /* background-color: var(--blue-600); */
    position: relative;
}

.chat-section::-webkit-scrollbar {
    width: 8px;
}

.chat-section::-webkit-scrollbar-track {
    background: transparent;
}

.chat-section::-webkit-scrollbar-thumb {
    background-color: rgba(100, 100, 100, 0.4);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.chat-section::-webkit-scrollbar-thumb:hover {
    background-color: rgba(100, 100, 100, 0.7);
}

/* Always hide by default */
.chat-container.hide-scrollbar::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

.chat-container.hide-scrollbar {
    scrollbar-width: none;
    /* Firefox */
}

/* Smooth transition (optional) */
.chat-container {
    transition: scrollbar-color 0.3s ease;
}

/* end: Chat */

/* start: Sidebar */
.chat-sidebar {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    height: 77px;
    display: flex;
    flex-direction: row;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 50;

    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.chat-sidebar-logo {
    color: var(--blue-800);
    display: block;
    text-align: center;
    padding: 12px 12px 12px 16px;
    left: 50%;
    text-decoration: none;
}

.chat-sidebar-logo>img {
    width: 46px;
    height: 46px;
}

.chat-sidebar-menu {

    list-style-type: none;
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-right: 16px;
    /* height: 100%; */
    /* gap: 5vh; */
}

.chat-sidebar-icons {
    margin: 18px 0px 0px 0px;
    height: 42px;

    display: flex;
    flex-direction: row;

    /* align-items: center; */
    justify-content: space-between;
    padding: 0px 20px 0px 20px;

    /* gap:auto; */
}

.chat-sidebar-icons > * > img {
    width: 42px;
    height: 42px;

    object-fit: cover;
}

.chat-sidebar-menu>li {
    width: 40%;
    height: 100%;

    text-align: center;
}

.chat-sidebar-menu>li:nth-child(1) {
    text-align: left;
}

.chat-sidebar-menu>li:nth-child(2) {
    width: 60%;
}

.chat-sidebar-menu>*>p, .chat-sidebar-menu>*>a {
    font-family: 'Pattaya-Regular', sans-serif;
    color: rgb(255, 255, 255);
    font-size: 150%;

    padding: 22px 0px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chat-sidebar-menu>*>a>p {
    color: rgb(255, 255, 255);
    padding: 5px 0px;
}

.chat-sidebar-menu>*>img {
    width: 52px;
    height: 52px;
}

.chat-sidebar-menu>*>a {
    display: block;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 17.5px 32px;
    font-size: 24px;
    text-decoration: none;
    color: var(--slate-400);
    position: relative;
    transition: color .15s ease-in-out;
}

.chat-sidebar-menu>*>a:hover {
    color: var(--slate-600);
}

.chat-sidebar-menu>.active>a {
    box-shadow: inset 4px 0 0 0 var(--blue-600);
    color: var(--blue-800);
    background-color: var(--blue-200);
}

.chat-sidebar-menu>*>a::before {
    content: attr(data-title);
    position: absolute;
    left: 50%;
    top: calc(100% - 16px);
    border-radius: 4px;
    transform: translateY(-50%);
    font-size: 13px;
    padding: 12px 6px;
    background-color: rgba(0, 0, 0, .6);
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: all .15s ease-in-out;
}

/* .chat-sidebar-menu>*>a:hover::before {
    top: calc(100% - 8px);
    opacity: 1;
    visibility: visible;
} */

.chat-sidebar-profile {
    margin-top: auto;
    position: relative;
}

.chat-sidebar-profile-toggle {
    background-color: transparent;
    border: none;
    outline: transparent;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    display: block;
    cursor: pointer;
}

.chat-sidebar-profile-toggle>img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.chat-sidebar-profile-dropdown {
    position: absolute;
    bottom: 100%;
    left: 16px;
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    list-style-type: none;
    border-radius: 4px;
    padding: 4px 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(.9);
    transform-origin: left bottom;
    transition: all .15s ease-in-out;
}

.chat-sidebar-profile.active .chat-sidebar-profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.chat-sidebar-profile-dropdown a {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    text-decoration: none;
    color: var(--slate-400);
    font-size: 14px;
}

.chat-sidebar-profile-dropdown a:hover {
    background-color: var(--slate-100);
    color: var(--slate-600);
}

.chat-sidebar-profile-dropdown a:active {
    background-color: var(--slate-200);
}

.chat-sidebar-profile-dropdown a i {
    margin-right: 12px;
    font-size: 17px;
}

/* end: Sidebar */



/* start: Content side */
.chat-content {
    /* background-color: var(--red-300); */
    /* padding-top: 256px; */
    /* height: 3000px; */
    transform-origin: top left;
    height: auto;
    width: 1360px;
    position: relative;

    /* left: 50%;
    transform: translateX(-50%); */
    margin: 0 auto;
}
/*
.chat-content * {
  outline: 1px solid rgba(255, 0, 0, 0.3);  light red outline 
}

.chat-content *:where(:not(html, body)) {
  background-color: rgba(0, 255, 0, 0.05);
}
*/
.content-sidebar {
    width: 0px;
    /* 256px */
    background-color: var(--red-300);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: absolute;
    top: 0;
    /* left: 64px; */
}

.content-sidebar-title {
    font-size: 20px;
    font-weight: 600;
    padding: 16px;
}

.content-sidebar-form {
    position: relative;
    padding: 0 16px;
}

.content-sidebar-input {
    padding: 8px 16px;
    background-color: var(--slate-100);
    border: 1px solid var(--slate-300);
    outline: none;
    width: 100%;
    border-radius: 4px;
    padding-right: 32px;
    font-size: 14px;
}

.content-sidebar-input:focus {
    border-color: var(--slate-400);
}

.content-sidebar-submit {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 32px;
    color: var(--slate-400);
    background-color: transparent;
    outline: transparent;
    border: none;
    cursor: pointer;
    transition: color .15s ease-in-out;
}

.content-sidebar-submit:hover {
    color: var(--slate-600);
}

.content-messages {
    overflow-y: auto;
    height: 100%;
    margin-top: 16px;
}

.content-messages-list {
    list-style-type: none;
    padding: 8px 0;
}

.content-messages-list>*>a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--slate-700);
    padding: 6px 16px;
}

.content-messages-list>*>a:hover {
    background-color: var(--slate-50);
}

.content-messages-list>.active>a {
    background-color: var(--slate-100);
}

.content-messages-option {
    list-style-type: none;
    padding: 8px 0;
}

.content-messages-option>*>a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--slate-700);
    padding: 6px 6px;
    margin: 0 16px;
    gap: 8px;
    border-radius: 8px;
}

.content-messages-option>*>a:hover {
    background-color: var(--blue-200);
}

.content-messages-option>*>a:active {
    background-color: var(--blue-300);
}

.content-message-title {
    margin-left: 16px;
    margin-right: 16px;
    color: var(--slate-400);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 2px;
    position: relative;
}

.content-message-title>* {
    position: relative;
    z-index: 1;
    padding: 0 4px 0 0;
    background-color: var(--white);
}

.content-message-title::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    height: 0;
    border-bottom: 1px solid var(--slate-300);
    z-index: 0;
}

.content-message-image {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin-left: 12px;
    /* margin-right: 12px; */
}

.content-message-info {
    display: grid;
    margin-right: 12px;
    width: 100%;
}

.content-message-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.content-message-text {
    font-size: 13px;
    color: var(--slate-400);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.content-message-more {
    text-align: right;
}

.content-message-unread {
    font-size: 12px;
    font-weight: 500;
    color: var(--white);
    background-color: var(--blue-600);
    padding: 2px 4px;
    border-radius: 4px;
}

.content-message-time {
    font-size: 12px;
    color: var(--slate-400);
    font-weight: 500;
}

.cards3D,
.flat-card-container,
.slider-container {
    position: relative;
    width: 100%;
    top: 220px;
    height: auto;

    
}

.slider-container {
    height: 400px;
    padding: 40px;
    
}

.flat-card-container{
    margin-top: 110px;
    /* height: 600px; */
}

.slider-container {
    margin-top: 700px;
    width: 90%;
    left: 50%;
    top: 50%;
    transform:translate(-50%, -50%);

    
}

.cards3D > h1 ,
.flat-card-container > h1, 
.slider-container > h1{
    position: absolute;
    font-family: 'Agbalumo-Regular';
    color:black;
    
    left: 140px;
    font-size: 42px;
    width: 1000px;
    text-align: left;

    font-weight: 400;

    z-index: 100;
}

.cards3D > h1 {
    top: 30px;
    left: 170px;
}

.flat-card-container > h1{
    left: 170px;
    top: 60px;
}

.slider-container > h1{
    top: -85px;
    left: 70px;
}

.cards3D > img,
.flat-card-container > img,
.slider-container > img {
    position: absolute;
    width: 80%;
    height: 78%;

    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);

    border-radius: 32px;
}

.slider-container > img:nth-child(1)
{
    position: absolute;
    width: 100%;
    height: 160%;
}

.cards3D > img, .flat-card-container > img{
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    background-image: url('images/Background5.png');
    width: 85%;
    height: 100%;
    padding: 120px 45px 120px 45px;
}

.cards3D > h1 > img,
.flat-card-container > h1 > img,
.slider-container > h1 > img {
    position: absolute;
    top: 48px;
    width: 480px;
    height: 4px;
    object-fit: fill;
    
    
}

.flat-card-container > h1 > img:nth-child(1) {
    top: -42px;
    left: -50px;
    height: 150px;
    width: 350px;
    z-index: -1;
}

.cards3D > h1 > img:nth-child(1) {
    top: -42px;
    left: -50px;
    height: 150px;
    width: 700px;
    z-index: -1;
}

.slider-container > h1 > img {
    position: absolute;
    top: -42px;
    left: -50px;
    height: 150px;
    width: 420px;
    z-index: -1;
    object-fit: fill;
}

.slider-container {
    /* box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3); */
    padding: 40px;
}

.flat-card-container > img{
    top:53%;
    transform: translate(-50%,-50%);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}

.introduction-background {
    position: relative;
    height: 648px;
    width: 100%;
}

.introduction-background>img {
    position: absolute;

    top: 0px;
    left: -50%;
    transform: translateX(50%);

    width: 100%;
    margin-top: -250px;

    object-fit: cover;
}

.introduction-background img {
    opacity: 0;
    transition: opacity 0.3s linear; /* smooth fade */
    pointer-events: none;
}

.introduction-text {
    position: absolute;
    text-align: center;
    bottom: -10px;
    width: 100%;
    height: 200px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.8) 0%,
        rgba(0,0,0,0.35) 80%,
        rgba(0,0,0,0) 100%
    );

    text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
}



.introduction-text > p {
    position: absolute;
    font-family: 'Pattaya-Regular';
    bottom: -20px;
    width: 100%;
    height: 100%;
    font-size: 62px;
    color: white;
    font-weight: 100;
}

.cards-background {
    position: relative;
    width: 100%;
    /* overflow: hidden; */
}

.cards-background>img:nth-child(1) {
    position: absolute;

    left: 0px;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* .cards-background>img:nth-child(3) {
    position: absolute;

    top: 7%;
    left: 50%;
    transform:translateX(-50%);

    width: 85%;
    height: 95%;

    object-fit: cover;

    box-shadow: 0px 0px 25px rgba(0, 0, 0, .5);
} */

.cards-background>img:nth-child(2) {
    position: absolute;

    top: 6%;
    left: 50%;
    transform:translateX(-50%);

    width: 90%;
    height: 95%;

    object-fit: cover;

    box-shadow: 0px 0px 25px rgba(0, 0, 0, .5);

    border-radius: 32px;
}

.cards-background>img:nth-child(3) {
    position: absolute;

    top: 80px;
    right: 0;
    /* transform:translateX(-50%); */

    width: 400px;

    object-fit: cover;

    z-index: 100;
}

.cards-background > h1 {
    position: absolute;
    font-family: 'Agbalumo-Regular';
    color:black;
    
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 57px;
    width: 1000px;
    text-align: center;
    z-index: 10;

    font-weight: 400;
}

.intro-section {
    width: 100%;
}

.bg-video {
    width: 100%;
    /* height: 600px;
    object-fit: fill; */
}

/* end: Content side */



/* start: Conversation */
.conversation {
    /* background-color: var(--orange-300); */
    height: 100%;
    /* padding-left: 256px; */
    display: none;
}

.conversation.active {
    display: flex;
    flex-direction: column;
}

.conversation-top {
    padding: 8px 16px;
    background-color: var(--white);
    display: flex;
    align-items: center;
}

.conversation-back {
    background-color: transparent;
    border: none;
    outline: none;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    color: var(--slate-400);
    margin-right: 12px;
    display: none;
}

.conversation-back:hover {
    background-color: var(--slate-100);
    border-radius: 50%;
    color: var(--slate-600);
}

.conversation-back:active {
    background-color: var(--slate-200);
}

.conversation-user {
    display: flex;
    align-items: center;
}

.conversation-user-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
}

.conversation-user-name {
    font-weight: 500;
    font-size: 17px;
}

.conversation-user-status {
    color: var(--slate-400);
    font-size: 13px;
}

.conversation-user-status::before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: var(--slate-300);
    border-radius: 50%;
    vertical-align: middle;
    display: inline-block;
    margin-right: 4px;
}

.conversation-user-status.online::before {
    background-color: var(--blue-600);
}

.conversation-buttons {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.conversation-buttons>* {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 20px;
    background-color: transparent;
    border: none;
    outline: transparent;
    cursor: pointer;
    color: var(--slate-600);
    margin-left: 4px;
}

.conversation-buttons> :hover {
    background-color: var(--slate-100);
    color: var(--slate-700);
}

.conversation-buttons> :active {
    background-color: var(--slate-200);
}

.conversation-main {
    overflow-y: auto;
    overflow-x: hidden;
    height: 80%;
    padding: 16px;
}

.conversation-wrapper {
    list-style-type: none;

}

.conversation-item {
    display: flex;
    align-items: flex-end;
    flex-direction: row-reverse;
    margin-bottom: 16px;
}

.conversation-item.me {
    flex-direction: row;
}

.conversation-item-side {
    margin-left: 8px;
}

.conversation-item.me .conversation-item-side {
    margin-right: 8px;
}

.conversation-item-image {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.conversation-item-content {
    width: 100%;

}

.conversation-item-wrapper:not(:last-child) {
    margin-bottom: 8px;
}

.conversation-item {
    display: flex;
    justify-content: flex-end;
}

.conversation-item-box {
    display: flex;
    max-width: 720px;
    width: auto;
    margin-left: auto;
    margin-right: 0;
}

.conversation-item-text {
    display: inline-block;
    padding: 12px 16px 8px;
    background-color: var(--white);
    color: var(--slate-900);
    box-shadow: 0 2px 12px -2px rgba(0, 0, 0, .1);
    border-radius: 20px;
    line-height: 1.5;
    margin-Left: auto;
    margin-right: 0;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* === Bot message (left aligned) === */
.conversation-item.me {
    justify-content: flex-start;
}

.conversation-item.me .conversation-item-box {
    margin-left: 0;
    margin-right: auto;
}

.conversation-item.me .conversation-item-text {
    margin-left: 32px;
    margin-right: unset;
    background-color: var(--blue-600);
    box-shadow: 0 2px 12px -2px var(--blue-600);
    color: rgba(255, 255, 255, 0.8);
}

/* .conversation-item.me .conversation-item-text {
    margin-left: unset;
    margin-right: 32px;
}
.conversation-item.me .conversation-item-text {
    background-color: var(--blue-600);
    box-shadow: 0 2px 12px -2px var(--blue-600);
    color: rgba(255, 255, 255, .8);
} */
.conversation-item-time {
    font-size: 10px;
    color: var(--slate-400);
    display: block;
    text-align: right;
    margin-top: 4px;
    line-height: 1;
}

.conversation-item.me .conversation-item-time {
    color: rgba(255, 255, 255, .7);
}

.conversation-item-dropdown {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all .15s ease-in-out;
}

.conversation-item.me .conversation-item-dropdown {
    left: unset;
    right: 0;
}

.conversation-item-wrapper:hover .conversation-item-dropdown {
    opacity: 1;
    visibility: visible;
}

.conversation-item-dropdown-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background-color: var(--white);
    outline: transparent;
    border: 1px solid var(--slate-200);
    cursor: pointer;
    transition: all .15s ease-in-out;
}

.conversation-item-dropdown-toggle:hover {
    background-color: var(--blue-600);
    color: var(--white);
    box-shadow: 0 2px 12px -2px var(--blue-600);
}

.conversation-item-dropdown-toggle:active {
    background-color: var(--blue-800);
}

.conversation-item-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    border-radius: 4px;
    padding: 4px 0;
    list-style-type: none;
    opacity: 0;
    visibility: hidden;
    transform: scale(.9);
    transform-origin: left top;
    transition: all .15s ease-in-out;
}

.conversation-item.me .conversation-item-dropdown-list {
    left: unset;
    right: 0;
}

.conversation-item-dropdown.active .conversation-item-dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.conversation-item-dropdown-list a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--slate-400);
    font-size: 13px;
    padding: 6px 12px;
}

.conversation-item-dropdown-list a:hover {
    background-color: var(--slate-100);
    color: var(--slate-600);
}

.conversation-item-dropdown-list a:active {
    background-color: var(--slate-200);
}

.conversation-item-dropdown-list a i {
    font-size: 16px;
    margin-right: 8px;
}

.coversation-divider {
    text-align: center;
    font-size: 13px;
    color: var(--slate-400);
    margin-bottom: 16px;
    position: relative;
}

.coversation-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    height: 0;
    border-bottom: 1px solid var(--slate-300);
}

.coversation-divider span {
    display: inline-block;
    padding: 0 8px;
    background-color: var(--slate-100);
    position: relative;
    z-index: 1;
}

.conversation-form {
    padding: 8px 16px;
    background-color: var(--white);
    display: flex;
    align-items: flex-end;
}

.conversation-form-group {
    width: 100%;
    position: relative;
    margin-left: 16px;
    margin-right: 16px;
}

.conversation-form-input {
    background-color: var(--slate-100);
    border: 1px solid var(--slate-300);
    border-radius: 4px;
    outline: transparent;
    padding: 10px 32px 10px 16px;
    font: inherit;
    font-size: 14px;
    resize: none;
    width: 100%;
    display: block;
    line-height: 1.5;
    max-height: calc(20px + ((14px * 2) * 6));
}

.conversation-form-input:focus {
    border-color: var(--slate-400);
}

.conversation-form-record {
    position: absolute;
    bottom: 8px;
    right: 16px;
    font-size: 20px;
    color: var(--slate-400);
    background-color: transparent;
    border: none;
    outline: transparent;
    cursor: pointer;
}

.conversation-form-record:hover {
    color: var(--slate-600);
}

.conversation-form-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: none;
    background-color: transparent;
    outline: transparent;
    font-size: 20px;
    color: var(--slate-400);
    cursor: pointer;
    flex-shrink: 0;
}

.conversation-form-button:hover {
    background-color: var(--slate-100);
    color: var(--slate-600);
}

.conversation-form-button:active {
    background-color: var(--slate-200);
    color: var(--slate-600);
}

.conversation-form-submit {
    background-color: var(--blue-600);
    box-shadow: 0 2px 8px -2px var(--blue-600);
    color: var(--white);
}

.conversation-form-submit:hover {
    background-color: var(--blue-800);
    color: var(--white);
}

.conversation-form-submit:active {
    background-color: var(--blue-600);
    color: var(--white);
}

.conversation-default {
    align-items: center;
    /* justify-content: center; */
    /* padding: 16px;
    padding-left: calc(256px + 16px); */
    color: var(--slate-100);
}

.conversation-default i {
    font-size: 32px;
}

.conversation-default p {
    margin-top: 16px;
}

/* end: Conversation */

/* start: Footer */
.footer {
    position: relative;
    width: 100%;
    height: 600px;
    top: -80px;
}

.footer>img:nth-child(1) {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 120%;
}

.footer>img:nth-child(2) {
    position: absolute;
    left: 0px;
    width: 770px;
    height: 800px;
    transform: translateY(-80px);
    object-fit: fill;

    overflow:hidden;
}

.footer-middle-content {
    position: relative;
}

.footer-contents {
    position: absolute;
    display: flex;
    flex-direction: row;

    left: 400px;
    top: 60px;

    width: 950px;

    gap: 50px;
    /* justify-content: space-between; */

    font-size: 18px;

    text-align: center;
    /* font-weight: bold; */

    transform-origin: top right;
}

.footer-contents>*>img:nth-child(1) {
    position: absolute;
    left: 15px;
    top: -35px;
}

.footer-contents>div:nth-child(1)>h1 {
    margin-left: 65px;
}

.footer-team-info {
    text-align: left;
    margin-top: 40px;
}

.footer-team-info-2 {
    text-align: center;
    margin-top: 40px;
}

.footer-team-info>*>i {
    font-size: 15px;
    bottom: -5px;
}

.footer-team-info>p {
    font-size: 14px;
}

.footer-org-info {
    text-align: left;
    margin-top: 30px;
    margin-right: -30px;

    flex-direction: column;
}

.org-item {
    display: grid;
    grid-template-columns: 50px 300px;
    align-items: center;
    gap: 10px;
    text-align: left;
    margin-top: 15px;
}

.org-item img {
    width: 45px;
    height: auto;
}

.org-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.org-text strong {
    color: white;
    font-size: 1rem;
}

.org-text span {
    color: #f27f7b;
    font-size: 0.9rem;
}

.footer-more {
    position: absolute;
    left: 420px;
    bottom: -10px;

    width: 900px;
    height: 205px;
}

.footer-more>img {
    width: 100%;
    height: 100%;
    
    object-fit: fill;
}

.festival-footer {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 82%;
    height: 100%;
    transform: translateX(-50%);
    display: fex;
    flex-direction: column;
}

.festival-footer > h3 {
    text-align: center;
    margin-top: 5px;

}

.festival-footer > * > * > i {
    color: rgb(255, 255, 255);
    font-size: 25px;
    margin-top: 10px;
    transform: translateY(15px);
}

.festival-footer > * > * > img {
    object-fit: cover;
    width: 30px;
    height: 30px;
    transform: translateY(7px);
}

.festival-footer > h1 {
    font-size: 20px;
}

a {
    color: inherit;          /* use parent's text color */
    text-decoration: none;   /* remove underline */
}

a:visited {
    color: inherit;          /* keep visited links same color */
}

/* end: Footer */

/* start: Breakpoints */
@media screen and (max-width: 1600px) {
    .chat-container {
        max-width: unset;
        height: 100dvh;
    }
}

@media screen and (max-width: 767px) {
    .footer {
        top: 160px;
    }

    .body {
        overflow-x: hidden;
    }

    .chat-section {
        /* min-height: 100vh; */
        height: auto;
        overflow-y: auto;
        overflow-x: hidden;
    }


    .cards3D{
        top: 500px;
    }

    .cards3D > h1 {
        top: -230px;
    }

    .cards3D > img{
        width: 120%;
        height: 160%;
        /* opacity: 0; */
    }

    .flat-card-container {
        top: 850px;
    }

    .flat-card-container > h1 {
        top: -200px;
    }

    .flat-card-container > img{
        top: 60%;
        width: 160%;
        height: 170%;
    }

    .slider-container {
        top: 950px;
        width: 100%;
        height: 590px;
        padding:0px;
    }

    .slider-container > h1 {
        top: -120px;
        left: 135px;
    }

    .cards-background {
        height: 3730px;
    }

    .cards-background>img:nth-child(2) {
        top: 6%;
    }
}

@media screen and (max-width: 0px) {
    /* .intro-section {
        width: 767px;
    } */

    .chat-sidebar {
        /* top: unset;
        bottom: 0; */
        width: 100%;
        height: 32px;
    }

    /* .chat-sidebar-logo {
        display: none;
    } */
    .chat-sidebar-logo {
        color: var(--blue-800);
        padding: 5px 12px 12px 16px;
        left: 50%;
    }

    .chat-sidebar-logo>img {
        width: 22px;
        height: 22px;
    }

    .chat-sidebar-menu {
        flex-direction: row;
        padding: 0;
        gap: 5px;
    }

    .chat-sidebar-menu>*,
    .chat-sidebar-menu>*>a {
        width: 100%;
        height: 100%;
    }

    .chat-sidebar-menu>*>a {
        padding: 8px;
    }

    .chat-sidebar-menu>.active>a {
        box-shadow: inset 0 4px 0 0 var(--blue-600);
    }

    .chat-sidebar-icons {
        margin: -3px 5px 0px 5px;
        gap: 20px;
    }

    .chat-sidebar-icons > * > img {
        width: 20px;
        height: 20px;
        margin: 9px 0px 0px 0px;
        object-fit: cover;
    }

    .chat-sidebar-profile {
        margin-top: 0;
        display: flex;
        align-items: center;
    }

    .chat-sidebar-profile-toggle {
        width: 32px;
        height: 32px;
    }

    .chat-sidebar-profile-dropdown {
        left: unset;
        right: 16px;
    }

    .conversation,
    .chat-content {
        padding-left: unset;
    }

    .content-sidebar {
        left: unset;
        z-index: 10;
        /* width: 100%; */
    }

    .chat-sidebar-menu>*>a::before {
        left: 50%;
        transform: translateX(-50%);
        bottom: 100%;
        top: unset;
    }

    .chat-sidebar-menu>*>a:hover::before {
        bottom: calc(100% + 8px);
        left: 50%;
    }

    .chat-sidebar-menu>*>p {
        font-family: 'Pattaya-Regular', sans-serif;
        font-size: 8px;
        padding: 10px 0px 0px 0px;
    }

    .chat-content {
        /* position: relative; */
        /* max-width: 767px; */
        /* padding-top: 156px; */
        /* height: calc(100% - 48px); */
    }

    .chat-content {
        /* transform-origin: top left;
        zoom: calc(100vw / 767); */
        /* transform: scale(calc(100vw / 767)); */
        /*height: auto;  maintain proportions */
    }

    .conversation.active {
        position: relative;
        z-index: 20;
    }

    .conversation-back {
        display: flex;
    }

    

    /* .conversation-default.active {
        display: none;
        padding: 16px;
    } */
}

/* end: Breakpoints */