@import url("media.css");
@import url("dog-bone.css");

:root {
  --ellie-pink-RGB: 242 189 208;
}

* {
  scroll-behavior: smooth;
}

body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  background-color: #441b8f;
}

body,
body header nav ul,
figure,
body footer ul {
  margin: 0;
}

figure,
body footer h2,
body footer ul {
  padding: 0;
}

body main .box,
.message-box {
  padding: 20px;
  border-radius: 20px;
}

body header nav ul li,
body header nav ul li a,
.logo-wrapper {
  display: flex;
  align-items: center;
}

body,
body header nav ul li,
body header nav ul li a,
.logo-wrapper {
  justify-content: center;
}

body header,
body main,
body footer {
  max-width: 500px;
  padding: 0 25px;
}

body header nav ul li a,
.polaroid img {
  width: 100%;
}

body,
header nav a div.logo-wrapper span p,
body header nav ul li a,
body footer,
body footer ul li a.link {
  color: #fff;
}

body header nav ul li.selected a,
body main .box,
.message-box,
.polaroid figcaption {
  color: #000;
}

body main .box,
.polaroid,
.message-box {
  background-color: #fff;
}

.link,
body header nav ul li a {
  text-decoration: none;
}

body a.link,
figure figcaption,
body footer p {
  font-style: italic;
}

figure figcaption,
.timestamp,
body footer p {
  text-align: center;
}

body header nav ul,
body footer ul {
  list-style: none;
}

body header nav ul {
  padding: 20px 0;
}

body header nav ul li {
  margin: 10px;
  position: relative;
}

body header nav ul li a {
  height: 30px;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

body header nav ul li a:hover,
.link:hover {
  cursor: pointer;
  text-decoration: underline;
}

body header nav ul li a > span {
  font-size: 1rem;
}

body footer h2 {
  font-size: 25px;
}

body footer ul li {
  margin: 10px 0;
}

body footer p {
  margin: 10px 0 20px 0;
}

.logo-wrapper figure {
  height: 50px;
  margin-right: 10px;
}

.logo-wrapper span p {
  font-size: 2rem;
  font-family: Baskerville, Times New Roman, serif;
}

figure img {
  max-height: 100%;
  max-width: 100%;
}

body main .box {
  margin: 50px 0;
}

body main a {
  color: blue;
}

.polaroid {
  padding: 10px;
  display: block;
  margin: 50px auto;
  border-radius: 3px;
}

.polaroid figcaption {
  padding: 20px 0 10px 0;
}

.message-box {
  grid-column: 1 / -1;
}

.message-box.information {
  background-color: #10b1ff;
}

.message-box.error {
  background-color: #ff3229;
}

.timestamp {
  margin-bottom: 50px;
}
