:root {
  --primary: #6863D4;
  --secondary: #008c6e;
  --tertiary: #c24c00;
}

html {
  height: 100%;
}

body {
  font-family: poppins, helvetica, arial, sans-serif;
  margin: 0;
  width: 100vw;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

h3 {
  font-weight: 500;
}

p, input, li, label {
  font-size: 16px;
}

input, textarea, button {
  font-family: inherit;
  box-sizing: border-box;
}

footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  height: 40px;
  padding-right: 40px;
  font-size: 16px;
}

footer > a {
  color: var(--primary);
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 20%;
  padding-right: 20%;
  padding-top: 20px;
  margin-bottom: 40px;
  flex: 1;
}

.primary-bg {
  background-color: var(--primary);
}

.secondary-bg {
  background-color: var(--secondary);
}

.tertiary-bg {
  background-color: var(--tertiary);
}

.primary-font {
  color: var(--primary);
}

.secondary-font {
  color: var(--secondary);
}

.tertiary-font {
  color: var(--tertiary);
}

.grow { 
  transition: all .2s ease-in-out; 
}

.grow:hover { 
  transform: scale(1.1); 
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: var(--primary);
  color: white;
}

.icon-link {
  text-decoration: none;
}

.btn {
  color: white;
  padding: 10px;
  border: transparent;
  border-radius: 5px;
  font-weight: bold;
  transition: all .2s ease-in-out; 
}

.btn:hover {
  cursor: pointer;
  transform: scale(1.1); 
}

.btn:disabled {
  background-color: lightgrey;
  color: grey;
}

.btn:disabled:hover {
  cursor: default;
}

.report-link {
  color: var(--tertiary);
  font-size: 16px;
  margin-top: 20px;
}

.center-btn {
  display: block;
  margin: 0 auto;
}

.box {
  padding: 20px;
  border: 1pt solid lightgrey;
  border-radius: 5px;
}

.labeled-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  margin-top: 5px;
}

.category-tag {
  background-color: rgba(104, 99, 212, 0.2); /* primary but with transparency */
  font-size: 14px;
  border-radius: 50%;
  width: fit-content;
  padding: 10px;
}

@media only screen and (max-width: 800px) {
  .wrapper {
    padding: 20px;
  }

  footer {
    justify-content: space-around;
    gap: 0;
    padding: 0;
  }
}
