/** Title Styles **/
h1 {
  top: 5%;
  margin-top: 0%;
  text-align: center;
  margin-bottom: 0%;
}

h2 {
  text-align: center;
}

.ttl-note {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 0;
}

/** Body Styles **/
body {
  margin-top: 0%;
  width: 100%;
  height: 100%;
  background: #f1f1f1;
  background-image: linear-gradient(#ffffff 1.1rem, #ccc 1.2rem);
  background-size: 100% 1.2rem;
}

/** Row Styles **/
.row {
  margin-top: 0%;
}

/** Card Styles **/
.card {
  margin-top: 0%;
  width: 25vw;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  min-width: 300px;
  max-width: 500px;
  min-height: 300px;
}

/** Chat Header Styles **/
.chat-header {
  margin-top: 0%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  color: #fff;
  padding: 10px;
  font-size: 18px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

/** Chat Window Styles **/
.chat-window {
  height: 35vh;
  overflow-y: scroll;
}

/** Message List Styles **/
.message-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/** Chat Input Styles **/
.chat-input {
  display: flex;
  align-items: center;
  padding: 10px;
  border-top: 1px solid #ccc;
}

/** Message Input & Input Styles **/
.message-input,
input {
  flex: 1;
  border: none;
  outline: none;
  padding: 5px;
  font-size: 14px;
}

/** Button Styles **/
.button {
  border: none;
  outline: none;
  background-color: rgb(255, 255, 255);
  color: #fff;
  font-size: 14px;
  padding: 5px 10px;
  cursor: pointer;
}

/** Container Styles **/
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0%;
  height: 100vh;
}

/** Form Control Styles **/
.form-control {
  position: relative;
  width: 190px;
}

.form-control input {
  background-color: transparent;
  border-top: 1px solid #ccc;
  display: block;
  width: 100%;
  padding: 15px 0;
  font-size: 18px;
  color: #333;
  padding-left: 5px;
  font-size: 14px;
}

.form-control input:focus,
.form-control input:valid {
  outline: 0;
  border-bottom-color: lightblue;
}

.form-control label {
  position: absolute;
  top: 15px;
  left: 8%;
  pointer-events: none;
}

.form-control label span {
  display: inline-block;
  font-size: 18px;
  min-width: 5px;
  color: #333;
  transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-control input:focus + label span,
.form-control input:valid + label span {
  color: lightblue;
  transform: translateY(-30px);
}

/** Base Button Styling **/
button {
  position: relative;
  width: 150px;
  height: 35px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #e62222;
  border: none;
  border-radius: 5px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
  padding-left: 15px;
  overflow: hidden;
  color: white;
  font-weight: bold;
  transition: background 200ms;
}

button,
button span {
  transition: 200ms;
}

button:focus {
  outline: none;
}

/** Send Button Styling **/
.arrow {
  cursor: pointer;
  height: 20px;
  width: 20px;
  position: relative;
  margin-left: 10px;
  border: none;
  background: none;
  padding: 0;
  transition: transform 0.1s;
  overflow: visible;
  box-shadow: none;
}

.arrow-top,
.arrow-bottom {
  background-color: #666;
  height: 3px;
  left: 0;
  position: absolute;
  top: 50%;
  width: 100%;
  transform-origin: center;
}

.arrow-top {
  transform: rotate(45deg);
  transform-origin: bottom right;
}

.arrow-bottom {
  transform: rotate(-45deg);
  transform-origin: top right;
}

.arrow-top:after,
.arrow-bottom:after {
  background-color: #fb0d0d;
  content: "";
  height: 100%;
  position: absolute;
  top: 0;
  transition: all 0.15s;
}

.arrow-top:after {
  left: 100%;
  right: 0;
  transition-delay: 0s;
}

.arrow-bottom:after {
  left: 0;
  right: 100%;
  transition-delay: 0.15s;
}

.arrow:hover .arrow-top:after {
  left: 0;
  transition-delay: 0.15s;
}

.arrow:hover .arrow-bottom:after {
  right: 0;
  transition-delay: 0s;
}

.arrow:active {
  transform: scale(0.9);
}
