/* ---- A spicy combination of...

  http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)

and

  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/

-----------------------------------------------------  */


html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
button,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

img,
picture,
video,
canvas {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

#root,
#__next {
  isolation: isolate;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

a {
  color: inherit;
  text-decoration: none;
}

li {
  list-style: none;
}

textarea {
  resize: none;
}

/* ---- Begin page specific styles -------- */

:root {
  --light: rgba(248, 250, 252, 1);
  --medium: rgba(203, 213, 225, 1);
  --dark: rgba(100, 116, 139, 1);
}

body {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-weight: 300;
  background-color: var(--dark);
  color: var(--light);
}

main {
  height: 100vh;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.30) 59%, rgba(0, 0, 0, 0.75) 100%), url("https://picsum.photos/960/540?grayscale");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

section {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

figure {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 0.25rem;
  height: max(400px, 40%);
  padding-top: min(20px, 1%);
  margin-inline: auto;
  width: 85%;
  max-width: 800px;
}

blockquote {
  font-family: "Arvo", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

figcaption {
  font-style: italic;
  padding-right: min(1%, 40px);
}


small {
  align-self: center;
  font-size: 0.8rem;
  font-weight: 300;
  margin-block: 10px;
}


/* --- Media queries     */

@media all and (min-width: 800px) {
  main {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.30) 59%, rgba(0, 0, 0, 0.75) 100%), url("https://picsum.photos/1920/1080?grayscale");
  }

  figure {
    gap: 0;
  }
}