body {
  background-color: #373736;
  color: #c3c3c5;
  font-family: Verdana, sans-serif;
  padding-bottom: 50px;
}

a:link, a:visited {
  background-color: #3d3d3d;
  color: white;
  padding: 20px 25px;
  margin: 3px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

a:hover, a:active {
  background-color: #353535;
}

#messageInput {
    margin: 0 1% 1% 2%;
    padding-left: 1%;
    padding-right: 1%;
    padding-top: 1%;
    padding-bottom: 1%;
    width: 90%;
    font-size: 2em;
    text-align: left;
    border-radius: 100px;
    border: 0.5em outset rgb(0, 0, 0);
    position: fixed;
    bottom: 0;
}

#homeLink {
    position: absolute;
    top: 10px;
    right: 10px;
}

.message {
    background-color: #5f5f5f;
    color: #c3c3c5;
    padding: 0.5em;
    padding-left: 1em;
    padding-right: 1em;
    margin: 0.5em 0;
    border-radius: 1.5em;
    height: auto;
    max-width: 100%;
    word-wrap: break-word; 
    img {
      max-width: 85.9vw !important;
      max-height: 49.9vh !important;
      height: auto !important;
      width: auto !important;
      border-radius: 0.5em;
      display: block;
    }
}

#Logo {
  margin: 10px;
}

#Logo-Inline {
  position: absolute;
  top: 10px;
  right: 150px;
}

.timestamp {
    font-size: 0.8em;
    color: gray;
}
.messageContainer {
    margin: 1%;
    margin-right: 10%;
    width: 90%;
    font-size: 1.5em;
    text-align: left;
    line-height: 1.5em;
    padding: 2em;
    max-height: 70vh;
    overflow-y: auto;
}

/* Light mode styles */
body.light-mode {
  background-color: #c3c3c5;
  color: #373737;
}

body.light-mode a {
  background-color: rgb(170, 170, 170);
  color: #3d3d3d;
}

body.light-mode a:hover, body.light-mode a:active {
  background-color: #e0e0e0;
  color: #373737;
}

body.light-mode .footer {
  background-color: #f0f0f0;
  color: #373737;
  border-color: #a3a3a3;
}

/* Dark Mode Switch Styles */
.switch {
  position: absolute;
  top: 80px;
  right: 10px;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #5f5f5f;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: rgb(134, 134, 134);
  transition: .4s;
}

input:checked + .slider {
  background-color: #a3a3a3;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 35px;
}

.slider.round:before {
  border-radius: 50%;
}