/*==================== GOOGLE FONTS ====================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/*==================== VARIABLES CSS ====================*/
:root {
  --header-height: 3rem;

  /*========== Colors ==========*/
  /* Change favorite color */
  --hue-color: 0;

  /* HSL color mode */
  --first-color: hsl(var(--hue-color), 69%, 61%);
  --first-color-second: hsl(var(--hue-color), 69%, 61%);
  --first-color-alt: hsl(var(--hue-color), 57%, 53%);
  --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
  --title-color: hsl(var(--hue-color), 8%, 15%);
  --text-color: hsl(var(--hue-color), 8%, 45%);
  --text-color-light: hsl(var(--hue-color), 8%, 65%);
  --input-color: hsl(var(--hue-color), 70%, 96%);
  --body-color: hsl(var(--hue-color), 60%, 99%);
  --container-color: #fff;

  /* Glass color*/
  --glass-color: rgba(255, 255, 255, 0.25);
  --glass-color-hover: rgba(255, 255, 255, 1);

  /*========== Font and typography ==========*/
  --body-font: 'Poppins', sans-serif;
  --button-font: 'Poppins', sans-serif;

  /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
  --big-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
}

/* Font size for large devices */
@media screen and (min-width: 968px) {
  :root {
      --big-font-size: 3rem;
      --h1-font-size: 2.25rem;
      --h2-font-size: 1.5rem;
      --h3-font-size: 1.25rem;
      --normal-font-size: 1rem;
      --small-font-size: .875rem;
      --smaller-font-size: .813rem;
  }
}

body {
  font-family: var(--body-font);
  background: var(--body-color);
  color: var(--text-color);
  overflow: hidden;
  margin: 0;
  padding: 0;
  font-weight: var(--font-medium);
}

h1 {
  margin: 0;
  font-weight: var(--font-semi-bold);
  font-size: var(--h1-font-size);
}

.main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 75%;
  max-width: 364px;
  padding: 1.5rem;
  background: var(--first-color);
  color: #fff;
  border-radius: .5rem;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.8);
}

a {
  margin: 0;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
}

a svg {
  position: relative;
  top: 2px;
}

a:hover,
a:focus {
  text-decoration: underline;
  text-decoration-color: #fff
}

a:hover svg path {
  fill: #fff;
}

p:last-of-type {
  margin: 0;
}

.button__icon{
  font-size: 1.25rem;
  padding-right: .5rem;
}