/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/************/

body *{
  box-sizing: border-box;
}

body{
  font-family: "Libre Caslon Text", serif;
  font-weight: 400;
  font-style: normal;
  background-color: rgba(16, 31, 49, 1.0);
  background-image: linear-gradient(to bottom, transparent, rgba(16, 31, 49, 1.0)), url('header_background.webp');
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
  background-position: top center;
  padding: 3em;
}

#background{
  background-color: rgba(16, 31, 49, 1.0);
  background-image: linear-gradient(to bottom, transparent, rgba(16, 31, 49, 0.5)), url('header_background.webp');
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
  background-position: top center;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

#blur{
  backdrop-filter: blur(1.25rem);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

#content{

}

header{
  display: flex;
}

h1#logo{
  display: block;
  width: 100%;
}

h1#logo img{
  filter: brightness(0) invert(1);
  width: 20%;
  min-width: 300px;
  margin: 0em 0 2em -1em;
}

header > section{
  display: flex;
  gap: 0;
  padding: 0;
  margin: 0;
}

section#left{
  position: relative;
  z-index: 2;
  width: 50%;
  display: block;
  margin-bottom: 2em;
}

section#right{
  width: 50%;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  align-items: center;
  color: white;
}

#call-to-action{
  width: 100%;
}

#call-to-action #who, #call-to-action #where{
  font-size: 2.75em;
  line-height: 1.25em;
}

#call-to-action #who span{
  font-style: italic;
}

#call-to-action #get-started{
  filter: drop-shadow(0px 0px 1px rgba(16, 31, 49, 0.5));
}

.full-justify {
  text-align:justify;
}
.full-justify:after {
  content: "";
  display: inline-block;
  width: 100%;
}

#call-to-action{
  padding: 3em 0em;
  text-align: center;
  line-height: 3em;
}

#call-to-action #what{
  font-size: 1.5em;
  line-height: 1.5em;
  margin-top: .25em;
  margin-bottom: .25em;
}

#call-to-action #what span::after{
  content: " \00B7  ";
}

#call-to-action #what span:last-child::after{
  content: "";
}

#call-to-action #get-started{
  color: black;
  padding: .5em 1.25em;
  border-radius: 40px;
  text-decoration: none;
  font-size: 1.5em;
  display: inline-block;
  margin-top: .5em;
  background: white;
  border: 1px solid transparent;
}

#call-to-action #get-started:hover{
  border: 1px solid black;
}

#call-to-action #get-started span{
  position: relative;
  right: -0.2em;
}

#conversation {
  display: block;
  z-index: 0;
  text-align: justify;
}

#expand {
  position: absolute;
  bottom: 0;
  left: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 2em;
  text-decoration: none;
}

#conversation .turn {
  margin-bottom: 1em;
}

#conversation .turn-label {
  font-size: 1vw;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.8em;
  font-weight: 600;
}

#conversation .turn.user .turn-label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: rgba(255, 255, 255, 0.6);
}

#conversation .turn.agent .turn-label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: rgba(255, 255, 255, 0.45);
}

#conversation .turn.user .turn-body {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1rem, 1.7vw, 1.7rem);
  line-height: 1.5;
}

#conversation .turn.agent .turn-body {
  color: rgba(255, 255, 255, 1.0);
  font-size: clamp(1.1rem, 1.7vw, 1.7rem);
  line-height: 1.6;
}

#conversation .personality {
  display: flex;
  gap: 1em;
  margin-bottom: 0.75em;
  padding-right: 1em;
}

#conversation .personality .emoji {
  flex-shrink: 0;
  font-size: 1.1em;
}

#conversation .personality .personality-text {
}

#conversation .compound {
  gap: 0.5em;
  margin-top: 0.75em;
}

#conversation .compound .compound-dash {
  flex-shrink: 0;
}

#conversation .compound .compound-text {
}

#conversation .personality .emoji {
  font-size: 1.1em;
}

#conversation .personality .personality-text {
}

#conversation .compound {
  margin-top: 0.75em;
}

#conversation .compound .compound-dash {
  display: block;
}

#conversation .compound .compound-text {
}

#conversation .cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: rgba(255, 255, 255, 0.7);
  vertical-align: text-bottom;
  animation: blink 0.7s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

footer{
  padding: 1rem 0;
  font-size: 1em;
  position: relative;
  color: white;
}

footer #copyright{
  margin-bottom: .5em;
}

footer .links li{
  display: inline;
}

footer .links li::after{
  content: " ";
}

footer .links a{
  color: white;
}

@media only screen and (max-width: 99999px) {
  #content, footer{
    max-width: 1200px;
    margin: 0 auto;
  }

  #header{
    flex-direction: column-reverse;
  }

  h1{
    text-align: center;
    position: relative;
    top: 2em;
    display: block;
  }

  h1#logo{
    margin: 0 0 -1em 0;
  }

  #header > section{
    display: block;
    width: 100%;
  }

  section#right{
    width: 100%;
    display: block;
    position: static;
    justify-content: center;
    z-index: 3;
  }

  #call-to-action{
    display: inline-block;
  }

  #call-to-action #who, #call-to-action #where{
    font-size: clamp(2rem, 5.5vw, 4rem);
  }

  #call-to-action #what{
    display: block;
  }

  #call-to-action #what span{
    font-size: clamp(1rem, 2.5vw, 2rem);
  }

  #call-to-action #get-started{
    font-size: clamp(1.5rem, 2vw, 4rem);
  }


  #conversation .turn-label{
    font-size: clamp(1rem, 1.25vw, 3rem);
  }

  #conversation .turn.user .turn-body {
    font-size: clamp(1.3rem, 2vw, 8rem);
  }

  #conversation .turn.agent .turn-body {
    font-size: clamp(1.3rem, 2vw, 8rem);
  }
}

@media only screen and (max-width: 800px) {
  body{
    padding: 1.5em;
  }

  #call-to-action #get-started{
    display: block;
    width: 100%;
    line-height: 1.5em;
  }


  #conversation .personality {
    padding-right: 0em;
  }
}
