@import url("https://fonts.googleapis.com/css2?family=Architects+Daughter&family=Patrick+Hand&display=swap");

@media screen and (min-width: 320px) {
  * {
    margin: 0;
    padding: 0;
  }
  body {
    background-color: #22201f;
    color: #eeeeed;
    font-family: "Architects Daughter", Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  div.main,
  div.notes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  div.main {
    gap: 2rem;
    padding: 2rem 3rem;
  }

  div.notes {
    gap: 2rem;
  }

  h1.title {
    color: #eeeeed;
    margin: 0;
  }
  h1#chemTitle {
    margin-top: 2rem;
  }
  h1 {
    color: #c5525f;
    font-size: 2rem;
    font-family: "Patrick Hand", Arial, Helvetica, sans-serif;
  }

  button {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1rem 2rem;
    color: #46b077;
    border: 2px solid #46b077;
    background-color: #22201f;
    transition: all 0.5s;
  }

  button:hover {
    color: #eeeeed;
    box-shadow: inset 15rem 0 0 0 #46b077;
    cursor: pointer;
  }

  em {
    font-size: 0.8rem;
  }

  footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    font-family: "Patrick Hand", Arial, Helvetica, sans-serif;
    background-color: #c5525f;
    padding: 1rem 0rem;
  }
}

@media screen and (min-width: 760px) {
  div.container {
    display: flex;
    flex-direction: row;
    gap: 5rem;
  }

  div.notes {
    gap: 2rem;
    padding: 2rem;
    border: 0.2rem dashed #c5525f;
  }
  div.notes:hover {
    border-style: solid;
  }

  button {
    font-size: 2rem;
  }

  h1 {
    font-size: 3rem;
  }

  h1#chemTitle {
    margin: 0;
  }

  em {
    font-size: 1rem;
  }
}
