*{
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}
html{
    scroll-behavior: smooth;
    /*desliza cuando hago click en link del menu*/
}
.contedor-header{
    background: #1e1e1e;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
}
.contedor-header header{
    max-width: 1100 px;
    margin:auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.contedor-header header .logo a{
    font-family: sans-serif;
    font-size: 36px;
    color: #4656A6;
    text-decoration: none;
}
.contedor-header header ul{
    display: flex;
    list-style: none;
}
.contedor-header header nav ul  li a{
    text-align: none;
    color: #fff;
    margin: 0 15px;
    padding: 3px;
    transition: .5s;
    text-decoration: none;
}
.contedor-header header nav ul  li a:hover{
    color: #4656A6;
}
.nav-responsive{
    background-color: #4656A6;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    cursor:pointer;
    display: none;
}

/*LOGOS*/


.logo img {
  height: 40px; /* ajustá a gusto */
  width: auto;
}









/* MENU RESPONSIVE */
@media screen and (max-width: 768px) {

  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #1e1e1e;
    width: 100%;
    display: none;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 15px 0;
  }

  .nav-responsive {
    display: block;
    font-size: 28px;
  }
}

/* mostrar menú */
nav.responsive {
  display: block;
}















/*SECCION INICIO*/

.inicio{
    background: linear-gradient(to top, rgba(30, 35, 38, .8), rgba(30,35,38,1)), url(fondo.jpg);
    background-size: cover;
    height: 120vh;
    color: #fff;
    display: flex;
    align-items: center;
}
.inicio .contenido-banner{
    padding: 20px;
   
    max-width: 350px;
    margin: auto;
    text-align: center;
    border-radius: 40px;
}
.inicio .contenido-banner img{
    margin-top: 40px;
    border: 10px solid #4656A6;
    display: block;
    width: 80%;
    margin: auto;
    border-radius: 100%;
}
.inicio .contenido-banner h1{
    margin-top: 40px;
    font-size: 42px;
    font-family: Arial, Helvetica, sans-serif;
}

.inicio .contenido-banner h2{
    font-size: 15px;
    font-weight: normal;
}






.inicio .contenido-banner .redes a{
    color: #fff;
    text-decoration: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #555;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
     display: flex;
}


.inicio .contenido-banner .redes {
 display: flex;
    align-items: center;
    justify-content: center;
}
.social::before{
    background-color: #4656A6;
    content: "";
    position: absolute;
    inset: 0;
    transform: scale(0);
    transition: transform 0,4s ease;
    z-index: 0;
    color: #fff;
}
.social:hover::before{
    transform: scale(1);
    color: #fff;
}
.social i {
  z-index: 1;
}

@keyframes fadeIn {
    to{
        opacity: 1;
    }
}




















/* CONTENEDOR */
.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px;
  max-width: 1200px;
  margin: auto;
  
}

/* TEXTO */
.about-text {
  flex: 1;
}

.about-text h1 {
  font-size: 56px;
  margin-bottom: 20px;
}

.about-text p {
  max-width: 480px;
  line-height: 1.7;
  font-size: 16px;
}





.boton{
   background: #4656A6;
  color: #fff;
   position: relative;
  margin-top: 30px;
  padding: 14px 28px;
  border-radius: 40px;

}
.boton:hover{
   background: #63BCB0;
  color: #1c2326;
}






/* BOTÓN */
.btn {
  position: relative;
  margin-top: 30px;
  padding: 14px 28px;
  border-radius: 40px;
  border: none;
  background: #f36f45;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  overflow: hidden;
}

.btn .loader {
  position: absolute;
  inset: 0;
  background: #4656A6;
  width: 0%;
  transition: width 1.6s ease;
  z-index: 0;
}

.btn {
  z-index: 1;
}

/* IMAGEN */
.about-image {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 360px;
  height: 360px;
  object-fit: cover;
  border-radius: 50%;
}

/* TAGS */
.tag {
  position: absolute;
  background: #f2b632;
  color: #000;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 12px;
}

.tag.top {
  top: 20px;
  right: 0;
}

.tag.bottom {
  bottom: 140px;
  right: 0;
}

/* CONTACT CARD (ARREGLADA) */
.contact-card {
  

  background: rgba(41, 17, 146, 0.7); /* 👈 transparente */
  backdrop-filter: blur(8px); /* 👈 glass effect */
  color: #fff;
  padding: 20px;
  border-radius: 10px;

}



/* RESPONSIVE */
@media (max-width: 900px) {
  .about {
    flex-direction: column;
    padding: 30px;
    text-align: center;
  }

  .about-text h1 {
    font-size: 40px;
  }

  .about-text p {
    margin: auto;
  }

  .about-image img {
    width: 280px;
    height: 280px;
  }

  .contact-card {
    position: static;
    margin-top: 20px;
    width: 100%;
  }

  .tag {
    display: none;
  }
}














/*skill*/

* {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  background: #1e2528;
  color: #fff;
}

.skills {
  padding: 40px 20px;
}

.skills h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.skills-container {
  display: flex;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

.skills-box {
  flex: 1;
}

.skills-box h3 {
  margin-bottom: 20px;
}

.skill {
  margin-bottom: 20px;
}

.skill span {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.progress {
  width: 100%;
  height: 8px;
  background: #2f3a3f;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: #4656A6;
  border-radius: 10px;
  transition: width 1.5s ease;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .skills-container {
    flex-direction: column;
  }
}







.logo-marquee {
  width: 100%;
  height: 60px;
  overflow: hidden;
  position: relative;
  background-color:  rgba(6, 6, 7, 0.8); /* opcional */
}

.logo-marquee img {
  height: 45px;
  position: absolute;
  top: 50%;
  left: -60px;
  transform: translateY(-50%);
  animation: moveLogo 10s linear infinite;
}

/* Animación */
@keyframes moveLogo {
  0% {
    left: -60px;
  }
  100% {
    left: 100%;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .logo-marquee {
    height: 60px;
  }

  .logo-marquee img {
    height: 35px;
    animation-duration: 7s;
  }
}












/*portafolio */




.portfolio {
  padding: 50px 20px;
}

.portfolio h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.portfolio-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease;
}

.portfolio-item img {
  height: 260px; /* 👈 todas iguales */
  overflow: hidden;
  position: relative;
  width: 100%;
 
  object-fit: cover;
  display: block;
}

.portfolio-item.show {
  transform: translateY(0);
  opacity: 1;
}

/* Overlay verde */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(107, 69, 222, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  text-align: center;
}

.overlay h3 {
  margin: 0;
  font-size: 22px;
}

.overlay p {
  margin-top: 6px;
  font-size: 14px;
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

/* 📱 Responsive */
@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}




/*modal*/.modal {
    display: none; /* Oculto de forma predeterminada */
    position: fixed; /* Queda en la pantalla */
    z-index: 1; /* Se queda por encima de todo */
    left: 0;
    top: 0;
    width: 100%; /* Ancho completo */
    height: 100%; /* Altura completa */
    overflow: auto; /* Habilita el desplazamiento si es necesario */
    background-color: rgba(0, 0, 0, 0.9); /* Fondo negro con opacidad */
    padding-top: 50px; /* Espacio desde la parte superior */
}

.modal-content {
    margin: 50px auto; /* Ajusta este valor según sea necesario */
    display: block;
    width: 80%;
    max-width: 700px;
    margin-top: 20px; /* Ajusta la distancia desde el top del modal */

    
}


.close {
    color: white;
    font-size: 40px;
    cursor: pointer;
    align-items: center;
    display: flex;
    justify-content: center;
    margin-top: 90px; /* Espacio entre la imagen y la cruz */
    
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}






/* FOOTER */
.footer {
  position: relative;
  background: #1c2326;
  padding: 60px 20px 30px;
  text-align: center;
}

/* BOTÓN SUBIR */
.scroll-top {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #4656A6;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  animation: fadeIn 1s forwards;
}

/* ICONOS */
.socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
}

.social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #555;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.social::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #4656A6;
  transform: scale(0);
  transition: transform 0.4s ease;
  z-index: 0;
}

.social i {
  z-index: 1;
}

/* Hover */
.social:hover::before {
  transform: scale(1);
}

/* TEXTO */
.footer p {
  font-size: 13px;
  color: #aaa;
}

/* ANIMACIÓN */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


