:root {
  --vh: 10px;
  --play: running;
  --direction: normal;
  --duration: 30s;
  --delay: 0s;
  --iteration-count: infinite;
}

.start-background {
  min-width: 100%;
  min-height: 160px;
  background-repeat: repeat-x;
  background-image: url("https://chowon.in/assets/home-background.png");
  background-size: contain;
  -o-object-fit: cover;
  object-fit: cover;
}

.wrapper {
  min-height: calc(var(--vh, 1vh) * 100);
  overflow-y: scroll;
}

.container {
  overflow-x: hidden;
  display: flex;
  justify-content: space-between;
  --pause-on-hover: running;
  --pause-on-click: running;
}

nav {
  background-color: #333333;
}

ul {
  list-style-type: none;
  margin: 0 auto;
  padding: 0;
  max-width: 60%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

li {
  display: inline-block;
}

ul > li > a {
  display: block;
  margin: 0 auto;
  color: #ffffff;
  text-decoration: none;
  padding: 10px;
}

ul > li > a > div {
  display: flex;
  justify-content: center;
}

ul > li > a > div:last-child {
  margin-top: 5px;
}

.article {
  width: 100%;
  flex: 0 0 auto;
  min-width: 100%;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  animation: slide var(--duration) linear var(--delay) var(--iteration-count);
  animation-play-state: var(--play);
  animation-delay: var(--delay);
  animation-direction: var(--direction);
}

@keyframes slide {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-1500px, 0, 0); /* The image width */
  }
}

a:hover {
  background-color: #555555;
}

.section {
  height: 500px;
  padding: 50px;
}

.section h2 {
  margin-top: 0;
}

.section p {
  margin: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f2f2f2;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.chat-container {
  max-width: 500px;
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.chat-header {
  background-color: #f2f2f2;
  padding: 10px;
}

.chat-body {
  padding: 10px;
  min-height: calc(var(--vh, 1vh) * 100 - 75.5px);
}

.message {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 5px;
}

.received {
  background-color: #e6e6e6;
  text-align: left;
}

.sent {
  background-color: #d4edda;
  text-align: right;
}

.chat-footer {
  padding: 10px;
  background-color: #f2f2f2;
}

input[type="text"] {
  width: 80%;
  padding: 8px;
  border: none;
  border-radius: 5px;
}

button {
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  background-color: #4caf50;
  color: #ffffff;
  cursor: pointer;
}

button:hover {
  background-color: #45a049;
}
