:root {
    --color-bottom-stroke: #D29E2E;
    --color-bottoms: #ffcc66;
    --color-bottoms-light: #FEF5E6;
    --color-background-grey: #C4C4C4;
    --color-background-black: #2B2B2B;
    --color-background-white: #ffffff;
    --color-text-light: #ffffff;
    --color-text-dark: #2B2B2B;
    /***************FONT SIZES**************/
    --font-size-h1: 36px;
    --font-size-h2: 28px;
    --font-size-h3: 24px;
    --font-size-h4: 20px;
    --font-size-h5: 18px;
    --font-size-p: 16px;
    /***************FONTS**************/
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Libre Baskerville', serif;
}

body {
            margin: 0;
            padding: 0;
            height: 100%;
            width: 100%;
            justify-content: center;
            align-items: center;
            
    }

/* HEADER - NAV */


.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-primary);
    padding: 16px 32px;
    background-color: var(--color-background-white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Sombreado header-nav */
}

/*LOGO BLACK NAV*/
.logo-nav img {
    width: 120px;
    height: 110px;
}

/*LINKS BARRA DE NAVEGACION*/
.nav-links {
    list-style: none;
    display: flex;
    gap: 60px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--color-background-black);
    font-weight: normal;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--color-bottom-stroke);
}

/* BURGER */
.burger-menu {
    display: none;
    font-size: var(--font-size-h2);
    background: none;
    border: none;
    cursor: pointer;
}

/* ADAPTATION */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 0;
        background: var(--color-background-white);
        width: 100%;
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .burger-menu {
        display: block;
    }
}



.welcome__section {
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.second-part-title{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 54px;
}

.instruction__howToPlay {
    max-width: 600px;
    font-family: var(--font-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}


.instruction__text {
    text-align: left;
}

.instruction__h1 {
    text-align: center;
    font-size: 24px;
    margin: 20px 0;
}

.h1__title {
    font-size: var(--font-size-h1);
    margin-bottom: 54px;
    font-family: var(--font-secondary)
}

.action__title {
    font-size: var(--font-size-h2);
        margin-bottom: 36px;
        font-family: var(--font-primary)
}
.instruction__title {
    font-size: var(--font-size-p);
    font-family: var(--font-primary)
}
.notes {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.notes img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
    
}
/*PIANO*/
.wrapper {
    padding: 35px;
    border-radius: 20px;
    background: var(--color-text-dark);
    display: flex;
    justify-content: center;
    align-self: center;
    align-items: center;

}

.piano-keys {
    display: flex;
    list-style: none;
    margin-top: 30px;
    flex-wrap: nowrap;
    justify-content: center;
}


.piano-keys .key {
    cursor: pointer;
    user-select: none;
    position: relative;
    text-transform: uppercase;
}

.piano-keys .black {
    z-index: 2;
    width: 44px;
    height: 140px;
    margin: 0 -22px 0 -22px;
    border-radius: 0 0 5px 5px;
    background: linear-gradient(#434343, #000);
}

.piano-keys .black.active {
    box-shadow: inset -5px -10px 10px rgba(255, 255, 255, 0.1);
    background: linear-gradient(to bottom, #000, #434343);
}

.piano-keys .white {
    height: 230px;
    width: 70px;
    border-radius: 8px;
    border: 1px solid #000;
    background: linear-gradient(#fff 96%, #eee 4%);
}

.piano-keys .white.active {
    box-shadow: inset -5px 5px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to bottom, #fff 0%, #eee 100%);
}

.piano-keys .key span {
    position: absolute;
    bottom: 20px;
    width: 100%;
    color: #A2A2A2;
    font-size: 1.13rem;
    text-align: center;
}

.piano-keys .key.hide span {
    display: none;
}

.piano-keys .black span {
    bottom: 13px;
    color: var(--color-background-white);
}

@media (min-width: 768px) and (max-width: 1000px) {
    .wrapper {
        padding: 25px;
    }

    header {
        flex-direction: column;
    }

    header :where(h2, .column) {
        margin-bottom: 13px;
    }

    .volume-slider input {
        max-width: 100px;
    }

    .piano-keys {
        margin-top: 20px;
    }

    

    .piano-keys .black {
        height: 100px;
        width: 40px;
        margin: 0 -20px 0 -20px;
    }

    .piano-keys .white {
        height: 180px;
        width: 45px;
    }
    
}

@media screen and (max-width: 767px) {

    .wrapper{
        transform: rotate(90deg);
        transform-origin: center;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 150px;
        margin-bottom: 250px;
        background-color: var(--color-background-white);
    }
    .piano-keys .white {
        width: 40px;
    }
    .piano-keys .black {
        height: 100px;
        width: 40px;
        margin: 0 -20px 0 -20px;
    }
     .instruction__howToPlay {
            max-width: 400px;
            font-family: var(--font-primary);
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-left: 30px;
            margin-right: 30px;
        }
    
}

.video__section {
    display: grid;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 20px auto;
    grid-template-columns: 1fr 2fr;
    gap: 34px;

}


.video-frame {
    grid-column: 1;
    grid-row: span 2;
    width: 300px;
    height: auto;
    margin-left: 40px;
}

.video__title {
    grid-column: 2;
    
}

.about-video__title {
    grid-column: 2;


}

@media screen and (max-width: 768px) {
    .video__section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .video-frame {
        width: 100%;
        max-width: 300px;
        margin-left: 0;
    }

    .video__title {
        text-align: center;
        top: 0;
    }

    .about-video__title {
        text-align: center;
        margin-top: 0;
    }
    
}


.button__action{
    width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
}

.welcome-page__button {
    background-color: var(--color-bottoms);
    color: var(--color-background-black);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    border: solid var(--color-bottoms);
    font-family: var(--font-primary);
    font-size: var(--font-size-p);
    width: 150px;
    margin-top: 54px;
    margin-bottom: 80px;
}

.welcome-page__button:hover {
    background-color: var(--color-background-white);
}

/*FOOTER*/

.--main-footer {
    background-color: var(--color-background-black);
    display: flex;
    justify-content: space-between;
    /* Distribuye los elementos horizontalmente */
    align-items: center;
    /* Alinea los elementos verticalmente */
    flex-wrap: wrap;
    /* Permite que los elementos se acomoden si no caben en una línea */
    color: var(--color-background-white);
    padding: 20px;
    overflow-x: hidden;
}

.--logo-footer {
    display: flex;
    align-items: center;
    /* Alinea logo y dirección en una línea */
    gap: 60px;
    /* Espacio entre el logo y el address */

}

.--logo-footer img {
    max-width: 120px;
    /* Ajusta el tamaño del logo */
}

.--address {
    display: flex;
    flex-direction: column;
    /* Coloca los textos en columna */
    font-style: normal;
    gap: 5px;
    /* Espaciado entre líneas de dirección */
    list-style: none;
}
.--rrss-footer i {
    line-height: 100px;
    color:var(--color-background-white);
    font-size: 2rem;
    padding: 50px 50px;
   }
   .--rrss-footer i:hover{
      color:var(--color-bottom-stroke)
   }
    
.--footer-links ul {
    list-style: none;
    padding: 30px;
    display: block;
    gap: 30px;
    /* Espaciado entre enlaces */
}

.--footer-links ul li a {
    color: var(--color-background-white);
    text-decoration: none;
    transition: color 0.3s;
}

.--footer-links ul li a:hover {
    color: var(--color-bottom-stroke);
}

.--main-footer p {
    text-align: center;
    width: 100%;
    /* Asegura que el copyright ocupe toda la fila */
    margin-top: 10px;
}

.--rrss-footer i {
    line-height: 100px;
    color: var(--color-background-white);
    font-size: 2rem;
    padding: 50px 50px;
}

.--rrss-footer i:hover {
    color: var(--color-bottom-stroke)
}