:root {
    --primary: #e99401;
    --negro: #262626;
    --blanco: #FFF;
    --fuente-principal: 'Outfit', sans-serif;
}

html {
    font-size: 62.5%;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-size: 2rem;
    font-family: var(--fuente-principal);
    line-height: 1.5;
}

img {
    max-width: 100%;
}

[class*="__contenedor"] {
    max-width: 120rem;
    margin: 0 auto;
    width: 95%;
}

[class*="__heading"] {
    font-size: 4rem;
    text-align: center;
    font-weight: 900;
    color: var(--primary);
    margin: 5rem 0;
}

.header {
    background-image: linear-gradient(to right, rgb(0 0 0 /.7), rgb(0 0 0 /.7)), url(../img/header.jpg);
    background-size: cover;
    background-position: 50%;
    padding: 5rem 0;
    position: relative;
}

.header__guitarra {
    display: none;
}

@media screen and (min-width: 992px) {
    .header__guitarra {
        display: block;
        position: absolute;
        right: 0;
        bottom: 0;

        /* animation-name: mostrarImagen;
        animation-duration: 1s;
        animation-delay: 0s;
        animation-timing-function: ease-in-out; */

        animation: 1s ease-in-out 0s 1 mostrarImagen;
    }
}

@keyframes mostrarImagen {
    0% {
        opacity: 0;
        transform: translateX(-10rem);
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.header__barra {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media screen and (min-width: 768px) {
    .header__barra {
        flex-direction: row;
        justify-content: space-between;
    }
}

.header__logo {
    width: 30rem;
}

.navegacion {
    display: flex;
    gap: 2rem;
    margin-top: 5rem;
    position: relative;
    z-index: 100;
}

@media screen and (min-width: 768px) {
    .navegacion {
        margin-top: 0;
    }
}

.navegacion__enlace {
    color: var(--blanco);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 700;
    transition: background-color 300ms ease-in-out;
}

.navegacion__enlace:hover {
    background-color: var(--primary);
}

.modelo {
    color: var(--blanco);
    margin-top: 5rem;
    text-align: center;

}

@media screen and (min-width: 768px) {
    .modelo {
        text-align: left;
        width: 50%;
    }
}

.modelo__nombre {
    font-size: 8rem;
}

.modelo__precio {
    font-size: 6rem;
    color: var(--primary);
    font-weight: 900;
    line-height: 0;
}

.modelo__enlace {
    margin-top: 2rem;
    text-decoration: none;
    padding: 1rem 5rem;
    border: 2px solid var(--primary);
    color: var(--blanco);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.4rem;
    transition: background-color 300ms ease-in-out;
}

.modelo__enlace:hover {
    background-color: var(--primary);
}


.productos__grid {
    display: grid;
    gap: 4rem;
}

@media screen and (min-width: 768px) {
    .productos__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1200px) {
    .productos__grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

.producto {
    display: grid;
    grid-template-columns: 2fr 3fr;
    column-gap: 1rem;
    align-items: center;
}

.producto__nombre {
    font-size: 3rem;
    text-transform: uppercase;
}

.producto__descipcion {
    font-size: 1.6rem;
}

.producto__precio {
    color: var(--primary);
    font-size: 6rem;
    font-weight: 900;
    margin: 0;
}

.producto__enlace {
    margin-top: 2rem;
    display: block;
    text-decoration: none;
    color: var(--negro);
    padding: 1rem 5rem;
    border: 2px solid var(--primary);
    text-align: center;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    transition: background-color 300ms ease-in-out;
}

.producto__enlace:hover {
    background-color: var(--primary);
    color: var(--blanco);
}

.producto__formulario {
    display: flex;
    flex-direction: column;
}

.producto__label {
    font-size: 2.2rem;
    margin-right: 1rem;
}

.producto__cantidad {
    border: 2px solid var(--primary);
    padding: 1rem;
    text-align: center;
}

.producto__cantidad:focus-visible {
    outline: 2px solid var(--primary);
}

.producto__agregar-carrito {
    margin-top: 3rem;
    display: block;
    background-color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    padding: 2rem 5rem;
    text-align: center;
    color: var(--blanco);
    font-size: 1.8rem;
    font-weight: 700;
}

.producto__agregar-carrito:hover {
    background-color: var(--negro);
    color: var(--blanco);
    transition: background-color 300ms ease-in-out;
    cursor: pointer;
}

.cursos {
    background-image: linear-gradient(to right, rgb(0 0 0 /.65), rgb(0 0 0 /.65)), url(../img/cursos_bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 10rem 0;
    margin-top: 10rem;
}

@media screen and (min-width: 992px) {
    .cursos__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
    }
}

.cursos__texto {
    color: var(--blanco);
    text-align: center;
    font-size: 2.4rem;
}

.cursos__contenido {
    display: flex;
    flex-direction: column;
    align-items: center;

}

@media screen and (min-width: 992px) {
    .cursos__contenido {
        grid-column: 2 / 3;
    }
}

.cursos__enlace {
    margin-top: 2rem;
    display: inline-block;
    text-decoration: none;
    color: var(--blanco);
    padding: 1rem 5rem;
    border: 2px solid var(--primary);
    text-align: center;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    transition: background-color 300ms ease-in-out;
}


.cursos__enlace:hover {
    background-color: var(--primary);
    color: var(--blanco);
}


.blog__grid {
    display: grid;
    gap: 4rem;
}

@media screen and (min-width: 768px) {
    .blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 992px) {
    .blog__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .blog__grid--pagina {
        grid-template-columns: repeat(3, 1fr);

    }
}

.entrada {
    max-width: 80rem;
    margin: 0 auto;
}

.entrada__imagen {
    box-shadow: -1px 2px 20px 1px rgb(0 0 0 /.5);
}

.entrada__contenido {
    padding: 2rem;
}

.entrada__titulo {
    font-weight: 400;
    font-size: 2.8rem;
    margin: 0;
    line-height: 1.2;
}

.entrada__fecha {
    font-size: 1.6rem;
    color: var(--primary);
}

.entrada__enlace {
    margin-top: 2rem;
    display: inline-block;
    text-decoration: none;
    color: var(--negro);
    padding: 1rem 5rem;
    border: 2px solid var(--primary);
    text-align: center;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    transition: background-color 300ms ease-in-out;
}

.entrada__enlace:hover {
    background-color: var(--primary);
    color: var(--blanco);
}

.entrada__texto {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    font-size: 1.6rem;
}

.footer {
    margin-top: 5rem;
    background-color: var(--negro);
    padding: 5rem 0;

}

@media screen and (min-width: 768px) {

    .footer__contenido {
        display: flex;
        justify-content: space-between;
    }
}

.footer__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media screen and (min-width: 768px) {
    .footer__nav {
        flex-direction: row;
        gap: 2rem;
    }
}

.footer__enalce {
    font-size: 2.8rem;
    color: var(--blanco);
    font-weight: 700;
    text-decoration: none;
}

.footer__enalce:hover {
    color: var(--primary);
}

.footer__copyright {
    font-size: 2.8rem;
    color: var(--blanco);
    font-weight: 700;
    text-align: center;
}


.about__grid {
    display: grid;
    gap: 4rem;
}

@media screen and (min-width: 768px) {
    .about__grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }


}