@import url('./fonts.css');

html {
  box-sizing: border-box;
	overflow-y: scroll;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
	margin: 0;
	font-family: 'Varela+Round', -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: var(--text);
	background: var(--gray);
}

::selection {
	background: var(--primary);
	color: #fff;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  border-radius: 3px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--primary-light); 
  border-radius: 3px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--primary); 
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em 0;
	font-weight: 600;
	line-height: 1.2;
	font-family: 'Capriola', Times, serif;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.5em;
}

a {
	color: inherit;
}

code {
	font-family: menlo, inconsolata, monospace;
	font-size: calc(1rem - 2px);
	color: #555;
	background-color: #f0f0f0;
	padding: 0.2em 0.4em;
	border-radius: 2px;
}

blockquote{
	font-style: italic;
  width: auto;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--primary);
  margin: 0;
  box-shadow: 5px 5px var(--primary);
}

blockquote p {
  margin: 0;
}

.blockquote-author {
	text-align: right;
	font-size: 0.9rem;
}

.button {
	font-family: inherit;
	font-size: inherit;
	padding: 0.5rem 1rem;
	outline: none;
	width: auto;
	border: 1px solid transparent;
	border-radius: 10px;
	font-variant-numeric: tabular-nums;
	cursor: pointer;
	text-decoration: none;
	display: block;
	width: fit-content;
	transition: all 0.2s cubic-bezier(0.42, 0, 0.33, 2.18);
}

.button.primary {
	background-color: var(--primary);
	color: #fff;
}

.button.primary-empty {
	border: 1px solid var(--primary);
	color: var(--primary);
	background-color: #fff;
}

.button.primary:hover, .button.primary-empty:hover {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary);
}

.button.secondary {
	background-color: var(--secondary);
	color: #fff;
}

.button.secondary-empty {
	border: 1px solid var(--secondary);
	color: var(--secondary);
	background-color: #fff;
}

.button.secondary:hover, .button.secondary-empty:hover {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--secondary);
}

.button.disabled {
	background-color: #d2d2d2;
	color: #777;
	cursor: default;
}

.button.text {
	background-color: var(--text);
	color: #fff;
}

.button.text-empty {
	border: 1px solid var(--text);
	color: var(--text);
	background-color: #fff;
}

.button.text:hover, .button.text-empty:hover {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--text);
}

.button.small {
	padding: 0.5em 1em;
}

:root {
	--primary: #ff0000;
	--primary-light: #f75250;
	--primary-dark: #400302;
	--secondary: #b20000;
	--secondary-light: #39393a;
	--secondary-dark: #000;
	--tertiary: #ffd101;
	--tertiary-light: #5DB1EA;
	--tertiary-dark: #092F48;
	--gray: #fff;
	--text: #410302;
	--text-light: #39393A;

	--primary-r: 255;
	--primary-g: 0;
	--primary-b: 0;

	--secondary-r: 178;
	--secondary-g: 0;
	--secondary-b: 0;

	--tertiary-r: 255;
	--tertiary-g: 209;
	--tertiary-b: 1;

	--text-r: 64;
	--text-g: 3;
	--text-b: 2;
}

@media (min-width: 400px) {
	body {
		font-size: 18px;
	}
}