/* This file is part of srq.re.

srq.re is free software: you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.

srq.re is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along
with srq.re.  If not, see <http://www.gnu.org/licenses/>. */

:root {
  --brand-black: #131416;
  --brand-grey: #333436;
  --brand-lightgrey: #b3b4b6;
  --brand-white: #ffffff;
  --brand-dot: #e6e2ef;
  --brand-violet: #f6a2ff;
  --brand-pink: #ff7a9a;
  --brand-magenta: #cf7a9a;
  --strong-white: #ffffff;

  --background-color: var(--brand-white);
  --border-color: var(--brand-black);
  --frame-color: var(--brand-white);
  --text-color: var(--brand-grey);
}

@font-face {
  font-family: "CraftyGirls";
  src: url(/CraftyGirls-Regular.ttf);
}

@font-face {
  font-family: "SignikaNegative";
  src: url(/SignikaNegative-Medium.ttf);
}

* {
  font-family: "SignikaNegative", sans-serif;
  font-size: 12pt;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  /* background-image: radial-gradient(var(--brand-dot) 1px, transparent 2px),
    radial-gradient(var(--brand-dot) 2px, transparent 3px),
    radial-gradient(var(--brand-dot) 3px, transparent 4px),
    radial-gradient(var(--brand-dot) 4px, transparent 5px); */
  background-color: var(--brand-white);
  background-position:
    0px 0px,
    25px 25px,
    35px 5px,
    155px 75px;
  background-size:
    3px 3px,
    143px 143px,
    235px 235px,
    491px 491px;
}

img {
  border: none;
  margin: 0;
}

a,
a:visited {
  color: var(--brand-magenta);
  text-decoration: none;
  font-weight: bold;

  font-size: inherit;
  font-family: inherit;
}
a:hover,
a:active {
  opacity: 0.5;
  transition: opacity 0.4s;
}

#container {
  position: relative;
  min-height: 100%;
  max-width: none;
  margin: 0px;
  padding: 0px;
}

#title {
  border: none;
  margin: 0px;
  color: var(--brand-magenta);
  background: var(--background-color);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  /* box-shadow: 0px 0px 1px var(--brand-dot); */
  z-index: 100;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#title h1 {
  font-family: "CraftyGirls";
  font-size: 20pt;
  padding: 0.1em 1.3em 0.3em 1.3em;
  text-align: right;
}

#start-buffer {
  width: 120px;
}

#logo {
  height: 48px;
  margin: 24px;
  stroke: var(--brand-magenta);
  flex-grow: 1;
}

#socials {
  list-style-type: none;
  padding: 0px var(--spacing-unit);
  margin: 0px;
  margin-right: 96px;
  display: block;
}

#socials li {
  display: inline-block;
}

#socials li a svg {
  height: 24px;
  stroke-width: 0;
  stroke: var(--brand-magenta);
  fill: var(--brand-magenta);
  vertical-align: bottom;
}

#content {
  padding-top: 5em;
  padding-bottom: 150px;
}

.entries {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: auto;
  padding: 20px;
  font-size: 0;
  /* max-width: 1200px; */
}

.entries li {
  display: inline-block;
  box-shadow: 0px 0px 3px var(--brand-lightgrey);
}

.entries .text {
  background: var(--brand-white);
  border: 3em solid var(--brand-white);
  border-radius: 2px;
  color: var(--text-color);
  margin: 1em;
  max-width: calc(1200px - 8em);
  text-align: left;
}

.entries .text p {
  margin: 1em;
}

.entries .image {
  background: var(--frame-color);
  border: 0.4em solid var(--frame-color);
  border-radius: 2px;
  color: var(--text-color);
  flex-grow: 0.5;
  margin: 1em;
  text-align: center;
  vertical-align: bottom;
}

.entries .image .caption {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.caption span {
  font-size: 80%;
}

.image img {
  display: block;
  object-fit: contain;
  max-height: 400px;
  width: calc(100% - 6px);
  background: var(--strong-white);
  padding: 3px;
  box-shadow: inset 0px 0px 0px var(--brand-lightgrey);
}

.sketch-view img {
  margin: 10px;
  padding: 10px;
  box-shadow: inset 3px 3px 10px var(--background-color);
  max-width: calc(100% - 40px);
}

.sketch-view {
  display: block;
}

#footer {
  position: absolute;
  bottom: 0;

  width: 100%;
  height: 150px;

  background: var(--background-color);
  color: var(--text-color);
  box-shadow: 0px 0px 10px var(--background-color);
}

#license {
  font-size: 60%;
  margin: auto;
  max-width: calc(1200px - 2em);
  padding: 1em;
  text-align: center;
}
