@font-face {
  font-family: TheSeasons;
  src: url('the-seasons-lt.otf') format('opentype');
}

@font-face {
  font-family: 'spectral';
  src: url('spectral-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: normal;
}

* {
  box-sizing: border-box;
  font-family: spectral, serif;
}

body {
  margin: 0;
  min-height: 100vh;
  font-size: 16px;

  background: linear-gradient(rgba(253, 246, 231, 0.3), rgb(238, 205, 175, 0.8));

  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgb(58, 38, 24);
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  color: rgb(58, 38, 24);
  padding: 0.25rem;

  &:hover {
    text-decoration: none;
    color: rgba(58, 38, 24, 0.8);
  }
}

.polaroid {
  background-color: #fff;
  padding: 1rem 1rem 2rem;
  box-shadow: 5px 7px 4px rgb(136, 136, 136, 0.5),
    0px 0px 2px rgba(0, 0, 0, 0.1);

  img {
    width: 19rem;
  }

  figcaption {
    color: #000;
    text-align: center;
    font-family: 'Brush Script MT', cursive;
    font-size: 1.5rem;
    margin-top: 0.5rem;
  }
}


nav {
  color: rgb(58, 38, 24);
  margin-bottom: 0.5rem;

  a {
    text-decoration: none;

    &:hover {
      text-decoration: underline;
    }
  }

  a.active {
    text-decoration: underline;
    font-weight: 700;
  }
}

main {
  max-width: 720px;
}

footer {
  color: rgba(58, 38, 24, 0.7);
  text-align: center;
  margin: 4rem auto 2rem;

  font-size: 0.75rem;
}

ul {
  list-style-type: none;
  padding: 0;
}

h2 {
  margin: 1.5rem 0 0.75rem;
}

h3 {
  margin: 1rem 0 0.5rem;
}

blockquote {
  font-style: italic;
  margin: 1rem 0;
  padding: 0.5rem;
  border-left: 0.25rem solid rgb(58, 38, 24);
}

.flex-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.title {
  font-size: 3rem;
  margin: 1rem;
  letter-spacing: 0.5rem;
}

@media screen and (max-width: 768px) {
  .title {
    font-size: 2rem;
  }
}

.subtitle {
  font-size: 1rem;
  font-weight: 300;
  margin-top: 1rem;
}

.link-button {
  padding: 0.25rem 0.75rem;
  border: none;
  border-radius: 0.25rem;
  color: rgb(253, 246, 231);
  background-color: rgb(58, 38, 24);
  text-decoration: none;
  cursor: pointer;

  &:hover {
    background-color: rgba(58, 38, 24, 0.8);
    color: rgba(253, 246, 231, 0.8);
  }
}

.text-container {
  text-align: left;
}