@import url('https://fonts.googleapis.com/css2?family=Farro&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,500&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Farro', sans-serif;
}
/* .logo{
    position: absolute;
    overflow: hidden;
} */
/* .logo img{
    width: 15rem;
    height: 13rem;
} */
/* shine effect */
.banner img{ 
    cursor: pointer;
    width: 100%;
    height:80%;
}
/* .banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100px;
    width: 100%;
    height: 80%;
    background: rgba(255,255,255, 0.3);
    transform: skewX(-30deg);
    animation-name: slide;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-delay: .1s;
    animation-iteration-count: infinite;
    animation-direction: reverse ;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0.13) 0%,
        rgba(255, 255, 255, 0.13) 77%,
        rgba(255, 255, 255, 0.5) 92%,
        rgba(255, 255, 255, 0.0) 100%
      );
    }
    @keyframes slide {
        0% {
          left: -100;
          top: 0;
        }
        50% {
          left: 120px;
          top: 0px;
        }
        100% {
          left: 100%;
          top: 0;
        }
      } */
/* .heading{
    margin-top: 10px;
    white-space: nowrap;
} */

/* .navbar{
    position:sticky ;
    top: 0;
} */

/*---------------------------- navbar--------------------------------------------------------- */
.navbar{
    /* margin-top: 10px; */
    background-color:#FED900;
}
.navbar ul li:hover{
    border-radius: 10px;
    background-color: #01A54F;
    
}
.navbar ul li a:hover{
    color: white;
}
.navbar ul li a {
    color: #34398E;
}
.navbar>.container-fluid{
    flex-direction: row-reverse;
}
.navbar ul{
    margin-top: 10px !important;
    margin-bottom: 10px!important;
   align-items: center;
    justify-content: center;
}
.navbar ul li a {
    border: 1px;
    border-radius: 10px;
    letter-spacing: 2px;
    font-size: 1.3rem;
    font-weight: bolder;
    font-family: 'Farro', sans-serif;
}
.dropdown-item{
    font-size: 1rem !important;
}
.dropdown-item:hover{
    background-color: #01A54F;
    color: white;
}

.card-title{
    font-size: 2rem;
    background:url(./img/flower-bg.png);
}
.about{
    background:linear-gradient(#ffffcc,#ff9999);
    color: rgb(0, 0, 0);
   
}
.abt img{
    width: 350px;
    height: 300px;;
}
/* sylalbus */
.card{
    margin: 10px auto;
}
.syllabus h1{
    font-size: 3rem;
}
.card-title{
    font-size: 1.7rem !important;
    color: #D81A21 !important;
}
.card-body{
    border: 2px solid #bbbaba;
    border-radius: 5px;
}

.syllabus ul{
    list-style:decimal;

}
/* events */
.card-header{
    background-color: #a8a2ffa8;
    font-size: large;
    font-weight: bold;
}
.event{
    height: 300px;
}
/* books\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ */
.card-img:hover{

    -webkit-box-shadow: 10px 10px 21px 0px rgba(0,0,0,0.72);
    -moz-box-shadow: 10px 10px 21px 0px rgba(0,0,0,0.72);
    box-shadow: 10px 10px 21px 0px rgba(0,0,0,0.72);
}

    /* galery */
    
    /* .gallery{
        color: #353880;
        background:linear-gradient(#D1913C,#FFD194);
        padding: 3rem;
        align-items: center;
        
    }
    .gallery h1{
        font-size: 4rem!important;
        font-family: 'Playfair Display', serif;
    }
    .image{
        border: 5px solid #000000d2;
        margin: auto;
        border-radius: 20px;
        display: block;
        width: 300px;
        height: 300px;
    } */
    .gallery-title h1{
        font-size: 4rem!important;
        font-family: 'Playfair Display', serif;
    }
    .gallery {
        height: 600px;
        margin: 0;
        display: grid;
        grid-template-rows: 500px 100px;
        grid-template-columns: 1fr 30px 30px 30px 30px 30px 1fr;
        align-items: center;
        justify-items: center;
        /* background:linear-gradient(#D1913C,#FFD194); */
      }
      
      main#carousel {
        grid-row: 1 / 2;
        grid-column: 1 / 8;
        width: 100%;
        height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        transform-style: preserve-3d;
        perspective: 400px;
        --items: 5;
        --middle: 3;
        --position: 1;
        pointer-events: none;
      }
      
      .item {
        position: absolute;
        width: 300px;
        height: 400px;
        background-color: coral;
        --r: calc(var(--position) - var(--offset));
        --abs: max(calc(var(--r) * -1), var(--r));
        transition: all 0.25s linear;
        transform: rotateY(calc(-10deg * var(--r)))
          translateX(calc(-300px * var(--r)));
        z-index: calc((var(--position) - var(--abs)));
      }
      
      .item:nth-of-type(1) {
        --offset: 1;
       
      }
      .item:nth-of-type(2) {
        --offset: 2;
       
      }
      .item:nth-of-type(3) {
        --offset: 3;
       
      }
      .item:nth-of-type(4) {
        --offset: 4;
       
      }
      .item:nth-of-type(5) {
        --offset: 5;
        
      }
      
      input:nth-of-type(1) {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
      }
      input:nth-of-type(1):checked ~ main#carousel {
        --position: 1;
      }
      
      input:nth-of-type(2) {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
      }
      input:nth-of-type(2):checked ~ main#carousel {
        --position: 2;
      }
      
      input:nth-of-type(3) {
        grid-column: 4 /5;
        grid-row: 2 / 3;
      }
      input:nth-of-type(3):checked ~ main#carousel {
        --position: 3;
      }
      
      input:nth-of-type(4) {
        grid-column: 5 / 6;
        grid-row: 2 / 3;
      }
      input:nth-of-type(4):checked ~ main#carousel {
        --position: 4;
      }
      
      input:nth-of-type(5) {
        grid-column: 6 / 7;
        grid-row: 2 / 3;
      }
      input:nth-of-type(5):checked ~ main#carousel {
        --position: 5;
      }
      

    /* contact */
    .contact{
      background:linear-gradient(#388E94,#0091DB,#388E94);
    }
    .email{
      text-transform: lowercase;
    }
    .contact p{
        margin: auto;  
    }
    .contact ul li a{
      font-size: 1.2rem;
    }
    .contact ul li a:hover{
      color: white !important; 
        font-weight: bold !important;
    }
    footer{
        width: 100%;
       
        color: white;
    }
    












  


 
  
  
  
