* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Poppins, sans-serif;
  font-size: 14px;
  color: black;
  background-color: #FCFCFC;
}

.title-formacion {
  width: 100%;
  text-align: center;
  margin-bottom: 60px;
  line-height: 0.8;
}

.title {
  font-size: 24px;
  font-weight: bold;
  color: #042141;
  margin-bottom: 50px;
}

.title::after {
  content: '.';
  font-size: 40px;
  color:#784C9C;
}

/* Cabecera */
.header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0px 30px 0px;
  background: linear-gradient(to bottom, #042141 0%, rgba(233, 118, 245, 0.5) 75%) ;
}

.img-letter {
  width: 15%;
}
.img-letter img {
  width: 100%;
}
.info-header {
  width: 50%;
  display: flex;
  flex-direction: column;
  margin-left: 80px;
  text-shadow: 0 2px 6px #0000007a;
}

.info-header .name {
  font-size: 24px;
  color: white;
  margin-bottom: 15px;
}

.info-header .ocupation {
  font-size: 44px;
  font-weight: bold;
  line-height: 0.9;
  color:#042141;
}

.info-header .ocupation::after {
  content: '.';
  font-size: 60px;
  color:#784C9C;
}

.container-photo {
  width: 35%;
}

.photo {
  width: 50%;
}

.photo img {
  width: 100%;
}

/*Barra de navegación */
.menu {
  width: 100%;
  background-color: #FCFCFC;
  padding: 25px 0px;
  margin-bottom: 80px;
}

.menu-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px; 
  padding: 0;
  margin: 0;
}

.menu-links li a {
  color: black;
  text-decoration: none;
  font-weight: 550;
  transition: color 0.3s ease;
}

.menu-links li a:hover {
  color: #784C9C;
}

.menu-links li a.active {
  color: #784C9C;
}

.container-body {
  padding: 0px 200px;
}


/*Menú lateral float*/

.menu-btn {
  background-color: #FCFCFC;
  padding: 0px 10px 0px 0px;
  margin-bottom: 30px;
}

#open-menu-btn {
  display: none;
  width: 100%;
  font-size: 25px;
  cursor: pointer;
  border: none;
  color: black;
  border-radius: 5px;
  text-align: right;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s;
  z-index: 1001; 
}

body.menu-open .overlay {
  opacity: 1;
  visibility: visible;
}

/* Menú lateral */
.menu-lateral {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  right: 0;
  background-color: #042141;
  color: white;
  overflow-x: hidden;
  transition: width 0.5s ease;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  padding-top: 60px;
  z-index: 1002; 
}

.menu-lateral h2 {
  padding-left: 20px;
  font-weight: 600;
  margin-top: 0;
  color: white;
  text-shadow: 0 2px 6px #0000007a;
}

.menu-lateral a {
  padding: 15px 20px;
  font-size: 18px;
  color: white;
  text-decoration: none;
  display: block;
  transition: background 0.3s;
}

.menu-lateral a:hover {
  background-color: #784C9C;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 36px;
  color: white;
  cursor: pointer;
  text-decoration: none;
}

/* Redes Sociales */
.social-icons {
  position: fixed;
  top: 600px;
  right: 10px;
  display: flex;
  flex-direction: column;
  transform: translateY(-50%);
  z-index: 1000;
}

.icon {
  text-decoration: none;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px 0;
  transition: background-color 0.3s;
}

.icon i {
  font-size: 20px;
}

.facebook { background-color:#042141; }
.twitter { background-color:#E976F5; }
.instagram { background-color:#784C9C; }

.icon:hover {
  opacity: 0.8;
}

/* Sección Acerca de Mi */
.content-about {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 80px;
}

.content-img {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-img .img-about {
  width: 80%;
}

.content-img .img-about img {
  width: 100%;
}

.content-info {
  width: 60%;
  display: flex;
  flex-direction: column;
}

.content-info span {
  margin-bottom: 30px;
}
.content-info p {
  text-indent: 20px;
  line-height: 2;
  text-align: justify;
  margin-bottom: 20px;
}

/* Formación Académica */

.content-formacion {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-bottom: 80px;
}

.content-formacion .col {
  width: 28%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border: 1px solid #000;
  border-radius: 5px;
}

.col .subtitle {
  font-weight: 600;
  color: #042141;
  text-align: center;
}

.col span {
  margin-bottom: 10px;
  text-align: center;
}

/* Skills */
.content-skills {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 40px;
  background: linear-gradient(to right, #042141 0%, #784C9C 46%, rgba(233, 118, 245, 0.5) 75%) ;
  margin-bottom: 80px;
}

.title-skills {
  width: 100%;
  text-align: center;
  margin-bottom: 60px;
}

.title-skills {
  font-size: 24px;
  font-weight: bold;
  color: white;
  margin-bottom: 30px;
}

.title-skills::after {
  content: '.';
  font-size: 40px;
  color:#E976F5;
}

.soft-skills {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.soft-skills .title-skills{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.soft-skills .list-skills{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  line-height: 2;
}

.hard-skills {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.hard-skills img {
  width: 100%;
}

.content-logos .desktop {
  display: block; 
}

.content-logos .mobile {
  display: none;
}

/* Experiencia Laboral */

.content-experience {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-bottom: 80px;
}

.content-experience .col-experience {
  width: 480px;
  height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border: 1px solid #000;
  border-radius: 5px;
  line-height: 2;
}

.col-experience .subtitle {
  font-weight: 600;
  color: #042141;
  text-align: center;
}

.col-experience span {
  text-align: center;
}

.col-experience .list-taks {
  margin-left: 20px;
  margin-top: 20px;
}

.more-show {
  width: 100%;
  text-align: center;
  margin-bottom: 80px;
}
.more-show span {
  margin-top: 25px;
  font-weight: 600;
  color: #042141;
  cursor: pointer;
}

.more-show span:hover {
  color: #784C9C;
}

/* Cursos y Certificados */
.content-courses {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 80px;
}

.content-picture {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-picture .img-courses {
  width: 60%;
}

.content-picture .img-courses img {
  width: 100%;
}

.content-listings {
  width: 60%;
  display: flex;
  flex-direction: column;
}

.content-listings li {
  margin-left: 30px;
  margin-bottom: 15px;
}
.content-listings ul {
  text-indent: 20px;
  line-height: 2;
  text-align: justify;
  margin-bottom: 20px;
}

/* Contacto */
footer {
  width: 100%;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  color: white;
  text-align: left;
  line-height: 2;
  border-radius: 100px 100px 0px 0px;
  padding-bottom: 30px;
  background: linear-gradient(to top, #042141 0%, rgba(233, 118, 245, 0.5) 75%) ;
  box-shadow: 2px 2px 3px 0px rgb(0 0 0 / 27%);
}

.contact .footer-title {
  width: 100%;
  display: flex;
  justify-content: center;
}

.contact .footer-title span {
  margin-top: 20px;
}

.contact .info {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: left;
  padding: 0px 200px 0px 100px;
}

.contact .info .span-bold {
  margin-top: 0px;
}

.contact .info p {
  text-align: justify;
  margin: 10px 0px 40px 0px;
}

.contact .info a {
  text-decoration: none;
  color: #042141;
}

.contact .message {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

.contact .message form {
  
  max-width: 407px;
  background-color: #042141;
  border-radius: 10px;
  padding: 25px;
  font-size: 12px;
  box-shadow: 2px 2px 3px 0px rgb(0 0 0 / 27%);
}

.contact .message .div-area {
  text-align: right;
}

.contact .message .div-area textarea {
  font-family: Poppins, sans-serif;
  width: 100%;
  resize: none;
  border-radius: 10px;
  border: none;
  outline: none;
  padding: 10px;
  font-size: 12px;
}
.contact .message .div-area span {
  font-size: 10px;
}

.contact.message .div-error {
  color: red;
  font-size: 11px;
}

.contact .message input {
  font-family: Poppins, sans-serif;
  width: 100%;
  margin-bottom: 20px;
  border-radius: 10px;
  outline: none;
  border: none;
  padding: 8px;
  font-size: 12px;
}

.contact .message .content-btn {
  width: 100%;
  display: flex;
  justify-content: center;
}

.contact .message .content-btn button {
  width: 60%;
  background-color: #784C9C;
  border: none;
  color: white;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  padding: 8px 0px;
  cursor: pointer;
}

.contact .message .content-btn button:hover {
transform: scale(1.03);
}

.contact .location {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.contact .location .icon {
  display: flex;
  flex-direction: column;  
}

.contact .location .info-location {
  display: flex;
  flex-direction: column;
}

.contact .location .info-location span {
  margin-top: 0px;
  line-height: 2rem;  
  cursor: pointer;
}

.contact .location .info-location span:hover {
  opacity: 0.8;
}

.contact .location .info-location span i {
  margin-right: 15px;
  font-size: 18px;
}

.contact .line {
  width: 100%;
  padding: 30px 40px;
}

.contact .line hr {
  background-color: #FFFFFF;
}

.contact .copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact .copy span {
  line-height: 1rem;
  font-size: 10px;
}







/* Para desktop */

@media (max-width: 1024px) {
  .content-about {
    justify-content: center;
    align-items: center;
    text-align: justify;
  }
}

/* Para tablet */
@media (max-width: 768px) {

}


/* Para mobile */
@media (max-width: 500px) {
  .header {
    flex-direction: column-reverse;
    padding: 20px 0px 20px 0px;
  }
  .img-letter {
    display: none;
  }
  .info-header {
    width: 100%;
    margin-left: 0px;
    text-align: center;
  }

  .info-header .name {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .info-header .ocupation {
    font-size: 18px;
    font-weight: bold;
    line-height: 0.7;
  }
  
  .info-header .ocupation::after {

    font-size: 32px;
  }
  .photo {
    width: 100%;
  }
  
  .container-body {
    padding: 0px 50px;
  }

  .social-icons {
    right: 5px; 
  }

  .icon {
    width: 35px;
    height: 35px;
  }

  .icon i {
    font-size: 18px;
  }
  .content-about {
    flex-direction: column;
  }

  .content-img {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .content-img .img-about {
    width: 70%;
  }
  
  .content-img .img-about img {
    width: 100%;
  }
  
  .content-info {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .content-info span {
    margin-bottom: 30px;
    text-align: center;
  }
  .content-info p {
    text-indent: 20px;
    line-height: 2;
    text-align: justify;
    margin-bottom: 20px;
  }

  .content-formacion .col {
    width: 100%;
  }

  .content-formacion {
    gap: 40px;
  }

  .menu {
    display: none;
  }

  #open-menu-btn {
    display: block;
  }

  .content-experience .col-experience {
    height: auto;
}

  .content-skills {
    flex-wrap: wrap;
    background: linear-gradient(to bottom, #042141 0%, #784C9C 46%, rgba(233, 118, 245, 0.5) 75%) ;
    padding: 40px 0px;
  }

  .soft-skills {
    width: 100%;
    padding: 0px 25px;
  }

  .soft-skills .list-skills{
    line-height: 2;
    margin-bottom: 30px;
  }

  .hard-skills {
    width: 100%;
    padding: 0px 25px;
  }

  .content-logos .desktop {
    display: none; 
  }

  .content-logos .mobile {
    display: block; 
  }

  .content-courses {
    flex-direction: column;
  }

  .content-picture {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .content-picture .img-courses {
    width: 70%;
  }
  
  .content-picture .img-courses img {
    width: 100%;
  }

  .content-listings {
    width: 100%;
    margin-top: 40px ;
  }

  .content-listings span {
    line-height: 1;
    text-align: center;
  }

  .contact {
    border-radius: 50px 50px 0px 0px;
  }

  .contact .footer-title span {
    margin-top: 50px;
    margin-bottom: 15px;
  }
  .contact .info {
    width: 100%;
    padding: 0px 50px 0px 50px;
    margin-bottom: 50px;
  }
  
  .contact .message {
    width: 100%;
    padding: 0px 50px 0px 50px;
  }

}