@import url('https://fonts.googleapis.com/css2?family=Bona+Nova+SC:ital,wght@0,400;0,700;1,400&family=Domine:wght@400..700&family=Great+Vibes&family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "IBM Plex Mono", monospace;
    font-weight: 400;
    font-style: normal;
    color: #F5EAEA;
}

html{
    font-size: 4px;
}

span {
    color: #7FCD91;
}

h1, span{
    font-size: 6rem;
}

h2 {
    font-size: 5rem;
}

body {
    background-color: #4D4646;
}

p {
    font-size: 4rem;
}

a{
    text-decoration: none;
}

section {
    margin-bottom: 50px;
    padding: 10px;
    width: 100%;
}

/* header  */

.header-container {
    max-width: 1440px;
    padding: 20px;
    margin-inline: auto;
}

.header-content{ 
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.header-navbar {
    display: flex;
    align-items: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-right: 10px;
}

.list-item {
    list-style: none;
}

.nav-item {
    font-size: 3.2rem;
    transition: 250ms;
    transition-property: color;
    text-decoration: none;
}

.nav-item, .nav-item:visited {
  color: #F5EAEA;
}

.nav-item:hover {
  color:#7FCD91;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: white;
}

/* header */

/* main */

.main-container {
    margin-top: 100px;
    max-width: 1200px;
    margin-inline: auto;
}

/* main */

/* hero */

.hero-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 80px;
    margin-bottom: 40px;
}

.hero-text {
    max-width: 550px;
}

.hero-text h1 , .hero-text span{
    font-size: 8rem;
}

/* hero */


/* stack */

.stack-sep {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.line {
    width: 80%;
    border: 1px solid #7FCD91;
}

.stack-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.stack-icon {
    max-width: 88px;
}

.stack-items {
    text-align: center;
    width: 100%;
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.stack-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* projects */  

.projects-sep {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.line-projects {
    width: 70%;
}

.projects-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-items {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.project-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 30px;
    box-shadow: rgba(17, 12, 46, 0.15) 0 48px 100px 0;
    margin-bottom: 30px;
    border-radius: 5px;
}

.project-text > p > a {
  font-size: 4rem;
}



.project-desc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.repo-button-icon {
    display: flex;
    border: 3px #fff solid;
    width: fit-content;
    height: 50px;
    cursor: pointer;
  }
  
  .icon {
    background-color: #fff;
    padding: 10px 10px 5px 10px;
  }
  
  .icon svg {
    width: 25px;
    height: 25px;
  }
  
  .repo-cube {
    transition: all 0.4s;
    transform-style: preserve-3d;
    width: 200px;
    height: 20px;
  }
  
  .repo-button-icon:hover {
    border-color: #ff98a2;
  }
  
  .repo-button-icon:hover .repo-cube {
    transform: rotateX(90deg);
  }
  
  .repo-side {
    position: absolute;
    height: 47px;
    width: 200px;
    display: flex;
    font-size: 4rem;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: bold;
  }
  
  .repo-top {
    background: #ff98a2;
    color: #fff;
    transform: rotateX(-90deg) translate3d(0, 13.5px, 2em);
  }
  
  .repo-front {
    background: #222229;
    color: #fff;
    transform: translate3d(0, 0, 1em);
  }
  

/* project */

/* cubo */

.cube {
    animation: spin 6s linear infinite;
    height: 40em;
    position: relative;
    transform-style: preserve-3d;
    width: 40em;
    margin: 1em auto;
  }
  
  .cube div {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0px, rgba(54, 226, 248, 0.5) 0%, rgba(54, 226, 248, 0.5) 4px, rgba(0, 0, 0, 0) 0px),
                linear-gradient(90deg, rgba(0, 0, 0, 0) 0px, rgba(54, 226, 248, 0.5) 0%, rgba(54, 226, 248, 0.5) 4px, rgba(0, 0, 0, 0) 0px);
    background-size: calc(40em / 8) calc(40em / 8), calc(40em / 8) calc(40em / 8);
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(54, 226, 248, 0.5);
    display: block;
    height: 40em;
    position: absolute;
    width: 40em;
  }
  
  .cube div:before {
    background: radial-gradient(ellipse at center, #F5EAEA 30%, #7FCD91 100%);
    content: '';
    height: 100%;
    position: absolute;
    width: 100%;
  }
  
  .cube .back {
    transform: rotateX(180deg) translateZ(20em);
  }
  
  .cube .bottom {
    transform: rotateX(-90deg) translateZ(20em);
  }
  
  .cube .front {
    transform: rotateY(0deg) translateZ(20em);
  }
  
  .cube .left {
    transform: rotateY(-90deg) translateZ(20em);
  }
  
  .cube .right {
    transform: rotateY(90deg) translateZ(20em);
  }
  
  .cube .top {
    transform: rotateX(90deg) translateZ(20em);
  }
  
  @keyframes spin {
    from {
      transform: translateZ(-20em) rotateX(0) rotateY(0deg);
    }
    to {
      transform: translateZ(-20em) rotateX(360deg) rotateY(360deg);
    }
  }

.contact-button {
  padding: 10px 20px;
  border: unset;
  color: #212121;
  z-index: 1;
  background: #e8e8e8;
  position: relative;
  font-weight: 1000;
  font-size: 3.2rem;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
  box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
  transition: all 250ms;
  overflow: hidden;
  cursor: pointer;
}
   
.contact-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #7FCD91;
  z-index: -1;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
  box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
  transition: all 250ms
}
   
.contact-button:hover {
  color: #e8e8e8;
}
   
.contact-button:hover::before {
  width: 100%;
}

/* BUTTON  */


.button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
    gap: 15px;
    background-color: #181717;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: 400ms;
    transition-property: background-color;
    border: 2px solid #181717;
  }

.button .text {
    color: white;
    font-weight: 700;
    font-size: 3rem;
    transition: 400ms;
}

.button svg path {
    transition: 400ms;
}

.button:hover {
    background-color: #F5EAEA;
}

.button:hover .text {
    color: #181717;
}

.button:hover svg path {
    fill: #181717;
}


ul {
  list-style: none;
}

.example-2 {
  display: flex;
  justify-content: center;
  align-items: center;
}
.example-2 .icon-content {
  margin: 0 10px;
  position: relative;
}
.example-2 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}
.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}
.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #000;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}
.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}
.example-2 .icon-content a:hover {
  color: white;
}
.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.example-2 .icon-content a[data-social="linkedin"] .filled
 {
  background-color: #0274b3;
}

.example-2 .icon-content a[data-social="github"] .filled {
  background-color: #24262a;
}

@media (max-width: 768px) {

  .project-item {
    grid-template-columns: 100%;
  }

  .stack-icon {
    max-width: 70px;
  }

  .main-container {
      margin-top: 50px;
  }

}

.freelance-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    padding: 40px 30px;
    box-shadow: rgba(17, 12, 46, 0.15) 0 48px 100px 0;
    margin-bottom: 30px;
    border-radius: 5px;
}

.freelance-name {
    text-align: center;
    font-size: 4.5rem;
}

.freelance-img-container {
    border-radius: 5px;

    overflow: hidden;
    width: 100%;
}

.freelance-img {
    width: 100%;
}

.freelance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.freelance-link {
    font-size: 4rem;
}

.freelance-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.freelance {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.project-name {
    text-align: center;
}




.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.contact-main {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
}

.contact-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.contact-text > h2 {
    font-size:6rem;
}

.contact-text > p {
    font-size:4rem;
}

.dev-pic-container {
    border-radius: 5px;
    overflow: hidden;
    width: 40%;
}

.dev-pic {
    width: 100%;
}

.social-button {
    width: 150px;
    --green: #1BFD9C;
    font-size: 15px;
    padding: 0.7em 2.7em;
    letter-spacing: 0.06em;
    position: relative;
    cursor: pointer;
    font-family: inherit;
    border-radius: 0.6em;
    overflow: hidden;
    transition: all 0.3s;
    line-height: 1.4em;
    border: 2px solid var(--green);
    background: linear-gradient(to right, rgba(27, 253, 156, 0.1) 1%, transparent 40%,transparent 60% , rgba(27, 253, 156, 0.1) 100%);
    color: var(--green);
    box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.4), 0 0 9px 3px rgba(27, 253, 156, 0.1);
}

.social-button:hover {
    color: #82ffc9;
    box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.6), 0 0 9px 3px rgba(27, 253, 156, 0.2);
}

.social-button:before {
    content: "";
    position: absolute;
    left: -4em;
    width: 4em;
    height: 100%;
    top: 0;
    transition: transform .4s ease-in-out;
    background: linear-gradient(to right, transparent 1%, rgba(27, 253, 156, 0.1) 40%,rgba(27, 253, 156, 0.1) 60% , transparent 100%);
}

.social-button:hover:before {
    transform: translateX(15em);
}

.social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #333;
    color: #fff;
    padding: 20px;
    font-size: 0.9rem;
}

.footer p {
    margin: 0;
}

@media (max-width: 808px) {
  .cube-container {
    display: none;
  }

    html {
        font-size: 3px;
    }
}