@import url('https://fonts.googleapis.com/css2?family=Caprasimo&family=Julius+Sans+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend+Peta:wght@100&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

/* Hero */

.hero {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero, .content-work, .about, .contact {
  background-color: #eae4d9;
}

.content {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-evenly;
  flex-direction: column-reverse;
  align-items: center;
  color: #C89175;
  background-color: #000;
  padding: 60px;
  animation: transitionButton 2.3s;
}

.about-me {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
  animation: textOpacity 2.3s;
  animation-delay: 1.8s;
}

.brief a {
  display: inline-block;
  color: #C89175;
  text-underline-offset: 4px;
}

.about-me a, p, h1, h2, .job-description h3, h4, p, .about-me a, h1, h2, .job-description h3 h4 p {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.1rem;
  line-height: 1.4;
}

.my-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.set-visibility {
  visibility: hidden;
}

.my-info a {
  margin: 0 20px;
  display: inline-block;
  text-decoration: none;
  font-size: 2.5rem;
  line-height: 3.5rem;
  color: #C89175;
  font-family: 'Lexend Peta', sans-serif;
  text-transform: uppercase;
}

.my-info a:nth-child(1) {
  animation: transitionTop 1.8s;
  animation-delay: 2s;
}

.my-info a:nth-child(2) {
  animation: transitionTop 1.8s;
  animation-delay: 2.1s;
}

.my-info a:nth-child(3) {
  animation: transitionTop 1.8s;
  animation-delay: 2.2s;
}

.my-info a:nth-child(4) {
  animation: transitionTop 1.8s;
  animation-delay: 2.3s;
}

/* Work */

.content-work, .about {
  width: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title h2 {
  font-family: 'Lexend Peta', sans-serif;
  text-transform: uppercase;
  font-size: 2.6rem;
  letter-spacing: 1rem;
  text-align: center;
}

.content-work .title h2 {
  margin-bottom: 30px;
}

.crazy-stream, .moove-it-qubika, .content-about {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.asset {
  height: 450px;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
}

.asset-frame-left {
  height: 250px;
  width: 250px;
  position: relative;
  top: -40px;
  left: 30px;
  display: flex;
  justify-content: center;
  background-color: #C89175;
}

.asset-frame-left img {
  position: relative;
  bottom: -70px;
  left: -50px;
  width: 250px;
  height: 250px;
  aspect-ratio: auto;
}

.asset-frame-right {
  height: 250px;
  width: 250px;
  position: relative;
  top: -25px;
  left: -25px;
  display: flex;
  justify-content: center;
  background-color: #C89175;
}

.asset-frame-right img {
  position: relative;
  bottom: -60px;
  left: 50px;
  width: 250px;
  height: 250px;
  aspect-ratio: auto;
}

.job-description {
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin: 20px;
}

.job-description h3, h4, p {
  text-align: center;
  margin: 10px;
}

.job-description h4 a {
  color: #000;
  text-underline-offset: 8px;
}

/* About */

.about {
  width: 100%;
  height: 100vh;
  min-height: 812px;
}

.content-about .title h2 {
  margin: 40px 0;
}

.about-description {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.angeles-asset {
  padding: 10px 0;
  border: 30px solid #C89175;
  background-color: #000;
  display: flex;
  justify-content: center;
}

.angeles-asset figure img {
  width: 200px;
  height: auto;
  aspect-ratio: auto;
  border: 20px solid #000;
}

.angeles-description {
  margin: 40px 0;
  display: flex;
  align-items: center;
}

.angeles-description p span {
  display: block;
}

.active-right {
  animation: transitionRight 1s;
}

.active-left {
  animation: transitionLeft 1s;
}

/* Contact */

.content-contact {
  width: 100%;
  height: 100vh;
  min-height: 812px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.contact-description {
  text-align: center;
  margin: 80px;
}

.contact-description h4 {
  margin: 10px 0;
}

.contact-description ul {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.contact-description li {
  margin: 40px;
}

.contact-description li a {
  font-size: 5rem;
  color: #000;
}

.contact-description li a:hover {
  color: #C89175;
}

.email a {
  color: #000;
  text-underline-offset: 8px;
}

@media (min-width: 481px) {
  .my-info a {
    font-size: 4.5rem;
    line-height: 4.5rem;
  }
}

@media (min-width: 768px) {
  .my-info a {
    font-size: 4.5rem;
    line-height: 4.5rem;
  }

  .about-me {
    max-width: 450px;
  }

  .about-me h1, .about-me h2, .brief p, .brief a {
    font-size: 1.2rem;
  }

  .title h2 {
    font-size: 6.3rem;
  }
  
  /* About */
  .content-about {
    height: 100%;
    justify-content: space-evenly;
  }

  .about-description {
    align-items: center;
  }

  .angeles-asset {
    width: fit-content;
  }

  /* Contact */
  .content-contact {
    justify-content: space-evenly;
  }

  .contact-description {
    margin: 40px;
  }
}

@media (min-width: 1024px) {
  /* Hero */

  .content {
    height: auto;
    justify-content: center;
    flex-direction: row;
    align-items: flex-end;
    padding: 100px;
    margin: 80px;
  }
  .about-me {
    width: 40%;
    text-align: start;
  }

  .about-me h1, .about-me h2, .brief p, .brief a {
    font-size: 1rem;
  }

  .about-me h2 {
    margin: 10px 0;
  }

  .brief p {
    margin: 0;
    text-align: start;
  }

  .my-info {
    align-items: flex-start;
  }

  .my-info a {
    font-size: 3.5rem;
  }

  .my-info a:hover {
    font-style: italic;
  }

  /* Work */

  .content-work, .about {
    padding: 0;
  }

  .title h2 {
    font-size: 6rem;
  }

  .crazy-stream, .moove-it-qubika, .content-about {
    width: 90%;
    padding: 40px;
    margin: 50px;
    justify-content: space-evenly;
    flex-direction: row;
  }

  .moove-it-qubika {
    flex-direction: row-reverse;
  }

  .content-about {
    flex-direction: column;
  }

  .asset {
    width: 450px;
  }

  .job-description {
    height: 200px;
    width: 550px;
  }

  .job-description h3, h4, p {
    text-align: start;
  }

  /* About */

  .about {
    width: 100%;
    height: auto;
  }

  .about-description {
    margin: 70px;
    flex-direction: row;
  }

  .angeles-asset {
    width: 380px;
    border: 30px solid #C89175;
  }

  .angeles-asset figure img {
    width: 300px;
    border: 40px solid #000;
  }

  .angeles-description {
    max-width: 320px;
  }

  /* Contact */

  .contact {
    padding: 30px;
  }

  .contact-description h4, .contact-description p {
    text-align: center;
    font-size: 1.5rem;
  }

  .contact-description li a {
    font-size: 6rem;
  }

  .email a:hover {
    color: #C89175;
  }
}

@media (min-width: 1201px) {
  .content {
    justify-content: space-evenly;
    max-width: 1440px;
  }

  .my-info a {
    font-size: 5.6rem;
    line-height: 7.5rem;
  }

  .angeles-description {
    max-width: 420px;
  }
}

/* Keyframes */

@keyframes transitionButton {
  from {
    transform: translateY(100vh);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes textOpacity {
  from {
    opacity: -1;
  }

  to {
    opacity: 1;
  }
}

@keyframes transitionTop {
  from {
    transform: translateY(-1000%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes transitionLeft {
  from {
    transform: translateX(-100vw);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes transitionRight {
  from {
    transform: translateX(200vw);
  }
  
  to {
    transform: translateX(0);
  }
}
