*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
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;
    gap: 5px;
}
#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;
}
.hero{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 5%;
    gap: 3%;
}
#hero-bg{
    position: relative;
    background-image: url('../assets/images/logohero.png');
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
    height: 80vh;
}
#hero-bg::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
}
.hero h1{
    text-align: center;
    font-family: 'League Spartan';
    color: white;
    font-size: 2.5em;
    margin: 20px;
}
#hero2{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width:98vw;
    color: white;
}
#hero2 p{
    width: 90%;
    font-size: 1.3em;
    text-align: center;
}
.hero figure img{
    width: 25vw;
    max-width: 20rem;
    z-index: 999;
}
#img-astr {
    animation: float 3s ease-in-out infinite;
}
.cta-button {
    background-color: #00d8ff;
    color: black;
    padding: 10px 20px;
    font-size: 1.2em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.cta-button:hover {
    transform: scale(1.1);
}
footer {
    width: 100%;
    background-color: #111;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom:0;
    margin-top: 10px;
}

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;
    }
    .hero h1{
        text-align: center;
    }
    .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;
    }
    
    .hero{
        height: auto;
        padding-top: 10%;
        flex-direction: column;
    }
    .hero h1{
        width: 80%;
        font-size: 1.5rem;
        line-height: 2rem;
    }/*
    .hero figure{
        margin-top: 5%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hero figure img{
        width: 80%;
    } */
    #hero2 p{
        font-size: 1em;
        text-align: justify;
    }
    .cta-button {
        width: 100%;
        margin-top: 10px;
    }
    .curso{
        width: 90vw;
    }
    /* .mantenimiento{
        display: flex;
    }  */

    
}
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Sección de Cursos Disponibles */
.curso {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 20px auto;
    max-width: 1200px;
    transition: transform 0.3s ease;
}

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

.curso img {
    width: 80px;
    height: auto;
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.5));
}

.curso h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.curso p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.curso button {
    background-color: #00d8ff;
    color: black;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.curso button:hover {
    background-color: #007BFF;
    color: white;
}

/* Sección de Estadísticas */
#estadisticas {
    background-color: #111;
    padding: 40px 0;
    color: white;
}

#estadisticas h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

#estadisticas div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}
#estadisticas div h3 {
    font-size: 2rem;
    color: #00d8ff;
}

#estadisticas div p {
    font-size: 1.2rem;
    color: white;
    text-align: center;
}

/* Sección de Herramientas */
#herramientas {
    background-color: black;
    padding: 40px 0;
    color: white;
}

#herramientas h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#herramientas div {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

#herramientas img {
    width: 100px;
    transition: transform 0.3s ease;
}

#herramientas img:hover {
    transform: scale(1.2);
}

/* Sección del Canal de YouTube */
#youtube {
    background-color: #111;
    padding: 40px 20px;
    text-align: center;
    color: white;
}

#youtube h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#youtube img {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    margin-bottom: 20px;
}

#youtube h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #00d8ff;
}

#youtube p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

#youtube a {
    background-color: red;
    color: white;
    padding: 10px 20px;
    font-size: 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#youtube a:hover {
    transform: scale(1.1);
    background-color: #ff4d4d;
}

/* Sección de Proyectos */
#proyectos {
    padding: 40px 0;
    background-color: black;
    color: white;
}

#proyectos h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

#proyectos .galeria {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

#proyectos .proyecto {
    background: white;
    border-radius: 10px;
    width: 250px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

#proyectos .proyecto:hover {
    transform: scale(1.1);
}

#proyectos .proyecto img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

#proyectos .proyecto h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

#proyectos .proyecto button {
    background: #00d8ff;
    color: black;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#proyectos .proyecto button:hover {
    background: #007BFF;
    color: white;
}

.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color:rgb(81, 144, 245); /* Azul pastel */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 1000000;
    cursor: pointer;
}

.floating-btn:hover {
    background-color:rgb(17, 105, 237);
    transform: scale(1.1);
}

/* Sección de Calificación con tema oscuro */
.seccion-calificacion {
    margin: 50px 0;
    background-color: #222;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.seccion-calificacion h2 {
    color: #00d8ff;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.seccion-calificacion p {
    color: #ccc;
    margin-bottom: 20px;
}

.contenedor-estrellas {
    margin: 20px 0;
}

#estrellas {
    font-size: 2.5rem;
    cursor: pointer;
    margin-bottom: 10px;
}

.estrella {
    color: #555;
    transition: color 0.3s ease;
}

.estrella:hover {
    color: #FFD700;
}

#mensaje-calificacion {
    font-size: 1.1rem;
    color: #aaa;
    height: 30px;
}

#enviar-calificacion {
    background-color: #00d8ff;
    color: black;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

#enviar-calificacion:hover {
    background-color: #00b8d4;
    transform: scale(1.05);
}

#enviar-calificacion:disabled {
    background-color: #555;
    color: #999;
    cursor: not-allowed;
    transform: none;
}

#mensaje-resultado {
    margin-top: 20px;
    font-weight: bold;
    min-height: 24px;
    padding: 5px;
}