/*****************************/
/* HEADER */
/*****************************/
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9f9f9;

  /* Use HEIGHT property to later stick the HEADER */
  height: 9.6rem;
  padding: 0 3.2rem;
  position: relative;
}

.logo {
  width: 12rem;
  height: 6rem;
  border-radius: 2px;
  box-shadow: 0 0.3rem 2rem rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

/*****************************/
/* NAVIGATION */
/*****************************/
.main-nav-list {
  display: flex;
  align-items: center;
  gap: 4.8rem;
  list-style: none;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 500;
  color: #646464;
  transition: all 0.3s;
  cursor: pointer;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #000;
}

/* MOBILE NAV */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.icon-mobile-nav {
  color: #373737;
  height: 4.8rem;
  width: 4.8rem;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/* STICKY NAV */
.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.07);
}

.sticky .section-hero {
  margin-top: 8rem;
}

/*****************************/
/* HERO SECTION */
/*****************************/
.section-hero {
  background-color: #373737;
  padding: 3.2rem 0 9.6rem 0;
}

.hero {
  max-width: 130rem;
  display: grid;
  margin: 0 auto;
  align-items: center;
  padding: 0 4.8rem;
}

.hero-text {
  color: #afafaf;
  font-size: 3rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
}

.hero-img {
  width: 75%;
}

/*****************************/
/* ABOUT SECTION */
/*****************************/
.section-about {
  padding: 9.6rem 0 4.8rem;
}

.about-text {
  color: #373737;
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 1.6rem;
}

/*****************************/
/* SKILLS SECTION */
/*****************************/
.section-skills {
  padding: 9.6rem 0;
  height: 100vh;
}

.skills-list {
  color: #373737;
  font-size: 1.6rem;
  line-height: 1.8;
  list-style: none;
}

/*****************************/
/* EXPERIENCE SECTION */
/*****************************/
.section-experience {
  padding: 9.6rem 0;
  background-color: #373737;
}

hr {
  margin: 4rem 0;
  opacity: 0.08;
}

.secondary-heading {
  color: #fff;
  font-size: 4.4rem;
  margin-bottom: 3.2rem;
}

.tertiary-heading {
  color: #d7d7d7;
  font-size: 3rem;
  margin-bottom: 3.2rem;
}

.quaternary-heading {
  color: #afafaf;
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.career-sub-heading {
  display: block;
  color: #afafaf;
  font-size: 1.6rem;
}

.experience-text {
  color: #afafaf;
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.icon-description {
  display: inline-block;
  color: #afafaf;
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.icon {
  width: 2rem;
  height: 2rem;
  color: #afafaf;
}

.icon-link {
  width: 2rem;
  height: 2rem;
  color: #afafaf;
}

/*****************************/
/* PORTFOLIO SECTION */
/*****************************/
.section-portfolio {
  padding: 9.6rem 0;
}

.work-text {
  color: #373737;
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 4.8rem;
}

.work {
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s;
}

.work:hover {
  transform: scale(1.1);
}

.work-img {
  width: 100%;
  display: block;
}

.work-content {
  padding: 1.2rem 3.2rem;
  background-color: #373737;
  display: flex;
  flex-direction: column;
}

.work-languages {
  font-size: 1rem;
  color: #ebebeb;
}

/*****************************/
/* CONTACT SECTION */
/*****************************/
.section-contact {
  padding: 9.6rem;
  border-top: 1px solid #ebebeb;
}

.contact-col {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

.contact--col {
  display: flex;
  flex-direction: column;
  gap: 3.6rem;
  margin-top: 1.8rem;
}

.contact-icon {
  width: 2.4rem;
  height: 2.4rem;
  color: #373737;
}

.link-icon.contact-link-icon {
  color: #373737;
  font-size: 1.6rem;
  line-height: 1.8;
  cursor: pointer;
}

.link-icon.contact-link-icon:hover {
  color: #afafaf;
}

.social-heading {
  color: #373737;
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
}

.social-icon {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

/*****************************/
/* FOOTER SECTION */
/*****************************/
.section-footer {
  padding: 12.8rem 0 4.8rem;
  border-top: 1px solid #ebebeb;
}

.footer-text {
  font-size: 1.4rem;
  color: #373737;
}
