/* 
--- 01 TYPOGRAPHY

- Font size system (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: sans-serif;
  font-family: "Gruppo", cursive;

  line-height: 1;
  font-weight: 400;
  color: #fff;
  background-color: #121212;
}

/**************************/
/********* SLIDER *********/
/**************************/

.inactive {
  display: none;
}

.slider {
  width: 100vw;
  height: 100vh;
  margin: 0 auto;
  position: relative;

  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100vw;
  height: 100vh;
}

.trans-3s {
  transition: transform 3s ease-out;
}

.slide--home-projects {
  transform: translateX(-100%);
}

.slide--home-about {
  transform: translateY(100%);
}

.slide--projects {
  transform: translateX(-100%);
  transform: translateY(-100%);
}

.slide--about {
  transform: translate(100%);
}

.slide--contact {
  transform: translateX(100%);
}

/**************************/
/****** SECTION HERO ******/
/**************************/

.section-hero {
  background-color: #121212;
  height: 100vh;
  padding: 2.4rem;
  outline: 1px solid #fff;
  outline-offset: -1.5rem;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-2 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-rows: 90fr 10fr;
  height: 100%;
}

.hero-text-box {
  text-align: center;
  max-width: 80rem;
}

.margbot {
  margin-bottom: 2rem !important;
}

.big {
  font-size: 6rem !important;
}

.heading-primary-hidden-home {
  opacity: 0;
  /* margin-top: 5rem; */
  transition: all 4s;
  transform: translateY(3rem);
  animation: revealHeading 2s ease 3.2s forwards;
}

.heading-primary-hidden-home-loaded {
  opacity: 1;
  /* margin-top: 5rem; */
  transition: all 4s;
  transform: translateY(3rem);
  animation: revealHeading 0s ease 0s forwards;
}

@keyframes revealHeading {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-nav-btn {
  opacity: 0;
  animation: revealBtn 2s ease 4.6s forwards;
}

.home-nav-btn-laoded {
  opacity: 1;
}

@keyframes revealBtn {
  to {
    opacity: 1;
  }
}

.bounce {
  animation: bounce 0.6s;
}

.bounce2 {
  animation: bounce2 0.6s;
}

@keyframes bounce {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    -ms-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    -ms-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }
  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    -ms-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }
  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    -ms-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }
  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    -ms-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    -ms-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
    -ms-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes bounce2 {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    -ms-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1) rotateZ(180deg);
  }
  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    -ms-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1) rotateZ(180deg);
  }
  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    -ms-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1) rotateZ(180deg);
  }
  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    -ms-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1) rotateZ(180deg);
  }
  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    -ms-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1) rotateZ(180deg);
  }
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    -ms-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1) rotateZ(180deg);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
    -ms-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    transform: rotateZ(180deg);
  }
}

.projects {
  writing-mode: vertical-rl !important;
  cursor: pointer;
}

.projects2 {
  writing-mode: vertical-rl !important;
  cursor: pointer;
}

.contact {
  writing-mode: vertical-rl !important;
  cursor: pointer;
}

.contact2 {
  writing-mode: vertical-rl !important;
  cursor: pointer;
  transition: all 2s;
}

.about {
  align-self: center;
  cursor: pointer;
}

.about2 {
  align-self: center;
  cursor: pointer;
}

.turn {
  transform: rotateZ(180deg);
}

/**************************/
/*  SECTION HOME-LOADED */
/**************************/

.section-hero-loaded {
  background-color: #121212;
  height: 100vh;
  padding: 2.4rem;
  outline: 1px solid #fff;
  outline-offset: -1.5rem;
}

/**************************/
/*  SECTION HOME-PROJECTS */
/**************************/

.section-home-projects {
  background-color: #121212;
  height: 100vh;
  padding: 2.4rem;
  visibility: hidden;
}

.multi-grid {
  display: grid;
  grid-template-columns: repeat(8, 10vw);
  grid-template-rows: repeat(8, 8vh);
  row-gap: 2.4rem;
  column-gap: 2.4rem;
  justify-content: center;
}

.multi-grid--cell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.multi-grid-text {
  font-size: 5.2rem;
  font-weight: 500;
  transition: all 10s;
}

.text-css {
  transform: scale(0.7);
}

.text-responsive {
  transform: scale(0.8) translate(-7rem, 7rem);
}

.text-functional {
  transform: scale(1) translate(0);
}

.text-babel {
  transform: scale(0.8) translate(0, 3rem);
}

.text-seo {
  transform: scale(0.7) translate(0, 20rem);
}

.text-semantic {
  transform: scale(0.6) translate(0, 5rem);
}

.text-html {
  transform: scale(0.6) translate(10rem, -5rem);
}

.text-oop {
  transform: scale(1.2) translate(0, 5rem);
}

.text-parcel {
  transform: scale(0.8) translate(-7rem, -7rem);
}

.text-js {
  transform: scale(0.9) translate(-1rem, -10rem);
}

.text-es6 {
  transform: scale(1) translate(10rem, 0rem);
}

/**************************/
/*  SECTION PROJECTS */
/**************************/

.section-projects {
  background-color: #121212;
  height: 100vh;
  height: inherit;
  padding: 2.4rem;
  outline: 1px solid #fff;
  outline-offset: -1.5rem;
}

.section-projects-real {
  background-color: #121212;
  min-height: 100vh;
  max-height: fit-content;
  padding: 2.4rem;
  outline: 1px solid #fff;
  outline-offset: -1.5rem;
  display: none;
  opacity: 0;
}

.opacity {
  opacity: 0;
  transition: all 1s;
}

.section-projects-container-outer {
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: center;
}

.section-projects-container {
  height: 20vh;
  width: 20vh;
  transform: rotateZ(90deg);
  transition: all 1s;
}

.heading-test {
  text-align: center;
  font-size: 3rem;
  font-weight: 600;
  margin-top: 3rem;
}

.heading-test-2 {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 600;
  margin-top: 3rem;
  transition: all 1s;
}

.nav {
  margin: 1rem;
  transition: all 1s;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: space-evenly;
  justify-content: space-around;
  align-items: center;
  height: 4.6rem;
}

.nav-list-link:link,
.nav-list-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #555;
  font-weight: 600;
  font-size: 3.2rem;
  transition: all 0.5s;
  border: 1px solid #121212;
  border-radius: 7px;
  padding: 1rem 2rem;
}

.nav-list-link:hover,
.nav-list-link:active {
  color: #fff;
  border: 1px solid #fff;
}

.projects-heading {
  text-align: center;
  font-size: 5.6rem;
  margin: 1.2rem 9.6rem 3rem 9.6rem;
}

.my-projects {
  padding: 0 1.8rem;
  transition: all 1s;
}

.projects-heading-secondary {
  font-size: 4.2rem;

  margin-left: 3.2rem;
  margin-bottom: 1.2rem;
}

.projects-gallery {
  display: flex;
  gap: 2.4rem;
}

.projects-gallery-img {
  border: 1px solid #fff;
  padding: 0.2rem;
  height: 20rem;
  width: 34rem;
  transition: all 1s;
}

.projects-gallery-img:hover {
  transform: scale(1.1);
}

.study {
  margin-top: 1.6rem;
}

/**************************/
/*** SECTION HOME-ABOUT ***/
/**************************/

.section-home-projects {
  background-color: #121212;
  height: 100vh;
  padding: 2.4rem;
}

/**************************/
/***** SECTION ABOUT ******/
/**************************/

.section-about {
  background-color: #121212;
  min-height: 100vh;
  max-height: fit-content;
  padding: 2.4rem;
  outline: 1px solid #fff;
  outline-offset: -1.5rem;
  opacity: 1;
}

.tabbed-component-container {
  max-width: 100rem;
  margin: 8.5rem auto 0 auto;

  background-color: #fff;
}

.tab-container {
  margin-left: 6.5rem;
  display: flex;
  justify-content: center;
}

.tab {
  margin-right: 2.5rem;
  transform: translateY(-50%);
  display: inline-block;
  font-size: 1.8rem;
  font-family: inherit;
  font-weight: 600;
  border: none;
  padding: 1.25rem 4.5rem;
  border-radius: 10rem;
  cursor: pointer;
  transition: all 0.3s;
  background-color: #c5f6fa;
  background-color: #99e9f2;
}

/* tab-icon for query 624px */
.tab-icon {
  width: 24px;
  height: 24px;
}

.tab--1 {
  background-color: #96f2d7;
}

.tab--1:hover {
  background-color: #38d9a9;
}

.tab--2 {
  background-color: #ffec99;
}

.tab--2:hover {
  background-color: #ffd43b;
}

.tab--3 {
  background-color: #99e9f2;
}

.tab--3:hover {
  background-color: #3bc9db;
}

.tab--active {
  transform: translateY(-66%);
}

.tabbed-content {
  display: none;

  /* JUST PRESENTATIONAL */
  font-size: 1.7rem;
  padding: 2.5rem 7rem 6.5rem 3.5rem;
}

.tabbed-content--active {
  display: grid;
  grid-template-columns: 25fr 75fr;
  column-gap: 3rem;
  row-gap: 0.5rem;
  align-items: center;
}

.tabbed-icon {
  height: 25rem;
  width: 25rem;
  border-radius: 20px;
}

.tabbed-icon--1 {
  background-color: #e6fcf5;
}

.tabbed-icon--2 {
  background-color: #fff9db;
}

.tabbed-icon--3 {
  background-color: #e3fafc;
}

.tabbed-text {
  font-family: "Rubik", sans-serif;
  color: #555;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

/**************************/
/***** SECTION CONTACT ******/
/**************************/

.section-contact {
  background-color: #121212;
  min-height: 100vh;
  max-height: fit-content;
  padding: 2.4rem;
  outline: 1px solid #fff;
  outline-offset: -1.5rem;
  opacity: 1;
}

.form-container {
  max-width: 100rem;
  margin: 3.5rem auto 0 auto;
  padding: 2.4rem;

  background: linear-gradient(to bottom right, #99e9f2, #ffec99);
  border-radius: 9px;
  font-family: "Rubik", sans-serif;
  color: #333;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.2rem;
  row-gap: 2.4rem;
}

.form label {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #121212;
  margin-left: 0.5rem;
}

.form input,
.form select {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.8rem;
  font-family: inherit;
  color: inherit;
  border: none;
  background-color: #fff;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.form input::placeholder {
  color: #aaa;
}

.cta *:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(253, 242, 233, 0.5);
}

.form-icon-container {
  justify-self: center;
}

.form-icon {
  height: 20rem;
  width: 20rem;
}

.form--1-2 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 2rem;
  padding-right: 2rem;
}

.text-area {
  justify-self: center;
  grid-column: 1/-1;
}

#full-name,
#email,
#textarea {
  box-shadow: 0 0.6rem 1.5rem rgba(0, 0, 0, 0.15);
}

#textarea {
  padding: 1rem 1.5rem 1rem 1.5rem;
  font-size: 1.4rem;
}

.form textarea {
  resize: none;
  font-family: inherit;
}

.btn,
.btn:link,
.btn:visited {
  justify-self: center;
  grid-column: 1/-1;
  background-color: #fff;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 600;
  padding: 1.4rem 2.8rem;
  border-radius: 9px;
  box-shadow: 0 0.6rem 1.5rem rgba(0, 0, 0, 0.15);

  border: 1px solid #121212;
  cursor: pointer;
  font-family: inherit;

  transition: all 0.3s;
}

.btn:hover,
.btn:active {
  background-color: #e0f8fb;
  transform: scale(1.05);
}
