@tailwind base;
@tailwind components;
@tailwind utilities;

.gravatar {
  width: 100%;
  border-radius: 16px;
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.4);
}

.page-footer a {
  color: white;
}

strong {
  font-weight: 700;
}

.post-content h4 {
  padding-top: 2em;
}

.linkbutton {
  background:none!important;
  color:inherit;
  border:none;
  padding:0!important;
  font: inherit;
  /*border is optional*/
  border-bottom:1px solid #444;
  cursor: pointer;
}

/*Hack to make SVG a link*/
.svglink {
  font-size: 80px;
}

.svglink object {
  fill: white;
  stroke: white;
  height: 60px;
  overflow: hidden;
  pointer-events: none;
}

.promo{
  width:100%
}
.promo i{
  margin:40px 0;
  color:#ee6e73;
  font-size:7rem;
  display:block;
}
.promo-caption{
  font-size:1.7rem;
  font-weight:500;
  margin-top:5px;
  margin-bottom:0;
}

.vote-button {
  padding-left: 40px;
}

@media not print {
  body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
  }

  main {
    flex: 1 0 auto;
  }
}

@media print {
  nav, footer {
    display: none;
  }

  .noprint {
    display: none;
  }
}

@keyframes downvoted{
	from {
		transform: translateX(100%);
	}
	to {
		transform: translateX(0%);
	}
}

.downvoted {
	animation: downvoted .3s linear;
}

@keyframes upvoted{
	from {
		transform: translateX(-100%);
	}
	to {
		transform: translateX(0%);
	}
}

.upvoted {
	animation: upvoted .3s linear;
}

[hidden] {
  display: none !important;
}

.hidden {
  display: none !important;
}
