@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;700&display=swap');

body, html {
    display: fixed; right:10; bottom: 10;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    /* font-family: 'Roboto Condensed', sans-serif; */
    font-weight: 300;
    color: #CCCCDD;
    font-size: 1.5vh;
    
}

.row, .column {
    display: flex;
    /* align-items: center; */
    /* justify-content: center; */
    /* text-align: center; */
}

#top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #202C3A;
    height: 100px;
}

.top-left-column, .top-right-column {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
}

.top-center-column-title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    text-align: center;
}

.top-center-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.square-button-100 {
    width: 100px;
    height: 100px;
    margin: 0;
    padding: 0;
    border: none;
    background-color: #E6B034;
    cursor: pointer;
}

.square-button-150 {
    width: 150px;
    height: 150px;
    margin: 0;
    padding: 0;
    border: none;
    background-color: #E6B034;
    cursor: pointer;
}

.square-button-150-mic {
    width: 150px;
    height: 150px;
    margin: 0;
    padding: 0;
    border: none;
    background-color: #E6B034;
    background-image: url('/static/images/ico_mic.svg'); 
    background-size: cover;
    background-position: center;
    z-index: 998;
    cursor: pointer;
}

#middle {
    height: calc(100% - 100px - 150px);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
}

#bar {
    background-color: #202C3A;
    min-height: 10px;
    min-width: 10px;
    display: flex;
    flex-direction: column;
}

#image-benny {
    background-color: #141C25;
    background-image: url('/static/images/benny.jpg');
    background-size: cover;
    background-position: center 10%;
    flex-grow: 1;
}

#image-valerie {
    background-color: #141C25;
    background-image: url('/static/images/valerie.jpg');
    background-size: cover;
    background-position: center 10%;
    flex-grow: 1;
}

#image-quincy {
    background-color: #141C25;
    background-image: url('/static/images/quincy.jpg');
    background-size: cover;
    background-position: center 30%;
    flex-grow: 1;
}

#image-aisha {
    background-color: #141C25;
    background-image: url('/static/images/aisha.jpg');
    background-size: cover;
    background-position: center 30%;
    flex-grow: 1;
}

#image-aiden {
    background-color: #141C25;
    background-image: url('/static/images/aiden.jpg');
    background-size: cover;
    background-position: center 30%;
    flex-grow: 1;
}

#content {
    background-color: #141C25;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0px;
    width: 100%;
    height: 1%;
}

#scrollable {
    overflow-y: auto;
    width: 100%;
    height: 100%;
    justify-content: flex-end;
    scrollbar-width: thin;
    scrollbar-color: #141C25 #202C3A; 
    font-size: 1.5vh;
}

#scrollable::-webkit-scrollbar {
    width: 10px;
}

#scrollable::-webkit-scrollbar-track {
    background: #141C25; 
}
 
#scrollable::-webkit-scrollbar-thumb {
    background: #202C3A; 
}

#scrollable::-webkit-scrollbar-thumb:hover {
    background: #E6B034;
}

.chat-user-row {
    display: flex;
    width: 100%;
    flex-direction: row;
    background-color: #2C333B;
    padding-top: 7px;
    padding-bottom: 7px;
}

.chat-assistant-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    background-color: #141C25;
    padding-top: 7px;
    padding-bottom: 7px;
}

.chat-assistant-whom, .chat-user-whom {
    width: 200px;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #E6B034;
    text-align: right;
    font-weight: bold;
}

.chat-assistant-message, .chat-user-message {
    width: 99%;
    padding: 10px;
    text-align: left;
}

#bottom {
    background-color: #202C3A;
    height: 150px;
}

.bottom-left-column, .bottom-right-column {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
}

.bottom-center-column {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    text-align: center;
}

#bottom-logo {
    height: 150px;
    background-color: white;
    background-image: url('/static/images/logo_bottom.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-grow: 1;
    flex-shrink: 1;
}

.svg-button {
    width: 100%;
    height: 100%;
}

#title {
    width: 100%;
    text-align: center;
}

#progress-bar {
    margin-top: 10px;
    width: 100%;
    height: 10px;
    background-color: #141C25;
}

#progress {
    height: 100%;
    background-color: #FFFFFF;
    width: 50%;
}

#personality-list {
    background-color: #141C25;
    flex-grow: 0;
    display: flex;
    flex-direction: column;
    padding: 15px;
    align-items: center;
    overflow-x: hidden;
    overflow-y: visible;
}

.personality-container {
    display: flex;
    flex-direction: column;
}

.personality-container-sub {
    display: flex;
    flex-direction: row;
}

.personality-image {
    width: 100%;
    height: 100%;
    /* border-radius: 5%;
    border: 1px solid gray; */
}

.personality-component {
    padding: 10px;
    width: 20vh;
    height: 20vh;
}

.personality-text {
    box-sizing: border-box;
    text-align: left;
    padding: 10px;
    background-color: #2C333B;
    height: 100%;
}

/* Unvisited link */
a:link {
    color: #CCCCDD;
    text-decoration: none; /* Removes underline */
}

/* Visited link */
a:visited {
    color: #CCCCDD;
}

/* Mouse over or hover link */
a:hover {
    color: #CCCCDD;
}

/* Selected or active link */
a:active {
    color: #CCCCDD;
}

#overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(174, 179, 238, 0.5);
    display: flex; 
    align-items: center;
    justify-content: center;
    z-index: -1;
    backdrop-filter: blur(8px);
}

#welcome {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(174, 179, 238, 0.5);
    display: flex; 
    align-items: center;
    justify-content: center;
    z-index: 999;
    backdrop-filter: blur(8px);
}

#welcome-text {
    background-color: #141C25;
    padding: 0px;
    transform-origin: center;
    width: 500px;
}

#welcome-text-title {
    padding: 0px;
    font-size: larger;
    text-align: center;
}

#welcome-text-main {
    padding: 15px;
    text-align: justify;
}

.svg-button-rotate {
    width: 100%;
    height: 100%;
    rotate: 180deg;
}

#welcomeButton {
    width: 100px;
    height: 100px;
    margin: 0;
    padding: 0;
    border: none;
    align-items: right;
    background-color: #E6B034;
    cursor: pointer;
}

#svg-container {
    animation: pulse 2s infinite;
    transform-origin: center;
}

@keyframes pulse {
    0% {
        transform: scale(2);
    }
    50% {
        transform: scale(5);
    }
    100% {
        transform: scale(2);
    }
}

@media screen and (orientation: landscape) {
    body {
        font-size: medium;
    }
    #middle {
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
    }
    #personality-list {
        background-color: #141C25;
        width: 100%;
        height: 100%;
        flex-grow: 1;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        padding: 15px;
        overflow-x: visible;
        overflow-y: hidden;
        align-items: center;
    }    
    #image, #image-benny, #image-valerie, #image-quincy, #image-aisha, #image-aiden {
        flex-grow: 1;
        flex-shrink: 0;
        width: 50%;
    }
    #content, #scrollable {
        width: 100%;
        height: 100%;
        font-size: medium;
    }
    .personality-container {
        flex-direction: row;
    }
    .personality-container-sub {
        flex-direction: column;
    }
    .personality-component {
        padding: 10px;
        width: 30vh;
        height: 30vh;
    }
    .personality-text {
        height: fit-content;
        padding: 20px;
    }
    .top-center-column-title {
        font-size: xx-large;
    }
}