/* Google Font CDN Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}

/*@media screen and (max-width: 600px){
  {
    .text-one{
      font-size: 20px;
      line-height: 1.5;

    }
  }
}*/
/*  hov
@media screen and (max-width: 600px){
  {
    .text-three{
      font-size: 20px;
      line-height: 1;
    }
  }
}*/




.text-two{
  background:-webkit-linear-gradient(-45deg,#ee7752,#e73c7e,#23a6d5, #23d5ab);
  background-size:250%;
  font-size: 75px;
  font-weight: 600;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  -webkit-animation:animate 4s linear infinite;
}


.text-two{
  padding: 0 0 0 0;
  margin: 0 0 0 0;
  text-align: center;
  font-size: 140px;
  font-weight: 900;
  line-height: 1
}


html{
  scroll-behavior: smooth;
}


/* Custom Scroll Bar CSS */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #b9b9b9;
    border-radius: 12px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(122, 122, 122);
}
/* navbar styling */
nav{
  background-color: white;
  width: 100%;
  height: 70px;
  margin: 0;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 99;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
}
nav.sticky{
/*  background: #000000;*/
  /* STICKY ES LO QUE QUIERO */
  padding: 13px 0;
}
nav .navbar{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
 
}
nav .navbar .logo a{
  font-weight: 500;
  font-size: 22px;
  font-weight: 900;
  color: #000000;
}


nav .navbar .logo a:hover{
  text-decoration: none;
  color: rgb(0, 200, 255);
}

nav.sticky .navbar .logo a{
  color: rgb(0, 0, 0);
}

nav .navbar .logo a:hover{
  color: rgb(0, 200, 255);
}


.fa, .fas {
  font-weight: 900;
  color: black;
  padding: 5px 10px;
}

.fas {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  /* line-height: 1; */
}

.fas {
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1.4;
}

nav .navbar .menu{
  display: flex;
  position: relative;
  align-items: center;
  margin: 0;
  padding: 0;

}
nav .navbar .menu li{
  list-style: none;
  margin: 0 8px;
}
.navbar .menu a{
  font-size: 18px;
  font-weight: 500;
  color: #ffa2a2;
  margin: 0;
  padding: 0;
  transition: all 0.9s ease;
}
.navbar .menu a:hover{
  color: rgb(0, 200, 255);
  text-decoration: none;
}
nav.sticky .menu a{
  color: #ffa2a2;
}

nav.sticky .menu a:hover{
  color:  rgb(0, 200, 255);
}
.navbar .media-icons a{
  color: #4B4B4B;
  font-size: 25px;
  margin: 0 6px;
}


.navbar .media-icons a:hover{
  color: rgb(0, 200, 255);
}
nav.sticky .media-icons a{
  color: rgb(0, 0, 0);
}

/* Side Navigation Menu Button CSS */
nav .menu-btn,
.navbar .menu .cancel-btn{
  position: absolute;
  color: #fff;
  right: 30px;
  top: 20px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
}


nav .menu-btn :hover{
  color: rgb(0, 200, 255);
}
nav .menu .cancel-btn :hover{
  color: rgb(0, 0, 0);
}
nav .menu-btn{
  color: #000000;
}
nav.sticky .menu-btn{
  color: (0, 200, 255);
}
nav .sticky .menu-btn :hover{
  color: (0, 200, 255);
}
.navbar .menu .menu-btn{
  color: #fff;
}

/* home section styling */
.home{
  height: 90vh; /* Esto era 100vh */
  width: 100%; 
/*  background-image: linear-gradient(120deg, #ffd445 22%, #4c00ff 100%);*/
/*background-image: linear-gradient(120deg, #00eeff 0%, #ffc43a 100%);*/ 
  animation: animate 4s linear infinite;
  background-size: 200% 200%;

  font-family: "poppins", sans-serif;
}
@keyframes animate {
  0%{
    background-position: 0% 50%;
  }
  50%{
    background-position: 100% 50%;
  }
  100%{
    background-position: 0% 50%;
  }
}

.home .home-content{
  width: 90%;
  height: 100%;
  
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home .text-one{
  font-size: 25px;
  color: #310e22;
  padding: 0 0 0 0;
  margin: 0 0 0 0;
  text-align: center;
}

.home .text-three{
  font-size: 22px;
  margin: 5px 0;
  color: #000000;
}
.home .text-four{
  font-size: 23px;
  font-weight: 600;
  margin: 5px 0;
  color: #0E2431;
}
.home .button{
  margin: 14px 0;
}
.home .button button{
  outline: none;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 25px;
  font-weight: 400;
  border-radius: 26px;
  background: #5924ed;
  color: #fff;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.4s ease;
}
.home .button button:hover{
  border-color: #4070f4;
  background-color: rgb(255, 255, 255);
  color: #4070f4;

}

/* About Section Styling */
/* Those Elements Where We Have Apply Same CSS,
 I'm Selecting Directly 'Section Tag' and 'Class'  */
/*#ABOUT HACE REFERENCIA A LA BARRA VIOLETA DE ABOUT ME- SOBRE MI . FONDO VIOLETA.*/ 
 /* #about {
  background-color: rgb(212, 212, 212);
 } */
.about span{
  color: rgb(0, 0, 0);
}
section{
  padding-top: 10px;
}
section .content{
  width: 80%;
  margin: 40px auto;
  font-family: 'Poppins', sans-serif;
}
.about .about-details{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
section .title{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}
section .title span{ /*Este es el titulo del banner de abajo CONTACTO */ 
  color: #000000;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}
section .title span::before,
section .title span::after{
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  left: 0;
  bottom: 0;
}
section .title span::after{
  bottom: -7px;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
}
.about .about-details .left{
  width: 45%;
}
.about .left img{
  height: 200px;
  width: 200px;
  object-fit: cover;
  border-radius: 12px;
}
.about-details .right{
  width: 55%;
}
section  .topic{
  color: #000000;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
}

section .topic2 {
  color: #ffffff;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
}


.about-details .right p{
  text-align: justify;
  color: #11310e;
}
section .button{
  margin: 16px 0;
}
section .button button{
  outline: none;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 25px;
  font-weight: 400;
  border-radius: 26px;
  background: #5924ed;
  color: #fff;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.4s ease;
}
section .button button:hover{
  border-color: #4070f4;
  background-color: #fff;
  color: #4070f4;
}



/* Contact Me CSS */
.contact{
  background: #181818;
  padding: 40px 0;
}
.contact .content{
  color: rgb(0, 0, 0);
  margin: 40px auto;
  padding: 40px 0;
}


.contact .text{
  width: 100%;
  text-align: center;
  margin: auto;
}


/* Scroll TO Top Button CSS */
.scroll-button a{
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #fff;
  background: rgb(0, 175, 219);
  padding: 7px 12px;;
  font-size: 18px;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.15);
  display: none;
}

/* Responsive Media Query */
@media (max-width: 1190px) {
  section .content{
    width: 85%;
  }
}
@media (max-width: 1000px) {
  .about .about-details{
    justify-content: center;
    flex-direction: column;
  }
}
  .about .about-details .left{
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .about-details .right{
    width: 90%;
    margin: 40px 0;
  }
  .services .boxes .box{
    margin: 20px 0;
    width: calc(100% / 2 - 20px);
  }

@media (max-width: 900px) {
  .about .left img{
    height: 350px;
    width: 350px;
    
  }
}

@media (max-width: 750px) {
  nav .navbar{
    width: 90%;
    
  }
  nav .navbar .menu{
    position: fixed;
    left: -100%;
    top: 0;
    background: #ffffff;
    height: 100vh;
    max-width: 400px;
    width: 100%;
    padding-top: 60px;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
  }
  .navbar.active .menu{
    left: 0;
  }
  nav .navbar .menu a{
    font-size: 23px;
    display: block;
    color: rgb(0, 0, 0);
    margin: 10px 0;
  }
  nav.sticky .menu a:hover{
    color: rgb(0, 183, 255);
  }
  nav .navbar .media-icons{
    display: none;
  }
  nav .menu-btn,
  .navbar .menu .cancel-btn{
    display: block;
  }
  .home .text-two{
    font-size: 65px;
  }


  .skills .skills-details{
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .skills-details .text{
    width: 100%;
    margin-bottom: 50px;
  }
  .skills-details .boxes{
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .services .boxes .box{
    margin: 20px 0;
    width: 100%;
  }

@media (max-width: 500px){
  .home .text-two{
    font-size: 55px;
  }
  .home .text-three{
    font-size: 33px;
  }
  .skills-details .boxes .per{
    font-size: 50px;
    color: #4070f4;
  }
}

@media screen { 
  .home .text-two{
  
  }
  .home .text-three{
    font-size: 20px;
    font-weight: 400;
    flex-direction: column;

  }
  .skills-details .boxes .per{
    font-size: 50px;
    color: #4070f4;
  }
}
 
.contact .content .text p{
  color: #ffffff;
  font-size: 18px;
  font-family: poppins;
  font-weight: 500;
  margin: 20px 0;
  text-align: center;
}
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
/* FOOTER ORIGINAL
footer{
  position: absolute;
  background: #111;
  height: auto;
  width: auto;
  font-family: "Poppins";
  padding-top: 40px;
  color: #fff;
}
.footer-content{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center
  ;
}
.footer-content h3{
  color: rgb(0, 175, 219);;
  font-size: 22px;
  font-weight: 400;
  text-transform: capitalize;
  line-height: 3rem;
}
.footer-content p{
  color:rgb(255, 255, 255);
  max-width: 500px;
  margin: 10px auto;
  line-height: 28px;
  font-size: 19px;
}
.socials{
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0 3rem 0;
}
.socials li{
  margin: 0 10px;
}
.socials a{
  text-decoration: none;
  color: #fff;
}
.socials a i{
  font-size: 1.1rem;
  transition: color .4s ease;
  
}
.socials a:hover i{
  color: #00b7ff;
} FIN FOOTER ORIGINAL AGAIN */
/* FOOTER ORIGINAL 
.footer-bottom{
  background: #111;
  width: 100vw;
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p{
  font-size: 14px;
  word-spacing: 2px;
  text-transform: capitalize;

}
.footer-bottom span{
  text-transform: uppercase;
  opacity: .4;
  font-weight: 200;
}

.icon .prueba {
  background-image: url() ;
}
FIN DE FOOTER ORIGINAL */



/* FOOTER NUEVO */
#footer{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#footer {
  background: #111;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  background-color: #ededed;
}
.footer {
  padding: 40px 0;
  background-color: #fff;
}
.footer .social {
  text-align: center;
  padding-top: 25px;
  color: #4b4c4d;
}
.footer .social a {
  font-size: 25px;
  color: inherit;

  width: 40px;
  height: 40px;
  line-height: 38px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  margin: 0 8px;
  opacity: 0.75;
}
.footer .social a:hover {
  opacity: 1; 
  color: rgb(0, 157, 255);
}

.footer ul {
  margin-top: 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 0;
  text-align: center;
}
.footer ul li a {
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
}
.footer ul li {
  display: inline-block;
  padding: 0 15px;
}
.footer ul li a:hover {
  opacity: 1;
}
.footer .copyright {
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
  color: rgb(107, 107, 107);
}


/* CSS NUEVO */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto+Mono:wght@300;500&family=Poppins:wght@600&display=swap');

/* variables */
:root {
	--primary-color: #5924ed;
	--secondary-black: #0d081a;
	--secondary-gray: #48464b;
	--body-bg: #efebfa;
}

/* global styles */
* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
html {
	font-family: 'Poppins', sans-serif;
	font-size: 10px;
	scroll-behavior: smooth;
}
body {
	background-color: var(--body-bg);
}
img {
	width: 100%;
	height: 100%;
}
a {
	color: black;
	text-decoration: none;
}

section {
	display: flex;
	align-items: center;
	justify-content: center;
}
.container {
	width: 90%;
	margin: 0 auto;
	max-width: 1000px;
}
p {
	font-size: 1.6rem;
	color: var(--secondary-black);
}
.section-heading {
  font-size: clamp(2rem, 10vw, 8rem);
	text-transform: uppercase;
	font-family: 'Poppins', sans-serif;
	letter-spacing: 0.2rem;
	text-align: center;
	position: relative;
	margin-bottom: 10rem;
}
.section-heading::before {
	content: attr(data-outline);
	position: absolute;
	left: 2%;
	top: -20%;
	width: 100%;

	text-align: center;
	text-transform: uppercase;
	font-family: 'Poppins', sans-serif;
	letter-spacing: 0.2rem;

	color: transparent;
	/* -webkit-text-stroke: 1.5px rgba(0, 0, 0, 0.103); */
	-webkit-text-stroke: 1.5px #5a24ed2f;
	z-index: -1;
}
.buttons {
	margin-top: 3rem;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 2rem;
}
.primary-btn {
	display: inline-block;
	background-color: var(--primary-color);
	color: white;
	font-size: 1.8rem;
	padding: 0.6em 1.6em;
	border-radius: 50px;
}

.primary-btn:hover {
    color: white;
    text-decoration: underline;
}


.buttons .primary-btn.outline {
	background-color: transparent;
	border: 2px solid var(--primary-color);
	color: var(--primary-color);
}
.buttons svg {
	width: 50px;
	color: var(--primary-color);
}


/* Projects Section */
#projects {
	padding: 4rem 0; /* Era padding: 10rem 0; */
}
#projects .item {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 800px;
	margin: 0 auto;
	margin-bottom: 15rem;
	/* gap: 2rem; */
}
#projects .item:nth-of-type(even) {
	flex-direction: row-reverse;
}
#projects .item .left {
	flex: 1;
}
#projects .item .right {
	margin-left: -150px;
	flex: 1;
	background-color: var(--body-bg);
	padding: 5rem 3rem;
	border-radius: 12px;
	box-shadow: 0px 0px 20px #00000028;
	z-index: 2;
}
#projects .item:nth-of-type(even) .right {
	margin-left: 0;
}
#projects .item:nth-of-type(even) .left {
	margin-left: -150px;
}
#projects .item .left .img {
	height: 500px;
	overflow: hidden;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0px 0px 20px #4705fc33;
	position: relative;
}
#projects .item .left .img::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: #5a24ed38;
}
#projects .item .left .img img {
	object-fit: cover;
	transition: 0.3s ease transform;
}
#projects .item:hover .left .img img {
	transform: scale(1.1);
	z-index: 1;
}
#projects .item .right .project-title {
	font-size: 2.5rem;
	font-family: 'Poppins', sans-serif;
	margin-bottom: 1rem;
}
#projects .item .right .project-sub-title {
	font-size: 1.6rem;
	margin-bottom: 2rem;
}
#projects .item .right .project-desc {
	color: var(--secondary-gray);
	margin-bottom: 3rem;
}
#projects .item .right .external-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: calc(0.6em - 4px) calc(1.6em - 4px);
}
#projects .item .right .external-link svg {
	width: 25px;
}

@media only screen and (max-width: 768px) {
	#projects .item {
		flex-direction: column;
	}
	#projects .item .left {
		width: 100%;
	}
	#projects .item .right {
		margin-left: 0;
		width: 90%;
		margin-top: -150px;
	}
	#projects .item:nth-of-type(even) {
		flex-direction: column;
	}
	#projects .item:nth-of-type(even) .left {
		margin-left: 0;
	}
}
@media only screen and (max-width: 450px) {
	#projects .item .right .buttons {
		flex-direction: column;
	}
	#projects .item .right .buttons a {
		width: 100%;
		text-align: center;
	}
}


/* NEW ABOUT ME */
/* About section  */
#about {
	padding: 4.5rem 0; /* Era 15rem  */ 
}
#about .wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
}
#about .left {
	padding: 2rem;
	text-align: center;
}
#about .left .card {
	box-shadow: 0px 0px 20px #4705fc33;
	padding: 3rem;
	border-radius: 12px;
	min-height: 400px;
}
#about .left .card .img {
	width: 122px;
	height: 122px;
	margin: 0 auto;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 2rem;
}
#about .left .card .img img {
	object-fit: cover;
}
#about .left .card .card-desc {
	color: var(--secondary-gray);
	margin-bottom: 2rem;
}
#about .left .card .card-name {
	font-size: 2rem;
	margin-bottom: 0.2rem;
}
#about .left .card .card-sub-title {
	font-size: 1.4rem;
}
#about .subheading {
	color: var(--primary-color);
	margin-bottom: 1rem;
}
#about .right .slogan {
	font-size: 2.5rem;
	margin-bottom: 2rem;
}
#about .right .right-text {
	color: var(--secondary-gray);
}
@media only screen and (max-width: 768px) {
	#about .wrapper {
		flex-direction: column-reverse;
		text-align: center;
	}
	#about .right .buttons {
		flex-direction: column;
	}
	#about .right .buttons a {
		width: 100%;
		text-align: center;
	}
}