@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root{
  --white: #ffffff;
  --grey: #414141;
  --red: 	#d62d20;
  --amarillo: #ffa700;
  --blue:#3367d6;
  --orange:#e34c26;
  --green:#008744;
  --greenDos: #7ceee9;
  --blueReact: #61DBFB;
}

a {
  text-decoration: none;
  color: var(--white);
}

a:hover {
  color: #bbbbbb;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  background:var(--white);
  color: #f5f5f5;
}

section {
  padding: 90px 0;
  text-align: center;
  background: white;
}

.container {
  width: 100%;
  display: inherit;
  max-width: 1200px;
  justify-content: inherit;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar {
  position: fixed;
  background: transparent;
  transition: background 0.3s;
  display: flex;
  justify-content: space-between;
  height: 60px;
  width: 100%;
  z-index: 5;
}

.navbar__logo {
  display: flex;
  align-items: center;
}

.navbar__title {
  font-size: 24px;
}

.navbar__title::before {
  content: "<";
  color:var(--blue);
}

.navbar__title::after {
  content: "/>";
  color: var(--blue);
}

.navbar__links {
  list-style: none;
  display: flex;
  height: 100%;
  align-items: center;
}

.navbar__link {
  padding-left: 20px;
}

.navbar__link a {
  color: #8e8e8e;
  transition: color 0.3s;
}

.navbar__link a:hover {
  color: var(--blue);
  transition: color 0.3s;
}

.navbar__menu {
  display: none;
  align-items: center;
  font-size: 35px;
}

.home {
  min-height: 100vh;
  display: flex;
  padding: 30px;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  position: relative;
}

.home__background {
  background-color: #8e8e8e;
  background-image: url(./assets/bg6_webp.webp);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: -1;
}

.home__profile {
  height: 250px;
  border-radius: 50%;
  margin-right: 40px;
  transition: filter  3s;
}

.home__title {
  font-size: 60px;
  text-shadow: 1px 1px black;
  color: var(--greenDos);
}

.home__title--primary,
.home__title--secondary {
  font-size: 45px;
  color: #f5f5f5;
  text-shadow: 1px 1px black;
}


.section__title {
  color: var(--grey);
  font-size: 35px;
  margin-bottom: 30px;
  display: flex;
}

.section__subtitle {
  color: var(--grey);
  text-align: start;
  margin-bottom: 20px;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about__description {
  text-align: left;
  color: var(--grey);
  padding-right: 80px;
  line-height: 40px;
}

.about__summary {
  margin: 30px 0;
}

.about__description span {
  color: var(--grey);
}

.about__description h2 {
  color: var(--grey);
  margin: 20px 0;
}

.about__skills {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0px;
}

.skill__title {
  color: var(--grey);
  grid-column: span 3;
  text-align: center;
  margin: 20px 0;
}

.skill__item {
  font-size: 80px;
  color: var(--grey);
  padding: 0px;
  transition: all 0.3s;
  min-width: 130px;
  height: 180px;
}

.skill__itemDos {
  font-size: 70px;
  color: var(--grey);
  padding: 0px;
  transition: all 0.3s;
  /*min-width: 130px; /*Responsive*/
  height: 180px;
}

.skill__item img {
  max-height: 100px;
  max-width: 100px;
}

body {
  align-items: center;
  background: #E3E3E3;
  display: inline;
  height: 100vh;
  justify-content: left;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-2324px);
  }
}
.slider {
  background: white;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.slider::before, .slider::after {
  background: linear-gradient(to right, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 100px;
  position: absolute;
  width: 15%;
  z-index: 2;
}
.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
.slider::before {
  left: 0;
  top: 0;
}
.slider .slide-track {
  animation: scroll 30s linear infinite;
  display: flex;
  width: 3500px;
}
.slider .slide {
  height: 100px;
  width: 250px;
}

.fa-node{
  color: #3C873A;
}

.fa-html5{
  color: #e34c26;
}

.fa-css3-alt{
  color: #264de4;
}

.fa-js{
  color:#f0db4f ;
}

.fa-git-alt{
  color: #f34f29;
}

.fa-react{
  color: var(--blueReact);
}


.skill__name {
  font-size: 16px;
  text-align: center;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.services__item {
  padding: 20px;
  border-bottom: 5px solid transparent;
  border-radius: 10px;
  transition: border 0.3s;
}

.services__item:hover i {
  transition: all 0.3s;
  color: var(--grey);
}

.services__item i {
  transition: all 0.3s;
  font-size: 40px;
  margin: 20px 0;
}

.fa-mobile-alt{
  color: black;
}

.fa-pencil-ruler{
  color: var(--orange);
}

.fa-code{
  color: var(--green);
}

.fa-thumbs-up{
  color: var(--red);
}

.fa-tachometer-alt{
  color: var(--amarillo);
}

.fa-crosshairs{
  color: var(--blue);
}

.services__item h3 {
  color: var(--grey);
  margin-bottom: 15px;
}

.services__item p {
  color: var(--grey);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.portfolio__item {
  background: white;
  position: relative;
  object-fit: cover;
  overflow: hidden;
  font-size: 14px;
  border-radius: 10px;
}

.portfolio__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 1s;
  border-radius: 10px;
  max-height: 190px;
}

.portfolio__description {
  padding: 50px;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  top: 300px;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
  border-radius: 10px;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.portfolio__item:hover .portfolio__description {
  visibility: visible;
  opacity: 1;
  transition: all 0.5s;
  border-radius: 10px;
  transform: translateY(-300px);
}

.portfolio__item:hover .portfolio__img {
  transition: all 1s;
  border-radius: 10px;
  transform: scale(1.3);
}

.portfolio__description--title {
  color: var(--white);
}

.portfolio__description--text {
  margin: 20px 0;
}

.buttons__container {
  display: flex;
  border-radius: 10px;
}

.button {
  background: #191919;
  color: #f5f5f5;
  padding: 5px 10px;
  display: inline-block;
  margin: auto;
}

.button:hover {
  color: var(--blue);
}

.button--cta {

  background: var(--grey);
  color: var(--white);
  padding: 5px 30px;
  display: inline-block;
  align-self: center;
  margin: 20px auto;
  font: bold;
  border-radius: 5px;
}

.button--cta i {
  margin-right: 10px;
}

.button--cta:hover {
  background: var(--grey);
  color: white;
}
.button .fa-github:before {
  color: white;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 30px;
}

.contact__item {
  color: var(--grey);
  padding: 40px;
  transition: all 0.3s;
}

.fa-envelope{
  color: var(--red);
}

.fa-github{
  color: black;
}

.fa-telegram{
  color: #00acee;
}

.fa-linkedin-in{
  color:#0e76a8  ;
}

.contact__item i {
  font-size: 130%;
  margin-bottom: 10px;
}

.fa-envelope:hover {
  transition: all 0.3s;
  color: var(--grey);
}
.fa-github:hover {
  transition: all 0.3s;
  color: var(--grey);
}
.fa-telegram:hover {
  transition: all 0.3s;
  color: var(--grey);
}
.fa-linkedin-in:hover {
  transition: all 0.3s;
  color: var(--grey);
}
.active a {
  color: #f5f5f5;
}

.footer {
  color: var(--grey);
  background-color: rgba(245,245,245,0.6);
  padding: 30px;
  text-align: center;
  font-size: 14px;
}

.footer a {
  color: var(--grey);
}

.footer a:hover {
  color: var(--blue);
}

.justificado {
  text-align: justify;
}

form {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
label {
  display: block;
  margin-bottom: 8px;
}
input, textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 16px;
  box-sizing: border-box;
}
#botonEnviar {
    background-color: #4caf50;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    /* Por defecto, deshabilitar el botón al cargar la página */
    pointer-events: none;
    opacity: 0.5;
}
#botonEnviar:enabled {
    /* Estilos cuando el botón está habilitado */
    pointer-events: auto;
    opacity: 1;
}
textarea {
  resize: none;
}

.telegram-icon {
  color: #0088cc; /* Cambia el color a tu preferencia usando un código hexadecimal o nombre de color */
}