@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap");

:root {
  --color-1: #d54500;
  --color-1-dark: #c23e01;
  --color-2: white;
  --color-3: #efefef;
  --color-4: rgb(41, 41, 41);
  --color-5: rgb(120, 120, 120);
  --color-6: #ff9461;
	--padding-left-right: 16px;
	--padding-top-bottom: 12px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

body {
	display: flex;
	flex-direction: column;
  margin: 0;
  height: 100vh;
  color: var(--color-4);
}

* {
  font-family: "Lato", sans-serif;
  letter-spacing: 1px;
  box-sizing: border-box;
}

header {
  grid-area: header;
  display: flex;
  justify-content: space-between;
  padding: var(--padding-top-bottom) var(--padding-left-right);
  border-bottom: 1px solid var(--color-3);
}

header h1 {
  display: none;
}

body .body {
	flex: 1;
	display: flex;
	flex-direction: column;
}

section.presentation,
section.steps {
  margin-left: var(--padding-left-right);
  margin-right: var(--padding-left-right);
  margin-top: var(--padding-top-bottom);
}

section.presentation .sign-in {
	display: none;
}

button.sign-in {
  margin-top: var(--padding-top-bottom);
}

section.presentation {
  grid-area: presentation;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

section.presentation .title {
	font-size: 28px;
}

section.presentation .description {
	font-size: 18px;
  color: var(--color-5);
}

section.presentation .sign-in {
	display: none;
}

section.presentation .sign-in,
section.steps .sign-in {
  width: 100%;
  padding: 15px;
  font-size: 16px;
}

section.steps .sign-in {
	display: block;
}

section.steps {
  grid-area: steps;
}

button {
  padding: 8px 12px;
  border: 1px solid var(--color-1);
  background-color: transparent;
	font-size: 12px;
  cursor: pointer;
  color: var(--color-1);
  border-radius: 4px;
}

button.type-1 {
  border: 1px solid var(--color-2);
  color: var(--color-2);
}

button.type-1:hover {
  background-color: var(--color-2);
  color: var(--color-1);
}

button.type-2 {
  background-color: var(--color-1);
  color: var(--color-2);
  font-weight: 600;
}

button.type-2:hover {
  background-color: var(--color-1-dark);
}

@media screen and (min-width: 970px) {
  :root {
		--padding-left-right: 32px;
		--padding-top-bottom: 16px;
	}

  body .body {
		flex: none;
    flex-direction: row;
  }
	
  section.presentation {
    width: 30%;
    margin-right: 0;
  }

  section.presentation .title {
    font-size: 28px;
  }

  section.presentation .description {
    font-size: 18px;
  }

  section.presentation .sign-in {
    display: block;
  }

  section.steps {
    flex: 1;
  }

  section.steps .sign-in {
    display: none;
  }
}

@media screen and (min-width: 1200px) {
  :root {
		--padding-left-right: 72px;
		--padding-top-bottom: 24px;
	}

	section.presentation .title {
    font-size: 34px;
  }

  section.presentation .description {
    font-size: 20px;
  }
}

@media screen and (min-width: 1450px) {
	section.presentation .title {
    font-size: 40px;
  }

  section.presentation .description {
    font-size: 28px;
  }
}
