/******************************
BASE STYLE
*******************************/
html {
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
  outline: none;
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: baseline; }

img,
hr {
  -webkit-box-sizing: content-box;
  box-sizing: content-box; }

html,
body {
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  line-height: 1.56; }

header {
  padding-top: 1rem;
  padding-bottom: 1rem; }

h1 {
  font-size: 3rem;
  font-weight: 900;
  padding-top: 1rem;
  padding-bottom: 1rem; }

h3 {
  font-size: 1.2rem;
  padding-bottom: 1rem; }

a,
button,
select,
[type="submit"] {
  cursor: pointer; }

[type="submit"], select,
input:not([type="submit"]) {
  width: 100%;
  font-family: inherit;
  font-weight: 700; }

select,
input:not([type="submit"]), select:focus, select:hover, select:active,
input:not([type="submit"]):focus,
input:not([type="submit"]):hover,
input:not([type="submit"]):active {
  color: inherit;
  background-color: inherit; }

[type="submit"] {
  text-transform: uppercase;
  letter-spacing: .1rem;
  font-weight: 900; }

button {
  font-weight: 700; }

select, input {
  -moz-appearance: none;
  -webkit-appearance: none;
  -o-appearance: none;
  appearance: none; }

select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000; }

select::-ms-expand {
  display: none; }

input::-ms-clear {
  color: transparent; }

/******************************
ELEMENT STYLE
*******************************/
.page-wrapper {
  padding: 0 10%; }
  @media (min-width: 992px) {
    .page-wrapper {
      padding: 0 15%; } }
  @media (min-width: 1200px) {
    .page-wrapper {
      padding: 0 20%; } }

.header-wrapper,
.main-wrapper {
  display: table;
  width: 100%; }
  @media (min-width: 768px) {
    .header-wrapper,
    .main-wrapper {
      padding-left: 10%;
      padding-right: 10%; } }

.header-wrapper {
  height: 20vh; }

.main-wrapper {
  height: 60vh; }

.content {
  display: table-cell;
  vertical-align: middle; }

.input-wrapper {
  position: relative; }

.search-label {
  position: absolute;
  top: -1.2rem;
  left: 0;
  right: 0;
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1rem; }

.m-box {
  padding: .6rem 1.2rem;
  font-size: 1.2rem;
  line-height: 1.56;
  border-radius: 3rem; }

.s-box {
  padding: .6rem 1.2rem;
  font-size: 1rem;
  line-height: 1.56;
  border-radius: 3rem; }

.input-container {
  border-radius: 3rem;
  position: relative;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 2rem; }

.input-text {
  width: 100%;
  padding-right: 4rem; }

.icon-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 4rem;
  text-align: center;
  cursor: pointer; }

.select-arrow {
  pointer-events: none; }

@-webkit-keyframes happy {
  from {
    opacity: 0;
    -webkit-transform: translate(-100vw, -100vh) scale(0.3, 0.3) rotate(-360deg);
    transform: translate(-100vw, -100vh) scale(0.3, 0.3) rotate(-360deg); }
  50% {
    opacity: 1; } }

@keyframes happy {
  from {
    opacity: 0;
    -webkit-transform: translate(-100vw, -100vh) scale(0.3, 0.3) rotate(-360deg);
    transform: translate(-100vw, -100vh) scale(0.3, 0.3) rotate(-360deg); }
  50% {
    opacity: 1; } }

.random {
  font-weight: 700;
  text-decoration: none;
  margin-top: 3rem;
  margin-bottom: 2rem;
  padding: 1rem 2rem;
  border: 2px dotted;
  border-radius: 0;
  -webkit-transition: 0.5ms;
  transition: 0.5ms;
  -webkit-animation-name: happy;
  animation-name: happy;
  -webkit-animation-duration: 1s;
  animation-duration: 1s; }

.article {
  display: block;
  margin-bottom: 1.2rem;
  padding: 1rem 1.2rem;
  text-decoration: none;
  border-left: 0.5rem transparent solid;
  border-radius: 0; }

.prev, .next {
  margin-top: 2rem;
  margin-bottom: 4rem; }

.prev {
  float: left; }

.next {
  float: right; }

.searchmatch {
  font-weight: 700; }

/******************************
COLORS
*******************************/
/*
colorpalette: http://paletton.com/#uid=50q0u0ka3uO10Pk3jB2akoYeKkZ
*/
body {
  background-color: #10070c; }

header {
  color: #d9c0a2; }

.search-label {
  color: rgba(131, 105, 57, 0.4); }

.input-container {
  background-color: #836939;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  color: #d9c0a2; }

.input-container-hover,
.input-container:hover,
.input-container:focus {
  background-color: #d9c0a2;
  -webkit-box-shadow: 0 0 0.8rem 1px #d9c0a2;
  box-shadow: 0 0 0.8rem 1px #d9c0a2;
  color: #836939; }

.button {
  color: #aa005f;
  background-color: #440026;
  -webkit-transition: 0.3s;
  transition: 0.3s; }
  .button:hover, .button:focus, .button:active {
    color: #440026;
    background-color: #aa005f;
    -webkit-box-shadow: 0 0 0.8rem 1px #aa005f;
    box-shadow: 0 0 0.8rem 1px #aa005f; }
  .button:active {
    -webkit-transform: scale(0.95);
    transform: scale(0.95); }

.random {
  color: #836939;
  border-color: #836939; }
  .random:hover, .random:focus {
    -webkit-box-shadow: 0 0 0.8rem 1px #aa005f;
    box-shadow: 0 0 0.8rem 1px #aa005f;
    color: #aa005f;
    border-color: #aa005f; }
  .random:active {
    -webkit-transform: scale(0.95);
    transform: scale(0.95); }

.article {
  color: #836939; }
  .article:hover, .article:focus, .article:active {
    color: #d9c0a2;
    border-left: 0.5rem #440026 solid;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none; }

.no-result {
  color: #836939; }

/******************************
HELPER CLASSES
*******************************/
.text-center {
  text-align: center; }

.d-block {
  display: block; }

.d-inline-block {
  display: inline-block; }

.hidden {
  display: none !important; }

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table; }

.clearfix:after {
  clear: both; }
