@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@100&family=Roboto+Mono:wght@200&display=swap);

:root{
  --font-primary: 'Roboto Mono', monospace;
  --font-secondary: 'Roboto Mono', monospace;
  --text-color: #000000;
}

/* Base */

*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}


html{
  scroll-behavior: smooth;
}

body{
  background-color: #ffffff;
  color: var(--text-color);
  font-family: var(--font-primary);
}

body::-webkit-scrollbar{
  display: none;
}

a{
  text-decoration: none;
}

.container{
  max-width: 1280px;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.container-medium{
  max-width: 968px;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

/* Header */

.header{
  width: 100%;
  position: absolute;
  top:0;
  left: 0;
  z-index: 100;
}

.nav{
  height: 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo{
  font-size: 1.25rem;
  color: var(--text-color);
}

.nav-toggle{
  display: inline-flex;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-color);
}

@media screen and (max-width:767px) {
 .nav-menu{
    position: fixed;
    background-color: #ffffff;
    width: 100%;
    height: 30%;
    top:-100%;
    left:0;
    box-shadow: rgba(99,99,99,0.2) 0px 2px 8px 0px;
    z-index: 100;
    padding: 4rem 0 0 3rem;
    transition: .3s;  
 } 
}

.nav-close{
  font-size: 1.5rem;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  cursor: pointer;
}

.nav-list{
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
  list-style: none;
}

.nav-link{
  color: var(--text-color);
  background:-webkit-linear-gradient(360deg, rgb(0, 0, 0) 0%, rgb(48, 48, 48) 25%, rgb(103, 103, 103) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
  transition: .3s;
  font-size: 1rem;
  letter-spacing: .1rem;
  color: #000000b3;
}

.nav-link:hover{
  color: #00000079;
}

.show-menu{
  top:0;
  right: 0;
}

/* Hero */

.hero{
  background-color: #ffffff;
  position: relative;
  z-index: -1;
  padding: 6rem 0;
  display: flex;
  align-items: center;
}

.hero h1{
  font-family: var(--font-secondary);
  font-size: 3rem;
  background:-webkit-linear-gradient(360deg, rgb(0, 0, 0) 0%, rgb(48, 48, 48) 25%, rgb(103, 103, 103) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 3rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.hero p{
  color: #000000b3;
  font-size: .8rem;
  letter-spacing: 1px;
  line-height: 1.3rem;
}

.hero h2{
  font-family: var(--font-secondary);
  font-weight: 300;
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

/* Experience */

.experience .container-medium hr{
  border-color: #c6c6c6;
  margin-bottom: 50px;
}

.experience{
  height: 100%;
  padding-top: 0px;
  padding-bottom: 12%;
}

.experience h3{
  background:-webkit-linear-gradient(360deg, rgb(0, 0, 0) 0%, rgb(48, 48, 48) 25%, rgb(103, 103, 103) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 300;
  letter-spacing: .2rem;
}

.accordion-experience{
  position:relative;
  width: 100%;
  color: rgb(0, 0, 0);
  margin-top: 2rem;
}

.accordion-experience section{
  display: block;
  width: 100%;
  left: 0;
}

.accordion-experience section input[name="sections"]{
  left: -9999px;
  position:absolute;
}

.accordion-experience section input[name="sections"]:checked + label{
  background-color: #ffffff;
  color: #000000;
  border:2px solid #ffffff;
}

.accordion-experience section input[name="sections"]:checked ~ article{
  display: block;
}

.accordion-experience section label{
  font-family: var(--font-primary);
  color: #000000;
  font-weight: 300;
  cursor: pointer;
  display: block;
  letter-spacing: .1rem;
  font-size: 1.2rem;
  padding: 1rem  0.83rem;
  position: relative;
  width: 100%;
  z-index: 100;
  border: 2px solid #1f1e1e;
}

.accordion-experience section article{
  display: none;
  left:0;
  width: 100%;
  position:relative;
  top:0;
  font-family: var(--font-primary);
  font-weight: 300;
  line-height: 1.7;
  padding:2rem 0;
}

.accordion-experience section article ul li{
  font-weight: 300;
  font-size: 16px;
  color: #000000de;
  list-style: disc;
  list-style-position: inside;

}

.accordion-experience section article > p{
  color: #3c3c3c;
  font-weight: 300;
  font-size: 14px;
  margin: 16px 0 16px 0;
  letter-spacing: 1px;
  opacity: .8;
}

.title-experience{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.title-experience h2{
  color: #000000;
}

.accordion-experience section article:after{
  background-color: transparent;
  bottom: 0;
  content: "";
  display: block;
  left:-229;
  position: absolute;
  top:0;
  width: 220px;
  z-index: 1;
}

/* Project */

.featured-project .container-medium hr{
  border-color: #c6c6c6;
  margin-bottom: 50px;
}

.featured-project h4{
  font-family: var(--font-primary);
  font-weight: 300;
  text-transform: uppercase;
}

.box-featured-projects{
  margin-top: 30px;
  display: grid;
  gap: 20px 20px;
}

.box-featured-projects .project img{
  width: 100%;
  height: auto;
}

.head-project{
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
}

.head-project h3{
  font-family: var(--font-primary);
  font-weight: 400;
  letter-spacing: 1px;
  width: 80%;
}

.box-featured-projects .project p{
  margin-top: 10px;
  font-family: var(--font-prmary);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: .05rem;
  line-height: 1.3rem;
}

.box-featured-projects .project .p-tech{
  color: #000000;
}

/* Footer */

footer{
  padding:40px 0 60px 0;
}

footer .container-medium hr{
  border-color: #c6c6c6;
  margin-bottom: 50px;
}

footer .container-medium h3{
  background:-webkit-linear-gradient(360deg, rgb(0, 0, 0) 0%, rgb(48, 48, 48) 25%, rgb(103, 103, 103) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-primary);
  font-weight: 300;
  letter-spacing: 1px;
  width: 80%;
}

footer .box-contact{
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 20px
}

.box-contact .contact{
  padding: 12px 18px;
  justify-content: center;
  border-radius: 4px;
  border-image-slice: 1;
  background-color: transparent;
}

.contact-email{
  border:2px solid;
  border-image-source: linear-gradient(132.33deg, #545354 -0.67%, #b0afb0 102.54%);
}

.contact-linkedin{
  border:2px solid;
  border-image-source: linear-gradient(132.33deg, #545354 -0.67%, #b0afb0 102.54%);
}

.contact-github{
  border: 2px solid;
  border-image-source: linear-gradient(132.33deg, #545354 -0.67%, #b0afb0 102.54%);
}

.contact-google-maps{
  border: 2px solid;
  border-image-source: linear-gradient(132.33deg, #545354 -0.67%, #b0afb0 102.54%);
}

.box-contact .contact{
  cursor: pointer;
}

.box-contact .contact p{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 300;
  justify-content: center;
}

@media screen and (min-width: 767px) {
  /* Base */

  .container, .container-medium{
    margin-left: auto;
    margin-right: auto;
  }

  /* Header */

  .nav{
    height: 5rem;
  }

  .nav-toggle, .nav-close{
    display: none;
  }

  .nav-list{
    flex-direction: row;
    column-gap: 3rem;
  }

  .nav-menu{
    margin-left: auto;
  }

  /* Hero */

  .hero{
    display: block;
    padding: 13rem  0;
  }

  .hero p{
    font-size: 1rem;
    text-align: justify;
  }

  /* Experince */
  .accordion-experience{
    width: 100%;
    color: rgb(0, 0, 0);
    margin-top: 3rem;
  }

  .accordion-experience section label{
    border-color: #d1d1d1;
    border-style: solid;
    border-width: 0 0 0 2px;
    width: 20%;
  }

  .accordion-experience section label:hover span{
    transition: all .3s ease-in-out;
  }

  .accordion-experience section label:hover span{
    margin-left: 6px;
  }

  .accordion-experience section input[name="sections"]:checked + label{
    background-color: #d1d1d1;
    color: #000000;
    border-style: solid;
    border-width: 0 0 0 2px;
  }

  .accordion-experience section article{
    position: absolute;
    width: 70%;
    left:26.5%;
    padding: 0;
  }

  .title-experience{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* Project */

  .box-featured-projects{
    grid-template-columns: repeat(2, 1fr);
  }

  .project{
    cursor: pointer;
  }

  .project img{
    transition: all .3s ease-in-out;
  }

  .project:hover img{
    transform: scale(1.02)
  }

  /* Footer */

  footer .container-medium .box-contact{
    grid-template-columns: repeat(4, 1fr);
  }

  .box-contact .contact p{
    transition: all .3s ease-in-out;
    font-size: 1rem;
    color: #000000;
  }


  .box-contact .contact:hover p{
    font-size: 1.2rem;
    color: #000000;
  }

}
