/*
File: /css/common.css
Version: 0.1: added line-height 1.5 for readability and spacing between labels and form controls
*/
:root {
  --rounded: 4px;
  --rounded-full: 40px;

  /* for buttons and ui controls */
  --p-xs: 0.2rem;
  --p-sm: 0.5rem;
  --p-md: 1rem;
  --sm: 600px;
}

body {
  line-height: 1.5;
  color: var(--default-text);
  background-color: var(--bg-color);
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition:
    background-color 0.5s,
    color 0.5s;
}

.site-container {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  flex: 1;
}

footer {
  bottom: 0;
  width: 100%;
  background: var(--primary-color);
  color: var(--default-text-inv);
  padding: var(--p-md);
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  font-weight: normal;
}
