*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
:root {
  --text-primary-color: #110c07;
  --primary-color: #e66f00;
  --secondary-color: #eb9800;
  --bg-dark: #000000;
  --bg-normal: #db8708;
  --bg-light: #b17900;
  --size: 8px;
}
html {
  color: --text-primary-color;
  font-family: "Roboto", sans-serif;
}
body {
  /* overflow-x: hidden; */
  font-family: "Roboto", sans-serif;
}
a {
  text-decoration: none;
}
h1 {
  font-size: 3.5rem;
  font-weight: 500;
  text-align: center;
  font-family: "Roboto", sans-serif;
}
h2 {
  font-size: 2.5rem;
  font-weight: 300;
  text-align: center;
  color: var(--primary-color);
  font-family: "Roboto", sans-serif;
  text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black,
    1px 1px 0 black;
}

h3 {
  font-size: 2rem;
  font-weight: 300;
  color: var(--primary-color);
  font-family: "Roboto", sans-serif;
  line-height: 1.2;
}
p {
  font-size: 1.2rem;
  font-weight: 300;
  font-family: "Roboto", sans-serif;
}
button {
  all: unset;
}
::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}
::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 4px;
}

@keyframes scrollImg {
  from {
    object-position: 0 100%;
    -o-object-position: 0 100%;
  }
  to {
    object-position: 0 0;
    -o-object-position: 0 0;
  }
}

/* GLOBAL CLASSES */
.container {
  width: 100%;
  padding: 3rem 10rem;
}
.col {
  width: 50%;
}
.btn {
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 5px;
  text-align: center;
}
.btn:hover {
  filter: brightness(1.2);
}
.btn-primary {
  background-color: var(--primary-color);
  color: black;
}
.btn-secondary {
  background-color: #eeeeee;
  color: black;
}
.btn-info {
  background-color: #0720ff;
  color: black;
  min-width: 100px;
}
.btn-icon {
  display: inline-flex;
  align-items: center;
}
.icon-btn {
  width: 24px;
  margin-right: 5px;
}
.bg-white {
  background-color: white;
}
.shadow {
  box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
}
.disableScroll {
  overflow: hidden;
}
.flex {
  display: flex;
}
.flex-column {
  flex-direction: column;
}
.align-center {
  align-items: center;
}
.my-1 {
  margin: var(--size) 0;
}
.my-2 {
  margin: calc(var(--size) * 2) 0;
}
.underline {
  text-decoration: underline;
}
/* END GLOBAL CLASSES */

/* STYLES HEADER*/
header {
  background-color: white;
  height: 70px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  transition: top 0.5s;
  top: -60px;
  padding: 0 10rem;
  width: 100%;
  z-index: 20;
}
.show {
  top: 0;
}

.logo-container {
  height: 70%;
  width: 70px;
  display: flex;
  align-items: center;
}
.logo-container img {
  width: 100%;
}
.menu {
  display: flex;
  height: 100%;
  align-items: center;
}
.menu-list {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.menu-item {
  color: var(--primary-color);
}
.menu-item:hover {
  filter: brightness(1.2);
}
.menu-dropdown {
  display: none;
  cursor: pointer;
  height: 32px;
  width: 32px;
}
.menu-dropdown img {
  object-fit: cover;
  width: 100%;
}
.active {
  transform: translate(600px);
}
.opacity {
  filter: brightness(0.6);
  transition: all 0.5s ease;
}
.menu-mobile {
  background-color: white;
  width: 120vw;
  max-width: 300px;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  transition: all 0.5s ease;
}
.menu-list-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 100px 0 20px 0;
}
.menu-item-mobile {
  color: var(--primary-color);
  font-size: 1.2rem;
}
.menu-item-mobile:hover {
  filter: brightness(1.2);
}
/* END STYLES HEADER*/

/* STYLES HERO */
.hero-container {
  height: 100vh;
  background-image: url("./images/background-hero.png");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}
.my-name {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
}
/* END STYLES HERO */

/* STYLES ABOUT ME */
.about {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.container-img-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.img-profile {
  background-color: var(--primary-color);
  width: 100%;
  height: 50%;
  max-width: 400px;
  border-radius: 50%;
  object-fit: cover;
}
.container-description {
  display: flex;
  flex-direction: column;
  padding: 10px;
  text-align: initial;
}

.title-description {
  display: flex;
  align-items: center;
  padding-bottom: 10px;
}
.react-img {
  width: 64px;
}
.skills {
  padding: 10px;
  display: flex;
  font-family: "Roboto", sans-serif;
  color: var(--secondary-color);
}
.skills-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 2px;
  max-width: 560px;
}
.skills-list li {
  padding: 5px;
  display: flex;
  max-width: 150px;
  align-items: center;
  list-style: none;
}
.icon-skill {
  width: 38px;
  padding-right: 2px;
}
/* END STYLES ABOUT ME */

/* STYLES MY PROJECTS */
.projects {
  background-color: rgb(255, 255, 255);
  padding: 60px 20px;
}

.title-projects {
  text-align: center;
  margin-bottom: 40px;
  color: var(--bg-dark);
  font-size: 2rem;
  font-weight: bold;
}

.projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project {
  background: white;
  border-radius: 16px;
  border: 3px solid orange; /* borde blanco */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.container-preview {
  height: 220px;
  overflow: hidden;
}

.project-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s linear;
}

.container-preview:hover .project-preview {
  transform: scale(1.1) translateY(-10%);
}

.project-title {
  font-family: "Roboto", sans-serif;
  margin: 15px 20px 10px;
  color: var(--bg-dark);
  font-size: 1.1rem;
}

.project-description {
  color: #333;
  margin: 0 20px 10px;
  font-size: 0.95rem;
}

.title-technologies {
  margin: 0 20px 8px;
  font-weight: 600;
  color: #444;
}

.technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 10px;
}

.technology {
  background-color: #212033;
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
}

.btn-icon {
  border-color: #e66f00;
  border-radius: 10px;
  background-color: white;
  padding: 10px;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin: 10px 0 15px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.btn-icon img.icon-btn {
  width: 18px;
  height: 18px;
}

/* educaition   */

.educations {
  padding: 40px 20px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.title-educations {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.educations-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.education {
  background-color: #fff;
  padding: 20px;
  border-left: 5px solid #007bff;
  border-radius: 8px;
  transition: transform 0.2s;
}

.education:hover {
  transform: translateY(-5px);
}

.education-title {
  font-size: 18px;
  font-weight: bold;
  color: #007bff;
  text-decoration: none;
}

.education-title:hover {
  text-decoration: underline;
}

.education-dates {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

.education-description {
  font-size: 15px;
  color: #444;
  margin-top: 8px;
}

/* EXPERIENCIE*/

.experience {
  padding: 40px 20px;
  background-color: #f1f5f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.title-experience {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #1e293b;
}

.experience-list {
  display: grid;
  gap: 20px;
}

.job {
  background-color: #fff;
  padding: 20px;
  border-left: 5px solid #0d9488;
  border-radius: 8px;
  transition: transform 0.2s;
}

.job:hover {
  transform: translateY(-5px);
}

.job-role {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
}

.job-company {
  font-size: 16px;
  font-weight: 500;
  color: #475569;
}

.job-period {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 10px;
}

.job-responsibilities {
  list-style: disc;
  padding-left: 20px;
  color: #334155;
  font-size: 15px;
}

/* STYLES FOOTER*/
footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 150px;
}
footer p {
  padding: 5px;
  text-align: center;
}
.social-media {
  padding: 18px;
  margin-top: 10px;
}
.social-media-menu {
  display: flex;
  margin-top: 10px;
  width: 100%;
  display: co;
  justify-content: center;
}
.social-item {
  border-radius: 20px;
  width: 48px;
  margin-right: 10px;
}
.github {
  background-color: white;
}
/* END STYLES FOOTER*/

@media screen and (max-width: 1280px) {
  /* GLOBAL CLASSES */
  .container {
    padding: 3rem 5rem;
  }
  /* END GLOBAL CLASSES */

  /* STYLES HEADER */
  header {
    padding: 0 5rem;
  }
  /* END STYLES HEADER */
}
@media screen and (max-width: 900px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.5rem;
  }

  /* GLOBAL CLASSES */
  .container {
    padding: 3rem 2.5rem;
  }
  .col {
    width: 100%;
  }
  /* END GLOBAL CLASSES */

  /* STYLES HEADER */
  header {
    padding: 0 2.5rem;
  }
  .menu-list {
    display: none;
  }
  .menu-dropdown {
    display: flex;
  }
  /* END STYLES HEADER */

  /* STYLES HERO */
  .hero-container {
    min-height: 50vh;
    height: 50vh;
  }
  .about {
    flex-direction: column;
  }
  .title-description {
    justify-content: center;
  }
  /* END STYLES HERO */

  /* STYLES MY PROJECTS */
  .projects-list {
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }
  /* END STYLES MY PROJECTS */

  /* STYLES EDUCATION */
  .educations-list {
    grid-template-columns: 1fr;
  }
  /* END STYLES EDUCATION */
}
@media screen and (max-width: 600px) {
  /* GLOBAL CLASSES */
  .container {
    padding: 1rem 1rem;
  }
  .col {
    width: 100%;
  }
  /* END GLOBAL CLASSES */

  /* STYLES HEADER */
  header {
    padding: 0 1rem;
  }
  /* END STYLES HEADER */

  /* STYLES EDUCATION */
  .educations-list {
    grid-template-columns: 1fr;
  }
  /* END STYLES EDUCATION */
}
@media screen and (max-width: 450px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  h3 {
    font-size: 1.3rem;
  }
  p {
    font-size: 1rem;
  }
  /* GLOBAL CLASSES */

  .btn {
    display: flex;
    justify-content: center;
  }
  /* END GLOBAL CLASSES */

  /* STYLES MY PROJECTS */
  .container-preview {
    height: 300px;
  }
  /* END STYLES MY PROJECTS */

  /* STYLES EDUCATION */
  .title-education {
    font-size: 1rem;
  }
  /* END STYLES EDUCATION */
}
/*btn wsp*/
.btn-wsp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s;
}

.btn-wsp:hover {
  transform: scale(1.1);
}

.btn-wsp img {
  width: 30px;
  height: 30px;
}
