/**************************/
/* HEADER */
/**************************/

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #e7f5e9;

  /* Because we want header to be sticky later */
  height: 9.6rem;
  padding: 0 4.8rem;
  position: relative;
}

/**************************/
/* NAVIGATION */
/**************************/

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

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

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

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  color: #fff;
  background-color: #e67e22;
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
  background-color: #cf711f;
}

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

.heading-primary {
  font-size: 6.2rem;
  font-weight: 600;
  color: #343a40;
  padding-left: 2.4rem;
  padding-bottom: 3.2rem;
}

.heading-primary div {
  vertical-align: middle;
}

.typing-container {
  display: inline-block;
}

.hero {
  max-width: 130rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9.6rem;
  align-items: center;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
}

.hero-img {
  width: 80%;
  border-radius: 12px;
}

/**************************/
/* MY DISSERTATION SECTION */
/**************************/

.section-my-dissertation {
  padding: 9.6rem 0;
  background-color: #f5fbf6;
}

.dis-grid {
  align-items: center;
  justify-content: center;
  place-items: center;
  column-gap: 6.4rem;
  row-gap: 2.4rem;
  margin-top: 3.2rem;
  padding-bottom: 2.4rem;
}

.dis-paper {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: start;
  gap: 1.2rem;
  padding: 2.4rem 2.4rem 2.4rem 2.4rem;
}

.dis-icon {
  height: 3.6rem;
  width: 3.6rem;
  color: #0a791e;
  margin-bottom: 3.6rem;
}

.dis-icon-bullet {
  height: 2.4rem;
  width: 2.4rem;
  color: #0a791e;
  flex-shrink: 0;
}

.dis-paper-title {
  font-size: 2.4rem;
  line-height: 1.2;
  color: #333;
  font-weight: 600;
  margin-bottom: 1.2rem;
  text-align: center;
}

.dis-attributes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.dis-attribute {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.all-research {
  text-align: center;
  font-size: 1.8rem;
}

/**************************/
/* MY BACKGROUND SECTION */
/**************************/

.section-my-background {
  padding: 9.6rem 0;
}

.step-number {
  font-size: 8.6rem;
  font-weight: 600;
  color: #ddd;
  margin-bottom: 1.2rem;
}

.step-description {
  font-size: 1.8rem;
  line-height: 1.8;
}

.step-img-box {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
}

.step-img-box::before,
.step-img-box::after {
  content: "";
  display: block;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.step-img-box::before {
  width: 60%;
  /* height: 60%; */

  /* 60% of parent's width */
  padding-bottom: 60%;

  background-color: #e7f5e9;
  z-index: -2;
}

.step-img-box::after {
  width: 45%;
  padding-bottom: 45%;
  background-color: #ceead4;
  z-index: -1;
}

.step-img {
  width: 35%;
  /* z-index: 10; */
}

/*************************/
/* MORE ABOUT ME SECTION */
/*************************/
.typed-out {
  color: #343a40;
  overflow-x: hidden;
  white-space: nowrap;
  border-right: 0.15em solid orange;
  width: 0;
  padding: 1.8rem 0;
  animation: typing 1s steps(15, end) forwards;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
