*{
    margin: 0;
    padding: 0;
}
*,*::before, *::after{
    box-sizing: border-box;
}
body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
    line-height: 1.6;
}
#logo{
    color:#1a252f;
    font-size: 1.8rem;
}
#logo span{
    color:rgb(115, 209, 178);

}
.subtitulo{
    color:#555555;
}

.banner_oferta{
    text-align: center;
    color:white;
    background-color: orange;
    padding: 10px 15px;
    border-bottom: 3px solid #d35400;
    font-weight: bold;
    font-size: 0.9rem;
    position: sticky;
    top: 0;
    z-index: 100;
}
.tarjeta_curso_destacado{
    background-color: white;
    width: 100%;
    max-width: 350px;
    padding: 25px;
    margin: 15px 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    

}
.tarjeta_curso_destacado h3{
    font-size: 1.4rem;
    color: #2c3e2c;
    margin-top: 5px;
}
.precio{
    display: inline-block;
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #27ae60;
}
.encabezado_principal{
    background-color: #f8f8f8;
    padding: 15px 5%;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu_nav ul{
    list-style: none;
    display: flex;
    gap: 20px;
}
.menu_nav a{
    text-decoration: none;
    color: #333333;
    font-weight: bold;
}
.seccion_cursos{
    padding: 40px 5%;
}
.grid_cursos{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}
@media (max-width: 768px){
    .encabezado_principal{
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .hero h2{
        font-size: 1.5rem;
    }
    .grid_cursos{
        grid-template-columns: 1fr;
    }
}
.hero{
    background: linear-gradient(135deg,#2c3e50,#4ca1af);
    color: white;
    padding: 60px 5%;
    text-align: center;
}
.hero h2{
    color: white;
}
.hero .subtitulo{
    color: #ecf0f1;
}
.tarjeta_curso_destacado:hover{
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgb(0,0,0,0.5);
}
#destacado{
    border: 2px solid #27ae60;
    position: relative;
}
.tarjeta_curso_destacado p{
    color: blue;
}
.tarjeta_curso_destacado::before{
    content: "MAS POPULAR ";
    position: absolute;
    top: -12px;
    right: 12px;
    background-color: #e74c3c;
    color: #ffffff;
}
.btnPrincipal :hover{
    background-color: #0e8b42;
}
.btnPrincipal :focus{
    outline: 3px solid #ce850e;
}
.btnPrincipal {
    background-color: #0e8b42;
    color: #ffffff;
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 15px;
    transition: background-color =0.25;
}
.piePagina{
    background-color: #1a252f;
    color:#ffffff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
