@import url('https://fonts.googleapis.com/css2?family=Merriweather&family=Roboto&family=Roboto+Mono&family=Architects+Daughter');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css");

tw-story {
    font-family: "Merriweather", serif;
    color: #050505;
    background: #f5f5f5;
}

tw-passage {
    max-width: 66em;
    font-size: 16pt;
}

tw-sidebar 
{
    position: fixed;
    top: 0;
    left: 0;
    width: 20%;                        
    max-height: 100%;
    margin-top: 5%;                    
    padding: 0 0.5em 0.5em 0.5em;
    text-align: center;
    background-color: transparent;
    font-size: 0.8em;
    font-family: sans;
}

code {
    font-family: "Roboto", sans-serif;
}


.chat {
    margin-left: 50px;
    padding: 0 0;
    max-width: 750px;
}

.chat .message {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.chat .message .photo {
    display: block;
    align-self: flex-start;
    width: 75px;
    height: 75px;
    min-width: 75px;
    background: #E6E7ED;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.chat .text {
    margin: 0 25px;
    background-color: #F6F6F6;
    padding: 15px;
    border-radius: 12px;
    font-family: "Roboto", sans-serif;
}

.text-only {
    margin-left: 75px;
}

.msg-name {
    font-size: 0.8em;
    margin-left: 120px;
    display: block;
    font-family: "Roboto", sans-serif;
}

.time {
  font-size: 14px;
  color: lightgrey;
  margin-bottom:10px;
  margin-left: 105px;
  margin-top: -10px;
}

.james {
    background-color: cornflowerblue !important;
    color: #fff;
}

.kim {
    background-color: #CBC3E3 !important;
    color: #222;
}

.miles {
    background-color: #eedd82 !important;
    color: #222;
}

.response {
  float: right;
  margin-right: 0px !important;
  margin-left:auto; /* flexbox alignment rule */
}

.response-time {
  float: right;
  margin-right: 30px !important;
}

.response .text {
  background-color: #e3effd !important;
}

.computer {
    font-family: "Roboto Mono", monospace;
    background-color: #eee;
    border-color: #ccc;
    border-width: 2px;
    border-style: solid;
    display: flex;
    justify-content: flex-start;
    padding: 10px 20px;
    border-radius: 10px;
    margin-left: 100px;
}

.devnote {
    font-family: "Roboto Mono", monospace;
    background-color: #111;
    color: #ccc;
    margin-top: 1em;

    border-color: orange;
    border-width: 2px;
    border-style: solid;
    max-width: 100%;
    padding: 10px 20px;
    border-radius: 10px;
}

.devnote a {
    color: orange;
}

.whiteboard {
    font-family: "Architects Daughter", "Merriweather", serif;
    color: #00008b;
}

.phonecall {
    display: flex;
    align-items: center;
    justify-contents: center;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(230,230,250,0.8);
    width: 50%;
    min-width: 50%;
    row-gap: 25px;
    border: 1px solid rgba(100,0,205,0.5);
    border-radius: 25px;
    padding-top: 50px;
    padding-bottom: 25px;
    box-shadow: 5px 5px 5px rgba(190,190,230,0.5);
}

.phonecall .phone-photo {
    display: block;
    align-self: center;
    width: 200px;
    min-width: 200px;
    height: 200px;
    min-height: 200px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.phonecall .call-animation {
    display: block;
    align-self: center;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    animation: ringing 2s ease infinite;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

@keyframes ringing {
    0% { transform: scale(1); }
    15% { box-shadow: 0 0 0 7px rgba(148, 0, 211, 0.4); }
    25% { box-shadow: 0 0 0 15px rgba(148, 0, 211, 0.2); }
}

.phonecall .phone-icons {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 100px;
}

.phonecall .phone-pickup {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: #228b22;
    width: 2.5em;
    min-width: 2.5em;
    height: 2.5em;
    min-height: 2.5em;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    float: left;
}

.phonecall .phone-hangup {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: red;
    width: 2.5em;
    min-width: 2.5em;
    height: 2.5em;
    min-height: 2.5em;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    float: right;
}

.visually-hidden {
    position: absolute;
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0,0,0,0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
