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

:root {
  --primary-color: #1a73e8;
  --secondary-color: #4db8ac;
  --accent-color: #0f62fe;
  --background-color: #ffffff;
  --background-alt: hsl(0, 0%, 94.12%, 75%);
  --foreground-color: #333333;
  --subtle-color: #606060;
  --error-color: #dc3545;
  --logo-bg: transparent;
  --background: url("./images/bg.svg")
}

.dark {
  --primary-color: #BB86FC;
  --secondary-color: #C792EA;
  --accent-color: #03DAC5;
  --background-color: #1F1B24;
  --background-alt: hsl(0, 0%, 17.25%, 75%);
  --foreground-color: #ffffff;
  --subtle-color: #b0b0b0;
  --error-color: #ff6b6b;
  --background: url("./images/bg-dark.svg")
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--background-color);
  color: var(--foreground-color);
  margin-left: 1rem;
  margin-right: 1rem;
  background-image: var(--background);
}

body {
  height: 90vh;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  place-items: center;
  margin-right: 2rem;
  margin-left: 2rem;
  padding: 1rem 0;
}

strong {
  color: var(--accent-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 100%;
  place-items: center;
}



nav a:hover {
  transform: scale(1.05);
  color: var(--primary-color);
  text-decoration: underline;

}

nav a {
  text-decoration: none;
  color: var(--foreground-color);
  transition: color 0.3s ease;
  word-wrap: break-word;

}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  place-items: center;
  padding: 1rem 0;
  box-sizing: border-box;
}

h1 {
  font-size: 3rem;
  text-align: center;
}

.header-section p {
  font-size: 1.5rem;
  text-align: center;
}

a:hover {
  text-decoration: underline;
}


@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.header-section {
  animation: fadeIn ease-in 1s;
  animation-fill-mode: forwards;
}


.error-section h2 {
  font-size: 1.5rem;
  text-align: center;
}

.error-section p {
  font-size: 1.3rem;
  text-align: center;
}


main {
  margin-bottom: 5rem;
  display: grid;
}

p span {
  font-size: 1.2rem;
  color: var(--accent-color);
}


footer {
  text-align: center;
  padding: 1rem;
  color: var(--subtle-color);
}

#header-section {
  text-align: center;
}

link-shortener {
  border: 1px solid var(--subtle-color);
  max-width: 800px;
  display: inline-flex;
  place-self: center;
  border-radius: 5px;
  background-color: var(--background-alt);

}


footer .contact {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 1rem 0.5rem 1rem;
  gap: 1rem;
}

footer .contact img {
  max-width: 25px;
  height: auto;
  display: block;
}

@media (min-width: 750px) {}

@media (min-width: 1100px) {
  body {
    margin-left: 5rem;
    margin-right: 5rem;
  }

  h1 {
    font-size: 5rem;
    text-align: center;
  }

  .header-section p {
    font-size: 3rem;
    text-align: center;
  }

  p span {
    font-size: 1.5rem;
  }

}