@import url("https://fonts.googleapis.com/css2?family=Bentham&family=Lato:wght@300;400&family=Numans&family=Nunito+Sans:wght@800&family=Nunito:wght@800&family=Oleo+Script&display=swap");
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: inherit;
  text-decoration: none;
}

html {
  font-size: 62.5%;
}
@media screen and (max-width: 480px) {
  html {
    font-size: 60%;
  }
}

body {
  font-family: "Lato", sans-serif;
  font-size: 1.6rem;
  color: #6A6A6A;
  overflow-x: hidden;
}

.container {
  width: min(100%, 1200px);
  padding: 0 16px;
  margin: 0 auto;
}

button {
  border: none;
  background: none;
  outline: none;
}

header {
  background-color: #fff;
}

.header {
  height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__logo {
  display: block;
  font-family: "Numans", sans-serif;
  font-size: 3.2rem;
  position: relative;
}
.header__logo::after {
  content: "";
  display: block;
  width: calc(100% + 18px);
  height: 5px;
  background-color: hsl(154deg, 79%, 48%);
  position: absolute;
  bottom: 0;
  left: 0;
  left: 6px;
}
.header nav .desk {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 38px;
}
.header nav .desk li a {
  font-family: "Nunito Sans", sans-serif;
  font-size: 2.1rem;
  text-transform: lowercase;
}
@media screen and (max-width: 768px) {
  .header nav .desk {
    display: none;
  }
}
.header nav .mobile {
  position: fixed;
  top: 78px;
  left: 0;
  width: 100%;
  height: calc(100vh - 78px);
  background-color: #fff;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: scale(0);
  transform-origin: top;
  opacity: 0;
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
}
.header nav .mobile.show {
  opacity: 1;
  transform: scale(1);
}
.header nav .mobile ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  margin-top: -10rem;
}
.header nav .mobile ul li a {
  font-size: 3rem;
}
@media screen and (min-width: 767.9999px) {
  .header nav .mobile {
    display: none;
  }
}

.hamburger {
  display: block;
  width: 36px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hamburger > span {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #6A6A6A;
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.hamburger.active span {
  opacity: 0;
}
.hamburger.active span:first-child {
  opacity: 1;
  transform-origin: top left;
  transform: rotate(45deg) translateX(-3px);
}
.hamburger.active span:last-child {
  opacity: 1;
  transform-origin: top left;
  transform: rotate(-45deg) translateX(-12%);
}
@media screen and (min-width: 767.9999px) {
  .hamburger {
    display: none;
  }
}

main {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.section {
  background-color: #fff;
  scroll-snap-align: start;
}
.section__title {
  height: calc(22px + 78px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.section__title h1 {
  font-family: "Nunito", sans-serif;
  font-size: 3.2rem;
  text-align: right;
  text-transform: uppercase;
}
@media screen and (max-width: 768px) {
  .section__title h1 {
    font-size: 2rem;
  }
}
@media screen and (max-width: 480px) {
  .section__title h1 {
    font-size: 1.8rem;
  }
}
@media screen and (max-width: 480px) {
  .section__title {
    height: 78px;
  }
}
.section__intro {
  height: 100vh;
}
.section__projects {
  height: 100vh;
  position: relative;
}
.section__contact {
  height: 100vh;
  position: relative;
}

.intro {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: calc(100% - 78px - 14%);
  background-color: #fff;
  text-align: center;
}
.intro__title {
  font-family: "Bentham", serif;
  font-weight: normal;
  font-size: 7rem;
  line-height: 1.1;
  color: #3A3434;
}
.intro__title span {
  color: hsl(154deg, 79%, 48%);
  opacity: 0;
  animation-name: showUP;
  animation-fill-mode: forwards;
  animation-duration: 0.5s;
  transform: translateY(-60px);
  display: inline-block;
  position: relative;
  animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}
@keyframes showUP {
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}
@media screen and (max-width: 768px) {
  .intro__title {
    font-size: 5rem;
  }
}
.intro__desc {
  font-family: "Numans", sans-serif;
  font-weight: normal;
  margin: 2rem 0;
  font-size: 2.4rem;
  color: #686868;
  line-height: 1.6;
  opacity: 0;
  transform: rotate(90deg) scale(0);
  transition: all 0.5s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.intro__desc.show {
  opacity: 1;
  transform: rotate(0) scale(1);
}
.intro__desc small {
  font-size: 1.6rem;
  color: #686868;
}
@media screen and (max-width: 768px) {
  .intro__desc {
    font-size: 1.8rem;
  }
}
.intro__ca {
  padding-top: 4rem;
}
.intro__ca a {
  display: block;
  font-size: 2.2rem;
  color: #743737;
  background-color: #F7F6F6;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  padding: 0.55em 1.8em;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(20px);
  opacity: 0;
}
.intro__ca a.show {
  opacity: 1;
  transform: translateY(0);
}
.intro__ca a:hover {
  transform: scale(0.95);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
@media screen and (max-width: 480px) {
  .intro__ca a {
    font-size: 1.8rem;
  }
}
.intro__bars {
  height: 120px;
  position: relative;
  transform: translateY(-50%);
}
.intro__bars::before {
  content: "";
  display: table;
  background-color: #743737;
  position: absolute;
  top: 0;
  left: 0;
  height: 120px;
  width: 4px;
  margin-left: 16px;
  animation: scaleY 1s ease-in infinite alternate-reverse forwards;
  transform-origin: bottom;
  transform: scaleY(0.5);
}
.intro__bars::after {
  content: "";
  display: table;
  background-color: #743737;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 4px;
  margin-left: 16px;
  transform-origin: left;
  transform: scaleX(0.5);
  animation: scaleX 1s ease-in infinite alternate-reverse forwards;
}
@keyframes scaleY {
  to {
    transform: scaleX(1);
  }
}
@keyframes scaleX {
  to {
    transform: scaleX(1);
  }
}

.projects__list {
  height: 55vh;
}

.project {
  font-family: "Lato", sans-serif;
  opacity: 0;
  animation-delay: 0.3s;
}
.project__title {
  font-family: "Oleo Script", cursive;
  font-weight: normal;
  color: #3A3434;
  font-size: 3rem;
  margin-top: 2.4rem;
}
@media screen and (max-width: 480px) {
  .project__title {
    font-size: 2.4rem;
  }
}
.project__url {
  font-size: 2rem;
  color: #6A6A6A;
  display: block;
  margin-bottom: 2rem;
}
@media screen and (max-width: 480px) {
  .project__url {
    font-size: 1.8rem;
  }
}
.project__img {
  width: 180px;
  height: 180px;
  background-color: #fff;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.16);
  border-radius: 4px;
  overflow: hidden;
}
.project__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media screen and (max-width: 480px) {
  .project__img {
    width: 120px;
    height: 120px;
  }
}
.project__about {
  max-width: 680px;
  line-height: 1.7;
  font-size: 1.9rem;
  font-weight: 300;
  color: #3A3434;
}
@media screen and (max-width: 480px) {
  .project__about {
    font-size: 1.6rem;
  }
}
.project__tech {
  margin-top: 3rem;
  transform: translateY(-50px);
  opacity: 0;
  animation: up 1s ease forwards;
}
.project__navigation {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.project__navigation-btn {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 50%;
  background-color: #f0f0f3;
  box-shadow: 10px 10px 10px rgba(255, 255, 255, 0.1);
  font-size: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #686868;
  padding-bottom: 0.3rem;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(120px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes up {
  to {
    opacity: 1;
    transform: translateY(100%);
  }
}

.navigation {
  margin-top: 10rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.navigate-page {
  font-size: 1.9rem;
  display: block;
}
.navigate-page__down {
  position: relative;
  position: absolute;
  bottom: 0;
  right: 0;
  transform: rotate(90deg) translateX(-50%);
}
.navigate-page__down::after {
  content: url(../assets/arrow.svg);
  position: absolute;
  top: 0;
  right: 0;
  right: -50px;
  animation: moveDown 0.5s ease-in alternate infinite;
}
@keyframes moveDown {
  to {
    right: -68px;
  }
}
.navigate-page__back {
  position: relative;
  padding-left: 46px;
  display: flex;
  align-items: center;
}
.navigate-page__back::before {
  content: url(../assets/arrow.svg);
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-180deg) translateX(3px);
  animation-name: moveX;
  animation-duration: 0.5s;
  animation-timing-function: ease;
  animation-direction: alternate;
  animation-iteration-count: infinite;
}
@keyframes moveX {
  to {
    transform: rotate(-180deg) translateX(18px);
  }
}
.navigate-page__up {
  position: relative;
  position: absolute;
  bottom: 0;
  right: 0;
  transform: rotate(-90deg);
}
.navigate-page__up::before {
  content: url(../assets/arrow.svg);
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(calc(100% + 16px)) rotate(-360deg);
  animation: moveUp 0.5s ease-in alternate infinite;
}
@keyframes moveUp {
  to {
    transform: translateX(calc(100% + 28px)) rotate(-360deg);
  }
}
@media screen and (max-width: 768px) {
  .navigate-page {
    font-size: 1.4rem;
  }
}

.contact__info {
  height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact__person {
  width: 200px;
  height: 200px;
  background-color: #fff;
  border-radius: 50%;
  margin-left: -2rem;
}
.contact__person img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media screen and (max-width: 768px) {
  .contact__person {
    width: 160px;
    height: 160px;
  }
}
.contact__name {
  font-size: 4.9rem;
  font-family: "Nunito Sans", sans-serif;
  font-weight: normal;
  margin-bottom: 2rem;
}
@media screen and (max-width: 768px) {
  .contact__name {
    font-size: 3.9rem;
  }
}
@media screen and (max-width: 480px) {
  .contact__name {
    font-size: 3rem;
  }
}
.contact__socials {
  list-style: disc;
  margin-left: 1.8rem;
}
.contact__socials li {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}
.contact__bars {
  height: 180px;
  position: relative;
  transform: translateY(-50%);
}
.contact__bars::after {
  content: "";
  display: table;
  background-color: #743737;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 180px;
  height: 4px;
  margin-left: 16px;
}
.contact .github {
  display: flex;
  align-items: center;
  flex-direction: column-reverse;
  gap: 6px;
}

.tag__item {
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.16);
  display: inline-block;
  padding: 0.4em 0.8em;
  border-left: 2px solid #fff;
}
.tag__item:not(:last-child) {
  margin-right: 0.8rem;
  margin-bottom: 0.8rem;
}
.tag__item--success {
  border-color: rgb(13, 201, 13);
}
.tag__item--info {
  border-color: rgb(29, 236, 236);
}
.tag__item--indigo {
  border-color: indigo;
}

.b-color--green {
  border-color: green;
}

.b-color--indigo {
  border-color: indigo;
}

.b-color--cyan {
  border-color: cyan;
}

.b-color--gold {
  border-color: gold;
}

.b-color--blue {
  border-color: blue;
}

.b-color--purple {
  border-color: purple;
}

.b-color--lightgreen {
  border-color: lightgreen;
}

.b-color--red {
  border-color: red;
}

/*# sourceMappingURL=style.css.map */
