/**************************/
/* Header */

.header {
  position: absolute;
  z-index: 100;
  display: flex;
  width: 100%;
  padding: 5.8rem 36rem;
  justify-content: space-between;
  align-items: center;
}
.header .logo {
  height: 9.8rem;
}
.main-nav-list {
  list-style: none;
  display: flex;
}

.main-nav-link {
  text-decoration: none;
  color: #f1f1f1;
  font-size: 2.4rem;
  font-weight: 600;
  margin: 3.2rem;
}

/**************************/
/* Home Page */

.section-homepage {
  background-color: #333647;
  display: flex;
  align-items: center;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 55%;
  width: 100%;
  background-color: #282a39;
}

.hero-title {
  grid-column: 2;
  width: fit-content;
  align-self: center;
  letter-spacing: 1.1px;
}

.hero-title h1 {
  font-weight: 600;
  font-size: 6.4rem;
  line-height: 5.2rem;
}

.hero-title h2 {
  font-weight: 600;
  font-size: 3.2rem;
}

.hero-title h2:last-child {
  text-align: end;
  font-size: 2.4rem;
}

.hero-title h2 strong {
  color: #e77914;
}

.hero-text {
  grid-row: 2;
  grid-column: 2;
  align-self: center;
  font-size: 2.4rem;
  width: 42rem;
}

.hero-img {
  grid-row: 1 / -1;
  align-self: end;
  grid-column: 3;
  height: 115%;
}
/**************************/
/* Sticky nav bar */
.nav-bar {
  z-index: -100;
  position: fixed;
  background-color: #282a39;
  width: 100%;
  padding: 1.2rem 36rem;
  justify-content: space-between;
  align-items: center;
  transform: translateY(-100%);
  transition: transform 0.6s ease-in;
}

.sticky {
  display: flex;
  position: fixed;
  z-index: 100;
  top: 0;
  transform: translateY(0);
  transition: transform 0.6s ease-in;
}

/**************************/
/* About me */

.section-aboutme {
  background-color: #333647;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
}

.page-title {
  position: absolute;
  margin: 18rem;
  font-size: 3.6rem;
}
.story-line {
  width: 100%;
  display: flex;
  justify-content: center;
  grid-column: 1 / -1;
  grid-row: 2;
  transform: translateY(-70%);
}

.story-line svg {
  width: 70%;
}

.story-line-content-container {
  background-color: #282a39;
  width: 100%;
  grid-row: 3 / 5;
  grid-column: 1 / -1;
  transform: translateY(-30%);
  display: flex;
}
.story-line-content-container div {
  width: 100%;
}
.story-line-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-line-navigation svg {
  height: 20%;
}
.story-line-img-container {
  padding: 3.2rem;
}
.story-line-img-container img {
  height: 100%;
}

.story-line-text-container {
  padding: 8.2rem 3.2rem;
}

.story-line-title {
  font-size: 3.2rem;
}

.story-line-text {
  padding-top: 3.2rem;
  font-size: 2.4rem;
}

.story-line-navigation.--nav-to-right svg {
  transform: rotate(180deg);
}

/**************************/
/* Skills*/

.section-skills {
  background-color: #282a39;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(5, 1fr);
}

.skills-wrapper {
  height: 100%;
  width: 60%;
  transform: translateY(-50%);
}

.skills-title {
  font-size: 3.6rem;
  color: #e77914;
}

.skills-container {
  margin-top: 2.4rem;
  height: 50%;
  background-color: #cfcadd;
  border-radius: 1rem;
}

.skills-wrapper.--design-skills {
  grid-row: 2;
  grid-column: 2;
  align-self: end;
}
.skills-wrapper.--frontend-skills {
  grid-row: 3;
  justify-self: end;
}
.skills-wrapper.--backend-skills {
  grid-column: 2;
  grid-row: 4;
  align-self: end;
}
.skills-wrapper.--administrator-skills {
  grid-row: 5;
  justify-self: end;
}

/**************************/
/* Projects */

.section-projects {
  background-color: #333647;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  padding: 16rem 0rem;
}

.section-projects .page-title {
  grid-row: 1 / 1;
  justify-self: start;
  transform: translateY(-4rem);
}

.project-wrapper {
  display: flex;
  background-color: #282a39;
  align-items: center;
  height: 25rem;
  width: 40%;
  border-radius: 1rem;
}

.project-text-container {
  flex-grow: 1;
}

.project-img-container {
  background-color: white;
  height: 40rem;
  width: 40rem;
  overflow: hidden;
  border-radius: 50%;
  transform: translateX(-50%);
}

.project-img-container.--right {
  transform: translateX(50%);
}

.project-img-container img {
  height: 100%;
}

/**************************/
/* Contact */

.section-contact {
  background-color: #282a39;
  display: grid;
  grid-template-rows: 1fr 1fr 15%;
  grid-template-columns: 1fr 1fr;
}

.contact-text {
  grid-row: 2;
  grid-column: 1;
  display: flex;
  flex-direction: column;
  margin-left: 40%;
  transform: translateY(-20%);
}

.contact-text-title {
  font-size: 2.4rem;
  margin-bottom: 5rem;
}

.contact-text ul li {
  margin-left: 5rem;
  font-size: 2.8rem;
  font-weight: 600;
  margin-top: 2rem;
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.contact-text ul li strong {
  color: #e77914;
  margin-right: 2rem;
  margin-bottom: 0.3rem;
}

.contact-form-container {
  background-color: #333647;
  grid-row: 1;
  grid-column: 2;
  width: 45%;
  transform: translateY(70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 1.5rem;
  z-index: 2;
}

.contact-form {
  display: flex;
  height: 100%;
  width: 80%;
  flex-direction: column;
  justify-content: space-evenly;
}

.contact-form input {
  height: 5rem;
  border-radius: 1rem;
  padding: 1rem;
  font-family: inherit;
}

.contact-form textarea {
  height: 45%;
  border-radius: 1rem;
  padding: 1rem;
  font-family: inherit;
}

.contact-form button {
  width: 15rem;
  height: 5rem;
  border-radius: 1rem;
  font-family: inherit;
  background-color: #e77914;
  color: #f1f1f1;
  font-weight: bold;
}

.contact-img-container {
  display: flex;
  justify-content: center;
  grid-row: 2;
  grid-column: 2;
  height: 120%;
  overflow: hidden;
  align-self: end;
  margin-left: 30%;
}
.contact-img {
  transform: scaleX(-1);
}

.website-footer {
  grid-row: 3;
  grid-column: 1 / -1;
  background-color: #211e29;
}
