/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

html {
  font-family: 'Fredoka', sans-serif;
  font-size: 18px;
}

body {
  background: #fff6cc;
  margin: auto;
  padding: 1rem;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  h1 {
    font-size: 48px;
    display: flex;
    align-items: center;
  }
}

.cards {
  display: flex;
  flex-direction: row;
  justify-content: space-around;

  .card {
    padding: 1rem;
    margin: 1rem;
    border: solid black;
    box-shadow: 10px 5px 0px 0px #fee18d;
    border-radius: 1rem;
    justify-content: start;

    h1 {
      font-size: 24pt;
    }

    p {
      font-size: 18pt;
    }

    .content {
      padding: 0.5rem;
    }

    .actions {
      display: flex;
      justify-content: end;
      gap: 1rem;
    }
  }
}

input, textarea {
  padding: 0.25rem;
  font-size: 18px;
  border-radius: 0.5rem;
  border: 0;
}

button {
  background: transparent;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

form {
  display: inline;
}

button.primary, a.primary, input[type=submit] {
  margin: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: #fefefe;
  background: #9749ad;
}

.cta {
  margin: 5rem;
  padding: 5rem;
  font-size: 36px;
  padding: 1rem;
  margin: 1rem;
  border-radius: 1rem;
  background-color: #40bfb8;
  color: #fefefe;
  text-align: center;
}

.link {
  display: flex;
  justify-content: flex-start;
}

.link :first-child {
  flex: 1;
}

.link :last-child {
  flex: 1;
}
