
/* main */
.main-index section{
    padding: 3em;
}

/* main section intro */
.intro{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-shadow: 0px 0px 0.5em black;
    text-align: center;
    color: white;
    height: 100dvh;
}

.intro::before{
    content:"";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url("../assets/images-index/piano-intro-background.jpg");
    filter: brightness(80%);
    background-size: cover;
    background-position: center;
}

.intro div{
    align-self: center;
}

.intro h1{
    font-size: 5em;
}

.intro p{
    font-size: 2em;
}

.intro img{
    position: relative;
    top: 150px;
    height: 100px;
}

/* main section about-us */
.about-us{
    background-color: var(--orange);
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.about-img-text{
    text-align: justify;
}

.about-us img{
    float: right;
    width: 40%;
    min-width: 200px;
    height: auto;
    border-radius: 15px;
    margin: 0 1em;
}

/* main section select-instrument */
.select-instrument{
    display: flex;
    flex-direction: column;
    background-color: var(--green);
}

.try-play{
    text-align: center;
    padding-bottom: 0.5em;
}

.instruments{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: space-around;
    padding: 2em;
}

.instruments a{
    border-radius: 15px;
    border: none;
    padding: 0;
    height: 11em;
    width: 11em;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.instruments span{    
    background-color: var(--blue);
    width: fit-content;
    padding: 1em;
    border-radius: 15px;
    font-weight: 600;
}
.btn-piano{
    background-image: url(../assets/images-index/piano-play-button.jpg);
}    

.btn-drums{
    background-image: url(../assets/images-index/drums-play-button.jpg);
}

.btn-xylophone{
    background-image: url(../assets/images-index/xylophone-play-button.jpg);
}

.overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    z-index: 2;
    background-color: #de892e98;
}

/* main section contact-us */
.contact-us{
    background-image: url(../assets/images-index/piano-teacher-contact-us.jpg);
    background-size: cover;
    background-color: transparent;
    height: 40vh;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.text-visit-us{
    color: white;
    text-shadow: 0px 0px 10px black; 
    text-align: center;
}

.box-discover-rhythm{
    background-color: rgba(255, 255, 255, 0.722);
    padding: 1.5em;
    border-radius: 15px;
}

/* footer */
footer{
    padding: 1.5rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: var(--yellow);
}

.footer-title{
    align-self: center;
}

.footer-info{
    align-self: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1em;
}

.footer-contact{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-contact a{
    color: black;
}

.footer-adress{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
