:root {
  --montserrat: 'MontserratClassic';
  --special-elite: 'SpecialElite';
  --green-clr: #399412;
  --orange-clr: #ff721c;
  --black-clr: #111111;
  --border-clr: #353535;
  --light-green-clr: #f0fff0;
  --white-clr: #fff;
  --blue-clr: rgb(61, 109, 171);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--montserrat);
}

img {
  max-width: 100%;
}

.cta {
  display: inline-block;
  text-decoration: none;
  color: var(--white-clr);
  text-transform: capitalize;
  padding: 1rem 2rem;
  background-color: var(--orange-clr);
  border-radius: 2px;
  font-weight: 500;
  font-size: 1.25rem;
}

/* utilities */

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

/* header */
header {
  background-color: var(--black-clr);
  border-bottom: 3px solid var(--blue-clr);
}

.header {
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blogs-section {
  display: grid;
  grid-template-columns: 3fr 1fr;
  align-items: flex-start;
  margin: 4rem auto;
}

.blogs-section-right-col {
  background-color: #ddd;
  height: 200vh;
}

.recent-blogs {
  width: 95%;
  max-width: 650px;
  margin: 0 auto;
}

.blog {
  margin: 5rem 0;
}

.blog:first-child {
  margin-top: 0;
}
.blog:last-child {
  margin-bottom: 0;
}

.blog-title {
  font-size: 1.5rem;
  font-style: italic;
  text-transform: capitalize;
}

.blog-img {
  margin: 1rem 0;
}

.img-border {
  border: 5px solid var(--border-clr);
}

.blog-headline {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.blog-desc {
  line-height: 1.8;
}

.read-more {
  color: var(--green-clr);
  text-decoration: none;

  transition: underline 0.3s ease-in-out;
}

.read-more:hover {
  text-decoration: underline;
}

footer {
  background-color: var(--black-clr);
  padding: 6rem 0 3rem 0;
}

.footer {
  display: flex;
  justify-content: center;

  flex-direction: column;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding-bottom: 2rem;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
  border-top: 1px solid var(--white-clr);
}

.footer-link {
  display: inline-block;
  color: var(--white-clr);
  font-size: 0.875rem;
  text-decoration: none;
  font-weight: 500;
}

.footer-link + .footer-link {
  border-left: 2px solid var(--border-clr);
  padding-left: 0.5rem;
  margin-left: 0.5rem;
}

@media (max-width: 820px) {
  .blogs-section {
    grid-template-columns: 1fr;
    row-gap: 4rem;
  }

  .blogs-section-right-col {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  footer {
    padding: 4rem 0 3rem 0;
  }

  .social-link > img {
    width: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    padding-top: 2rem;
  }

  .footer-link {
    display: block;
    text-align: center;
  }

  .footer-link + .footer-link {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    margin-top: 1rem;
  }
}

@media (max-width: 420px) {
  footer {
    padding: 3rem 0;
  }

  .social-links {
    gap: 2rem;
    padding-bottom: 1rem;
  }

  .social-link > img {
    width: 1.5rem;
  }

  .footer-links {
    padding-top: 1rem;
  }

  .footer-link {
    font-weight: 500;
  }
}
