html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
}

.favicon {
  width: 84px; /* Ancho deseado del icono */
  height: 64px; /* Altura deseada del icono */
}

/*Menu content*/
header {
  display: flex;
  position: sticky;
  z-index: 1020;
  unicode-bidi: isolate;
}

/*Body content*/
.content-main {
  flex-grow: 1;
  margin-left: 20%;
  background: #f4f4f4;
}

/*Menu*/
.menu-vertical {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 20%;
  background-color: #333;
  overflow-x: hidden;
  padding-top: 55px;
  transition: transform 0.3s ease;
}

.menu-vertical .menu-toggle {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.menu-vertical ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.menu-vertical ul li {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  margin: 5px;
}

.menu-vertical ul li h2 {
  color: white;
  text-align: center;
  display: block;
}

.menu-vertical ul li a {
  color: white;
  text-align: center;
  text-decoration: none;
  display: block;
}

.menu-vertical ul li img {
  display: flex;
  margin: auto;
  border-radius: 50rem;
  width: 170px;
}

.menu-vertical ul li a.rs-icon {
  width: 20px;
  display: inline-block;
}

.menu-vertical ul li a.rs-icon img {
  width: 20px;
}

.menu-vertical ul li span {
  background-color: #977290 !important;
  padding: 0.5rem !important;
  display: inline-block !important;
  border-radius: 50rem;
}

.menu-vertical ul li a:hover {
  color: plum;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 8px 0;
}

/*Banner home*/
.hero-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url("https://www.noraprogramadora.com/wp-content/uploads/2023/06/6340cfac-609a-4793-ad98-04eda55c66e9.jpg")
    no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-wrap .container {
  position: relative;
  z-index: 2;
}

.hero-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay */
  z-index: 1;
}

.hero-wrap h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-wrap p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: white;
  text-decoration: none;
  animation: float 2s infinite;
  z-index: 2;
}

.scroll-down:hover {
  color: plum;
}

/* Dynamix title text */
#dynamic-text {
  display: flex;
  align-items: center;
  justify-content: center;
}

#changing-text {
  border-right: 2px solid white; /* Cursor */
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  animation: blink 0.7s step-end infinite;
  margin-left: 16px;
}

.typing {
  animation: typing 2s steps(30, end), blink 0.7s step-end infinite;
}

/* About section */
.about-section {
  background-color: #5c5c5c;
  color: white;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
}

.resume {
  background-color: #212529 !important;
  color: white;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  position: relative;
}

.title {
  position: relative;
  display: inline-block;
  font-size: 2em;
  z-index: 1;
  margin: 2em;
}

.title::before {
  content: attr(data-text);
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(0, 0, 0, 0.1);
  font-size: 3em;
  z-index: -1;
  white-space: nowrap;
}

.title::after {
  content: "";
  display: block;
  width: 50%;
  height: 5px;
  background-color: pink;
  margin: 0 auto;
  margin-top: 5px;
}

.container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  h3 {
    text-align: justify;
    margin-bottom: 1em;
  }
}

.card-section {
  width: 100%;
  padding: 3em;

  .masonry {
    column-count: 2; /* Número de columnas */
    column-gap: 1rem; /* Espacio entre columnas */

    .card {
      border: 1px solid #111418;
      break-inside: avoid;
      margin-bottom: 1rem;
    }

    .card-body {
      background-color: #111418 !important;
    }

    h5,
    h6,
    p {
      text-align: left;
    }

    h5,
    .date {
      color: pink;
    }

    h6,
    p {
      color: white;
    }

    .skill {
      margin-bottom: 1rem;
    }

    label {
      display: flex;
      color: white;
      margin-bottom: 0.5rem;
    }

    progress {
      width: 100%;
      height: 12px;
      appearance: none;
    }

    progress::-webkit-progress-bar {
      background-color: #f3f3f3;
      border-radius: 10px;
      overflow: hidden;
    }

    progress::-webkit-progress-value {
      background-color: plum;
      border-radius: 10px 0 0 10px;
    }

    progress::-moz-progress-bar {
      background-color: pink;
      border-radius: 10px 0 0 10px;
    }
  }

  .projects {
    column-count: 2; /* Número de columnas */
    column-gap: 1rem; /* Espacio entre columnas */

    .card {
      break-inside: avoid;
      margin-bottom: 1rem;
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 8px;
      overflow: hidden;
      margin-bottom: 30px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s;
      a.btn-generic {
        background-color: #ab8cab;
        color: white;
      }
    }

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

.about-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  max-width: 800px;
  text-align: left;
}

.about-text {
  flex: 1;
  margin-right: 20px;
}

.about-text p {
  margin: 10px 0;
}

.highlight {
  color: #ff6347;
}

.details {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.detail-item {
  margin: 15px 0;
}

.btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: transparent;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.btn:hover {
  background-color: white;
  color: #333;
}

.btn-generic-color {
  background-color: plum;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  padding: 1em;
  display: flex;
  margin: auto;
}

.btn-generic-color:hover {
  background-color: rgb(206, 109, 206);
}

/* GitHub Widget */
#github-widget {
  background-color: #5c5c5c;
  color: white;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  position: relative;
  min-height: 100vh;

  img {
    max-width: 80%;
  }
}

/* Contact form*/

.contact-form-container {
  width: 50%;
  margin: 0 auto;
}

.contact-form-container h2 {
  margin-bottom: 20px;
}

.contact-form-container form {
  display: flex;
  flex-direction: column;
}

.form-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form-container label {
  margin-bottom: 5px;
  text-align: left;
}

.contact-form-container input,
.contact-form-container textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
}

.contact-form-container textarea {
  margin-top: 20px;
}

.contact-form-container button {
  padding: 10px;
  border: none;
  border-radius: 5px;
  background-color: #333;
  color: #fff;
  cursor: pointer;
  margin-top: 20px;
  width: 200px;
  margin: 2em auto;
}

.contact-form-container button:hover {
  background-color: #555;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: auto;
  margin-left: 20%;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-content p {
  margin: 0;
  padding: 10px;
}
