/*our teacher page...................*/
.teacher-intro{
    padding: 3em 2em;
}

.teacher{
    position: relative;
    padding: 0;
}

.link-container h2{ /*center the name of teacher*/
    position: absolute;
    top:50%;
    padding-left:10%;
    transform: translate(0, -50%);
    color: rgb(255, 253, 247);
    opacity: 0;
}

.link-container:hover img{
   opacity: 0; /*hover to hide teacher's picture*/ 
}

.link-container:hover h2{ /*hover to show the name of teacher*/
    opacity: 1;
}

.colordiv{ /*hide color div for smaller screen*/
    display: none;
}

/* programs page..............................*/
.program{
    padding:1.5em;
    color: white;
    font-size: 1.2em;
}

.program h2{
    text-transform: uppercase;
}

.program hr{
    border: 2px solid whitesmoke;
}

.program-black{
    color: white;
    padding:3em 2em;
}

.program-black h2, .teacher-intro h2{
    line-height: 1.5em;
    
}

.program-intro{
    padding:3em 2em;
    background-color: var(--yellow);
  
}



/* .program..............*/


.courses{
    position: relative;
    padding: 0;
}
.courses a {
    text-decoration: none;
}


.link-courses h3{
    position: absolute;
    top:50%;
    left:30%;
    transform: translate(-30%, -50%);
    color: rgb(255, 253, 247);
    z-index: 2;
    font-size: 2em;
    text-transform: uppercase;
    font-weight: 900;
}

.cours-teacher{
    font-size: 0.7em;
    font-weight: 200;
    text-transform: none;
}

.cours-date{
    text-transform: none;
    font-weight: 700;
    font-size: 0.8em;
}
.img-courses {
    z-index: 0;
    opacity: 0.9;
   
}

.courses a:hover h3{ /*hover to add shadow for the name of programs*/
    text-shadow: 2px 2px 8px  #050629;
 
}

.courses a:hover img{ /*hover to adjust the opacity of the bg-image*/
    opacity: 1;
}


/*card piano foundations detail page collaspe.....................*/
.card{
    border-radius: 0px ;
    border: 0px;
}

.card .btn{
    font-size: 2em;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
}

.card-header{
    background-color: var(--redpink);
    border-radius: 0px !important; 
    border: 0px;
}

.card-header.expanded { /* show green when the section is expanded*/
    background-color: var(--lightgreen);
    
}

.card-header:hover{
    background-color: var(--lightgreen);
}

.card-body{
    background-color: var(--darkviolet);
    padding: 1em;
    color: #ffffff;
    font-size:1.5em;   
}

.program-img-hidden, .program-img-hidden-1{
    display: none;
}

.bold-text{
    font-weight:700;
    color: var(--yellow);
}

/*program detail page...........................*/
.program-hero{
    position: relative;
}

.cours-name, .cours-time{
    position: relative;
}

.cours-name h3, .cours-time h3{
    z-index: 2;
    color: #ffffff;
    position: absolute;
    top: 50%;
    left:30%;
    transform: translate(-30%, -50%);
    font-size: 1.5em;
    text-transform: uppercase;
    font-weight: 900;
}

.cours-image{
    display: none;   
}

.course-name img{
    z-index: 0;
    position: absolute;
}

.cours-name, .cours-time, .cours-image, .program-img, .program-card{
    padding: 0;
}



/*index page.........................................*/
.index-container{
    padding: 0;
    max-width: 1200px;
}

.index-title{
    padding:2em;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 900;
}

.index-title a{
    text-decoration: none;
    color: white;
}

.index-title a:hover{
    color: var(--darkgreen);
}

.index-title h2{
    margin-bottom: 0;
    font-size: 50px;
}

#carouselExampleSlidesOnly{
    padding-left: 0;
    padding-right: 0;
}

/*offer section..................................................*/

.offer h1{
    margin-bottom: 50px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 2.5em;
}
.purple{
    color: #000000;
}

.offer p{
    margin-bottom: 50px;
    font-size: 1.5em;
    font-weight: 700;
}
.button{
    text-decoration: none;
    padding: 1em 2em;
    background-color: var(--lightgreen);
    font-weight: 700;
    font-size: 0.8em;
    text-transform: uppercase;
    border-radius: 50px;
    color: rgb(41, 41, 41);
}

.button:hover{
    background-color: var(--lightviolet);
    color: white;
}

/*carousel change the label to the center and add a button to hover to other page..............................................*/
.carousel-label{
    position: relative;
}

.carousel-img{
    z-index: 0;  
}

.label{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    color: white;
}

.label h2{
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.5em;
}

.label h3{
    font-size: 1em;
}

.label h4{
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1em;
    margin-bottom: 1em;
}


.explore-btn{
    text-decoration: none;
    padding: 1em 2em;
    color: #ffffff;
    border-radius: 50px;
    margin-top: 20px;
    font-weight: 700;
    font-size: 0.8em;
}

.explore-btn:hover{
    background-color: var(--yellow);
    color: var(--darkgreen);
}

/*testimonials section...........................................*/
.testimonials{
    padding: 2em;
}

.student{
    text-align: right;
}

.p-testimonials{
    color: #ffffff;
    font-size: 1.25em;
    line-height: 1.5em;
}

/* Extra small devices (phones, 600px and down) .col- */
@media only screen and (max-width: 576px) {
    .offer{
        padding: 3em 2em;
        text-align: center;
        color: #ffffff;
    }

   
}
 


/* Small devices (portrait tablets and large phones, 600px and up) .col-sm */
@media only screen and (min-width: 576px) {
    .offer{
        padding: 3em 2em;
        text-align: center;
        color: #ffffff;
    }

    .label h2{
        font-size: 2.5em;
    }
    .label h3{
        font-size: 1.75em;
    }
    
    .label h4{
        font-size: 1.5em;
        margin-bottom: 30px;
    }

    .program-img-hidden-1{
        display: block;
    }
    
    .cours-name h3, .cours-time h3{
        font-size: 2em;
    }

}
/* Medium devices (landscape tablets, 768px and up) .col-md */
@media only screen and (min-width: 768px) {
    .offer{
        padding: 3em 5em;
        text-align: center;
        color: #ffffff;
    }

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

    .offer h1{
    
        font-size: 4em;
    }

    .button{
       
        padding: 1em 3em;
      
    }

    .label h2{
        font-size: 3em;
    }
    .label h3{
        font-size: 2em;
    }
    
    .label h4{
        font-size: 2em;
        margin-bottom: 60px;
    }
    
    
    .explore-btn, .button{
        font-size: 1em;
    }
    
    .explore-btn:hover{
        background-color: var(--yellow);
        color: var(--darkgreen);
    }


    .card-body{
        background-color: var(--darkviolet);
        padding: 2em;
        color: #ffffff;
        font-size:2em;
        
    }

    .cours-name h3, .cours-time h3{
        font-size: 2.5em;
    }

    
}
/* Large devices (laptops/desktops, 992px and up)  .col-lg */
@media only screen and (min-width: 992px) {
    .cours-image{
        display: block;
    }

    .program-img-hidden{
        display: block;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up)  .col-xl */
@media only screen and (min-width: 1200px) {
    .colordiv{
        display: block;
    }
   
    
}

