* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  height: 100%;
  background-color: #e1dfdd;
  margin: 0;
  font-family: Merriweather;
}

.root {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.onDisplay {
  display: block;
}

.hidden {
  display: none;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f9f9f9;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.09);
  font-size: 1.7rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px 40px;
  z-index: 1;
}

#name {
  color: #2d2e32;
  cursor: pointer;
  font-family: Raleway, sans-serif;
}

.burgerIcon {
  display: none;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav > ul > li > a {
  color: #2d2e32;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.2rem;
  position: relative;
  padding: 0 10px;
}

nav > ul > li > a::after {
  display: block;
  content: "";
  position: absolute;
  background-color: #147efb;
  height: 4px;
  width: 0;
  left: 0;
  bottom: -2px;
  border-radius: 25%;
  transition: all 0.3s;
}

nav > ul > li > a:hover::after {
  width: 110%;
  transform: rotate(-3deg);
}

.mobile-nav {
  align-items: center;
  background-color: #fff;
  display: flex;
  height: 100vh;
  justify-content: center;
  left: 0;
  position: fixed;
  text-align: center;
  top: 0;
  transition: all 0.3s ease-in-out;
  width: 100%;
  z-index: 300;
}

.closed-menu {
  left: -100% !important;
}

.ulNavbar > li > a {
  color: #2d2e32;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding: 0 10px;
}

.ulNavbar > li > a::after {
  display: block;
  content: "";
  position: absolute;
  background-color: #147efb;
  height: 4px;
  width: 0;
  left: 0;
  bottom: -2px;
  border-radius: 25%;
  transition: all 0.3s;
}

.ulNavbar > li > a:hover::after {
  width: 110%;
  transform: rotate(-3deg);
}

.container {
  margin: 0 auto;
  max-width: 107rem;
  padding: 0 4rem;
}

/* Button 10 */
.knobs,
.layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.button {
  position: relative;
  top: 50%;
  width: 74px;
  height: 36px;
  margin: -20px auto 0 auto;
  overflow: hidden;
}

.button.r,
.button.r .layer {
  border-radius: 100px;
}

.button.b2 {
  border-radius: 2px;
}

.checkbox {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.knobs {
  z-index: 2;
}

.layer {
  width: 100%;
  background-color: #ebf7fc;
  transition: 0.3s ease all;
  z-index: 1;
}

#button-10 .knobs:before,
#button-10 .knobs:after,
#button-10 .knobs span {
  position: absolute;
  top: 4px;
  width: 20px;
  height: 10px;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  padding: 9px 4px;
  border-radius: 2px;
  transition: 0.3s ease all;
}

#button-10 .knobs:before {
  content: "";
  left: 4px;
  background-color: #147efb;
}

#button-10 .knobs:after {
  content: "IT";
  right: 4px;
  color: #4e4e4e;
}

#button-10 .knobs span {
  display: inline-block;
  left: 4px;
  color: #fff;
  z-index: 1;
}

#button-10 .checkbox:checked + .knobs span {
  color: #4e4e4e;
}

#button-10 .checkbox:checked + .knobs:before {
  left: 42px;
  background-color: #008c45;
}

#button-10 .checkbox:checked + .knobs:after {
  color: #fff;
}

#button-10 .checkbox:checked ~ .layer {
  background-color: #fcebeb;
}

.hero {
  background-color: #f9f9f9;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-main {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: center;
  position: relative;
}

.hero-text {
  display: flex;
  flex-direction: column;
  max-width: 50rem;
  position: relative;
}

.hero-text svg {
  height: 6rem;
  position: absolute;
  right: 13rem;
  top: 8.7rem;
  width: 6rem;
  fill: #2d2e32;
}

.hero-text h1 {
  color: #2d2e32;
  font-size: 5.5rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.hero-text p {
  color: #555;
  font-family: Mulish, sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.6;
}

.hero-text span {
  cursor: pointer;
  display: flex;
  gap: 1.3rem;
  margin: 2.5rem 0;
}

.hero-text span a {
  color: #2d2e32;
  font-size: 3rem;
}

.hero-text span svg {
  position: inherit;
  fill: #2d2e32;
  width: 2rem;
  height: 2rem;
}

.hero-img {
  border: 3px solid #2d2e32;
  position: relative;
  border-radius: 50%;
  display: flex;
  margin-bottom: 2rem;
}

#personal-pic {
  height: 20em;
  width: 20em;
  border-radius: 50%;
}

.about {
  background-color: #fff;
  padding: 10rem 0;
}

.nonHeroContainers {
  margin: 0 auto;
  max-width: 107rem;
  padding: 0 8rem;
}

.about-container {
  align-items: center;
  display: grid;
  grid-template-areas:
    "about-img about-text"
    "about-tech about-tech";
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
}

.img-side {
  position: relative;
  grid-area: about-img;
  height: 100%;
}

#about-img {
  border-radius: 1.7rem;
  width: 36rem;
}

.text-side {
  padding-right: 1.5rem;
  grid-area: about-text;
  margin-bottom: 1rem;
}

.text-side h3 {
  color: #147efb;
  font-size: 1.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.text-side h4 {
  color: #2d2e32;
  font-size: 2.2rem;
  line-height: 1.4;
  margin-bottom: 1.2rem;
}

.pencil-underline {
  position: relative;
}

.pencil-underline::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 110%;
  height: 4px;
  background-color: #147efb;
  border-radius: 25%;
  transform: rotate(-3deg);
}

.text-side p {
  color: #665d5d;
  font-family: Raleway, sans-serif;
  font-weight: 500;
  line-height: 1.5;
}

.skills {
  grid-area: about-tech;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

#tech-stack {
  font-size: 1.7rem;
  color: #2d2e32;
}

.skills ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  list-style: none;
}

.skills ul li {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.09);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skills ul li img {
  height: 3.4rem;
  width: 3.4rem;
}

.projects {
  background-color: #f9f9f9;
  padding: 8rem 0;
}

.project-content {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.project-content p {
  color: #147efb;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.project-content h3 {
  color: #2d2e32;
  font-size: 2.2rem;
  margin-bottom: 6rem;
}

.projects-grid {
  /* technicaly not a grid */
  display: flex;
  flex-direction: column;
  gap: 5rem;
  height: auto;
}

.single-proj {
  display: flex;
  flex-direction: row;
  gap: 8rem;
  height: 30rem;
  padding: 2rem;
  background-color: #fff;
  border-radius: 1.7rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.single-proj:hover {
  transform: translateY(-10px);
  box-shadow: 7px 7px 2px rgba(66, 133, 244, 0.1);
}

#proj-1-img {
  height: 100%;
  max-width: 33rem;
  border-radius: 4%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#proj-2-img {
  height: 100%;
  max-width: 33rem;
  border-radius: 4%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#proj-3-img {
  height: 100%;
  max-width: 33rem;
  border-radius: 4%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.proj-img {
  border-radius: 25%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.proj-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  justify-content: center;
  width: 30rem;
}

.proj-text h3 {
  color: #147efb;
  font-size: 1.7rem;
  margin-bottom: 2rem;
  position: relative;
  text-transform: uppercase;
}

.proj-text p {
  color: #767676;
  font-size: 1.7rem;
  font-weight: 500;
  text-align: center;
  text-transform: none;
}

.expandeButton {
  border: none;
  width: 100px;
  height: 35px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  background-color: #fff;
  position: relative;
  top: -30px;
  left: 10px;
  border-radius: 7px;
  transition: all 0.3s;
}

.expandeButton:hover {
  box-shadow: 0 8px 16px rgba(66, 133, 244, 0.1);
  transform: translateY(-5px);
}

.expIcon {
  width: 20px;
  height: 20px;
}

.expandible {
  left: 10px;
  top: -70px;
  position: relative;
  height: max-content;
  color: #2d2e32;
  margin: 0 10px;
  line-height: 1.8rem;
  display: none;
}

.stack {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.stack p {
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  color: #000 !important;
  font-weight: 600 !important;
  padding: 1rem;
  font-size: 16px;
}

.links {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.links a {
  color: #2d2e32;
  font-size: 1.4rem;
  font-weight: 500;
  gap: 5px;
  text-decoration: none;
}

.anchor-proj {
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-proj {
  width: 1.8rem;
}

.highlights {
  color: #147efb;
}

.contact {
  background-color: #fff;
  padding: 11rem 0;
}

.contact-content {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contact-title p {
  color: #147efb;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.contact-title h3 {
  color: #2d2e32;
  font-size: 2.5rem;
}

.contact-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8rem;
  margin-top: 6rem;
  justify-content: space-evenly;
}

.singleIcon {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  transition: all 0.3s;
  cursor: pointer;
  border-radius: 5%;
}

.singleIcon:hover {
  transform: translateY(-10px);
  box-shadow: 5px 5px 5px rgba(66, 133, 244, 0.5);
}

.singleIcon span img {
  width: 1.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-info h4 {
  color: #2d2e32;
  font-size: 1.5rem;
}

.contact-info a {
  color: #767676;
  cursor: pointer;
  font-size: 1.2rem;
  text-decoration: none;
}

footer {
  background-color: #2d2e32;
  padding: 5rem 0;
  width: 100%;
}

.footerc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 4rem;
}

.footerc p {
  color: #fff;
  letter-spacing: 0.2ch;
}

#nameFooter {
  color: #fff;
  cursor: pointer;
  font-family: Raleway, sans-serif;
  font-size: 1.7rem;
}

.pencil-underline-footer {
  position: relative;
}

.pencil-underline-footer::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 110%;
  height: 4px;
  background-color: #147efb;
  border-radius: 25%;
  transform: rotate(-3deg);
}

.footerc-socials {
  display: flex;
  gap: 2rem;
}

.footerc-socials a {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
}

@media screen and (min-width: 300px) and (max-width: 424px) {
  .navbar > ul > li > a {
    display: none;
  }

  .closeIcon {
    cursor: pointer;
    width: 2rem;
    position: absolute;
    top: 1.2rem;
    right: 1.8rem;
  }

  .burgerIcon {
    cursor: pointer;
    display: inline;
    width: 1.5rem;
    fill: #2d2e32;
  }

  .ulNavbar {
    list-style: none;
    font-size: 2em;
    line-height: 8rem;
  }

  #computerSvg {
    position: initial;
  }

  .hero-content {
    justify-content: center;
    height: 142vh;
  }

  .container {
    padding: 0 1rem;
  }

  .nonHeroContainers {
    padding: 0 1rem;
  }

  .hero-main {
    flex-direction: column;
  }

  .hero-text {
    align-items: center;
    justify-content: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .about-container {
    display: flex;
    flex-direction: column;
  }

  .skills {
    flex-direction: column;
  }

  .single-proj {
    flex-direction: column;
    gap: 4rem;
    height: auto;
    align-items: center;
  }

  .contact-icons {
    gap: 4rem;
  }
}

@media screen and (min-width: 425px) and (max-width: 768px) {
  .navbar > ul > li > a {
    display: none;
  }

  .closeIcon {
    cursor: pointer;
    width: 2rem;
    position: absolute;
    top: 1.2rem;
    right: 1.8rem;
  }

  .burgerIcon {
    cursor: pointer;
    display: inline;
    width: 1.5rem;
    fill: #2d2e32;
  }

  .ulNavbar {
    list-style: none;
    font-size: 2em;
    line-height: 8rem;
  }

  #computerSvg {
    position: initial;
  }

  .hero-content {
    justify-content: center;
    height: 180vh;
  }

  .container {
    padding: 0 1rem;
  }

  .nonHeroContainers {
    padding: 0 1rem;
  }

  .hero-main {
    flex-direction: column;
  }

  .hero-text {
    align-items: center;
    justify-content: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .about-container {
    display: flex;
    flex-direction: column;
  }

  .single-proj {
    flex-direction: column;
    gap: 4rem;
    height: auto;
    align-items: center;
  }

  .contact-icons {
    gap: 4rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .hero-content {
    height: 200vh;
  }

  .hero-main {
    flex-direction: column;
  }

  .hero-text {
    align-items: center;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }

  #computerSvg {
    position: initial;
  }

  .about-container {
    display: flex;
    flex-direction: column;
  }

  .single-proj {
    flex-direction: column;
    gap: 4rem;
    height: auto;
    align-items: center;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1249px) {
  #computerSvg {
    position: initial;
  }

  .hero-content {
    justify-content: center;
    height: 142vh;
  }

  .single-proj {
    gap: 4rem;
  }

  #proj-1-img {
    max-width: 26rem;
  }

  #proj-2-img {
    max-width: 26rem;
  }

  #proj-3-img {
    max-width: 26rem;
  }
}

@media screen and (min-width: 1250px) {
  .hero-content {
    justify-content: center;
    height: 135vh;
  }
}

@media screen and (min-width: 1441px) {
  .navbar {
    justify-content: space-evenly;
  }

  .hero-content {
    justify-content: center;
  }

  .about {
    padding: 12rem 0;
  }

  .about-container {
    gap: 5rem;
  }

  .about-container p {
    font-size: 20px;
  }

  .img-side {
    height: 100%;
  }
}
