@import './theme.css';

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Octopus Energy brand colours used in the design */
:root {
  --hemocyanin: #180048;
  --ice: #f0ffff;
  --plum: #600e6b;
  --purpleHaze: #a49fc8;
  --siphon: #100030;
  --sohoLights: #f050f8;
}

html,
body {
  padding: 0;
  margin: 0;
  font-family: Gotham, helvetica, arial, sans-serif;
  color: var(--ice);
  overflow-x: hidden;
  width: 100%;
}

button {
  font-family: Gotham, helvetica, arial, sans-serif;
}

body {
  background: var(--siphon);
}

.home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0 auto;
}

.home a {
  color: var(--sohoLights);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.home a:hover {
  color: var(--ice);
}

.readme-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background-color: var(--hemocyanin);
}

.readme-container h1,
.readme-container h2,
.readme-container h3 {
  color: var(--ice);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.readme-container h1 {
  font-size: 2.5rem;
  border-bottom: 2px solid var(--plum);
  padding-bottom: 0.5rem;
}

.readme-container h2 {
  font-size: 2rem;
  color: var(--sohoLights);
}

.readme-container h3 {
  font-size: 1.5rem;
}

.readme-container p {
  color: var(--ice);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.readme-container ul,
.readme-container ol {
  color: var(--ice);
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.readme-container li {
  margin-bottom: 0.5rem;
}

.readme-container code {
  background-color: var(--siphon);
  color: var(--sohoLights);
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
}

.readme-container pre {
  background-color: var(--siphon);
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.readme-container pre code {
  background-color: transparent;
  padding: 0;
}

.readme-container a {
  color: var(--sohoLights);
  text-decoration: underline;
}

.readme-container a:hover {
  color: var(--ice);
}
