/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
/*===== VARIABLES CSS =====*/
:root{
  --header-height: 3rem;
  --font-semi: 600;
}

:root{
  --first-color: #ffffff;
  --second-color: #010c13;
  --bg-color: #333647;
}

:root{
  --body-font: 'Poppins', sans-serif;
  --big-font-size: 2rem;
  --h2-font-size: 1.25rem;
  --normal-font-size: 0.938rem;
}
@media screen and (min-width: 768px){
  :root{
    --big-font-size: 3.5rem;
    --h2-font-size: 2rem;
    --normal-font-size: 1rem;
  }
}

/*===== Margenes =====*/
:root{
  --mb-1: 0.5rem;
  --mb-2: 1rem;
  --mb-3: 1.5rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;
}

/*===== z index =====*/
:root{
  --z-back: -10;
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
}

.maintext{
  text-align: center;
  margin-top: 350px;
  margin-bottom: 350px;
  -webkit-touch-callout: none; 
  -webkit-user-select: none;
   -khtml-user-select: none;
     -moz-user-select: none; 
      -ms-user-select: none;
          user-select: none; 
                                

}

.maintext h1{
  text-align: center;
  font-size: 65px;
  color: #ffffff;
}
.maintext h3{
  margin: 0 0 0 -250px;
  text-align: center;
  font-size: 19px;
  color: #ffffff;
}

.maintext h2{
  margin: 0 0 0 22px;
  text-align: center;
  font-size: 20px;
  color: #ffffff;
}



/*===== BASE =====*/
*,::before,::after{
  box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
}
body{
  margin-bottom:50px;
  background-color: #2c2d30;
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-image: url(../../img/bg.gif);  
}

h1,h2,p{
  margin: 0;
}
ul{
  margin: 0;
  padding: 0;
  list-style: none;
}
a{
  text-decoration: none;
}
img{
  max-width: 100%;
  height: auto;
  display: block;
}
canvas.particles-js-canvas-el{
  position: absolute;
  height: 100% !important;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  z-index: -10000;
  margin: 0px;
}


/*===== CLASS CSS ===== */
.section-title{
  position: relative;
  font-size: var(--h2-font-size);
  color: var(--first-color);
  margin-top: var(--mb-2);
  margin-bottom: var(--mb-4);
  text-align: center;
}
.section-title::after{
  position: absolute;
  content: "";
  width: 64px;
  height: 0.18rem;
  left: 0;
  right: 0;
  margin: auto;
  top: 2rem;
  background-color: #6f66e1;
}
.section{
  padding-top: 3rem;
  padding-bottom: 2rem;
}


/*BUTTONS*/
.button{
  margin-top: 20px;
  display: inline-block;
  background-color: #6f66e1;
  color: #fff;
  padding: .75rem 2.5rem;
  font-weight: var(--font-semi);
  border-radius: .5rem;
}
.button:hover{
  box-shadow: 0 10px 36px rgba(0,0,0,.15);
}



/* ===== FOOTER =====*/
.footer{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  color: #fff;
  text-align: center;
  font-weight: var(--font-semi);
  padding: 1rem 0;
}
.footer__title{
  font-size: 2rem;
  margin-bottom: var(--mb-4);
}
.footer__social{
  margin-bottom: var(--mb-4);
}
.footer__icon{
  font-size: 1.5rem;
  color: #fff;
  margin: 0 var(--mb-2)
}





/* ===== MEDIA QUERIES=====*/
@media screen and (min-width: 768px){
  body{
    margin: 0;
  }
  .section{
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
  .section-title{
    margin-top: 65px;
    margin-bottom: var(--mb-6);
  }
  .section-title::after{
    width: 80px;
    top: 3rem;
  }
  .home{
    height: 100vh;
  }
  .home__data{
    align-self: flex-end;
  }
  .home__social{
    padding-top: 0;
    padding-bottom: 2.5rem;
    flex-direction: row;
    align-self: flex-end;
  }
  .home__social-icon{
    margin-bottom: 0;
    margin-right: var(--mb-4);
  }
  .home__img{
    width: 457px;
    bottom: 15%;
  }

  .about__container, .skills__container{
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    text-align: initial;
  }
  .about__img img{
    width: 300px;
  }
  .work__container{
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2,1fr);
    column-gap: 2rem;
  }
  .contact__form{
    width: 360px;
  }
  .contact__container{
    justify-items: center;
  }
}

@media screen and (min-width: 1024px){
  .bd-grid{
    margin-left: auto;
    margin-right: auto;
  }
  .home__img{
    right: 10%;
  }
}

@media (max-width: 1000px) {
  .fa-github {
    color: #6f66e1;
    font-size: 80px;
    text-shadow: 0 0px 20px #6f66e1;
    margin: 0 0 0 60px;

  }
  .fa-youtube {
    color: #6f66e1;
    font-size: 80px;
    margin: 0 0 0 80px;
    text-shadow: 0 0px 20px #6f66e1;
  }
  .fa-reddit {
    color: #6f66e1;
    font-size: 80px;
    margin: 0 0 0 60px;
    text-shadow: 0 0 20px #6f66e1;
  }
  .fa-spotify {
    color: #6f66e1;
    margin-top: 30px;
    margin-left: 80px;
    font-size: 80px;
    margin: 1 1 1 80px;
    text-shadow: 0 0px 20px #6f66e1;
  }
  .bd-grid{
    margin-left: auto;
    margin-right: auto;
  }
  .maintext{
    text-align: center;
    margin-top: 200px;
    margin-bottom: 350px;
  
  }

}