/* Palette generated by Material Palette - materialpalette.com/red/grey */

.dark-primary-color {
  background: #D32F2F;
}

.default-primary-color {
  background: #F44336;
}

.light-primary-color {
  background: #FF7961;
}

.text-primary-color {
  color: #FFFFFF;
}

.accent-color {
  background: #9E9E9E;
}

.primary-text-color {
  color: #212121;
}

.secondary-text-color {
  color: #757575;
}

.divider-color {
  border-color: #BDBDBD;
}

/*  */

:root {
  --primary-dark: #D32F2F;
  --primary: #E54540;
  --primary-light: #E56767;
  --text: #FFFFFF;
  --accent: #9E9E9E;
  --primary-text: #212121;
  --secondary-text: #757575;
  --divider: #BDBDBD;
  --nav: rgb(13, 144, 239);
}

body {
  text-align: center;
}

/*toast*/

#toast {
  border-radius: 5px;
  border: 1px solid black;
  padding: 30px;
  width: auto;
  max-width: 50%;
  text-align: center;
  transition-duration: 1s;
  -webkit-transition-duration: 1s;
  position: fixed;
  top: -63px;
  opacity: .7;
  background-color: #333;
  color: white;
  z-index: 15;
  margin: 0 auto;
  left: 0;
  right: 0;
}

.tab {
  padding-left:2em;
}

/*nav-bar==================================================================*/

#nav-bar {
  /*This is the nav-bar*/
  position: fixed;
  top: 0;
  width: 100%;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: var(--primary);
  right: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  z-index: 5;
  height: 50px;
}

.nav-bar-item {
  float: left;
  display: block;
  height: 100%;
  min-width: 50px;
  width: auto;
  margin-right: 0px;
  padding: 0 8px;
  cursor: pointer;
}

.nav-bar-item.color-transform {
  transition: .4s ease-in-out;
}

.nav-bar-item.color-transform:hover {
  color: var(--primary);
  background: white;
}

.nav-bar-text {
  position: relative;
  top: 15px;
}

.nav-bar-item.right {
  float: right;
}

.nav-bar-item#sidebar-btn {
  padding: 5px;
  position: relative;
}

.hamburger-x div {
  display: block;
  position: absolute;
  left: 12px;
  right: 12px;
  height: 4px;
  background: white;
  transition: .2s ease-in-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.hamburger-x .top {
  top: 10px;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  z-index: 4;
}

.hamburger-x .mid {
  top: 22px;
  opacity: 1;
}

.hamburger-x .bot {
  bottom: 21px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  z-index: 3s;

}

.hamburger-x .top.open {
  transform: translateY(12.5px) rotate(45deg);
  border-radius: 0;
}

.hamburger-x .mid.open {
  opacity: 0;
}

.hamburger-x .bot.open {
  transform: translateY(-12.5px) rotate(-45deg);
  border-radius: 0;
}

/*nav-bar==================================================================*/

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 1em;
  color: rgb(233, 233, 233);
  background-color: #f5f5f5;
}

#navigation {
  top: 0;
  margin: auto;
  float: left;
  display: block;
  width: 100%;
  background-color: var(--nav);
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  margin-bottom: 25px;
}

#navigation div {
  padding: 20px;
}

#sidebarbtn {
  text-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition-duration: .4s;
}

#sidebarbtn:hover {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, .3);
}

.centerTextHorz {
  text-align: center;
}

.holder {
  float: left;
}

.large {
  font-size: 2em;
}

#cards {
  position: relative;
  width: 100%;
  float: left;
  margin-top: 75px;
  text-align: center;
}

.card {
  position: relative;
  display: inline-block;
  margin: 10px;
  background-color: #fff;
  color: #222;
  height: 300px;
  width: 300px;
  border-radius: 5px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition-duration: .4s;
  vertical-align: middle;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.4);
  height: 320px;
  width: 320px;
  margin: 0;
}

.cardArrow {
  position: relative;
  top: 100px;
  color: white;
  opacity: 0;
  transition-duration: .4s;
}



@keyframes pulse {
  0% {
    opacity: .9;
  }
  100% {
    opacity: .1;
  }
}

.pulse {
  animation-name: pulse;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.overlay::-webkit-scrollbar {
  display: none;
}

.content {
  position: relative;
  display: block;
  top: 50px;
  width: 100%;
}

.content .fill {
  position: absolute;
  top: 50%;
  left: 50%;
  min-height: 500px;
  display: block;
  background-color: #fff;
  color: #222;
  width: 90%;
  border-radius: 5px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transform: translateX(-50%) translateY(40px);
  margin-bottom: 15px;

}

.left-align {
  text-align: left;
}

.card img {
  position: absolute;
  width: 100%;
  border-radius: 5px;
  z-index: 1;
  display: block;
}

.overlay {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  border-radius: 5px;
  transition-duration: .4s;
  z-index: 2;
  position: absolute;
  overflow: auto;
}

.overlay:hover {
  opacity: 1;
}

.title {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 70px;
  color: white;
}

.description {
  font-size: .75em;
  color: #d9d9d9;
  position: relative;
  top: -50px;
  margin-bottom: 10%;
}

#sidebar {
  color: #111;
  margin-top: 50px;
  margin-left: 0;
  position: fixed;
  height: 100%;
  width: 0px;
  background-color: #E5E5E5;
  z-index: 3;
  transition-duration: .2s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

#sidebar-content {
  margin-top: 0px;
  position: absolute;
  width: 100%;
  height: 100%;
  transition: .4s;
  background-color: #E5E5E5;
  font-size: 1.25em;
  text-align: left;
  overflow: auto;
  margin-bottom: 50px;
}

#sidebar-content .sidebar-item {
  left: 0px;
  position: relative;
  cursor: pointer;
  padding: 5px;
  padding-left: 23px;
  transition-duration: .4s;
  color: #555;
  height: 30px;
}

#sidebar-content .sidebar-item:hover {
  background-color: #AAA;
  color: #E5E5E5;
}

#sidebar-content .sidebar-text {
  position: relative;
  top: 1px;
  left: 15px;
  font-size: 25px;
  font-weight: 200;
}

#sidebar-content .line {
  position: absolute;
  display: block;
  left: 20px;
  right: 20px;
  background: var(--divider);
  height: 2px;
  transform: translateY(15px);
}

#sidebar-content .positionfix {
  margin-top: 32px;
}

#sidebar-content .positionfix2 {
  margin-top: 50px;
}

#sidebar-content .friend-img {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  background: grey;
  border-radius: 15px;
  float: left;
}

#sidebar-content .online .friend-img {
  box-shadow: inset 0 0 0 2px rgba(57, 210, 58, 0.5);
}

#sidebar-content .friend-name {
  position: relative;
  left: 20px;
  top: 3px;
}

#sidebar-account {
  display: block;
  height: 175px;
  width: 100%;
  background-color: var(--primary-light);
  margin-bottom: 1px;
}

#sidebar-account .profile-pic {
  display: block;
  position: absolute;
  top: 10px;
  left: 10px;
  width: 60px;
  height: 60px;
  border-radius: 30px;
  background: white;
}

#sidebar-account .profile-name {
  display: block;
  position: absolute;
  top: 10px;
  left: 80px;
  width: auto;
  height: 60px;
  border-radius: 30px;
  color: black;
}

#sidebar-account .profile-username {
  display: block;
  position: absolute;
  top: 30px;
  left: 80px;
  width: auto;
  height: 60px;
  border-radius: 30px;
  color: rgba(0, 0, 0, .7);
  font-size: 12px;
}

.noti-bar {
  position: absolute;
  bottom: 0;
  background: #999;
  width: 100%;
  height: 40px;
  padding: 0;
  transform: translateY(-100%)translateY(-10px);
}

.noti-bar .bell-icon {
  cursor: pointer;
  color: white;
  height: 100%;
  display: inline-block;
  float: right;
  padding-top: 5px;
  padding-right: 5px;
  transition: .4s ease-in-out;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.noti-bar .bell-icon:hover {
  text-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.icon {
  font-size: 30px;
  float: left;
}

.clean {
  text-decoration: none;
}

/*login*/

#loginShield {
  transition-duration: 1s;
  -webkit-transition-duration: 1s;
  position: fixed;
  height: 90%;
  width: 70%;
  background: #f8f8f8;
  border-radius: 5px;
  z-index: 10;
  display: block;
  left: 0;
  right: 0;
  margin: 0 auto;
  margin-top: 20px;
  opacity: 0;
  display: none;
  text-align: center;
  color: black;
  overflow: auto;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.loginSelect {
  width: 100%;
  margin: 0;
}

.loginSelect .line {
  position: relative;
  display: block;
  width: 25%;
  background: var(--divider);
  height: 2px;
  transform: translateX(150%);
}

.loginHeader {
  color: black;
  font-weight: 300;
  margin: 10px;
}

.login-form span {
  float: left;
  display: block;
  position: relative;
  left: 12%;
  font-size: .9em;
  transform: translateY(4px);
  font-weight: 300;
}

.login-btn {
  background-color: var(--primary-light);
  color: white;
  padding: 10px 10px;
  border-radius: 10px;
  text-decoration: none;
  margin: 4px 2px;
  cursor: pointer;
  width: 100px;
  transition-duration: .4s;
  -webkit-transition-duration: .4s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  border: none;
}

.login-btn:hover {
  background-color: white;
  color: var(--primary-light);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.login-input {
  height: 20px;
  width: 80%;
  border-radius: 10px;
  border: 2px solid #B8B8B8;
  background: white;
  background-color: white;
  padding: 3px 5px;
  transition-duration: .4s;
  -webkit-transition-duration: .4s;
}

.login-input:focus {
  outline: none;
  border-color: rgba(184, 184, 184, 0);
  background: rgba(255, 90, 85, 0.9);
  color: white;
}

.login-input:focus::placeholder {
  color: white;
}

.input-error {
  border-color: #ff5757;
}

/*click out*/

#clickout {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(150, 150, 150);
  z-index: 9;
  opacity: 0;
  transition-duration: 1s;
  -webkit-transition-duration: 1s;
}

#friends {
  display: block;
  position: fixed;
  right: 4px;
  bottom: 4px;
  height: 70px;
  width: 70px;
  background: white;
  border: #aaa solid 1px;
  border-top-left-radius: 35px;
  text-align: center;
}

#friends>div {
  height: 100%;
  width: 100%;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(10%) translateX(0%);
  color: black;
  font-size: 40px;
}

@media only screen and (min-width: 750px) {
  body {}
  #loginShield {
    width: 50%;
    height: 50%;
    margin-top: 100px;
  }
  .loginSelect {
    width: 50%;
  }
  .login-btn {
    width: 40%;
  }
}
