* {
    margin:0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    background-color: rgba(0, 0, 0, 0.829);
    padding-top: 100px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 35px 12%;
    background-color: rgb(8, 16, 59);
    /* backdrop-filter: blur(10px); */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    isolation: isolate;
}

.header_nombre {
    font-size: 25px;
    color: white;
    font-weight: 600;
    transition: 0.3s ease;
}

.header_nombre:hover {
    color: aqua;
    text-shadow: 0 0 25px;
    scale: 1.1;
}

.header_navbar_info {
    font-size: 15px;
    color: white;
    font-weight: 500;
    margin: 0 20px;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease;
}

.header_navbar a:hover,
.header_navbar a.active {
    color: aqua;
    border-bottom: 3px solid aqua;
}

.home {
    width: 100%;
    min-height: calc(100vh - 100px);
    background-color: rgba(141, 178, 187, 0.842);
    display: flex;
    align-items: center;
    gap: 7em;
    padding: 30px 12% 0;
}

.home-content {
    max-width: 800px;
}

.home-content h3 {
    font-size: 42px;
}

.home-content h1 {
    font-size: 62px;
    line-height: 1.2;
}

.home-content p {
    font-size: 18px;
    margin: 25px 0 30px;
}

.img {
    border-radius: 2px;
    width: 350px;
    display: flex;
    flex-direction: row;
}

.img img {
    width: 300px;
    height: auto;
}


/* Habilidades y herramientas */

.sckills {
    width: 100%;
    min-height: 60vh;
    background-color: rgb(12, 12, 12);
    padding: 60px 12% 40px 12%;
    margin-top: 0;
}

.sckills h1 {
    color: white;
    align-items: center;
}

.sckills__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7em;
    width: 100%;
}

.sckills__content1,
.sckills__content2 {
    background: linear-gradient(180deg, #52f9ff 0%, #000000 100%);
    border: 2px solid #fc000083;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 2em 1.5em 2em 1.5em;
    min-width: 220px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
}

.sckills__content1 h2,
.sckills__content2 h2 {
    font-size: 1.3em;
    margin-bottom: 0.7em;
    color: #1a3d1a;
    border-bottom: 1px solid #b2b2b2;
    width: 100%;
    padding-bottom: 0.3em;
}

.sckills__content__item {
    display: flex;
    align-items: center;
    gap: 0.7em;
    background: #f6f6f6;
    border-radius: 8px;
    padding: 0.5em 0.8em;
    margin-bottom: 0.5em;
    width: 100%;
}

.sckills__content__item p {
    margin: 0 0.5em 0 0;
    font-size: 1em;
    color: #222;
}

.sckills h1 {
    font-size: 42px;
    text-align: left;
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 2em;
}

.sckills__content {
    margin-top: 0;
}

.sckills__content1 {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.sckills__content1__item {
    display: flex;
    gap: 1em;
    align-items: center;
}

.sckills__content1__item img {
    width: 40px;
    height: auto;
}

.sckills__content2 {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.sckills__content2__item {
    display: flex;
    gap: 1em;
    align-items: center;
}

.sckills__content2__item img {
    width: 40px;
    height: auto;
}

.sckills__content__item img {
    width: 40px;
    height: auto;
}

/* Experiencia */
.experience {
    width: 100%;
    min-height: 60vh;
    background-color: rgb(12, 12, 12);
    padding: 60px 12% 40px 12%;
    margin-top: 0;
}

.experience h1 {
    color: white;
    font-size: 42px;
    margin-bottom: 1.5em;
    text-align: left;
}

.experience__content {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5em;
    justify-content: flex-start;
}

.experience__item {
    background: linear-gradient(180deg, #52f9ff 0%, #000000 100%);
    border: 2px solid #52f9ff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(82,249,255,0.12);
    padding: 2em 1.5em 2em 1.5em;
    min-width: 260px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 1em;
    color: #f3f3f3;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.experience__item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(82,249,255,0.18);
    border-color: #00e1ff;
}
.experience__item h2 {
    font-size: 1.3em;
    color: #0a2a4d;
    border-bottom: 1px solid #b2b2b2;
    width: 100%;
    padding-bottom: 0.3em;
    margin-bottom: 0.5em;
    letter-spacing: 0.5px;
}
.experience__item h3 {
    font-size: 1.1em;
    color: #1a3d1a;
    margin-bottom: 0.3em;
    font-weight: 600;
}
.experience__item p {
    font-size: 1em;
    color: #f3f3f3;
    margin-bottom: 0.5em;
    line-height: 1.5;
}
.experience__item span {
    font-size: 0.95em;
    color: #b2b2b2;
    margin-top: 0.5em;
    font-style: italic;
}

/* Proyectos */
.projects {
    width: 100%;
    min-height: 60vh;
    background-color: rgb(12, 12, 12);
    padding: 60px 12% 40px 12%;
    margin-top: 0;
}

.projects h1 {
    color: white;
    font-size: 42px;
    margin-bottom: 1.5em;
    text-align: left;
}

.projects__content {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5em;
    justify-content: flex-start;
}

.projects__item {
    background: linear-gradient(180deg, #a259ff 0%, #3f2b96 100%);
    border: 2px solid #a259ff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(162,89,255,0.12);
    padding: 2em 1.5em 2em 1.5em;
    min-width: 260px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 1em;
    color: #f3f3f3;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.projects__item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(162,89,255,0.18);
    border-color: #7c3aed;
}
.projects__item h2 {
    font-size: 1.3em;
    color: #3f2b96;
    border-bottom: 1px solid #b2b2b2;
    width: 100%;
    padding-bottom: 0.3em;
    margin-bottom: 0.5em;
    letter-spacing: 0.5px;
}
.projects__item p {
    font-size: 1em;
    color: #f3f3f3;
    margin-bottom: 0.5em;
    line-height: 1.5;
}
.projects__item a {
    color: #3f2b96;
    background: #fff;
    border-radius: 6px;
    padding: 0.4em 1em;
    font-weight: 600;
    text-align: center;
    width: fit-content;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    margin-top: 0.5em;
    box-shadow: 0 2px 8px rgba(162,89,255,0.08);
}
.projects__item a:hover {
    background: #3f2b96;
    color: #fff;
    box-shadow: 0 4px 16px rgba(162,89,255,0.18);
}

/* Educación */
.education {
    width: 100%;
    min-height: 60vh;
    background-color: rgb(12, 12, 12);
    padding: 60px 12% 40px 12%;
    margin-top: 0;
}

.education h1 {
    color: white;
    font-size: 42px;
    margin-bottom: 1.5em;
    text-align: left;
}

.education__content {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5em;
    justify-content: flex-start;
}

.education__item {
    background: linear-gradient(180deg, #43e97b 0%, #38f9d7 100%);
    border: 2px solid #43e97b;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(67,233,123,0.12);
    padding: 2em 1.5em 2em 1.5em;
    min-width: 260px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 1em;
    color: #222;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.education__item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(67,233,123,0.18);
    border-color: #38f9d7;
}
.education__item h2 {
    font-size: 1.3em;
    color: #1a3d1a;
    border-bottom: 1px solid #b2b2b2;
    width: 100%;
    padding-bottom: 0.3em;
    margin-bottom: 0.5em;
    letter-spacing: 0.5px;
}
.education__item h3 {
    font-size: 1.1em;
    color: #0a2a4d;
    margin-bottom: 0.3em;
    font-weight: 600;
}
.education__item span {
    font-size: 0.95em;
    color: #1a3d1a;
    margin-top: 0.5em;
    font-style: italic;
}

/* Responsive para tarjetas */
@media (max-width: 900px) {
    .experience__content, .projects__content, .education__content {
        flex-direction: column;
        align-items: center;
    }
    .experience__item, .projects__item, .education__item {
        min-width: 220px;
        max-width: 95vw;
    }

    /* ======== ESTILOS BASE ======== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  line-height: 1.6;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #111;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header_nombre {
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.header_navbar {
  display: flex;
  gap: 1rem;
}

.header_navbar_info {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.header_navbar_info:hover {
  color: #0ff;
}

/* ======== HOME FLEX ======== */
.home {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 2rem;
}

.home-content,
.img {
  flex: 1 1 300px;
}

.home-content h1 {
  font-size: 2rem;
}

.img img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ======== SECCIONES ======== */
section {
  padding: 2rem;
}

section h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

/* ======== RESPONSIVE MENU ======== */
@media screen and (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header_navbar {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
  }

  .header_navbar_info {
    font-size: 1rem;
  }

  .home {
    flex-direction: column;
    text-align: center;
  }

  .home-content h1 {
    font-size: 1.5rem;
  }

  .sckills__content,
  .experience__content,
  .projects__content,
  .education__content {
    flex-direction: column;
    gap: 1rem;
  }
}

}
