/* Adapted from MVP.css v1.17.3 - https://github.com/andybrewer/mvp */

:root {
  --box-shadow: 4px 4px 0px;
  --color-accent: #A9B084;
  --color-background: #BAC095;
  --color-bg-secondary: #3D4127;
  --color-link: #3D4127;
  --color-shadow: #333333;
  --font-family: monospace;
  --hover-brightness: 1.2;
  --line-height: 1.1;
}

/* Hit me, punk! https://www.dafont.com/junkohanhero.d1293 
https://creativecommons.org/licenses/by-nc-nd/3.0/ */
@font-face {
    font-family: "Hit me, punk! 01";
    src: url("https://static.tvpartytonight.com/f/Hit me, punk! 01.ttf") format("truetype");    
}
@font-face {
    font-family: "Hit me, punk! 05";
    src: url("https://static.tvpartytonight.com/f/Hit me, punk! 05.ttf") format("truetype");    
}

body {
    background: var(--color-background);
    font-family: var(--font-family);
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover {
  filter: brightness(var(--hover-brightness));
}

a b,
a em,
a i,
a strong,
button,
input[type="submit"] {
  display: inline-block;
  font-size: medium;
  font-weight: bold;
  line-height: var(--line-height);
  margin: 0.5rem 0.25rem;
  padding: 0.25rem 1rem;
  font-family: var(--font-family);
}

button:hover,
input[type="submit"]:hover {
  cursor: pointer;
  filter: brightness(var(--hover-brightness));
}

button:active,
input[type="submit"]:active {
  filter: brightness(var(--hover-brightness));
}

a b,
a strong,
button,
input[type="submit"] {
  background-color: var(--color-link);
  border: 2px solid var(--color-link);
  color: var(--color-background);
}

div.movie {
    position: relative;
    float: right;
    max-width: 360px;
    padding-left: 20px;
}

div.movie a {
    font-weight: bold;
}

form {
  border: 1px solid var(--color-bg-secondary);
  box-shadow: var(--box-shadow) var(--color-shadow);
  text-align: left;
  transform: rotate(1deg);
  padding: 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
  line-height: var(--line-height);
  font-weight: normal;
  margin: 0.25em 0em;
}

h2 { 
  font-family: "Hit me, punk! 01";
  font-size: 4em;
}

h3 { 
  font-family: "Hit me, punk! 05";
  font-size: 3em;
}

img.movie {
    width: 200px;
    padding-bottom: 20px;
}

input,
label,
select,
textarea {
  display: block;
  font-size: inherit;
  width: 100%;
}

input,
select,
textarea {
  border: 1px solid var(--color-bg-secondary);
  margin-bottom: 1rem;
  padding: 0.4rem 0.8rem;
}

label {
  font-weight: bold;
  margin-bottom: 0.2rem;
}

p.text, ul, ol  {
  text-align: left;
}



/* Tables */
table {
  border: 1px solid var(--color-bg-secondary);
  border-spacing: 0;
  display: inline-block;
  min-width: 90%;
  padding: 0;
  box-shadow: var(--box-shadow) var(--color-shadow);
}

table td,
table th,
table tr {
  padding: 0.4rem 0.8rem;
  text-align: var(--justify-important);
}

table thead {
  border-collapse: collapse;
  background-color: var(--color-bg-secondary);
  color: var(--color-background);
  margin: 0;
  padding: 0;
}

table thead th:first-child,
table tr td:first-child {
  text-align: var(--justify-normal);
}

table tr:nth-child(even) {
  background-color: var(--color-accent);
}

.row {
    max-width: 1080px;
    margin-bottom: 1em;
}

.fullrow {
    min-width: calc(100% - 2em);
    text-align: center;
    margin: 0em;
}

.column {
    float: left;
    width: calc(50% - 2rem);
    margin: 1em;
    text-align: center;
}

.break {
  flex-basis: 100%;
  height: 0;
}

.home-page-button {
    position: relative;
    width: 7em;
    left: -10em;
}

.toast {
  border: 1px dashed var(--color-bg-secondary);
  border-radius: 5px;
  font-size: large;
  font-weight: bold;
  padding: 0.5em 1em;
  margin-top: 1em;
  margin-bottom: 1em;
}

@media screen and (max-width: 768px) {
    .row {
        width: 90%;
    }
    .column {
        width: calc(100% - 2rem);
    }
    .home-page-button {
    left: unset;
    }
}