/* ~~~~~~~~~~~~ POSTS ~~~~~~~~~~~~~~~~ */
#timeline {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 60%;
}

.posts-list{
  height: 80vh;
  list-style-type: none;
  padding: 0;
  margin: 0;
  max-height: 90vh;
  overflow-y: scroll;
}

.show-post
{
  margin-left: 20px !important;
}

.show-post .words{
  font-weight: bold;
}

.reply-column {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.reply-column .post {
  width: 40%;
}

.reply-button{
  cursor: pointer;
}

/* ~~~~~~~~~~~~~~~~~~~~~ POST ~~~~~~~~~~~~~~~~~~~~~~~ */
.post{
  background: palegreen;
  padding: 10px;
  text-align: left;
  color: black;
  margin: 15px;
  margin-left: 50px;
  border: 1px solid black;
}

.post-header, .post-footer{
  display: flex;
  justify-content: space-between;
}

.words {
  font-size: 20px;
}

.post-interactions{
  display: flex;
  justify-content: right;
  flex-direction: row;
}

.like form {
  display: inline-block;
}

.active button{
  background: salmon;
}

.connections{
  display: flex;
  flex-direction: row;
}

.plies-list, .replies-list{
  width: 50%;
  list-style: square;
  height: 20vh;
  overflow-y: scroll;
}

.user-likes-box{
  height: 20vh;
  overflow-y:  scroll;
}

.user-likes-box .post{
  width: unset;
}

.red{
  color: darkred;
  font-weight: bold;
}

.line-box{
  display: flex;
  justify-content: center;
  width: 100%;
}

.line {
  width: 0px;
  height: 20px;
  border: 1px solid black;
}

/*************************** FORM *************************/
.hide {
  display: none !important;
}

#modal-background{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

#new-post{
  padding: 20px;
  width: 60vw;
  background: palegreen;
  border: 1px solid black;
  z-index: 1;
}

#post-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#post-form label{
  font-weight: bold;
}

#post-form th{
  font-weight: bold;
}

#post-form table{
  width: 100%;
}

#post-form tr{
  text-align: left;
}

#post-form svg{
  height: 20px;
}

.like-button{
  display: inline-block;
  width: 32%;
  border: 1px solid black;
  border-radius: 4px;
  padding: 2px;
  text-align: center;
}

.get-likes{
  padding: 2px;
}

.add-post, .list-post{
  cursor: pointer;
}

#likes .selected {
  background: salmon;
}

#post_words {
  width: 100%;
}

.diff{
  font-size: 40px;
  font-weight: bold;
  line-height: 50px;
  text-align: center;
}

.char{
  display: inline-block;
  white-space: pre-wrap;
}

.delete{
  color: grey;
  font-weight: normal;
  vertical-align: sub;
  line-height: 0;
}

.insert{
  color: mediumblue;
  font-weight: normal;
  vertical-align: super;
  line-height: 0;
}

.variance {
  font-size: 20px;
  margin: 10px;
}

.form-buttons {
  margin: 10px;
}

.form-buttons button, .form-buttons input{
  font-size: 20px;
  padding: 5px 10px;
}

/* --------------------------- Likes -------------------------------*/

.post svg {
  color: black;
  width: 20px;
  height: 20px;
}

.short-post {
  background: oldlace;
}
.user-likes{
	text-align: center;
}

.user-likes div{
	display: inline-block;
	padding: 2px 10px;
	margin: 0 0 10px 0;
	background: oldlace;
}

.likes-icon svg{
	height: 100px;
	fill: oldlace;
}

.username{
  font-size: 80px;
  word-break: break-all;
  text-transform: lowercase;
  margin: 0;
}

.user-link{
	text-transform: lowercase;
}

.likes {
  display: flex;
  justify-content: center;
}

.likes div{
  margin: 0 15px;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

body{
  background: MediumSeaGreen;
  margin: 0px;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  justify-content: space-around;
}

h1 {
  text-align: center;
  font-size: 80px;
  word-wrap: break-word;
}

h1 a{
  text-decoration: none;
}

h2 {
  text-align: center;
}

.lazar {
  color: black;
  font-weight: heavy;
  font-style: italic;
  text-shadow: 0.04em 0.04em lightseagreen, 
               0.08em 0.08em antiquewhite, 
               0.12em 0.12em black,
               0.16em 0.16em cornsilk,
               0.20em 0.20em midnightblue;
}

.lazar a:visited{
  color: black;
}

.interactable-zone{
  background: aliceblue;
  border: 1px solid black;
  padding: 10px;
  margin: 10px;
}

footer{
  box-sizing: border-box;
  background: aliceblue;
  border: 1px solid black;
  display: flex;
  flex-direction: row;
  margin: 10px;
  margin-left: 15%;
  margin-right: 15%;
  padding: 10px;
  justify-content: space-between;
  width: 70%;
}

/* _______________ HEADER ___________________ */
.user-bar{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px;
  margin-left: 15%;
  margin-right: 15%;
}

.user-bar .name{
  font-weight: bold;
}

.user-bar .user-buttons{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.user-bar .user-buttons button{
  margin-left: 20px;
}

.flash{
  display: flex;
  align-items: center;
  flex-direction: column;
}

.flash div{
  width: 70vw;
  text-align: center;
  padding: 10px;
  margin: 5px;
  border-radius: 20px;
}

.alert{
  background: palevioletred;
}

.notice{
  background: lightblue;
}

/* -------------SIGN IN ------------------- */
.user-form{
  padding: 20px;
  border-radius: 20px;
}

.user-form label{
  display: inline-block;
  width: 100px;
}

.user-form div{
  margin: 10px;
}

.sso{
  display: flex;
  justify-content: center;
}

.sso-box{
  background: oldlace;
  border: 1px solid black;
  padding: 5px;
}

#landing {
  width: 60%;
}

#help, #museum{
  background: oldlace;
  margin: 20px;
  padding: 5px;
  width: 60%;
}

.logo{
  display: flex;
  justify-content: center
}

.logo svg{
  height: 600px;
  padding: 20px;
}

#museum img {
  max-height: 500px;
  max-width: 100%;
}

#museum details{
  padding-bottom: 20px;
}

#museum summary{
  font-size: 30px;
  font-weight: bold;
}

#museum details div {
  padding-left: 20px;
  padding-bottom: 5px;
}

.banner{
  background: black;
  color: white;
  width: 230px;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  padding-top: 15px;
  height: 80vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}

.banner .announce{
  margin: 0 15px ;
}

.banner .total{
  font-size: 60px;
}

.banner .slogan{
  font-style: italic;
  font-size: 15px;
}

.banner .fringe {
  margin-top: 10px;
  width: 0; 
  height: 0; 
  border-left: 115px solid transparent;
  border-right: 115px solid transparent;
  
  border-bottom: 20px solid MediumSeaGreen;
}

@media (max-width: 600px) {
  main {
    flex-direction: column;
    align-items: center;
  }

  .banner {
    height: auto;

  }

  #timeline{
    width: 100%;
  }
}
