/*
	Variables

	The Odin Project hasn’t mentioned this yet,  
  but I decided to use it anyway.
*/
:root {
  --bg-hero: #1F2937;
  --bg-action: #3882F6;
  --bg-main: white;
  
  --color-light: #F9FAF8;
  --color-light-2: #E5E7EB;
  --color-dark: #1F2937;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: "Roboto", sans-serif;
}

.container {
  display: flex;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1em;
}

.header,
.footer {
  flex-grow: 0;
}

.main {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 2em;
}

.header,
.hero,
.footer {
  background-color: var(--bg-hero);
}

.header > .container,
.hero > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1em;
}

.header-logo {
  font-size: 24px;
}

.header-links {
  display: flex;
  gap: 1em;
  padding: 0;
  margin: 0;
  list-style: none;
}

.header a {
  text-decoration: none;
}

.hero > .container {
  gap: 2em;
  padding: 3em 1em;
}

.hero .left {
  flex: 1 1 288px;
  max-width: 576px;
}

.hero .right {
  flex-shrink: 1;
  flex-basis: 576px;
}

.hero-image {
  aspect-ratio: 16 / 9;
  background-color: var(--color-light-2);
  text-align: center;
  align-content: center;
}

.information,
.call-to-action {
  background-color: var(--bg-main);
}

.quote-block {
  background-color: var(--color-light-2);
}

.information > .container {
  justify-content: center;
  flex-wrap: wrap;
  gap: 3em;
  margin-top: 1em;
  text-align: center;
}

.card {
  flex-basis: 160px;
}

.illustration {
  width: 160px;
  height: 160px;
  border: 4px solid var(--bg-action);
}

.subtext {
  margin-top: 0.5em;
  padding: 0 1px;
}

.quote-block > .container {
  flex-direction: column;
  gap: 1em;
  max-width: 824px;
  padding: 4em 1em;
}

.quote {
  align-self: center;
  margin: 0;
  font-style: italic;
}

.quote-block span {
  align-self: flex-end;
  margin-right: 2em;
}

.call-to-action {
  padding: 4em 1em;
}

.call-to-action > .container {
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2em;
  max-width: calc(1280px - 2em);
  padding: 2em 1em;
  background-color: var(--bg-action);
}

.call-to-action .left {
  display: flex;
  flex-direction: column;
}

.call-to-action .right button {
  border: 2px solid var(--color-light);
}

.footer {
  padding: 1.5em;
  margin-top: 2em;
}

h1, h2 {
  margin: 0;
  padding: 0;
}

.hero h1 {
  font-size: 48px;
}

.text-bold {
  font-weight: 900;
}

.text-light {
  color: var(--color-light);
}

.text-dark {
  color: var(--color-dark);
}

.text-secondary {
  color: var(--color-light-2);
}

.text-n {
  font-size: 18px;
}

.text-center {
  text-align: center;
}

.text-big {
  font-size: 36px;
}

.text-thin {
  font-weight: 300;
}

button {
  background-color: var(--bg-action);
  padding: 0.6em 2em;
  border: none;
  font-weight: bold;
}

.rounded {
  border-radius: 0.5em;
}

.big-rounded {
  border-radius: 1em;
}

/* nanti butuh media query buat di ukuran 768 ke bawah, .hero > .container harus justify center */
/* atau 928 atau 942 kalo sesuai penggaris di dev tools pas ngecilin pelan2 */
/* Tunggu pas dikasih tau The Odin Projectnya aja biar ngikutin alurnya */
