/* --------- VARIABLES --------- */
/* --------- RESET --------- */
h1,
h2,
h3,
h4 {
  font-weight: normal;
  margin: 0;
  font-size: unset;
}

body,
p,
figure,
footer,
ul {
  margin: 0;
}

ul {
  padding: 0;
}

li {
  list-style: none;
  padding: 0;
}

button {
  all: initial;
}

a {
  text-decoration: none;
  color: unset;
}

/* --------- IMPORT --------- */
/* martian-mono */
@font-face {
  font-display: swap;
  font-family: "Martian Mono";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/martian-mono-v3-latin-regular.woff2") format("woff2"), url("../fonts/martian-mono-v3-latin-regular.ttf") format("truetype");
}
/* tilt-neon */
@font-face {
  font-display: swap;
  font-family: "Tilt Neon";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/tilt-neon-v10-latin-regular.woff2") format("woff2"), url("../fonts/tilt-neon-v10-latin-regular.ttf") format("truetype");
}
/* --------- TYPE --------- */
body {
  font-family: "Tilt Neon", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

.title {
  font-family: "Martian Mono", monospace;
}
.title--s {
  font-size: 1em;
  font-weight: 800;
  margin-bottom: 1em;
}
.title--m {
  display: inline-block;
  font-size: 2em;
  background: linear-gradient(to bottom, transparent 0%, transparent 50%, #00c5a8 50%, #00c5a8 100%);
  padding-bottom: 5px;
  margin-bottom: 1em;
  margin-top: 1em;
}
.title--l {
  font-size: 2em;
  text-align: center;
}
.title--xl {
  font-size: 30vw;
  text-align: center;
  font-weight: 800;
}
.title--xl span {
  display: block;
  line-height: 1.2;
  transform: translateX(-100%);
  opacity: 0;
  animation: titleSlide 0.8s 0.2s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.title--xl span:nth-child(2) {
  animation-delay: 0.5s;
}
.title--xl span:nth-child(3) {
  animation-delay: 0.8s;
}
@keyframes titleSlide {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

nav,
footer {
  font-family: "Martian Mono", monospace;
  font-size: 1em;
}

.list__projects {
  margin-top: 2em;
}
.list__projects__el {
  background-color: #fcfafa;
  border-radius: 4px;
  margin-bottom: 0.75em;
  padding: 0.75em;
  padding-bottom: 2em;
}
.list__projects__el a {
  display: block;
  transition: transform 0.2s;
  font-weight: 400;
}
.list__projects__el a:hover, .list__projects__el a:focus, .list__projects__el a:active {
  transform: scale(1.02);
  border: none;
}
.list__projects__img {
  display: block;
  max-width: 100%;
  margin-bottom: 1em;
}
.list__projects__archive {
  margin-bottom: 2em;
}

.section__play__kitty {
  max-width: 100%;
  cursor: pointer;
  transition: opacity 0.5s ease-in-out;
}

.heart {
  position: absolute;
  font-size: 24px;
  color: #f4004d;
  animation: fadeOut 1s forwards;
  pointer-events: none;
}

/* --------- FOOTER --------- */
.footer {
  padding: 1em;
}
.footer__ul {
  display: flex;
  max-width: 11.3em;
  justify-content: space-evenly;
  margin-left: auto;
}

/* --------- BASE --------- */
html {
  scroll-behavior: smooth;
}

body {
  color: #1d171a;
  background-color: #ffe84c;
}
body.alt {
  background-color: #009caf;
  background-image: url(../images/paw.png);
  background-size: 50%;
}
body.alt .title--m {
  background: linear-gradient(to bottom, transparent 0%, transparent 50%, #ffe84c 50%, #ffe84c 100%);
  margin-top: 0;
}
body.alt a {
  border-color: #ffe84c;
}

p {
  margin-bottom: 1em;
  max-width: 45ch;
}

a {
  color: #1d171a;
  font-weight: 800;
  transition: border-bottom 0.2s;
}
a:hover, a:active, a:focus {
  border-bottom: dashed #009caf 5px;
}

.list {
  max-width: 45ch;
}

/* --------- ANIMATIONS --------- */
h2,
h3 {
  animation: slideFadeIn 0.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

p {
  animation: slideFadeIn 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

li:not(.nav__el) {
  animation: slideFadeIn 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* --------- SECTION --------- */
.section {
  padding: 1em;
  max-width: 550px;
  margin: auto;
  position: relative;
}
.section__home {
  position: relative;
  min-height: 100vh;
}
.section__home:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #009caf;
  background-image: url(../images/paw.png);
  background-size: 50%;
  -webkit-clip-path: polygon(0 0, 100% 0, 0 100%, 0 100%);
          clip-path: polygon(0 0, 100% 0, 0 100%, 0 100%);
  animation: slideIn 1s forwards cubic-bezier(0.785, 0.135, 0.15, 0.86);
  z-index: -1;
}

/* --------- IMAGES --------- */
.avatar {
  max-width: 4em;
  border-radius: 100%;
  display: block;
  margin: auto;
  margin-bottom: 2em;
  border: dashed #009caf 5px;
}
.avatar:hover {
  animation: rotation 1s;
}

.kitty {
  max-width: 45vw;
}
.kitty--center {
  display: block;
  margin: auto;
}
.kitty--back {
  display: block;
  margin: auto;
}

/* --------- LINK --------- */
.list__social__el:before {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 5px;
  margin-bottom: 2px;
  vertical-align: middle;
  content: "";
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
}
.list__social__el--github:before {
  background-image: url(../images/icon-github.svg);
}
.list__social__el--ig:before {
  background-image: url(../images/icon-ig.svg);
}

.nav {
  display: flex;
  justify-content: space-evenly;
  margin-top: 2em;
}
.nav a:hover, .nav a:focus, .nav a:active {
  border: none;
}
.nav__el {
  transition: transform 0.2s;
}
.nav__el:hover, .nav__el:active, .nav__el:focus {
  transform: scale(1.05);
}

/* --------- EXTRA --------- */
.hidden {
  display: none;
}

.center {
  text-align: center;
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes slideFadeIn {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-50px);
  }
}
/* --------- TAB --------- */
@media screen and (min-width: 460px) {
  /* --------- BASE --------- */
  .list__projects {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
  p {
    margin-left: auto;
    margin-right: auto;
  }
  /* --------- FONT --------- */
  .title--l {
    font-size: 4em;
  }
  .title--xl {
    font-size: 15vw;
  }
  /* --------- SECTION --------- */
  .section__home {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .section__projects {
    max-width: 100%;
  }
  /* --------- IMAGES --------- */
  .kitty {
    max-width: 175px;
  }
}
/* --------- DESKTOP --------- */
@media screen and (min-width: 820px) {
  /* --------- BASE --------- */
  body.projects,
  .section__home:before {
    background-size: 25%;
  }
  /* --------- FONT --------- */
  body {
    font-size: 20px;
  }
  .title--xl {
    text-align: left;
  }
  /* --------- SECTION --------- */
  .section__home {
    flex-direction: row;
  }
  .section__home__container {
    margin-left: auto;
  }
  .section__home:before {
    -webkit-clip-path: polygon(0 0, 60% 0, 40% 100%, 0 100%);
            clip-path: polygon(0 0, 60% 0, 40% 100%, 0 100%);
  }
  /* --------- IMAGES --------- */
  .avatar {
    max-width: 223px;
    border: dashed #009caf 10px;
  }
  .kitty {
    max-width: 11.3em;
  }
}
/* --------- DESKTOP - XXL --------- */
@media screen and (min-width: 1000px) {
  /* --------- BASE --------- */
  body.projects,
  .section__home:before {
    background-size: 15%;
  }
  /* --------- FONT --------- */
  .title--xl {
    font-size: 11.3em;
  }
  /* --------- SECTION --------- */
  .section__home__container {
    margin-right: auto;
  }
  /* --------- EXTRA --------- */
  .flex {
    max-width: 1400px;
    margin: auto;
    display: flex;
    justify-content: space-evenly;
  }
  .flex .section {
    margin: unset;
  }
}/*# sourceMappingURL=style.css.map */