.headertienda {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    position: relative;
    width: 100%;
    top: 0;
    background-color: #000000;
}
.navheader2{
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    color: beige;
    height: 11vh;
    background-color: #282828ab;
    text-decoration: none;
    color: #fff;
}
.headertienda h2{
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
    text-decoration: none;
    color: #fff;
}

.btnmoodle2{
    text-decoration: none;
    color: #fff;
    margin-left: -20%;
    font-size:1em;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    text-decoration: none;
    align-items: center;
}
.btnmoodle2:hover{
    color: #ff9412;
}
.roboto-light2 a{
    text-decoration: none;
    color: #fff;
}
.roboto-light2 img{
    width: 15%;
}
/*Buscador Navbar*/
.search-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: #fff;
    border-radius: 25px;
    padding: 0.8%;
    height: 5vh;
    width: 20%;
    margin-left: 35%;
}
.search-container input[type="text"] {
    border: none;
    outline: none;
    font-size: 0.9em;
    border-radius: 4px;
    padding: 1%;
    width: 80%;
   
}
.search-container button {
    background-color: transparent;
    border: none;
    cursor: pointer;
   
}
.search-container button img {
    width: 3vh;
    height: 3vh;
    padding: 1%;
}

.carousel2{
    margin-top: 3%;
    width: 100%;
}
/*Ofertas y cursos*/
.ofertas_cursos{
    display: block;
    width: 100%;
    align-items: center;
    text-align: center;
    justify-content: center;
    background-color: #000000;
    color: #fff;
    font-size: 1.8em;
    padding-top: 3%;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
}
.recursos{
    margin: 0;
    display: flex;
    justify-content: center;
    background-color: #000000;
    width: 100%;
    padding: 3%;
}
.tarjeta{
    width: 18rem;
    padding: 2%;
    background-color: #141414;
}
.tarjeta button{
    border: none;
    padding: 0;
}
.tarjeta:hover button{
    border: none;
    padding: 0;
    transform: scale(1.15); /* Amplía la imagen un 10% */
}

.tarjeta {
    display: inline-block;
    margin: 1%;
}
.tarjeta img {
    cursor: pointer;
    width: 100%; /* Ajusta el tamaño según lo necesario */
    height: auto;
}
/*sección cursos*/
.section-cursos {
    padding: 5%;
    background-color: #000000;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    display: none; /* Oculta las secciones por defecto */
}
.section-cursos h2{
    text-align: center; 
    background-color: rgba(32, 32, 32, 0.829);
    color: #fff;
}
.cursos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2%;
}
.curso {
    background-color: rgba(32, 32, 32, 0.829);
    padding: 5%;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #282828;
    border-radius: 5px;
    margin-top: 2%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.curso-img {
    width: 80%;
    height: auto;
    margin-bottom: 6%;
    margin-top: 2%;
    align-self: center;
}
.curso h3,
.curso p {
    flex-grow: 1; /* Permite que estos elementos crezcan y ocupen el espacio disponible */
    margin: 0;
    padding: 0 1vh;
}
.curso p{
    font-size: 90%;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
}
.curso button {
    cursor: pointer;
    background-color: #141414;
    color: #fff;
    border: 1px solid #282828;
    border-radius: 6px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    padding: 3%;
    width: 100%;
    margin-top: auto;
    align-self: center; 
}
.curso button:hover {
    background-color:#ff9412;
    color: #000000;
}
.curso:hover{
    background-color: #282828;
}

/*Footer tienda*/
.f-tienda{
    height: 20vh;
    width: 100%;
    background-color: #141414;
    color: white;
        font-family: "Roboto", sans-serif;
        font-weight: 300;
        font-style: normal;
}

.footer-contac{
    width: 50%;
    float: left;
    justify-content: center;
    background-color: #141414;
    align-items: center;
    padding-left: 6%;
}
.f-tienda svg{
    margin: 2.5%;
    fill: white;
}
.f-tienda svg:hover{
    transform: scale(1.1);
}
.footer-derechos{
    width: 50%;
    float: right;
    justify-content: center;
    background-color: #141414;
    align-items: center;
    margin-top: 3%;
    padding-left: 5%;
}
/*WHATSAPP BUTTON*/
.whatsapp-button {
    position: fixed;
    width: 23vh;
    bottom: 3%;
    height: 7.5%;
    right: 1.5%;
    background-color: #05d632;
    color: white;
    padding: 1.5%;
    border-radius: 25px;
    font-size: 90%;
    text-decoration: none;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.whatsapp-button svg{
    width: 6vh;
}

.whatsapp-button:hover {
    background-color: rgb(0, 160, 35)
}













