/* Color combinations: */
:root {
  --main-color: #e0633a;
  --dark-color: #1d1e21;
  --grey-color: #8a8f98;
  --light-nav-color: #f9f9f9;
  --light-color: #f0f0f0;
  --featured-color: #fcefeb;
}

/* reset the page */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* set default font size to 10px */
html {
  font-size: 62.5%;
}

body {
  font-family: "Roboto", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Header styling */
.logo-nav {
  display: flex;
  justify-content: space-between;
  background-color: var(--light-nav-color);
  height: 8rem;
  padding: 1rem 5rem;
  align-items: center;
}

.logo {
  width: 4rem;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 3.2rem;
  justify-content: space-evenly;
  align-items: center;
  font-size: 1.6rem;
  list-style-type: none;
}

.nav-links a {
  color: var(--grey-color);
  font-weight: 500;
}

.nav-links li:first-child a {
  color: var(--dark-color);
  font-weight: 600;
}

.nav-links a:first-child:hover {
  color: var(--main-color);
}

.nav-links a:hover {
  color: var(--main-color);
  transition: transform 0.1s ease;
  transform: scale(1.05);
}

.nav-links a.active {
  color: var(--main-color);
}

.menu-icon {
  display: none;
  font-size: 3rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--dark-color);
}

.menu-toggle {
  display: none;
}

/* hero container */
.hero-container {
  color: white;
  background-image: url(../img/first-background.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: auto;
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 6rem;
}

.hero-heading {
  font-size: 5.6rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 2.6rem;
  font-weight: lighter;
  color: var(--light-color);
  margin-bottom: 3rem;
}

.hero-button {
  background-color: var(--main-color);
  color: var(--light-color);
  font-weight: 400;
  font-size: 2rem;
  padding: 1rem 2rem;
  border-radius: 0.2rem;
}

.hero-button:hover {
  color: var(--light-color);
  transition: transform 0.1s ease;
  transform: scale(1.05);
}

/* content section */
.content {
  max-width: 75%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  justify-items: center;
  align-items: start;
  margin-bottom: 6rem;
}

.content p:first-child {
  grid-column: 1 / -1;
}

.content-heading {
  font-size: 3rem;
  color: var(--dark-color);
  font-weight: 300;
  margin-bottom: 2rem;
}

.content-imgs {
  height: 12rem;
}

.content span {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.content span p {
  font-size: 1.8rem;
  font-weight: 500;
}

/* Featured section styling */
.featured {
  display: grid;
  grid-template-columns: 1fr 2fr;
  margin-bottom: 5rem;
}

.featured-image {
  background-image: url(../img/homepage-feature.png);
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
  overflow: auto;
  height: 30rem;
}

.featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--featured-color);
}

.featured-desc {
  max-width: 60%;
  font-size: 3rem;
  font-style: italic;
  color: #393939;
  text-align: center;
  margin-bottom: 2.5rem;
}

.featured-quote-style {
  color: var(--main-color);
  font-size: 4rem;
}

.featured-button {
  font-size: 1.8rem;
  border-radius: 0.5rem;
}

/* Footer section styling */
.footer-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  margin-bottom: 6rem;
}

.footer-section p:not(:last-child) {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--grey-color);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}
.social-icon {
  /* filter: brightness(0) saturate(100%) invert(38%) sepia(98%) saturate(456%)
    hue-rotate(174deg) brightness(96%) contrast(94%); */
  filter: invert(59%) sepia(76%) saturate(656%) hue-rotate(333deg)
    brightness(100%) contrast(99%);
  height: 2rem;
}

.social-links a:hover {
  transition: transform 0.1s ease;
  transform: scale(1.5);
}

.copyright {
  color: var(--grey-color);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-evenly;
}

.copyright span:last-child {
  text-transform: uppercase;
}

/* General Styles */
a {
  text-decoration: none;
}

hr {
  max-width: 60%;
  margin: 0 auto;
  opacity: 0.3;
  margin-bottom: 1rem;
}
