* {
    box-sizing: border-box;
  }
  
  body {
    text-align: center;
  }
  
  button, input[type="text"] {
    padding: 5px;
  }
  
  button:hover {
    cursor: pointer;
  }

  #js-form {
    font-family: 'DM Serif Text';
    padding: 15px;
    margin-bottom: 20px;
    font-size: 24px;
  }

  header {
    background-color: #19688F;
    color: white;
    padding: 20px;
    width: 100%;
  }

  h1 {
    font-family: 'DM Serif Text';
    font-size: 32px;
  }

  h2 {
    padding-top: 40px;
    font-family: 'DM Serif Text';
    font-size: 42px;
    border: 1px solid black;
    padding: 10px;
    width: 400px;
    text-align: center;
    margin: auto;
  }

  h3 {
    font-family: 'DM Serif Text';
    font-size: 32px;
    border: 1px solid black;
    background-color: #19688F;
    color: white;
  }

  #results {
    display: inline-block;
    width: 100%;
  }
  
  ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  li {
    padding: 10px;
    text-align: center;
  }

  p {
    font-family: 'Pontano Sans';
    font-size: 20px;
  }

  a {
    color: black;
  }

  h4 {
    font-family: 'Pontano Sans';
    font-size: 24px;
    font-weight: bold;
    color: black;
  }

  .pod-image {
    padding: 20px;
  }

  .pod-audio {
    padding: 10px;
  }

  .podcast {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .error-message {
      color: red;
  }
  
  .hidden {
    display: none;
  }

  .result-header {
    display: none;
  }

@media screen and (min-width: 600px) {

  #results {
    display: flex;
    flex-direction: row;
  }

  .results-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
  }

  #nyt-results-list {
    width: 50%;
    justify-content: flex-start
  }

  #listen-results-list {
    width: 49%;
    justify-content: flex-end;
  }

  .result-header {
    font-size: 28px;
    display: flex;
    justify-content: center;
  }

  #nyt-search {
    width: 45%;
    text-align: center;
    margin-right: 20px;
  }

  #listen-search {
    width: 45%;
    text-align: center;
  }
}

@media screen and (max-width: 320px) {
  h2 {
    width: 275;
  }
}