*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}
body{
    font-family: 'Open Sans';
    font-weight: bold;
    background-color: black;
}
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 10vh;
    max-height: 400px;
    padding: 10px;
    
}
#logo{
    width: 10%;
}
nav{
    width: 50%;
    display: flex;
    justify-content: space-around;
}
.nav_a{
    font-size: 1.3em;
    color: white;
    text-decoration: none;
}
.nav_a:hover{
    border-bottom: 2px solid white;
    color: #00d8ff;
}
.nav_a a:hover i {
    color: #00d8ff;
}
.menu{
    display: none;
    justify-content: end;
    margin-left: auto;
    padding: 10px;
    border-radius: 10px;
}
.lines{
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
}
.lines div{
    height: 0.5vh;
    width: 15vw;
    border-radius: 5px;
    background-color: white;
}
#menu_ul {
    display: none;
    z-index: 999;
}
#menu_ul li{
    height: 10%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    font-size: 1.2rem;
}
#menu_ul li i{
    margin-right: 10px;
    color: white;
}
#menu_ul a{
    color: white; 
    text-decoration: none;
}
#menu_ul li a:hover {
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    color: #00d8ff;
}
#menu_ul li a:hover i {
    color: #00d8ff;
}
#curso1{
    background-color: #f16529d7;
}
#curso2{
    background-color: #2965f1dd;
}
#curso3{
    background-color: #ffde25c6;
}
.cursos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px;
}

.tarjeta {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 30%;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.tarjeta:hover {
    transform: scale(1.05);
}

.tarjeta img {
    width: 80px;
    margin-bottom: 10px;
    filter: drop-shadow(-10px 5px black);
}

.tarjeta h3 {
    margin: 10px 0;
    font-size: 1.5rem;
    color: #000;
}

.tarjeta p {
    margin: 5px 0;
    color: #000;
}

.tarjeta button {
    background: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.tarjeta button:hover {
    background: #0056b3;
}

.section-curso{
    display: flex;
    flex-direction: column;
}
.section-curso.active{
    display: flex;
}
.HTML{
    display: none;
    flex-direction: column;
    height: auto;
    width: 100%;
}
.intro{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    height: 40vh;
    width: 100%;
}
.intro img{
    height:60%;
}
.intro div{
    width: 60%;
}
.intro div h1{
    color: orangered;
    text-align: center;
    width: 100%;
}
.intro div p{
    width: 100%;
    color: white;
    text-align: justify;
}
.lecciones{
    height: auto;
}
.hidden
{
    display: none;
    transition: display 1s ease-in-out;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hidden-animated {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.visible-animated {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.leccion{
    height: 10vh;
    width: 100%;
    background-color: #b0acbd;
    display: flex;
    flex-direction: row;
}
.divleccion{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: 2px solid black;
}
.check{
    height: 10vh;
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(255, 98, 0);
    color: white;
    cursor: pointer;
    border: 2px solid black;
}
.check i{
    font-size: 1.2em;
    transition: all 0.5s ease;
}
.check:hover i{
    transform: scale(2);
}
.divleccion h3{
    width: 90%;
    color: rgb(0, 0, 0);
    text-align: center;
}
.CSS{
    display: none;
    flex-direction: column;
    height: auto;
    width: 100%;
}
.CSS .intro div h1{
    color: #2965f1;
}
.CSS .check{
    background-color: #2965f1;
}
.JS{
    display: none;
    flex-direction: column;
    height: auto;
    width: 100%;
}
.JS .intro div h1{
    color: #d7b427;
}
.JS .check{
    background-color: #d7b427;
}
footer {
    width: 100%;
    background-color: #111;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: absolute;
    bottom: 0;
    margin-top: 0;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0;
}

footer ul li a {
    color: #0056b3;
    font-size: 1.5em;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: white;
}
.mantenimiento{
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    z-index: 9999;
    background-color: black;
}


@media (max-width: 700px) {
    .nav_a{
        display: none;
    }
    #logo{
        width: auto;
        max-width: 150px;
    }
    .menu{
        display: flex;
        justify-content:flex-end;
    }
    #menu_ul {
        display: none;
        position: absolute;
        top: 0;
        right: -70vw;
        height: 100%;
        width: 70%;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: center;
        transition: right 0.3s ease-in-out;
        display: none;
        z-index: 9999;
        overflow-y: auto;
    }
    .cursos {
        flex-direction: column;
        align-items: center;
    }
    .tarjeta {
        width: 90%;
    }
    .intro{
        gap: 5vh;
        flex-direction: column;
        margin-bottom: 5%;
        margin-top: 5%;
        height: auto;
        width: 100%;
    }
    .intro img{
        width: 30%;
    }
    .intro div{
        width: 80%;
    }
    .intro div p{
        width: 100%;
    }
    .check{
        width: 20%;
    }
    .divleccion h3{
        width: 80%;
    }
    .check img{
        height: 60%;
        width: 80%;
    }
    .check i{
        font-size: 1em;
    }
    footer{
        position: relative;
        bottom: 0;
        margin-top: auto;
    }
    /* .mantenimiento{
        display: flex;
    }  */
}