@import url('/assets/fonts/Lexend.css');
@import url('/assets/fonts/OpenSans.css');

:root {
  --white:hsla(100,100%,100%,100%);
  --black:hsla(0,0%,0%,100%);
  --purple: hsla(300, 100%, 30%, 100%);
  --cerulean: hsla(213, 100%, 35%, 100%);
  --font-primary: 'Lexend', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
  --light-purple: hsla(300, 100%, 35%, 100%);
  --lighter-purple: hsla(300, 100%, 40%, 100%);
  --light-cerulean: hsla(213, 100%, 40%, 100%);
  --lighter-cerulean: hsla(213, 100%, 45%, 100%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;
}
#root, .page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
}

body {
  margin: 0;
  font-family: var(--font-secondary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
}

ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
}

p, li {
  font-family: var(--font-secondary);
}

span {
  font-family: var(--font-secondary);
  color: var(--cerulean);
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover { text-decoration: underline; }

.cerulean-card a,
.purple-card a,
.black-card a {
  color: var(--white);
}

.underline{
  border-bottom: 2px solid var(--white);
}

/* Buttons */
button {
  font-family: var(--font-primary);
  background-color: var(--purple);
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  background-color: var(--cerulean);
}

.cerulean-card{
  margin: 2em;
  padding: 1em;
  background-color: var(--cerulean);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cerulean-card img {
  max-width: 200px;
  max-height: 200px;
}

.purple-card{
  margin: 2em;
  padding: 1em;
  background-color: var(--purple);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.purple-card img {
  max-width: 200px;
  max-height: 200px;
}

.white-card{
  margin: 2em;
  padding: 1em;
  background-color: var(--white);
  color: var(--purple);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.white-card img {
  max-width: 200px;
  max-height: 200px;
}

.black-card{
  margin: 2em;
  padding: 1em;
  background-color: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.black-card img {
  max-width: 200px;
  max-height: 200px;
}

.white-card-justified{
  margin: 2em;
  padding: 1em;
  background-color: var(--white);
  color: var(--purple);
  display: flex;
  flex-direction: column;
}