.header {
    background-color: #161b22ee;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #6a29e2;
    box-shadow: 0 0 25px rgba(106, 41, 226, 0.3);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.navbar li {
    position: relative;
}

.navbar a {
    text-decoration: none;
    color: #58ff7c;
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 1.2rem;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.navbar a:hover {
    background: #6a29e233;
    border-color: #58ff7c;
    text-shadow: 0 0 15px #58ff7c;
    transform: translateY(-2px);
}

.navbar a[href="learning-roadmap.html"] {
    background: #6a29e266;
    border-color: #58ff7c;
    box-shadow: 0 0 15px rgba(88, 255, 124, 0.3);
}

.custom-bg {
    position: relative;
    background-image: url('../imgs/back_dedsec.jpeg');
    background-size: cover;
    background-position: center;
  }
  
  .custom-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75); /* Negro con 70% de opacidad */
    z-index: 1; /* Asegura que la capa esté por encima de la imagen */
  }
  
  .custom-bg > * {
    position: relative;
    z-index: 2; /* Coloca el contenido del div por encima de la capa oscura */
  }

#infographic .circle {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 7px double;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 40px;
    position: absolute;
    left: 50%;
    margin: 40px 0;
 }
 #infographic section:nth-child(odd) .circle {
    transform: translateX(-100%);
 }
 
 #infographic article {
    max-width: 410px;
    margin-bottom: 20px;
    cursor: pointer;
    left: 50%;
    position: relative;
 }
 #infographic article header {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
 }
 #infographic article header i {
    display: flex;
    font-size: 2em;
    border-radius: 50%;
    background-clip: padding-box;
    padding: 14px;
    transition: transform 0.4s;
    color: #fff;
    border: 16px solid var(--bs-dark);
    margin: -16px 0 -16px -20px;
 }
 #infographic article:hover header i {
    transform: scale(1.2);
 }
 #infographic article.active header i {
    transform: none;
 }
 
 .text-purple {
    color: #c41dc4; /* Tono morado */
 }
 
 .bg-purple {
    background-color: #c41dc4; /* Tono morado */
 }
 
 .bg-purple-opacity-10 {
    background-color: rgba(193, 45, 193, 0.135); /* Opacidad del color morado */
 }
 
 .btn-outline-purple {
    border-color: #c41dc4;
    color: #c41dc4;
 }
 
 .btn-outline-purple:hover {
    background-color: #800080;
    color: #fff;
 }

 .text-green {
    color: #28a745; /* Tono verde */
 }
 
 .bg-green {
    background-color: #28a745; /* Tono verde */
 }
 
 .bg-opacity-10 {
    background-color: rgba(40, 167, 69, 0.1); /* Opacidad del color verde */
 }
 
 .btn-outline-green {
    border-color: #28a745;
    color: #28a745;
 }
 
 .btn-outline-green:hover {
    background-color: #28a745;
    color: #fff;
 }

/* hago transparentes los articles data-step 7 y 9 y los hago un 25% mas pequeños */

    #infographic article[data-step="7"],
    #infographic article[data-step="9"] {
        opacity: 0.0;
        transform: scale(0.1);
    }

 #infographic article .body {
    background: url(../imgs/back_dedsec.jpeg) no-repeat center center;
    padding: 0 20px;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
    max-height: 0;
    transition: max-height 0.5s, padding 0.5s;
    overflow: hidden;
 }


 #infographic article .body .btn {
    padding: 3px 10px;
    text-transform: uppercase;
 }
 #infographic :nth-child(even) article {
    text-align: right;
    transform: translateX(-100%);
 }
 #infographic :nth-child(even) article header {
    flex-flow: row-reverse;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
 }
 #infographic :nth-child(even) article header i {
    margin: -16px -20px -16px 0;
 }
 
 #infographic section:nth-child(odd) article.active header {
    border-bottom-right-radius: 0;
 }
 #infographic section:nth-child(even) article.active header {
    border-bottom-left-radius: 0;
 }
 
 #infographic article.active .body {
    padding: 20px;
    max-height: 300px;
    border: 1px solid;
 }
 
 /* 
    Articles Positioning
    Uncomment these for debugging article positions
 */
 /*#infographic .circle {
    outline: 96px solid yellow;
 }
 #infographic article header i {
    opacity: 0.5;
    position: relative;
 }
 #infographic article header i:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    transform: translate(-2px, -2px);
    background: blue;
 }*/
 
 #infographic article[data-step="1"] {
    margin-left: 6px;
 }
 #infographic article[data-step="2"] {
    margin-left: 54px;
 }
 #infographic article[data-step="3"] {
    margin-left: 71px;
 }
 #infographic article[data-step="4"] {
    margin-left: 61px;
 }
 #infographic article[data-step="5"] {
    margin-left: 22px;
 }
 #infographic article[data-step="6"] {
    margin-left: -5px;
 }
 #infographic article[data-step="7"] {
    margin-left: -54px;
 }
 #infographic article[data-step="8"] {
    margin-left: -70px;
 }
 #infographic article[data-step="9"] {
    margin-left: -60px;
 }
 #infographic article[data-step="10"] {
    margin-left: -21px;
 }
 #infographic article[data-step="11"] {
    margin-left: 7px;
 }
 #infographic article[data-step="12"] {
    margin-left: 55px;
 }
 #infographic article[data-step="13"] {
    margin-left: 73px;
 }
 #infographic article[data-step="14"] {
    margin-left: 62px;
 }
 #infographic article[data-step="15"] {
    margin-left: 23px;
 }
 #infographic article[data-step="16"] {
    margin-left: -102px;
 }