* {
  margin: 0;
  font-family: "Poppins";
}

body {
  background: radial-gradient(circle, rgb(30, 0, 48) 0%, rgb(0, 0, 0) 100%);
}
body h1 {
  font-size: 3rem;
}
body h2 {
  font-weight: 400;
  font-size: 2rem;
}
body section {
  padding: 100px 0px;
}
body .btn {
  border: none;
  background-color: transparent;
  color: #ffe600;
  margin-top: 20px;
  padding: 12px;
  border-radius: 40px;
  font-weight: bold;
  font-size: 1rem;
  border: 1px solid #ffe600;
  text-decoration: none;
  display: block;
  width: fit-content;
}
body .btn:hover {
  cursor: pointer;
  transition: 0.4s;
  color: #1e0030;
  background-color: #ffe600;
}
body .link {
  color: #fff;
}
body .link:hover {
  color: #ffe600;
  transition: 0.4s;
}

main .top-page {
  position: fixed;
  bottom: 90px;
  right: 30px;
}
main .top-page a {
  text-decoration: none;
}
main .nav-icon {
  position: fixed;
  bottom: 30px;
  right: 30px;
}
main .nav-icon i {
  text-decoration: none;
}
main header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  background-color: transparent;
  padding: 20px 30px 20px 30px;
}
main header img {
  height: 20px;
}
main header i {
  color: #fff;
}
main header i:hover {
  cursor: pointer;
  transition: 0.4s;
  color: #ffe600;
}
main header #checkbox {
  display: none;
}
main header .toggle-mode {
  width: 60px;
  height: fit-content;
  background-color: #4D2D8C;
  border-radius: 64px;
}
main header .toggle-mode #circle {
  width: 20px;
  height: 20px;
  background-color: #ffe600;
  border-radius: 100%;
  border: 5px solid #4D2D8C;
  transition: 0.4s;
  cursor: pointer;
}
main header #checkbox:checked + .toggle-mode #circle {
  transform: translateX(2rem);
  background-color: #1e0030;
}
main nav {
  display: none;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  background-color: #ffe600;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0px 32px;
  z-index: 1;
}
main nav #close-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin-bottom: 50px;
  cursor: pointer;
}
main nav #close-menu:hover {
  cursor: pointer;
  transition: 0.4s;
  opacity: 0.5;
}
main nav #close-menu small {
  margin: 0px 6px;
}
main nav ul {
  list-style-type: none;
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
main nav ul a {
  padding: 6px 0px;
  font-size: 1rem;
  width: 100%;
  text-align: left;
  text-decoration: none;
  color: #1e0030;
}
main nav ul a:hover {
  cursor: pointer;
  transition: 0.4s;
  opacity: 0.5;
}
main .intro {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: row;
}
main .intro .text-intro {
  position: relative;
}
main .intro .text-intro h1 {
  color: #fff;
  font-weight: 500;
  line-height: 1.2;
  width: 500px;
  line-height: 58px;
}
main .intro .text-intro h1 .name {
  animation: textIntro 1s linear forwards;
}
@media only screen and (max-width: 800px) {
  main .intro .text-intro h1 {
    width: 100%;
  }
}
main .intro .text-intro .typing {
  font-size: 4rem;
  font-weight: 100;
  animation: flashing 0.8s linear infinite;
}
main .intro .text-intro h3 {
  font-weight: 300;
  color: #fff;
  animation: slideRight 1s linear forwards;
  animation-delay: 5s;
  opacity: 0;
  margin-top: 6px;
  position: relative;
}
main .intro .text-intro a {
  border: none;
  background-color: transparent;
  color: #ffe600;
  margin-top: 20px;
  padding: 12px;
  border-radius: 40px;
  font-weight: bold;
  font-size: 1rem;
  border: 1px solid #ffe600;
  text-decoration: none;
  display: block;
  width: fit-content;
}
main .intro .text-intro a:hover {
  cursor: pointer;
  transition: 0.4s;
  color: #1e0030;
  background-color: #ffe600;
}
@media only screen and (max-width: 800px) {
  main .intro .text-intro a {
    justify-self: center;
  }
}
@media only screen and (max-width: 800px) {
  main .intro .text-intro {
    text-align: center;
    margin-top: 12px;
  }
}
main .intro .avatar-border::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid #ffe600;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 100%;
  animation: spin 3s linear infinite;
}
main .intro .avatar-border {
  position: relative;
  height: 320px;
  width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
@media only screen and (max-width: 800px) {
  main .intro .avatar-border {
    height: 250px;
    width: 250px;
  }
}
main .intro .avatar-border .avatar {
  height: 300px;
  width: 300px;
  background-image: url("../img/ricardo.jpg");
  background-size: cover;
  background-position: 0px -30px;
  border-radius: 100%;
  animation: expand 0.8s ease-in forwards;
}
@media only screen and (max-width: 800px) {
  main .intro .avatar-border .avatar {
    height: 200px;
    width: 200px;
  }
}
@media only screen and (max-width: 800px) {
  main .intro {
    flex-direction: column-reverse;
  }
}
main .about {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
main .about h2 {
  color: #fff;
}
main .about p {
  color: #fff;
  font-weight: 300;
  width: 50%;
  margin-top: 12px;
}
@media only screen and (max-width: 800px) {
  main .about p {
    width: 90%;
  }
}
main .portfolio {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
main .portfolio h2 {
  color: #fff;
  text-align: center;
}
main .portfolio .gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 12px;
  width: 90%;
}
main .portfolio .gallery .box-gallery {
  width: 350px;
  height: 200px;
  background-color: #1e0030;
  background-size: cover;
  background-position: center;
  margin: 6px;
  border-radius: 12px;
}
main .portfolio .gallery .box-gallery:hover {
  cursor: pointer;
  transition: 0.4s;
  transform: scale(1.1);
}
main .portfolio .github-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 12px;
}
main .portfolio .github-btn a {
  border: none;
  background-color: transparent;
  color: #ffe600;
  margin-top: 20px;
  padding: 12px;
  border-radius: 40px;
  font-weight: bold;
  font-size: 1rem;
  border: 1px solid #ffe600;
  text-decoration: none;
  display: block;
  width: fit-content;
  text-decoration: none;
}
main .portfolio .github-btn a:hover {
  cursor: pointer;
  transition: 0.4s;
  color: #1e0030;
  background-color: #ffe600;
}
main .skills {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
main .skills h2 {
  color: #fff;
}
main .skills .gallery-skills {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 12px;
  width: 60%;
}
main .skills .gallery-skills .box-skill {
  width: 120px;
  height: 120px;
  background-color: #4D2D8C;
  margin: 6px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column-reverse;
}
main .skills .gallery-skills .box-skill:hover {
  cursor: pointer;
  transition: 0.4s;
  transform: scale(1.3);
  background-color: #ffe600;
}
main .skills .gallery-skills .box-skill i {
  font-size: 2.5rem;
  color: #1e0030;
}
main .skills .gallery-skills .box-skill span {
  margin-top: 3px;
  color: #1e0030;
}
main .social-media {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
main .social-media h2 {
  color: #fff;
}
main .social-media .container-social-media {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  padding: 12px;
  border-radius: 60px;
  background-color: #4D2D8C;
  margin-top: 12px;
}
main .social-media .container-social-media .links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-decoration: none;
  color: #1e0030;
  margin: 0px 25px;
}
main .social-media .container-social-media .links:hover {
  cursor: pointer;
  transition: 0.4s;
  color: #ffe600;
}
main .social-media .container-social-media .links i {
  font-size: 2rem;
}
@media only screen and (max-width: 800px) {
  main .social-media .container-social-media .links {
    margin: 25px 0px;
  }
}
@media only screen and (max-width: 800px) {
  main .social-media .container-social-media {
    flex-direction: column;
  }
}
main .credits {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
main .credits img {
  height: 20px;
}
main .credits small {
  color: #fff;
  text-align: center;
  margin-top: 18px;
}

@keyframes expand {
  0% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes slideRight {
  0% {
    right: 200px;
  }
  100% {
    opacity: 1;
    right: 0px;
  }
}
@keyframes textIntro {
  0% {
    color: #fff;
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    color: #ffe600;
    opacity: 1;
  }
}
@keyframes flashing {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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