@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');

:root {
    --clr-white: #fff;
    --clr-black: hsl(0, 0%, 0%);
    --clr-primary-1: hsl(194, 89%, 68%);
    --clr-primary-2: hsl(193, 100%, 84%);
    --clr-primary-2-opacity: hsla(193, 100%, 84%, 0.2);
    --clr-grey: hsl(0, 0%, 40%);

    --ff-primary: "Montserrat", sans-serif;
    --ff-secondary: Georgia, 'Times New Roman', Times, serif;
    --transition: all 0.3s linear;
    --spacing: 0.2rem;
    --radius: 0.25rem;
    --light-shadow: rgba(0, 0, 0, 0.2) 0px 35px 20px -20px;
    --dark-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    --max-width: 1170px;
    --fixed-width: 620px;
}

*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--ff-primary);
  background-image: linear-gradient(125deg, hsl(0, 0%, 0%), hsl(205, 92%, 5%));
  color: var(--clr-white);
  line-height: 1.5;
  font-size: 0.875rem;
}
h1,
h2,
h3,
h4 {
  letter-spacing: var(--spacing);
  text-transform: capitalize;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  font-family: var(--ff-primary);
}
h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 0.8rem;
}
p {
  margin-bottom: 1.25rem;
  color: var(--clr-white);
}
@media screen and (min-width: 800px) {
  h1 {
    font-size: 4rem;
  }
  h2 {
    font-size: 2.5rem;
  }
  h3 {
    font-size: 1.75rem;
  }
  h4 {
    font-size: 0.875rem;
  }
  body {
    font-size: 1rem;
  }
  h1,
  h2,
  h3,
  h4 {
    line-height: 1;
  }
}

.section {
  padding: 5rem 0;
}

.section-center {
  width: 90vw;
  margin: 0 auto;
  max-width: 1170px;
}
@media screen and (min-width: 992px) {
  .section-center {
    width: 95vw;
  }
}
nav{
  background-color: var(--clr-black);
  position: fixed;
  top: 0;
  z-index: 2;
  width: 100%;
}

.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem 0 1rem;
}
.nav-toggle {
  font-size: 1.7rem;
  color: var(--clr-primary-1);
  background: transparent;
  border-color: transparent;
  transition: var(--transition);
  cursor: pointer;
}
.nav-toggle:hover {
  color: var(--clr-grey);
}

.links {
  height: 0;
  overflow: hidden;
  transition: var(--transition);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  list-style: none;
  text-align: right;
}
.links li {
  margin: 1rem 1.5rem;
}
.links a {
  text-decoration: none;
  color: var(--clr-grey);
  transition: var(--transition);
}
.links a:hover {
  cursor: pointer;
  color: var(--clr-primary-1);
}
.show-links {
  height: 7rem;
}

.logo h1{
  font-size: 1.2rem;
  line-height: 1rem;
  margin-bottom: 0;
  letter-spacing: 0.02rem;
  color: var(--clr-white);
}

@media screen and (min-width: 800px) {
  .nav-center {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
  }
  .nav-header {
    padding: 0;
  }
  .nav-toggle {
    display: none;
  }
  .links {
    height: auto;
    display: flex;
    font-size: 0.8rem;
  }
  .links li {
    margin: 0.5rem 0 0.5rem 2rem;
  }
  .links a {
    padding: 0;
    margin: 0 0.5rem;
  }
  .links a:hover {
    padding: 0;
    background: transparent;
  }
}

main {
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.container {
  width: 80vw;
  max-width: var(--fixed-width);
}
.quote {
  padding: 0;
  transition: var(--transition);
  text-align: center;
}
.quote h2 {
    color: var(--clr-white);
    opacity: 0.5;
    font-weight: 400;
    font-size: clamp(0.8rem, 3vw, 0.875rem);
    line-height: clamp(1.6rem, 2vw, 2rem);
    text-transform: uppercase;
}
.quote h2::before {
  content: '— ';
}
.quote h2::after {
  content: ' —';
}
.hide {
  visibility: hidden;
}

#info {
  position: relative; 
  z-index: 0;
  text-wrap: balance;
  padding: 0 0.5rem;
  color: var(--clr-primary-1);
  font-size: clamp(1.4rem, 5vw, 2rem);
  line-height: clamp(2.2rem, 6vw, 2.5rem);
  margin-bottom: 0.2rem;
}
#author {
  font-style: oblique 45deg;
  letter-spacing: 0.03rem;
  color: var(--clr-grey);
  font-size: clamp(0.95rem, 2vw, 1rem);
  line-height: clamp(1.8rem, 3vw, 2rem);
  font-weight: 500;
}
#tomorrow {
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: var(--clr-grey);
  font-size: 0.75rem;
  letter-spacing: 0.1rem;
  line-height: 1.4rem;
  font-family: var(--ff-primary);
}
footer{
  text-align: center;
  font-size: 0.75rem;
}
footer p {
  color: var(--clr-white);
}
footer a {
  text-decoration: none;
  color: var(--clr-primary-1);
  transition: var(--transition);
}