/*
 * 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.
 */

form.button_to {
  display: inline-block;
}

body {
  & > header {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    & > .logo {
      text-align: left;
      & > .button {
        height: 100%;
        margin: 0;

        & > img {
          height: 4rem;
          width: 4rem;
        }
      }
    }
    & > .admin {
      text-align: right;
      & > .button {
        height: 100%;
        margin: 0;

        & > img {
          height: 4rem;
          width: 4rem;
        }
      }
    }
  }
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  & .button {
    margin: 1rem;
    padding: 1rem;
    text-align: center;
  }
}

button.de-buttoned-link {
  margin-bottom: inherit;
  padding: inherit;
  background: inherit;
  border: inherit;
  color: var(--accent);
  text-decoration: underline;

  &:hover {
    background: inherit;
    color: var(--accent);
    text-decoration: none;
  }
}
