/*
--- 01 TYPOGRAPHY SYSTEM

- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  --main: hsl(243, 87%, 12%);
  --sign-sect: hsl(238, 22%, 44%);
  --btn-bg: hsl(224, 93%, 58%);
  --link: hsl(170, 45%, 43%);
  --team-sect: hsl(240, 40%, 98%);
  --placeholder: hsl(0, 0%, 75%);
  --err: hsl(0, 100%, 63%);
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  overflow: auto;
}

body {
  font-family: "open-sans", sans-serif;
  overflow: hidden;
  color: var(--main);
  font-size: 1.8rem;
  line-height: 1.4;
}

section {
  padding: 12.8rem 0;
}

.container {
  width: 125rem;
  max-width: 90%;
  margin: 0 auto;
}

ul {
  list-style: none;
}

a:link,
a:visited {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

h1,
h2 {
  font-family: "Raleway", sans-serif;
}

.btn,
.btn:active {
  font-family: inherit;
  border: none;
  background-color: var(--btn-bg);
  color: hsl(0, 0%, 100%);
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
  border-radius: 3px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background-color: hsl(224deg 93% 70%);
}

form {
  position: relative;
}

input {
  font-family: inherit;
  text-indent: 1.6rem;
  border-radius: 3px;
  border: none;
}

input::placeholder {
  color: var(--placeholder);
}

.hidden-focus,
.hidden-focus:focus {
  outline: none;
  border: 1px solid var(--err) !important;
}

.hidden {
  position: absolute;
  font-size: 1.2rem;
}
