@keyframes bounce {
  0% {transform: translateY(0px)}
  50% {transform: translateY(-5px)}
  75% {transform: translateY(5px)}
  100% {transform: translateY(0px)}
}
@keyframes rotate {
  0% {transform: rotate(0deg)}
  100% {transform: rotate(360deg)}
}

.anim-on-top-big {
  animation: slideBounceTop 800ms ease-in-out forwards;
}
@keyframes slideBounceTop {
  0% {transform: translateY(0)}
  50% {transform: translateY(350px)}
  70% {transform: translateY(320px)}
  100% {transform: translateY(350px)}
}
.anim-off-top-big {animation: retireTop 800ms ease-in-out forwards}
@keyframes retireTop {
  0% {transform: translateY(350px)}
  100% {transform: translateY(0)}
}
.anim-on-top-small {animation: slideBounceTop 800ms ease-in-out forwards}
@keyframes slideBounceTop {
  0% {transform: translateY(0)}
  50% {transform: translateY(400px)}
  70% {transform: translateY(400px)}
  100% {transform: translateY(400px)}
}
.anim-off-top-small {animation: retireTop 800ms ease-in-out forwards}
@keyframes slideBounceTop {
  0% {transform: translateY(0)}
  50% {transform: translateY(350px)}
  70% {transform: translateY(320px)}
  100% {transform: translateY(350px)}
}
.top-bar {
  -webkit-box-shadow: 0 -1px 30px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 -1px 30px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 -1px 30px 0 rgba(0, 0, 0, 0.2);
  display: none;
  position: absolute;
  width: 100vw;
  z-index: 99;
  background: #900C3F;
  height: 350px;
  top: -350px;
  transition: all 500ms ease-in-out;
}
.top-bar:hover .square-top-bar-hover {
  transform: rotate(135deg) !important;
  opacity: 0.7;
  margin: 0;
}
@media all and (max-width: 673px) {
  .top-bar {
    display: flex;
  }
}
@media all and (max-width: 360px) {
  .top-bar {
    height: 400px;
    top: -400px;
  }
}
.top-bar .square-top-bar-hover-container {
  position: absolute;
  text-align: center;
  width: 100vw;
  bottom: -30px;
  transition: all 500ms ease-in-out;
}
.top-bar .square-top-bar-hover-container .square-top-bar-hover {
  transition: all 500ms ease-in-out;
  -webkit-box-shadow: 0 -1px 30px 0 rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 -1px 30px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 -1px 30px 0 rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  width: 60px;
  height: 60px;
  background: #900C3F;
  transform: rotate(45deg);
}
.top-bar-item img {
  max-width: 120px;
}
.top-bar .top-bar-items {
  color: #F29E70;
  margin: auto;
  position: relative;
  top: -25px;
  list-style: none;
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1fr 1fr 1fr;
  font-family: "Love Ya Like A Sister", sans-serif;
}
.top-bar .top-bar-items a {
  color: inherit;
  text-decoration: none;
}
@media all and (max-width: 573px) {
  .top-bar .top-bar-items {
    grid-template-columns: 1fr 1fr;
  }
}
.top-bar .top-bar-items .top-bar-item {
  text-align: center;
  letter-spacing: 5px;
  align-self: center;
  transition: all 300ms ease-in-out;
}
.top-bar .top-bar-items .top-bar-item:not(:first-child):hover {
  cursor: pointer;
  color: yellow;
}
.top-bar .top-bar-items .top-bar-item:first-child {
  margin-bottom: 20px;
  grid-column: 1/4;
}
.top-bar .top-bar-items .top-bar-item:not(:first-child) {
  border-bottom-style: dotted;
  font-size: 1em;
  padding: 15px;
}
@media all and (max-width: 573px) {
  .top-bar .top-bar-items .top-bar-item:first-child {grid-column: 1/3}
  .top-bar .top-bar-items .top-bar-item:nth-child(2) {grid-column: 1/2}
  .top-bar .top-bar-items .top-bar-item:nth-child(4) {grid-column: 1/3}
}
@media all and (max-width: 360px) {
  .top-bar .top-bar-items .top-bar-item:first-child {
    margin-top: 10px;
    margin-bottom: 0;
  }
  .top-bar .top-bar-items .top-bar-item:nth-child(2) {grid-column: 1/3}
  .top-bar .top-bar-items .top-bar-item:nth-child(3) {grid-column: 1/3}
  .top-bar .top-bar-items .top-bar-item:nth-child(4) {grid-column: 1/3}
}

@keyframes slideBounce {
  0% {transform: translateX(0)}
  50% {transform: translateX(400px)}
  70% {transform: translateX(380px)}
  100% {transform: translateX(400px)}
}
@keyframes retire {
  0% {transform: translateX(400px)}
  100% {transform: translateX(0px)}
}
.anim-off-sidebar {animation: retire 500ms ease-in-out}
.anim-on-sidebar {animation: slideBounce 800ms ease-in-out forwards}
.side-bar {
  position: fixed;
  width: 400px;
  left: -400px;
  z-index: 9;
}
@media all and (max-width: 673px) {
  .side-bar {display: none}
}
.side-bar .big-texture-container {
  overflow: hidden;
  position: absolute;
  width: 400px;
  height: 100vh;
  background: #900C3F;
}
.side-bar .center-flex {
  overflow: hidden;
  height: 100vh;
  display: flex;
}
.side-bar .center-flex .nav-items {
  margin: auto;
}
.side-bar:hover {
  -webkit-box-shadow: 0 -1px 30px 0 rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0 -1px 30px 0 rgba(0, 0, 0, 0.75);
  box-shadow: 0 -1px 30px 0 rgba(0, 0, 0, 0.75);
}
.side-bar:hover .square-hover {
  opacity: 0;
  transform: rotate(180deg);
}
.side-bar .square-hover {
  width: 100px;
  height: 100px;
  background: #900C3F;
  transform: rotate(45deg);
  position: absolute;
  display: fixed;
  color: #F29E70;
  top: 50px;
  right: -50px;
  transition: all 500ms ease-in-out;
  opacity: 1;
  -webkit-box-shadow: 0 -1px 30px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 -1px 30px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 -1px 30px 0 rgba(0, 0, 0, 0.2);
}
@media all and (max-width: 548px) {
  .side-bar .square-hover {
    width: 50px;
    right: -25px;
    height: 50px;
  }
}

.menu {margin: 14px 0 0 60px} /* hamburger placement */
.menu img {max-width: 26px}
.side-bar .nav-items {
  color: #F29E70;
  list-style: none;
  text-align: center;
  width: 400px;
  position: relative;
  z-index: 1;
  font-family: "Love Ya Like A Sister", sans-serif;
}
.side-bar .nav-items a {
  color: inherit;
  text-decoration: none;
}
.side-bar .nav-items li {
  font-size: 1em;
  letter-spacing: 5px;
  padding: 10px;
  cursor: default;
  transition: all 300ms ease-in-out;
}
.side-bar .nav-items li:nth-child(1) {
/*  font-size: 100px;*/
  margin-bottom: 50px;
}
.side-bar .nav-items li:not(:nth-child(1)) {
  border-bottom-style: dotted;
  width: 60%;
  margin: 40px auto;
  font-size: 1em;
  padding: 20px;
}
.side-bar .nav-items li:not(:nth-child(1)):hover {
  cursor: pointer;
  color: yellow;
  animation: bounce 500ms ease-in-out;
}
.side-bar .nav-items li:last-child {
  margin-bottom: 0;
}

