/* public/siteStyle.css */

@import url("https://fonts.googleapis.com/css?family=Raleway:800|Merriweather+Sans|Share+Tech+Mono");


:root {
  --ui-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06),
    0 4px 5px 0 rgba(0, 0, 0, 0.06), 0 1px 10px 0 rgba(0, 0, 0, 0.08);
  fill: rgba(0, 0, 0, 0.54);
  --ui-shadow-border: 1px solid rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  /*height: 100%;
  width: 100%;*/
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

h1,
h2,
h3 {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;

  padding: 0;
  margin: 0;

  color: #2a3747;
}

h1 {
  font-size: 40px;
}

.LeftImage {
  background-image: url('badge.png');
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 40px; /* width of image plus a little extr padding */
  display: block; /* may not need this, but just in case */
  vertical-align: middle;
}

.DoubleImage {
  background-image: url('badge.png'), url('badge.png');
  background-repeat: no-repeat;
  background-position: left center, right center;
  text-align: center;
}

ul {
  list-style-type: none;
  margin-bottom: 40px;
  padding: 0;
  width: 100%;
  text-align: center;
  vertical-align: middle;
}

li {
  border-radius: 5px;
  overflow: hidden;
  background: white;
  margin-right: 5px;
  font-family: "Share Tech Mono", monospace;
  border-bottom: var(--ui-shadow-border);
  box-shadow: var(--ui-shadow);

  display: inline-block;
  color: #000;
  padding: 8px 16px;
  text-decoration: none;
  text-align: center;
}

li a:hover {
  background-color: #555;
  color:white;
}

li a {
  color: black;
  text-decoration: none;
}

a {
  color: blue;
  text-decoration: underline;
  cursor: pointer;
  user-select: none;
}

#root {
  display: flex;
  flex-direction: column;
}

.View {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;

  height: 100%;
  width: 100%;

  padding: 20px;

  background-size: cover;

  font-family: "Merriweather Sans", sans-serif;
}

.BannerNoImage,
.Banner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  width: 100%;
  margin-top: 15px;
  margin-bottom: 5px;

  border-radius: 5px;

  overflow: hidden;
  background: white;

  font-family: "Share Tech Mono", monospace;
  text-align: center;
  vertical-align: middle;

  border-bottom: var(--ui-shadow-border);
  box-shadow: var(--ui-shadow);
}

.Banner {
  /* adding floating image on left */
  background-image: url('profeSprite.png');
  background-size: 135px 177px; /* original is 45x59 */
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  background-repeat: no-repeat;
  background-position: left center;
  /*padding: 10px 10px 10px 10px;*/
  height: 190px;
  /*display: block;*/
}

@media screen and (max-width: 600px) {
	.Banner {
		width:auto;
		height:auto;
		margin: 0 auto;
		background-position: center top;
		padding:10px;
	}
	.Banner h1 {
		margin-top:170px;
	}
}

.DropDown {
	width: 100%;
}

.TopBar {
	position: fixed;
	top: 0;
	width: 100%;
	overflow: hidden;
	padding-bottom:100px;
}

.Page {
	padding-top: 100px;
	margin-top: 200px;
}

@media screen and (max-width: 600px) {
	.TopBar {
		position: static;
		padding-bottom: 0px;
	}
	.Page {
		padding-top: 0px;
		margin-top: 0px;
	}
}


.ChipBorder {
  border: 1px solid transparent;
  border-image-source: url(greyChip.png);
  border-image-slice: 15;
  border-image-width: auto;
  border-image-outset: 15;
  border-image-repeat: round;
}

.FloatRight {
  margin-left: auto;
}

.Message {
  width: 50%;
  background: white;
  padding: 10px;
  border-bottom: var(--ui-shadow-border);
  box-shadow: var(--ui-shadow);
  margin-bottom: 40px;
  word-wrap: break-word;
}

.CenterMessage {
  width: 80%;
  background: white;
  padding: 10px;
  border-bottom: var(--ui-shadow-border);
  box-shadow: var(--ui-shadow);
  margin-bottom: 40px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin-left: auto;
  margin-right: auto;
}

.Details {
  text-align: left;
  /*display: flex;
  flex-direction: column;
  line-height: 1.5em;*/
  word-wrap: break-all;
   overflow-wrap: break-all;
}

.SingleEntry {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 10px;
	align-content: center;
	justify-content: center;
}
.SingleEntry img {
	padding: 5px;
}

.EntryTitle {
	align-self: flex-start;
	flex-basis:100%;
	text-align: center;
}

.EntryAuthor{

}

.Quote {
  text-align: center;
  font-style: italic;
  flex-basis:100%;
}

/** for mobile screens, keep lit review entry boxes (message) centered
 * and fill most of screen  **/
@media screen and (max-width: 600px) {
	.FloatRight {
		margin-left: 0;
	}
	.Message,
	.CenterMessage {
		width: 90%;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50px;
		padding-right: 10px;
		padding-left: 10px;
	}
	.EntryAuthor {
		word-wrap: break-all;
		overflow-wrap: break-all;
		font-size: 15px;
	}
	.Details {
		word-wrap: break-all;
		overflow-wrap: break-all;
		text-indent: 20px;
	}
	.Center {
		margin: 10px;
	}
	h1 {
		font-size: 30px;
	}

}


#Entry td {
	text-align: center;
	vertical-align: middle;
}

.Message > .Title {
  padding-bottom: 20px;
}



.Author {
  text-align: center;
}


.NavButtons {
	display: flex;
	width: 100%;
	justify-content: space-around;
	align-items: center;
	padding: 0 20px;

	flex-wrap: wrap; 
}

.NavButtons a {
	text-decoration: none;
}

.NavButton {
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 5px 20px 5px 20px;
  margin: 5px;
  text-align: center;

  background: #fa4141;

  border-radius: 30px;

  font-size: 16px;
  font-weight: bold;
  color: white;

  text-transform: capitalize;

  border-bottom: var(--ui-shadow-border);
  box-shadow: var(--ui-shadow);
}


.WelcomeView {
  background: url("food.jpg") left bottom;
  background-attachment:fixed;
  background-repeat: no-repeat;
  background-size: cover;
  overflow-y: scroll;
}

.UserView {
  background: url("https://cdn.auth0.com/blog/whatabyte-portal/patio.jpeg") left
    bottom;
  background-size: cover;
}
