@media (max-width: 650px) {  
  body {
      width: 100%;
      margin: 0;
      padding: 0;      
      display: flex;
      flex-direction: column;
      position: relative;
      font-family: Arial, Helvetica, sans-serif;
      background: #011950;
    }   

      section.main {
        width: 100%;
        min-height: 100vh;
        max-height: 100vh;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: space-evenly;
        background: #011950;
        background-image: radial-gradient(circle,
      rgba(255, 0, 255, 0.6) 0%,
      rgba(255, 0, 255, 0) 70%,
      #1a1a1a 100%);
      padding: 0px 20px;
      box-sizing: border-box;
  }

  section.main article.main-article {
    width: 100%;  
    gap: 10px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;  
  }

  article.main-article .links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


section.portfolio {
  width: 100%;
  min-height:10vh;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-direction:column;  
  box-sizing: border-box;  
  background: linear-gradient(darkmagenta, #80294b, #271b29, #121d31);
}

section.portfolio .slider-container{
    width: auto; 
    min-height: 400px; 
    display:flex;
    flex-direction:row;
    align-items: center; 
    justify-content:space-between;           
    box-sizing: border-box;
    gap:10px;
    background-image: url(../images/assets/gif-video/1.gif);
    background-size:cover;
    background-repeat: repeat;
}
.container-img img.transparent-bg,
.container-img img.white-bg,
.container-img img{
  display: none;  
  min-width:200px;
  max-width:200px;
  height: 400px;  
  border: 1px solid #FFD672;
  box-shadow: 1px 2px 3px 2px #FFD672;
  border-radius: 8px;  
}

.slider-container img.active {
    display: flex;
    justify-content:center;
    align-items:center;    
    max-width: 200px;
    height: 400px;  
    border: 1px solid #FFD672;
    box-shadow: 1px 2px 3px 2px #FFD672;
    border-radius: 8px;
}

.button-slide {
  width: 10%;
  height: 100%;    
}

.button-slide .next-slide{
  width: 100px;
  height: 100%;
  font-size: 25px;
  color: white;  
  cursor: pointer;   
  margin-left:-20px;
}

.button-slide .prev-slide{
  max-width: 100px;
  height: 100%;
  font-size: 25px;
  color: white;  
  cursor: pointer;  
}

.btnToDown {
  width: 100px;
  height: 100%;
  font-size: 30px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;  
}

.btnToUp:hover,
.btnToDown:hover {
  color: #370839;
}

.portfolio .section-awards {
  width: 100%;
  min-height: 50vh;  
  display: flex;
  flex-direction:column;
  justify-content: center;
  align-items: center;
  text-align: justify;
  color: white;
  font-weight: bold;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px; 
}

.portfolio .section-awards .award-items {
  width: 92%;
  height: 300px;
  background: white;
  color: #333;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 1px 2px 3px 4px goldenrod;
  padding: 10px;
}

.award-items ol {
  text-decoration: none;
  list-style-type: upper-roman;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.award-items ol li {
  font-size: 12px;
}

.award-items ol li a {
  text-decoration: underline;
  color: blue;
}

.award-items h2.title {
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
}

h2.title i {
  font-size: 25px;
  color: gold;
}

.worked-links {
  display: flex;
  gap: 10px;
}


.btn {
  width: 200px;
  min-width: 170px;
  min-height: 40px;
  max-width: 220px;
  padding: 5px 20px;
  border: none;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  gap: 10px;
}

.btn:hover {
  font-weight: bold;
}


.btn-color-red {
  background: red;
  color: white;
}

.btn-color-red:hover {
  background: rgb(187, 11, 11);
}

.btn-color-blue {
  background: #011950;
  color: white;
}

.btn-color-blue i{
  font-size:25px;
}

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

.btn-color-black{
  background-color: black;
  color:white;
}

.btn-color-black i{
  font-size:25px;
}



/* .btnToUp {
  width: 2.5%;
  height: 100%;
  font-size: 30px;
  color: #370839;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
} */

.achievements-section {
  width: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
  padding: 60px 20px;
  color: white;
  margin-top: -20px;
  box-sizing: border-box;  
}

.achievements-container {  
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 10px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.05);
}


.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #bdc3c7;
  font-weight: 600;
}


.achievements-section {  
  background-color: #1a1a1a;
  margin-top: -1px;  
  background-image: radial-gradient(circle at 50% 0%,
      rgb(1, 25, 80) 0%,
      rgba(255, 0, 255, 0) 75%,
      #1a1a1a 100%);
  padding: 80px 20px;
  color: white;  
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 0, 255, 0.4);  
}

.stat-icon {
  font-size: 2.5rem;
  color: #ff00ff;  
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(255, 0, 255, 0.5));
}


.skills-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;  
  background: #011950;
  background-image: radial-gradient(circle at 50% 0%,
      rgba(255, 0, 255, 0.4) 0%,
      rgba(255, 0, 255, 0) 70%,
      #011950 100%);
  min-height: 400px;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);  
  backdrop-filter: blur(12px);  
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: transform 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 0, 255, 0.4);  
}

.card-title {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  color: #fff;
}

.card-title i {
  font-size: 1.8rem;
  margin-right: 15px;
  color: #ff00ff;  
}

.card-title h3 {
  font-size: 1.6rem;
  margin: 0;
  letter-spacing: 1px;
}

.skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skills-list li {
  color: #e0e0e0;
  margin-bottom: 12px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
}

.dot {
  height: 6px;
  width: 6px;
  background-color: #ff00ff;  
  border-radius: 50%;
  display: inline-block;
  margin-right: 12px;
  box-shadow: 0 0 8px #ff00ff;
}


.skills-section {
  padding: 40px 20px;
  font-family: Arial, Helvetica, sans-serif;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(#6f42c1, #370839);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.skills-container .section-title {
  width:100%;
  height:10vh;
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: white;  
  display:flex;
  justify-content:center;
  align-items:center;
}


.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: white;
}

.skills-grid {
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:0 auto;    
}


.core-competence{
  width:100%;
  height:10vh;  
  text-align: center;
  margin-bottom: 40px;
  display:flex;
  justify-content:center;
  align-items:center;
}

.section-title{
  font-size: 2.5rem;
  color: white;
}

.skill-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  color: #333;
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.card-header i {
  font-size: 40px;
  color: #333;
  margin-right: 15px;
}

.card-header h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #222;
}

.skill-card ul {
  list-style: none;
  padding: 0;
}

.skill-card li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
}

.skill-card li:last-child {
  border-bottom: none;
}

.badge {
  position: absolute;
  top: 15px;
  right: -30px;
  background: linear-gradient(135deg, #FFD700, #B8860B);
  color: black;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.7rem;
  font-weight: bold;
}

.badge-plate {
  background: #C0C0C0;
  position: absolute;
  top: 15px;
  right: -30px;
  color: black;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.7rem;
  font-weight: bold;
}

.badge-emerald {
  background: #4AF2A1;
  position: absolute;
  top: 15px;
  right: -30px;
  color: black;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.7rem;
  font-weight: bold;
}

.next-section {
  display: block;
  width: 100%;
}

.next-section a {
  margin-left: auto;
  margin-right: auto;
}

.tech-slider-container {
  width: 100%;
  height: 160px;
  overflow: hidden;
  position: relative;  
  background: linear-gradient(45deg, #FF8C00, #FF0080);
  display: flex;
  align-items: center;
  border-top: 1px solid purple;  
  box-shadow: 1px 2px 3px 2px purple;
}

.tech-slide-track {
  display: flex;  
  width: calc(var(--item-width) * var(--items-count) * 2);
  animation: scroll 50s linear infinite;
}

.tech-item {
  width: var(--item-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: white;
  margin-left: 5px;
  margin-right: 5px;
  padding-top: 5px;
  border-radius: 10px;
  border: 1px solid #FFD672;
  box-shadow: 1px 2px 3px 2px #FFD672;
}

.tech-item-empty {
  width: var(--item-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  margin-left: 5px;
  margin-right: 5px;
  padding-top: 5px;
  border-radius: 10px;
  border: 1px solid transparent;
  box-shadow: 1px 2px 3px 2px transparent;
}

.tech-item i {
  font-size: 3.5rem;
  margin-bottom: 12px;
}

.tech-item span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    /* Se desplaza exactamente el ancho de la lista original */
    transform: translateX(calc(var(--item-width) * var(--items-count) * -1));
  }
}

.tech-slider-container:hover .tech-slide-track {
  animation-play-state: paused;
}


footer {
  width: 100%;
  min-height: 90vh;
  background: black;
  color: white;
  display: flex;
  flex-wrap: wrap;
  margin-top: 5px;
}

footer{
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

footer .section-main {
  width: 100%;
  height: 50px;
  visibility:hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  font-weight: bold;
  clip-path: polygon(0% 0%, 1% 50%, 0% 100%,
      100% 100%, 99% 50%, 100% 0%);
}

footer section.contact-me {
  width: 50%;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #242626;
  box-sizing: border-box;
  gap: 20px;
}

footer section.contact-me .form {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

footer .contact-me h2.contact-me-title {
  margin-top: -30px;
}

footer section.about-me {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.textarea,
input[type="text"],
input[type="email"],
input[type="password"] {  
  max-width: 200px;
  min-height: 48px;  
  max-height: 200px;
  padding: 0 15px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  color: #333;
  background-color: #fff;  
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

select {  
  max-width: 300px;
  min-height: 48px;  
  max-height: 50px;  
  padding: 0 15px;
  box-sizing: border-box;  
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  color: #333;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

::placeholder {
  color: #aaa;
}

.form-group-area {
  width: 100%;
  display: flex;
  flex-direction:column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group h2 {
  margin: 0;
  padding: 0;
}

.btn-submit {
  width: 250px;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  background: red;
}

.btn-submit i {
  font-size: 25px;
  transform: rotate(45deg);
  margin-left: 5px;
}

.agent-card {
  background: #242626;
  width: 240px;
  padding: 40px 20px;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}


.top-notch {
  position: absolute;
  top: 0;
  width: 120px;
  height: 10px;
  background-color: #25d366;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.avatar {
  width: 100px;
  height: 100px;
  background-color: #292b2b;
  border-radius: 8px;
  margin-bottom: 25px;
  margin-top: 10px;
}

img.avatar {
  border-radius: 8px;
}

.name {
  color: white;
  font-size: 22px;
  margin: 0;
  font-weight: bold;
}

.job-title {
  color: white;
  font-size: 14px;
  font-weight: bold;
  margin: 10px 0 35px 0;
}


.btn-click {
  background-color: #25d366;
  color: white;
  border: none;
  padding: 12px 40px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  text-decoration: none;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.btn-click i {
  margin-left: 5px;
  font-size: 25px;
  box-sizing: border-box;
}

.btn-click:hover {
  background-color: #25d366;
  transform: scale(1.05);
}

.btn-click:active {
  transform: scale(0.95);
}

.franja {
  width: 100%;
  height: 33.33%;  
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  font-weight: bold;
  position: relative;
}

.amarillo {
  background-color: #F7D117;
}

.azul {
  background-color: #0033A0;
}

.rojo {
  background-color: #CF142B;
}

.blanco {
  background-color: #ffff;
}

.negro{
  background-color: black;
}


.estrellas-arco {
  font-size: 18px;
  letter-spacing: 2px;
}

.card-alexmaracinaru {
  width: 100%;
  height: 40px;
  font-size: 12px;
  color: #eee;
  font-weight: normal;
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
}