/* Root sizing + box sizing */
html {
  /* 62.5% => 1rem = 10px (because 16px * 0.625 = 10px) */
  font-size: 62.5%;
}

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

/* Global styles shared across pages */
body {
  background-color: black;
  color: white;
  font-family: sans-serif;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;

  /* base font size: 1.6rem = 16px */
  font-size: 1.6rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 1rem 0;         /* 10px */
  background-color: black;
  z-index: 1000;
}

.site-header a {
  color: #ddd;
  text-decoration: none;
  margin: 0 0.8rem;        /* 8px */
  font-size: 1.4rem;       /* a bit smaller than body */
}

.site-header a:hover {
  color: #fff;
}

.site-header .sep {
  color: #555;
}

.content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

img {
  width: 100%;
  height: auto;
}

footer {
  text-align: center;
  padding: 1rem 0;         /* 10px */
  font-size: 1.2rem;       /* ~12px */
  opacity: 0.7;
}

/* Contact page layout */
.contact-wrapper {
  text-align: center;
  width: 100%;
  max-width: 50rem;        /* 500px */
  padding: 0 2rem;         /* 20px side padding */
}

.contact-wrapper input[type="email"],
.contact-wrapper textarea {
  width: 100%;
  background-color: black;
  color: #ccc;
  border: 0.1rem solid rgba(255,255,255,0.2);  /* 1px */
  padding: 1rem;         /* 10px */
  resize: vertical;
  font-family: inherit;
  font-size: 1.6rem;
}

.contact-wrapper input[type="email"] {
  margin-bottom: 1.5rem;   /* 15px */
}

.contact-wrapper textarea {
  min-height: 15rem;       /* 150px */
  resize: vertical;
}

.contact-wrapper button {
  margin-top: 1.5rem;      /* 15px */
  padding: 0.8rem 2rem;    /* 8px 20px */
  background-color: #222;
  color: #888;
  border: none;
  cursor: pointer;
  opacity: 0.9;
  font-size: 1.4rem;
}

.contact-wrapper button:hover {
  opacity: 1;
}

.message {
  text-align: center;
  padding: 2rem;           /* 20px */
  max-width: 40rem;        /* 400px */
  margin: 0 auto;
}

.message a {
  color: #aaa;
  text-decoration: none;
}

.message a:hover {
  text-decoration: underline;
}

