/*
 * Globals
 */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anta&display=swap');


/*
 * Base structure
 */


body {
  background-color: #222;
  display: flex;
  min-height: 100vh;
  min-width: 37.5em;
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
  place-content: center;
}

.cover-container {
  display: flex;
  flex-direction: column;
  background-color: #222;
  width: 100vw;
  height: 100%;
  padding: 10px;
  max-width: 62em;
  border-left: 1px solid #ab2fed;
  border-right: 1px solid #ab2fed;
  box-shadow: 1em 1em 2em rgba(0, 0, 0, .5), -1em -1em 2em rgba(0, 0, 0, .5);
}


/*
 * Header
 */

.nav-masthead .nav-link {
  color: rgba(197, 142, 223, 0.5);
  border-bottom: .25rem solid transparent;
  margin-bottom: 1em;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(197, 142, 223, 0.5);
}

.nav-masthead .nav-link+.nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #ab2fed;
  border-bottom-color: #ab2fed;
}

header {
  border-bottom: 1px solid #ab2fed;
}

/* scroll bar */
body::-webkit-scrollbar {
  width: 12px;
}

/* controla el color de fondo de la barra de scroll */
body::-webkit-scrollbar-track {

  background: transparent
}

/* controla el color y el radio de la barra de scroll*/
body::-webkit-scrollbar-thumb {
  background-color: #ab2fed;
  border-radius: 10px;

}

/* general styles */



.img-project-page {
  width: 30%;
  height: auto;
  border-radius: 1em;
}

.personal-title {
  font-family: 'Anta', sans-serif;
  font-weight: 600;
  font-size: 2.5em;
  padding: 1em, 0;
  background: linear-gradient(#c58edf, #ab2fed);
  background-clip: text;
  color: transparent;
}

.personal {
  font-family: 'Anta', sans-serif;
  color: #f8f8ff;
}
.avatar{
  width: 60%;
  height: auto;
  margin-bottom: 1em;
}
.project-title {
  font-size: small;
  color: #fff;
  text-align: center;
  font-family: 'Fira Code', monospace;
}
.projects{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1em;
  padding: 1em;
}

p {
  font-family: 'Fira Code', monospace;
  color: #f8f8ff;
  padding: 0.5em 1em;
}


span a {
  text-decoration: none;
  color: #ab2fed;
}



.container {
  position: relative;
  margin-top: 1rem;
  justify-content: center;
  align-content: center;
  background-color: #222;
}


.redes {
  align-content: center;
  justify-content: center;
  height: 1.5em;
  background: linear-gradient(#ab2fed, #a741d6) transparent;
  background-clip: image;
  opacity: 0.7;
}

.btn {
  background-color: #ab2fed;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 0.2em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 0.5em;
  transition: background-color 0.3s ease;
  font-family: 'Fira Code', monospace;
}

.btn:hover {
  color: #ab2fed;
  border: 1px solid #ab2fed;
  background-color: #222;
}

.box {
  width: fit-content;
  border: 1px solid #ab2fed;
  align-items: center;
  justify-content: center;
    box-shadow: 0.5em 0.5em 0.5em rgba(0, 0, 0, 0.5);
}

.logo {
  width: 80px;
  height: 75px;
}

.btn-redes {
  min-width: 30px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  box-shadow: 0.5em 0.5em 0.5em rgba(0, 0, 0, 0.5);
}


.btn-redes:hover,
.box:hover {
  box-shadow: none;
}



.footer {
  padding-top: 0.5em;
  border-top: solid 1px #ab2fed
}

.footer p {
  font-size: 0.7em;
  text-align: center;
}

.gracias {
  margin: 15rem 0;
}


/* media queries */

@media (max-width: 576px) {
  body {
    min-width: fit-content;
  }

  .cover-container {
    padding: 0.2em;
    margin: 0.2em;
  }



  .btn-redes {
    width: 50px;
    height: auto;
  }



  .logo {
    width: 35px;
    height: auto;
  }

  .nav-masthead .nav-link {
    font-size: 0.8em;
  }

  .personal-title {
    font-size: 2em;
  }

  .project-title {

    font-size: x-small;
  }

  .btn {
    font-size: 0.8em;
  }

  .box {
    max-width: 200px
  }

}