.post {
  background: #ffffff;
  padding-left: 1%;
  padding-top: 5px;
  margin-bottom: 20px;
  margin-left: 28%;
  margin-right: 1%;
  box-shadow: 1px 1px 5px #000000;
}

.postlink {
  text-decoration: none;
  color: black;
}

.postlink:hover {
  text-decoration: underline;
}

.userlink, .userlink:visited {
  text-decoration: none;
  color: black;
}

.userlink:hover, .userlink:active {
  text-decoration: underline;
  color: red;
}

body{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.profileanchor{
  transition: transform .2s;
  color: red;
  text-decoration: none;
}

.profileanchor:hover{
  color: #2724ff;
}

img {
  border: 1px solid #000000;
  border-radius: 5px;
  max-width: 60%;
  max-height: 30%;
}

.profile_picture {
  margin-top: 1%;
}

.sidebar {
  width: 20vw;
  background-color: #ffffff;
  position: fixed;
  height: 100vh;
  top: 73px;
  left: 0;
  padding-left: 1%;
  padding-right: 1%;
  box-shadow: 0 0 0 white;
}

.sidebar a {
  color: black;
  text-decoration: none;
  font-size: 1.8vw;
  white-space: pre-wrap;
}

.sidebar h3 {
  font-size: calc(0.09 * 20vw);
  margin: 0;
  margin-top: 15%;
  text-align: center;
}

.smaller-profile-link {
  font-size: 12px;
  padding-left: 25px;
  padding-right: 25px;
}

.sidebar a:hover {
  text-decoration: underline;
}

.online-users {
  margin-top: 20px;
  max-height: 300px;
  overflow-y: auto;
  border-top: 1px solid #ccc;
}

.online-users h4 {
  margin: 10px 0;
  text-align: center;
}

.online-user {
  padding: 5px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.online-user .status-dot {
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  margin-right: 8px;
}

.post a, .post button{
  display: inline-block;
}

.navbar a, .navbar h2{
  display: inline-block;
}

.nav{
  background-color: #0074bd;
  padding-top: 4px;
  width: 100vw;
  text-align: left;
}

.nav a, .nav h2{
  display: inline-block;
}

pre {
  font-family: 'Comic Sans MS';
}

.nav a, .nav a:visited{
  color: #ebebeb;
  text-decoration: none;
  font-size: 20px;
  margin-left: 1%;
  margin-right: 1%;
  margin-bottom: 10px;
  padding-bottom: 0px;
}

.nav a:hover{
  text-decoration: underline;
}

.delete-btn,
.edit-btn {
  display: inline-block;
}

.edit-btn {
  background-color: rgb(255, 255, 255);
  color: inherit;
  border: 0px;
  padding: 0;
  font: none;
  cursor: pointer;
  outline: none;
}

.navbar {
  text-align: left;
  background: #0074bd;
  width: 1295px;
  margin-right: 0;
  padding-right: 600px;
  top: 0;
  left: 0;
  position: fixed;  
  box-shadow: 1px 1px 5px #5fbdf7;
}

.profilepicture {
  height: 100px;
  width: 100px;
  border-radius: 999px;
  border: none;
}

.navbar a {
  color: #ebebeb;
  text-decoration: none;
  font-size: 20px;
  margin-left: 1%;
  margin-right: 1%;
}

.navbar a:hover{
  text-decoration: underline;
}

.reda:link, .reda:visited {
  background-color: rgb(244, 67, 54, 0.9);
  color: white;
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius: 15px;
  margin-bottom: 5px;
}

.special-tag{
  color: #c20000;
  font-size: 15px;
}

.posta:link, .posta:visited {
  background-color: rgba(234, 219, 234);
  color: black;
  outline: 2px black;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius: 15px;
  margin-bottom: 5px;
}

.posta:hover{
  background-color: rgb(255, 255, 0);
  color: black;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius: 15px;
  margin-bottom: 5px;
}

.delete-btn{
  background-color: rgb(255, 255, 255);
  color: inherit;
  border: 0px;
  padding: 0;
  font: none;
  cursor: pointer;
  display: flex;
}

.svg-img {
  border: none;
  outline: none;
  right: 10;
  display: flex;
  align-items: center;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .15s;
}

.svg-img:hover {
  color: #0062ff;
}

.reda:hover, .reda:active {
  background-color: red;
}

.rainbow {
    text-decoration: underline;
    font-size: 32px;
}
.rainbow_text_animated {
    background: linear-gradient(to right, #6666ff, #0099ff , #00ff00, #ff3399, #6666ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow_animation 6s ease-in-out infinite;
    background-size: 400% 100%;
}

@keyframes rainbow_animation {
    0%,100% {
        background-position: 0 0;
    }

    50% {
        background-position: 100% 0;
    }
}

.postdiv {
  border: 2px solid black;
  background: rgb(255, 255, 255, 0.8);
  border-radius: 5px;
  padding-bottom: 10px;
  padding-top: 10px;
  text-align: center;
}

.homepagediv {
  border: 2px solid black;
  background: rgb(255, 255, 255, 0.8);
  border-radius: 5px;
  padding-bottom: 10px;
  padding-top: 10px;
  text-align: center;
}

.postbtn {
  padding: 20px 50px;
  font-size: 16px;
  color: #fff;
  background: #ffa200;
  cursor: pointer;
  border-radius: 15px;
  font-family: 'Comic Sans MS';
}

.loginbtn {
  padding: 20px 50px;
  font-size: 16px;
  color: #fff;
  background: #ffa200;
  cursor: pointer;
  text-decoration: none;
  border-radius: 15px;
  font-family: 'Comic Sans MS';
}

.loginbtn:hover {
  text-decoration: underline;
}

.logindiv {
  border: 2px solid black;
  padding: 10px;
  margin: 10px;
  background: rgb(255, 255, 255, 0.5);
  text-align: center;
}

.loginredirect {
  border: 2px solid black;
  padding: 10px;
  margin: 10px;
  background: rgb(255, 255, 255, 0.5);
  text-align: center;
}

.loginredirect a {
  text-decoration: none;
}

.aslogo{
  width: 40px;
  height: 40px;
  margin-top: 0px;
}

input, textarea {
  font-family: 'Comic Sans MS';
}

body {
  background-color: #e3e3e3;
  background-position: bottom 25px;
  background-size: 100%;
  background-attachment: fixed;
  font-family: 'Comic Sans MS';
}

.newspost {
  border: 2px solid black;
  background: rgb(255, 255, 255, 0.8);
  border-radius: 5px;
  padding-bottom: 10px;
  padding-top: 10px;
  text-align: center;
  font-family: 'Comic Sans MS';
}

.superuser {
  color: #dbdb00;
  text-decoration: none;
}

.superuser:hover, .superuser:active {
  color: #ff8800;
  text-decoration: underline;
}
