:root {
  --ff-montserrat: 'Montserrat', sans-serif;
  --ff-ubuntu: 'Ubuntu', sans-serif;;
  --bc-accent: #F65A83;
  --bc-accent-light: #ffc4d9;
  --bc-dark: #090909;
  --bc-semi-dark: #7d7d7d;
  --bc-light: #FFF;
  --bc-semi-light: #EEEEEE;
  --bc-secondary: #FFD372;
}

*,
::before,
::after {
  padding: 0;
  margin: 0;
}

html {
  font-size: 60%;
  box-sizing: border-box;
}

body {
  font-family: var(--ff-montserrat);
  color: var(--bc-light);
  background-color: var(--bc-dark);
}

h1 {
  font-family: var(--ff-ubuntu);
}

h2, h3, h4, h5, h6 {
  font-family: var(--ff-ubuntu);
}

a {
  text-decoration: none;
  color: var(--bc-semi-light);
}

main {
  display: grid;
  grid-template-columns: minmax(2rem, 1fr) minmax(min-content, 94rem) minmax(2rem, 1fr);
  row-gap: 3rem;
}

img {
  width: 100%;
  object-fit: cover;
}

hr {
  margin: 1.5rem 0;
  border: 1px solid var(--bc-semi-dark);
}

.heading {
  grid-column: 2 / 3;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 1.5rem;
}

.text {
  grid-column: 2 / 3;
  font-size: 1.8rem;
  letter-spacing: 0.6px;
  column-width: 25rem;
  text-align: justify;
  line-height: 1.5;
  
}

.hero {
  grid-column: 1 / -1;
  position: relative;
}

.hero-title {
  text-align: center;
  color: var(--bc-accent);
  font-size: 8rem;
}

.hero-subtitle {
  font-size: 2.4rem;
  color: var(--bc-accent);
  text-align: center;
}

.author {
  font-size: 2rem;
  font-family: var(--ff-ubuntu);
}

.author-name {
  padding: 0.5rem;
}

.author-name a:hover {
  color: var(--bc-accent);
  font-weight: bold;
  padding: 1rem;
}

.publish-date {
  color: var(--bc-semi-dark);
}

.social-icons {
  display: grid;
  font-size: 3rem;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: center;
}

.first-paragraph::first-letter {
  font-size: 6rem;
  color: var(--bc-accent);
  float: left;
  margin-right: 1rem;
}

.quote {
  color: var(--bc-secondary);
  font-size: 2.4rem;
  text-align: center;
  font-family: var(--ff-ubuntu);
}

.quote::before {
  content: '" ';
}

.quote::after {
  content: ' "';
}

.text-with-images {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 3rem;
  margin-bottom: 3rem;
}

.lists {
  list-style-type: none;
  margin-top: 2rem;
}

.lists li {
  margin-bottom: 1.5rem;
}

.list-title, .list-subtitle {
  color: var(--bc-secondary);
}

.image-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(3, min-content);
  gap: 2rem;
  place-items: center;
}

.image-1, .image-3 {
  grid-column: 1 / -1;
}

@media only screen and (max-width: 720px) {
  .image-wrapper {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 600px) {
  .text-with-images {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 550px) {
  .hero-title {
    font-size: 6rem;
  }
  
  .hero-subtitle,
  .author,
  .quote,
  .list-title {
    font-size: 1.8rem;
  }
  
  .social-icons {
    font-size: 2rem;
  }

  .text {
    font-size: 1.6rem;
  } 
}

@media only screen and (max-width: 420px) {
  .hero-title {
    font-size: 4.5rem;
  }
}