:root {
  --primary-color: #3f51b5;
  --light-primary-color: #c5cae9;
  --dark-primary-color: #303f9f;
  --accent-color: #607d8b;
  --text-color: #ffffff;
  --primary-text-color: #212121;
  --secondary-text-color: #757575;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.navbar {
  width: 100%;
  height: 60px;
  background-color: var(--primary-color);
  position: fixed;
  top: 0;
  border-bottom: 10px solid var(--dark-primary-color);
}

.navbar * {
  color: var(--text-color);
  text-wrap: nowrap;
  overflow: hidden;
}

.navbar h1 {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  max-width: 30vw;
}

.navbar-content .navbar-links {
  position: absolute;
  top: 50%;
  height: 100%;
  transform: translateY(-50%);
  right: 30px;
  list-style-type: none;
  display: flex;
  max-width: 50vw;
}

.navbar-content .navbar-links li {
  display: inline-flex;
  font-size: 20px;
}

.navbar-content .navbar-links li a {
  text-decoration: none;
  align-self: center;
  padding: 18px 10px;
}

.navbar-content .navbar-links li a:hover {
  background-color: var(--dark-primary-color);
}

main {
  padding: 80px 0px;
  text-align: center;
}

main * {
  color: var(--primary-text-color);
}

main figure img {
  max-width: 100vw;
}

main figure figcaption {
  font-size: 15px;
  max-width: 350px;
  margin: 0 auto;
}

#contact {
  background-color: var(--light-primary-color);
  margin-top: 20px;
  padding: 10px 0;
  text-align: center;
}

#contact * {
  margin-top: 5px;
}

#contact h2 {
  padding: 15px 0;
}

#contact label {
  display: inline-block;
  width: 50px;
  text-align: right;
}

#contact input {
  min-width: 10vh;
  border: 1px solid var(--accent-color);
}

#contact button {
  display: block;
  padding: 8px 16px;
  margin: 10px auto;
  background-color: var(--accent-color);
  border: none;
  color: var(--text-color);
}

footer {
  min-width: 100%;
  min-height: 60px;
  background-color: var(--primary-color);
  position: relative;
  border-top: 10px solid var(--accent-color);
  margin-top: auto;
  text-align: center;
}

footer * {
  color: var(--text-color);
}

footer h3 {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
}
