@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Display:wght@400;500;600;700&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");
@import url("https://use.typekit.net/dww8mrn.css");


body, html {
    font-family: 'Noto Sans Display', sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #00AEDD;
    color: white;
}

.background {
    /* The image used */
    background-image: url("../images/background.svg"); 

    /* Full height */
    height: 100%;

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#chat_text > span {
    
}

.black {
    color: black;
}
.white {
    color: white;
}
.red {
    color: #BB0000;
}
.green {
    color: green;
}
.hidden {
    display: none !important;
}

.content .positions a {
    text-decoration: none;
    color: white;
}

.content {
    max-width: 720px;
    padding-top: 5vh;
    text-align: center;
    margin: 0 auto;
} 

.content .speech_bubble {
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.content .avatar {
    margin-top: 1vh;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.content .name {
    margin-top: 1vh;
    font-weight: 600;
}

@media only screen and (min-height: 600px) {
    .content .avatar {
        width: 30%;
    }
    .content .speech_bubble {
        width: 60%;
    }
    .content .name {
        font-size: 1.1em;
    }
    .content .positions {
        font-size: 0.9em;
    }
    .chatwithme {
        padding: 10px 20px;
    }
}

@media only screen and (max-height: 600px) {
    .content .avatar {
        width: 26%;
    }
    .content .speech_bubble {
        width: 80%;
    }
    .content .name {
        font-size: 0.9em;
    }
    .content .positions {
        font-size: 0.8em;
    }
    .content .touch {
        font-size: 0.9em;
    }
    .content .knowledge {
        font-size: 0.9em;
    }
}

@media only screen and (max-height: 700px) {
    .chatwithme {
        padding: 5px 10px;
    }
    .chatwithme #text {
        display: none;
    }
}

.bold {
    font-weight: 600;
}

.content .speech_bubble .textbox {
    font-family: noto-sans-condensed, sans-serif;
    width: 100%;
    height: 70%;
    position: absolute;
    top: 0;
    left: 0;
    color: black;
    font-size: 1em;
}

.content .speech_bubble .textbox .text {
    display: flex;
    width: 100%;
    height: 100%;
    align-items:center;
    justify-content:center;
}

.content .speech_bubble .textbox .text p {
    margin: 0;
    padding: 0vw 2vw;
}

.verified {
    height: 0.9em;
    display: none;
}

.content .touch {
    margin-top: 3vh;
    font-weight: 500;
}

.content .socials {
    margin-top: 0.5vh;
    font-size: 1.8em;
}

.content .socials ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.content .socials li {
    display: inline-block;
}

.content .socials a {
    color: white;
    margin: 0px 1vw;
}

.content .knowledge {
    margin-top: 2vh;
    text-align: center;
}

.content .knowledge .title {
    font-weight: 500;
    margin-bottom: 0.5vh;
}

.content .knowledge ul {
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
    max-width: 80%;
}

.content .knowledge li {
    display: inline-block;
    font-size: 0.8em;
    border-radius: 20px;
    background-color: white;
    border: none;
    color: black;
    padding: 5px 10px;
    margin: 4px 2px;
    text-align: center;
    font-weight: 500;
}

.content .knowledge .info {
    font-size: 0.7em;
}

.content .knowledge .info a {
    color: white;
}

.chatwithme {
    font-size: 0.9em;
    position: absolute;
    bottom: 2vh;
    right: 2vh;
    background-color: white;
    border: none;
    color: black;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 20px;
    box-shadow: 2px 4px rgba(0, 0, 0, 0.5);
}

.chatwithme #text {
    text-transform: uppercase;
    font-weight: 500;
}

.chatwithme #new {
    position: absolute;
    top: -1vh;
    right: -2vw;
    display: none;
    border-radius: 20px;
    padding: 2px 8px;
    background-color: #BB0000;
    color: white;
    font-size: 0.8em;
}

.loading {
    width: 100%;
    height: 100%;
    padding: 10px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background-color: #00AEDD;
}

.loader, .loader:before, .loader:after {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    animation-fill-mode: both;
    animation: bblFadInOut 1.8s infinite ease-in-out;
}
.loader {
  color: #FFF;
  font-size: 7px;
  position: relative;
  text-indent: -9999em;
  transform: translateZ(0);
  animation-delay: -0.16s;
}
.loader:before,
.loader:after {
  content: '';
  position: absolute;
  top: 0;
}
.loader:before {
  left: -3.5em;
  animation-delay: -0.32s;
}
.loader:after {
  left: 3.5em;
}

@keyframes bblFadInOut {
  0%, 80%, 100% { box-shadow: 0 2.5em 0 -1.3em }
  40% { box-shadow: 0 2.5em 0 0 }
}

.chatwrapper {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
}

.chatwrapper #chat {
    margin: 0 auto;
    max-width: 720px;
    width: 100%;
    height: 100%;
    padding: 5%;
}

.chatwrapper #chat #online {
    display: none;
}

.chatwrapper #chat #systeminfo {
    margin-top: 2vh;
    display: none;
}

.chatwrapper #chat #systeminfo i {
    font-size: 4em;
    float: left;
    margin-right: 2vh;
    color: yellow;
}

.chatwrapper #chat .userinfo {
    margin-top: 2vh;
}

.chatwrapper #chat .close {
    margin-top: 1vh;
    width: 100%;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 3vw;
    align-items: center;
}

.chatwrapper #chat .close .title {
    text-transform: uppercase;
    font-size: 1.4em;
    font-weight: 600;
    flex-grow: 1;
    text-align: left;
    row-gap: 1vw;
}

.chatwrapper #chat .close img {
    width: 1.3em;
}

.chatwrapper #chat .close #btnClose {
    justify-self: flex-end;
    cursor: pointer;
}
.chatwrapper #chat .close #btnProfile {
    justify-self: flex-end;
    display: none;
    cursor: pointer;
}

.chatwrapper #chat .header {
    margin-top: 1vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatwrapper #chat .header .name {
    font-weight: 500;
}

.chatwrapper #chat .header .status {
    font-size: 0.8em;
    font-weight: 500;
}

.chatwrapper #chat .header .status p { 
    margin: 0;
    padding: 0;
}

.chatwrapper #chat #messages {
    margin-top: 1vh;
    display: flex;
    flex-direction: column;
    scroll-behavior: auto;
    overflow-x: hidden;
    overflow-y: auto;
    height: 76%;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.chatwrapper #chat #messages::-webkit-scrollbar {
    display: none;
}

.chatwrapper #chat #messages .message {
    margin-top: 1vh;
    width: 86%;
    padding: 0.7em;
    font-size: 0.9em;
    border-radius: 16px;
    color: black;
}

.chatwrapper #chat #messages .message .time { 
    color: #666;
    font-size: 0.8em;
    text-align: center;
}

.chatwrapper #chat #messages .message .text { 
    text-align: left;
}

.chatwrapper #chat .system {
    background-color: #ffffab !important;
}

.chatwrapper #chat .left {
    justify-content: flex-start;
    background-color: #b2eeff;
}

.chatwrapper #chat .right {
    background-color: #dafed5;
    align-self: flex-end;
}

.chatwrapper #chat .input {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1vh;
}

.chatwrapper #chat .input input {
    background-color: #dafed5;
    border: none;
    color: black;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 20px;
    padding: 0.4em 1em;
    flex-grow: 1;
}

.chatwrapper #chat .input .send {
    background-color: white;
    border: none;
    color: black;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 20px;
    padding: 0.4em 1em;
    background-color: #dafed5;
}

.chatwrapper #chat .info {
    padding: 0.2em;
    color: #666;
    font-size: 0.8em;
    text-align: center;
    display: none;
}

.chatwrapper #chat .info a {
    text-decoration: none;
}