/*General*/


@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
}



body{
  
  background-color: #f5f5f5;
  font-family: "Raleway", sans-serif;
  
}

html {
  scroll-behavior: smooth;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 2px;
}

p{
  color:rgb (85, 85, 85);
}

/*transition*/

a, 
.btn {
  transition: all 300ms ease;
}


/*Destop nav*/


nav, 
.nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 10%;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
 
}

ul {
  list-style: none;
  display: flex;
}

nav .logo {
  color: #333;
}
nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul li {
  list-style: none;
  margin-left: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
}

nav ul li a:hover {
  color: #4C9893;
}

nav .btn {
  padding: 0.5rem 1rem;
  background-color: #ff4500;
  color: #fff;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.logo:hover {
  cursor: default;
}

/*poner los margenes de 40 en la imegen*/
/* PROFILE SECTION */

#profile {
  display: flex;
  justify-content: center;
  gap: 5rem;
  height: 80vh;
  
}

.section__pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
 
  
  
}


.section__text {
  align-self: center;
  text-align: center;
}

.section__text p {
  font-weight: 600;
}

.section__text__p1 {
  text-align: center;
}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #4C9893;
  
}

.title {
  font-size: 3rem;
  text-align: center;
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

/* ICONS */

.icon {
  cursor: pointer;
  height: 2rem;
}

/* BUTTONS */

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
}

.btn-color-1,
.btn-color-2 {
  border: rgb(53, 53, 53) 0.1rem solid;
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
}

.btn-color-1,
.btn-color-2:hover {
  background: rgb(53, 53, 53);
  color: white;
}

.btn-color-1:hover {
  background: rgb(0, 0, 0);
}

.btn-color-2 {
  background: none;
}

.btn-color-2:hover {
  border: rgb(255, 255, 255) 0.1rem solid;
}

.btn-container {
  gap: 1rem;
}

/* ABOUT SECTION */


/* centrar la imagen limon */

#about {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  height: 70vh;
  margin-bottom: 35vh;
}
 #about .section__text {
  align-self: center;
  text-align: center;
  
}
#about img {
  width: 400px;
  height: 400px;
  border-radius: 20%;
}

#about .section__text {
  width: 50%;
  
}

#about .section__text p {
  font-weight: 600;
}

#about .section__text__p1 {
  text-align: center;
}

#about .section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

#about .section__text__p3 {
  margin-bottom: 2rem;
}





.details-container
{
  
  border: rgb(53, 53, 53) 0.1rem solid;
  padding: 1rem;
  border-radius: 1rem;
  width: 50%;
  margin: auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}






/* PROJECTS SECTION */

/* PROJECTS SECTION */

/* PROJECTS SECTION */

.article-container {
  display: flex;
  justify-content: center;
  gap: 5rem;
}


#projects {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 70vh;
  
  margin-bottom: 35vh;
}

.project-container {
  display: flex;
  justify-content: center;
  gap: 5rem;
  
 
  
}



.project img {
  width: 100%;
  border-radius: 1rem;
}
#projects .about-containers{
  display: flex;
  justify-content: center;
  gap: 5rem;
  
  height: 80vh;
  margin-top: 2rem;
  



}

#projects .experience-sub-title {
  align-self: center;
  text-align: center;
}
#projects .section__text {
  align-self: center;
  text-align: center;
}


#projects .section__text p {
  font-weight: 600;
}

#projects .section__text__p1 {
  text-align: center;
}

#projects .section__text__p2 {
  font-size: 1.75rem;
  
  text-align: center;
}

#projects .section__text__p3 {
  margin-bottom: 2rem;
}

#projects img {
  width: auto;
  height: 400px;
  border-radius: 20%;
}





.project-btn {
  color: black;
  border-color: rgb(163, 163, 163);
}

.project-btn:hover {
  background-color: rgb(163, 163, 163);
  color: white;
}
#projects {
  position: relative;
}

.color-container {
  border-color: rgb(163, 163, 163);
  background: rgb(250, 250, 250);
}

.project-img {
  border-radius: 2rem;
  width: 90%;
  height: 90%;
}

.project-title {
  margin: 1rem;
  color: black;
}

.project-btn {
  color: black;
  border-color: rgb(163, 163, 163);
}

.project-btn:hover {
  background-color: rgb(163, 163, 163);
  color: white;
}











/*logros*/


#logros .fotos-contariner{
  display: flex;
  justify-content: center;
  gap: 5rem;
  height: 80vh;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

#logros .section__text {
  align-self: center;
  text-align: center;
}

#logros .section__text p {
  font-weight: 600;
}

#logros .section__text__p1 {
  text-align: center;
}

#logros .section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

#logros .section__text__p3 {
  margin-bottom: 2rem;
}

#logros img {
  width: 400px;
  height: 400px;
  border-radius: 20%;
}
/*hobbies*/

#hobbie .hobbies-container{
  display: flex;
  justify-content: center;
  gap: 5rem;
  height: 80vh;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

#hobbie .section__text {
  align-self: center;
  text-align: center;
}

#hobbie .section__text p {
  font-weight: 600;
}

#hobbie .section__text__p1 {
  text-align: center;
}

#hobbie .section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

#hobbie .section__text__p3 {
  margin-bottom: 2rem;
}

#hobbie img {
  width: 400px;
  height: 400px;
  border-radius: 20%;
}











/* CONTACT SECTION */


#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 70vh;
  margin-top: 25vh;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  background: (250, 250, 250);
  margin: 2rem auto;
  padding: 0.5rem;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
}

.contact-info-container p {
  font-size: larger;
}

.contact-info-container a {
  text-decoration: none;
  color: black;
}

.contact-info-container a {
  text-decoration: none;
  color: black;
}






/*imagen grande*/

.imagen-grande {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  text-align: center;
}

.imagen-mostrada {
  max-width: 80%;
  max-height: 80%;
  margin-top: 5%;
}

.cerrar {
  color: white;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 24px;
}



/*animaciones*/
.animation {
  view-timeline: --subjectReveal block;
  animation-timeline: --subjectReveal;

  animation-name: appear;
  animation-range-end: contain 50%;
  animation-fill-mode: both;
  animation-duration: 1ms; 
}

@keyframes appear {
  from {
    opacity: 0;
    transform: scaleX(0);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}


#logros img:hover {
  animation-name: bounce;
  animation-duration: 1s;
  

  
}

#projects .calcu-img:hover {
  animation-name: bounce;
  animation-duration: 1s;
  
}
#profile img:hover {
  animation-name: bounce;
  animation-duration: 1s;
  
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

#socials-container img:hover {
  animation-name: bounce;
  animation-duration: 1s;
  
}

#profile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.section__pic-container {
  opacity: 0;
}

.section__pic-container.show {
  opacity: 1;
  transition: opacity 1s ease-in-out;
}





/* FOOTER SECTION */

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10vh;
  background-color: #333;
  color: white;
}

footer p {
  font-size: 0.8rem;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  color: #4C9893;
}

/* MEDIA QUERIES */

@media screen and (max-width: 768px) {
  nav {
    padding: 1rem 5%;
  }
  nav ul {
    display: none;
  }
  nav .logo {
    font-size: 1.25rem;
  }
  nav .btn {
    padding: 0.5rem 1rem;
  }
  nav .hamburger {
    display: block;
  }
  nav .close {
    display: none;
  }
  nav.active ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  nav.active .close {
    display: block;
  }
}

