body {
  background: #eff5f5;
  color: #666666;
  font-family: "Open Sans", sans-serif;
  overflow-x: hidden;
}

a {
  color: #6ad077;
  transition: 0.5s;
}

a:hover,
a:active,
a:focus {
  color: #6ad077;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Spinner
--------------------------------------------------------------*/

div.loading {
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #eff5f5;
}

@-webkit-keyframes uil-ring-anim {
  0% {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-moz-keyframes uil-ring-anim {
  0% {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-ms-keyframes uil-ring-anim {
  0% {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-o-keyframes uil-ring-anim {
  0% {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes uil-ring-anim {
  0% {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.uil-ring-css {
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
}

.uil-ring-css>div {
  position: absolute;
  display: block;
  width: 160px;
  height: 160px;
  top: 20px;
  left: 20px;
  border-radius: 80px;
  box-shadow: 0 6px 0 0 #6ad077;
  -ms-animation: uil-ring-anim 1s linear infinite;
  -moz-animation: uil-ring-anim 1s linear infinite;
  -webkit-animation: uil-ring-anim 1s linear infinite;
  -o-animation: uil-ring-anim 1s linear infinite;
  animation: uil-ring-anim 1s linear infinite;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#header {
  box-shadow: 0px 0px 3px #555555;
  padding: 30px 0;
  height: 92px;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  transition: all 0.5s;
  z-index: 997;
}

#header #logo {
  float: left;
}

.navbar {
  padding: 0;
  height: 100%;
}

#header #logo h1 {
  font-size: 30px;
  margin: 0 0 0 50px;
  padding: 0;
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-weight: 300;
  letter-spacing: 1px;
}

#header #logo h1 a,
#header #logo h1 a:hover {
  color: #fff;
}

#header #logo img {
  padding: 0;
  margin: 0;
}

#header.header-fixed {
  background: linear-gradient(180deg, #39b549cc, #39b549);
  padding: 10px 0;
  height: 50px;
  transition: all 0.5s;
}

/*--------------------------------------------------------------
# Login/out Section
--------------------------------------------------------------*/

#login {
  width: 100%;
  height: 100vh;
  background: linear-gradient(45deg, rgba(57, 181, 73, 0.7), rgba(106, 208, 119, 0.7)), url("../img/login-bg.webp") center top no-repeat;
  background-size: cover;
  position: relative;
}

#login .login-text {
  position: absolute;
  left: 0;
  top: 60px;
  right: 0;
  height: calc(50% - 60px);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

#login h2 {
  margin: 30px 0 10px 0;
  padding: 20px 15px;
  font-size: 48px;
  font-weight: 400;
  line-height: 56px;
  color: #fff;
}

#login p {
  color: #fff;
  margin-bottom: 20px;
  padding: 0 15px;
  font-size: 24px;
}

#login .btn-get-started {
  top: 50px;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid #fff;
  color: #fff;
}

#login .btn-get-started:hover,
#logout .btn-get-started:hover {
  color: #6ad077;
  background: #fff;
}

#logout {
  position: absolute;
  right: 50px;
  height: 40px;
  color: #fff;
}

#logout .btn-get-started {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 2px 20px;
  margin: 5px 0;
  border-radius: 50px;
  transition: 0.5s;
  border: 2px solid #fff;
  color: #fff;
}

#login-btn,
#logout-btn {
  cursor: pointer;
}

#main {
  width: 100%;
  height: calc(100vh - 50px);
  position: absolute;
  top: 50px;
}

#chat {
  position: absolute;
  height: 100%;
  width: 40vw;
  box-shadow: 0px 0px 3px #555555;
  overflow-y: auto;
}

#chat .container {
  height: 60px;
  line-height: 1;
  background: #F7FdFd;
  box-shadow: 0px 0px 2px #555555;
  cursor: pointer;
}

.chat-active {
  background: rgba(106, 208, 119, 0.2) !important;
}

#chat .container .helper,
#chat .container .helpee {
  font-family: 'Playfair Display', serif;
  height: 30px;
  padding: 5px 0px;
}

#chat .container .helper div,
#chat .container .helpee div {
  float: left;
}

.username {
  font-size: 16px;
  color: #6ad077;
  font-weight: 600;

}

.userID {
  color: #444444;
  font-size: 14px;
  font-weight: 400;
  margin: 2px 5px 2px 5px;
}

.svg-bool {
  width: 16px;
  height: 16px;
  margin-bottom: 4px;
  margin-left: 5px;
  border-style: none;
}

.report0 {
  background-image: url("../img/svg/report0.svg");
}

.block0 {
  background-image: url("../img/svg/block0.svg");
}

.delete0 {
  background-image: url("../img/svg/delete0.svg");
}

.report1 {
  background-image: url("../img/svg/report1.svg");
}

.block1 {
  background-image: url("../img/svg/block1.svg");
}

.delete1 {
  background-image: url("../img/svg/delete1.svg");
}

.chatID {
  float: right;
  font-family: 'Playfair Display', serif;
  color: #444444;
  font-size: 14px;
  margin: 23px 0 0 0;
}

#chat-messages {
  position: absolute;
  height: 100%;
  left: 40vw;
  width: 60vw;
  box-shadow: 0px 0px 3px #555555;
  overflow-y: auto;
}

#chat-header {
  width: 100%;
  height: 60px;
  background-color: rgba(106, 208, 119, 0.2);
  text-shadow: 2px 2px 2px rgb(106, 208, 119);
  box-shadow: 0px 0px 5px #555555;
}

#cm-helper {
  margin-left: 10px;
  float: left;
}

#cm-helpee {
  margin-right: 10px;
  float: right;
}

#cm-helper-username,
#cm-helpee-username {
  line-height: 1.1;
  font-family: 'Playfair Display', serif;
  height: 37px;
  font-size: 32px;
}

#cm-helper-userID,
#cm-helpee-userID {
  line-height: 1.1;
  font-family: 'Playfair Display', serif;
  height: 20px;
  font-size: 16px;
}

#cm-helpee-username,
#cm-helpee-userID {
  width: fit-content;
  margin-left: auto;
}

#chat-messages .container {
  margin-top: 2px;
  margin-bottom: 2px;
}

.system-msg,
.system-msg-alert,
.helper-msg,
.helpee-msg {
  font-size: 16px;
  font-family: Helvetica;
  color: white;
  width: fit-content;
  padding: 5px 10px;
}

.system-msg {
  background-color: #88D292;
  border-radius: 15px;
  margin: 5px auto;
  max-width: calc(100% - 200px);
}

.system-msg-alert {
  background-color: #d28888;
  border-radius: 15px;
  margin: 5px auto;
  max-width: calc(100% - 200px);
}

.helper-msg {
  background-color: #3CB449;
  border-radius: 10px 10px 10px 5px;
  max-width: calc(100% - 200px);
}

.helpee-msg {
  background-color: #5ACA69;
  border-radius: 10px 10px 5px 10px;
  max-width: calc(100% - 200px);
}

.img-msg{
  max-width: 100%;
  border-radius: 10px;
}

.system-ts,
.helper-ts,
.helpee-ts {
  font-size: 11px;
  font-family: Helvetica;
}

.system-ts {
  margin: auto;
  width: fit-content;
}

.helper-ts,
.helpee-ts {
  margin-top: auto;
}

@media (min-width: 1025px) {
  #login {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #header #logo h1 {
    font-size: 28px;
    margin-top: 0;
  }

  #header #logo img {
    max-height: 40px;
  }

  #login h2 {
    font-size: 28px;
    line-height: 36px;
  }

  #login p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 20px;
  }
}

/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('serif'), url(https://fonts.gstatic.com/s/playfairdisplay/v20/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKdFvXDZbtPY_Q.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('serif'), url(https://fonts.gstatic.com/s/playfairdisplay/v20/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKdFvXDXbtM.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}