:root {
  --main-color: #2e768f !important;
  --offwhite-color:#f9f9f9 !important;
  --golden-color:#c9b447;
  --darkgrey:#212529;
  --marooncolor:linear-gradient(90deg,#631111,#520909) !important;
  --twocolor:linear-gradient(90deg, #631111,#8A0A0A);
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

html{
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  background: var(--offwhite-color);
  background-position: center;
  background-size: cover;
  
}

.top-bar {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: var(--main-color);
  padding: 1rem 5rem;
  height: 9rem;
  z-index: 30;
  position: fixed;
  top: 0;

/*  position: fixed;*/
  filter: drop-shadow(0px 3px 4px #aaa); 
}
.top-bar a{
  text-decoration: none;
  color:inherit;
}

.logo {
  font-weight: bold;
  transition: 0.6s;
  cursor:pointer;
}
.logo:hover{
  transform: scale(110%);
}
.logo img{
  height: 8rem;
  width: 8rem;
}

.institution-name{
  font-size: 2.5rem;
  font-family: "Cinzel", serif;
  color: var(--offwhite-color);
  text-align: center;
  cursor: pointer;
  line-height: 2.4rem;
  transition: 0.6s;
}
.institution-name a{
  font-family: "Cinzel", serif;
}

.institution-name:hover{
  /*color:#3f3f3f;*/
  transform: scale(110%);
  
}

#twolinesheading{
  display: none;
}

#addr{
  font-size: 2.3rem;
  font-family: "Cinzel", serif;
  text-align: center;
  color: #3f3f3f;
  
}

.login{
  cursor: pointer;
  padding: 1rem 3rem; 
  border-radius: 50px;
  background:var(--offwhite-color);
  filter: drop-shadow(2px 2px 2px #aaa);
  transition: 0.5s;
}

.login:hover{
  filter: unset;
}

.login a {
  text-decoration: none;
  color: #e9eef3;
  font-weight: normal;
  font-size: 1.2rem;

}
input[type="checkbox"]{
  display: none;
}

#loginid{
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/*code for menus*/

    #click:checked ~ .menu-btn i:before{
        content: "\f00d";
      }    
      .menulist ul{
          position: absolute;
          top: 9rem;
          padding-top: 1rem;
          left: 0;
          background: #3f3f3f;
          /*left: -100%;*/
          overflow-y: hidden;
          overflow: hidden;
          max-height: 0;
         /*max-height: calc(100vh - 10rem);*/
          width: 100%;
          text-align: center;
          display: block;
          
          transition: all 0.5s ease;
        }

      #click:checked ~ ul{
          /*left: 0;*/
          max-height: calc(100vh - 9rem);
          overflow-y: auto;
          border-bottom: 3px solid #2f2f2f;
        }   
    

    .menulist ul li{
        width: 100%;
        margin: 1.3rem 0;
        list-style-type: none;

      }
      .menulist ul li a{
        width: 100%;
        margin-left: 0px;
        padding: 1rem 0;
        display: block;
        font-size: 1.6rem;
        font-family: "Cinzel", serif;
        color: #eee;
        text-decoration: none;
        transition: 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
      }
      

      .menulist i{
        color: var(--offwhite-color);
        font-size: 2.2rem;
        cursor: pointer;
        z-index: 4;
      }

    .menulist ul li:hover::after{
      width: 0%;
    }

    .menulist ul li a:hover{
      background:#222;
      /*font-weight: bold;*/
      color: var(--offwhite-color);

    }

.main-content {
  display: flex;
  margin-top: 9rem;
  min-height: calc(100vh - 15rem);
  /*max-height: calc(100vh - 11rem);*/
  padding: 2rem;
  /*flex-wrap: wrap;*/
  /*background: var(--main-color);*/
  background:linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0.8)),url(images/school.jpg);
  background-position: center;
  background-size: cover;
  background: var(--marooncolor);
  position: relative;
}

.gradientlayer{
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%,rgba(0,0,0,0.0) 30%,rgba(0,23,149,0.5) 50%,rgba(255,0,0,0.6) 60%,rgba(0,23,149,0.6) 80%,rgba(0,0,0,0.0) 100%);
  position: absolute;
  top: 0;
  left: 0;
  /*display: none;*/
  background-repeat: no-repeat;
  background-size: 400% 400%;
  pointer-events: none;
  opacity: 0.8;
  animation-duration: 3s;
  animation-delay: 3s;
  animation-name: gradient;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: linear;
  animation-play-state: running;
}

.main-content:hover .gradientlayer{
  /*background-position: 100% 100%;*/
  animation-play-state: running;

}

@keyframes gradient{
  from{
    background-position: 0% 0%; 
  }
  to{
    background-position: 100% 100%;
  }
}



.news-section {
  flex: 1;
  /*background: var(--main-color);*/
  /*background:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.8)),url(images\logo.jpg);*/
  background-position: center;
  background-size: cover;
  color: white;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  border-radius: 0.5rem;
  max-height: 68vh;
  overflow: hidden;
}

.news-section h2 {
  margin: 0 0 1rem;
  font-weight: normal;
  font-family: "Cinzel", serif;
  color: #fff;
  font-size: 2.2rem;
}

.news-scroll {
  overflow: hidden;
  position: relative;
  height: 90%;
}

.news-scroll ul {
  list-style: none;
  padding: 0;
  margin: 0;
  animation: scrollUp 30s linear infinite;
}

.news-scroll li {
  margin-bottom: 2rem;
  font-size: 1.6rem;
  font-family: "Quicksand", sans-serif;
  font-weight: 300;
}

@keyframes scrollUp {
  0% { transform: translateY(60%); }
  100% { transform: translateY(-100%); }
}

.updates_button{
  background:var(--marooncolor);
  width: 90%;
  padding: 1rem;
  z-index: 3;
  cursor: pointer;
  transition: 0.5s;
  border-radius: 0.1rem;
  color: #fff;
  transition: 0.8s ease;
  filter: drop-shadow(4px 4px 2px #111);
}

.updates_button h3{
  font-family: "Cinzel", serif;
  text-align: center;
  font-weight: normal;
  font-size: 1.7rem;
}
.updates_button:hover{
  /*background: #444;*/
  filter: unset;
}
.updates_button a{
  text-decoration: none;
  color:#eee;
  width: 100%;
  font-family: "Cinzel", serif;
}
.carousel_menu{
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  
}

.cards {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-content: center;
  justify-content: space-around;

}

.cards a{
  text-decoration: none;
  color: var(--offwhite-color);
  width: 100%;
  text-align: center;
  font-family: "Cinzel", serif;
}

.cards i{
  margin-right: 1rem;
  font-size: 1.8rem;
}

.card {
  width: 16rem;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-weight: normal;
  font-size: 1.5rem;
  color: var(--offwhite-color);
  border: 2px solid var(--offwhite-color);
  border-radius: 1px;
  font-family: "Cinzel", serif;
  filter: drop-shadow(0px 4px 0px #555); 
  /*background: rgba(255,255,255,0.7);*/
  background:var(--main-color);
  transition: 0.6s;
  cursor: pointer;

}

.card:hover{
  background: var(--marooncolor);
  /*filter: unset;*/
  color: #fff;
}

/*carousel*/

    .carousel {
            /*border-radius: 5px;*/
            /*border:5px solid #2e768f;*/
            /*border-right-color: var(--offwhite-color);
            border-bottom-color: var(--offwhite-color);*/
            position: relative;
            width: 100%;
            height: 65vh;
           
            /*background:var(--main-color);*/
            overflow: hidden;
        }

        .carousel-inner {
            display: flex;
            transition: transform 1s ease;
            width: 100%;
            height: 100%;
        }

        .carousel-item {
            min-width: 100%;
            height: 100%;
            position: relative;
            

        }


        .carousel img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            
            
        }

    

        .carousel h3{
          position: absolute; 
        bottom: 0; 
        left: 50%; 
        background:rgba(46, 118, 143,0.7);
        line-height: 4rem;
        transform: translateX(-50%); 
        color: #fff; 
        z-index: 2;
        overflow-wrap: break-word;
        word-wrap: break-word;
        white-space: normal;
        opacity: 0;
        font-size: 1.7rem;
        font-family: "Quicksand", sans-serif;
        width: 100%; /* Set width to a percentage */
        text-align: center; /* Center the text */
        
       /* font-family: "Great Vibes", cursive;*/
      font-weight: normal;
      font-style: normal;
        transition: opacity 0.7s;
        animation: fadeIn 0.5s forwards; /* Fade in animation */
        animation-delay: 1s; /* Delay before the animation starts */

    }

    @keyframes fadeIn {
      to {
          opacity: 1; /* Fully visible at the end of the animation */
        }
    }
        .carousel button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(255, 255, 255, 0.1);
            border: none;
            border-radius: 1rem 0 1rem 0;
            cursor: pointer;
            padding: 1rem;
            transition: 0.5s ease;
        }

        .prev {
            left: 10px;
        }

        .next {
            right: 10px;
        }

        .carousel button:hover{
          background-color: rgba(255, 255, 255, 0.5);
        }

/*=============*/

/*message box*/
  .messagebox{

    width: 100%;
    margin:1rem auto;
    padding: 1rem;
    background:var(--main-color);
  }
  .messagecontent{
    margin:6rem auto;
    width: 95%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    grid-gap: 2rem;
  }
  .imgbox{
    flex:1 1 30%;
    min-width: 20rem;
    max-width: 40rem;
    position: relative;
    text-align: center;
  }
  .imgbox img{
    width: 100%;
    height: auto;
    border-radius: 1rem;
    filter: drop-shadow(4px 4px 0px var(--main-color));
    cursor: pointer;
  }
  .imgbox p{
    font-size: 2.3rem;
    background: rgba(255,255,255,0.6);
    width: 100%;
    color: var(--main-color);
    font-family: 'Cinzel',sans-serif;
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    bottom: 2rem;
    font-weight: 500;


  }
  .message{
    flex:1;
  }

  .message h3{
      color: var(--offwhite-color);
      font-size: 2.5rem;
      font-family: "Cinzel", serif;
      margin: 2rem;
      font-weight: normal;
      text-align: center;
  }
  .message p{
      font-size: 2.2rem;
      font-family: "Quicksand", sans-serif;
      margin: 1rem;
      color:#ddd;
      text-align: justify;
  }


/*reviews*/
.review-container{
      
      position: relative;
      padding: 2rem auto;
      width: 100%;
      min-height: 60rem;
      max-height: 100rem;
      background: linear-gradient(rgba(0, 0, 0,0.2),rgba(0, 0, 0,0.2)),url(images/creme.jpg);
      overflow-y: scroll;
    }
    .review-container .contents-wraper{
      width: 95%;
      min-height: inherit;
      margin: 2rem auto;
      padding: 3rem 2rem;
      text-align: center;
    }
    .contents-wraper .header h1{
      font-family: "Cinzel", serif;
      position: relative;
      margin: 2rem 0rem;
      font-size: 3rem;
      text-transform: uppercase;
      font-weight: 400;
      text-align: center;
      letter-spacing: 1px;
      color: var(--marooncolor);
    }
    .contents-wraper .header h1::before{
      content: '';
      width: 29rem;
      height: 2px;
      background-color: var(--main-color);
      border-radius: 15px;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      bottom: -5px;
    }
    .contents-wraper .testRow{
      width: 100%;
      padding: 2rem 0;
      min-height: inherit;
      position: relative;
      overflow: hidden;
    }
    .testRow .testItem{
      width: 100%;
      height: 100%;
      position: absolute;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }
    .testRow .testItem:not(.active){
      top: 0;
      left: -100%;
    }
    .testRow .testItem img{
      width: 20rem;
      height: 20rem;
      border-radius: 50%;
      object-fit: cover;
      outline: 2px solid #006994;
      /*outline-offset: 2px;*/

    }
    .testRow .testItem h3{
      font-size: 2.2rem;
      padding: 7px;
      color: var(--marooncolor);
      font-family: "Cinzel",sans-serif;
      font-weight: normal;
    }
    .testRow .testItem h4{
      /*font-style: italic;*/
      font-size: 1.7rem;
      font-weight: bold;
    }
    .testRow .testItem p{
      font-size: 1.8rem;
      letter-spacing: 1px;
      line-height: 1.2;
      padding: 1rem;
      text-align: center;
    }
   
    /* Sliding animations */
@keyframes next1 {
  from { left: 0; opacity: 1; }
  to { left: -100%; opacity: 0; }
}
@keyframes next2 {
  from { left: 100%; opacity: 0; }
  to { left: 0; opacity: 1; }
}
@keyframes prev1 {
  from { left: 0; opacity: 1; }
  to { left: 100%; opacity: 0; }
}
@keyframes prev2 {
  from { left: -100%; opacity: 0; }
  to { left: 0; opacity: 1; }
}

.contents-wraper .indicators {
  display: flex;
  justify-content: center;   /* center the dots */
  overflow-x: auto;          /* horizontal scroll if too many dots */
  gap: 5px;
  padding: 5px 0;
  scrollbar-width: none;     /* hide scrollbar in Firefox */
}
.contents-wraper .indicators::-webkit-scrollbar {
  display: none;             /* hide scrollbar in Chrome/Safari */
}
.contents-wraper .indicators .dot {
  flex: 0 0 auto;            /* keep size fixed */
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
}
.contents-wraper .indicators .dot.active {
  background-color: #333;
}

.testRow {
  touch-action: pan-y; /* allow vertical scroll while swiping horizontally */
}


/*magazine*/
.magazine-content{
  width: 95%;
  margin: 4rem auto;
  text-align: center;
}

.magazine-container{
  width: 100%%;
  height: 50rem;
  margin: 3rem auto;
  border: 2px solid #333;
  overflow: hidden;
}

.magazine-content h1{
  font-size: 4rem;
  margin: 3rem auto;
  font-family: "UnifrakturCook", cursive;
  color: var(--main-color);
  font-weight: normal;
}

.magazine-container iframe{
  width: 100%;
  height: 100%;
  border: none;
}

.download-link-magazine{
  text-align: center;
  margin-top: 2rem;
}

.download-link-magazine a{
  text-decoration: none;
  font-size: 1.7rem;
  color: #fff;
  background-color: #9c424b;
  padding: 1rem 2rem;
  border-radius: 5px;
  transition: 0.3s;
}
.download-link-magazine a:hover{
  background-color: #3f3f3f;
}



/*history of srs*/
.historycontainer{
  width: 100%;
  background:url(images/vintage.jpeg);
  background-size: cover;
  background-position: center;
}

.historycontent{
  width: 94%;
  margin: 2rem auto;
  padding: 3rem 1rem;
  text-align: center;
}

.historycontent h1{
  margin: 3rem auto;
  font-size: 4.5rem;
  color: #452c2c;
  font-family: "UnifrakturCook", cursive;
}
.historycontent img{
  width: 100%;
  max-width: 45rem;
  transition: 0.5s ease;
  cursor: pointer;
  /*box-shadow: 6px 6px 7px #2f2f2f;*/
}
.historycontent img:hover{
  filter: saturate(1.9);
}
.historycontent p{
  font-size: 2.1rem;
  color: #000;
  margin: 2rem auto;
  text-align: justify;
  line-height: 2.2rem;
  font-family: "Special Elite", system-ui;
  word-spacing: 1rem;
}
.knowmorebtn{
  margin: 1rem auto;
  text-align: right;
}
.knowmorebtn a{
  text-decoration: none;
  color:#452c2c;
  transition: 0.3s ease;
}

.historycontent button:hover{
  color: #000;
}
.historycontent button{
  width: 17rem;
  padding: 1.3rem 0;
  /*float: right;*/
  text-align: center;
  font-size: 2.1rem;
  margin: 1rem auto;
  border:none;
  font-weight: bold;
  color: #452c2c;
  cursor: pointer;
  background:transparent;
  font-family: "Special Elite", system-ui;

  /*text-transform: uppercase;*/
  /*z-index: 1;*/
  
  transition: 0.4s ease;
}
/*best house and best class*/

.bestcontainer{
  background: linear-gradient(rgba(0, 0, 0,0.6),rgba(0, 0, 0,0.8)),url(images/hof.jpeg);
  width: 100%;
  margin: 1rem auto;
  padding: 1rem;
  background-attachment: fixed;
  background-size: cover;
}

.bestcontainer h1{
  font-family: "Cinzel", serif;
  color: #eeca6b;
  margin: 3rem auto;
  font-size: 3rem;
  word-spacing: 0.8rem;
  letter-spacing: 0.4rem;
  text-align: center;
}

.bestcontainer .bestbox{
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 4rem auto;
  text-align: center;
  flex-wrap: wrap;
  grid-gap: 4rem;
}

.bestbox .cardbox{
  background: transparent;
  margin: 1rem auto;
  width: 37rem;
  border-radius: 0px 4rem 0 4rem;
  padding: 1rem;
  color: #ddd;
  border:8px solid #eeca6b;
  animation: scrolleffect ease-in-out both;
  animation-timeline: view();
  animation-range: entry 50% cover 50%;

}

@keyframes scrolleffect{
  from {
    opacity: 0;
    transform: translateY(10rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrolleffectside{
  from {
    opacity: 0;
    transform: translateX(-10rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes scrolleffectrightside{
  from {
    opacity: 0;
    transform: translateX(10rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.bestbox h3{
  font-size: 2.5rem;
  color: #fff;
  margin: 1rem auto;
  font-family: "Cinzel", serif;
}

.cardbox i{
  font-size: 8rem;
  margin: 3rem auto;

}

.cardbox h2{
  line-height: 3rem;
  font-size: 1.8rem;
  
  /*font-family: "Cinzel", serif;*/
}

.goldentext{
  color: #eeca6b;
}

.cardbox img{
  width: 95%;
  margin: 1.5rem auto;
  border-radius: 1rem;
  border:2px solid #222;
}



.aboutcontainer{
  margin: 2rem auto;
  width: 100%;
  background:url("images/creme.jpg");
  padding: 2rem ;

}

.aboutcontainer .aboutbox{
  width: 95%;
  margin: 2rem auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
  align-items: center;

}

.aboutbox .strobertpic{
  width: 40rem;
  animation: scrolleffect ease-in-out both;
  animation-timeline: view();
  animation-range: entry 50% cover 50%;

}

.aboutbox img{
  width: 100%;
  height: 40rem;
  border-radius: 50%;
}

.aboutbox .aboutcontent{
  width: 60rem;
  animation: scrolleffect ease-in-out both;
  animation-timeline: view();
  animation-range: entry 50% cover 50%;
}

.aboutcontent h2{
  font-family: "UnifrakturCook", cursive;
  font-weight: 700;
  color: #452d2a;
  font-size: 4rem;
  margin: 1rem auto;
}

.aboutcontent p{
  color: #2f2f2f;
  font-weight: bold;
  font-size: 2.8rem;
  margin-bottom: 3rem;

}

.aboutcontent h3{
  color: #1f1f1f;
  font-size: 2.5rem;

}

.maroonbg{
  width: 100%;
  margin: 0 auto;
  background:url("images/creme.jpg");
  padding: 1rem;
}

.infobox{
  max-width: 17rem;
  /*height: auto;*/
  margin: 1rem auto;
  background: var(--main-color);
  padding: 0.2rem;
  /*border-radius: 5rem;*/
  /*border:1px solid #ccc;*/
  cursor: pointer;
  box-shadow: 5px 5px 3px #3f3f3f;
  transition: 0.5s ease;
}

.infobox:hover{
  box-shadow: none;
}

.visitorbox{

  padding: 1rem;
  color: #eee;
  text-align: center;
  text-transform: uppercase;
  
}

.maroonbg a{
  text-decoration: none;
  color: #eee;
}
.visitorbox h2{
  text-align: center; 
  font-size: 1.3rem;
  

}



/*footer*/
.footercontainer{
  width: 100%;
  background:var(--main-color);
  padding: 3rem;
}
.footercontainer p{
  color: #ddd;
  font-size: 1.2rem;
  text-align: center;
}
/* -----------------------mobile----------------------------------*/
/* ---------------media queries-----------------*/

@media screen and (max-width: 955px) {
      #login{
        display: none;
      }
      #menus{
        display: block;
      }
      /*code for menus*/

    #click:checked ~ .menu-btn i:before{
        content: "\f00d";
      }    
      .menulist ul{
          position: absolute;
          top: 9rem;
          padding-top: 1rem;
          left: 0;
          background: var(--main-color);
          /*left: -100%;*/
          overflow-y: hidden;
          overflow: hidden;
          max-height: 0;
         /*max-height: calc(100vh - 10rem);*/
          width: 100%;
          text-align: center;
          display: block;
          
          transition: all 0.5s ease;
        }

      #click:checked ~ ul{
          /*left: 0;*/
          max-height: calc(100vh - 9rem);
          overflow-y: auto;
          border-bottom: 3px solid #2f2f2f;
        }   
    

    .menulist ul li{
        width: 100%;
        margin: 1.3rem 0;
        list-style-type: none;

      }
      .menulist ul li a{
        width: 100%;
        margin-left: 0px;
        padding: 1rem 0;
        display: block;
        font-size: 1.6rem;
        color: #eee;
        text-decoration: none;
        transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
      }
      

      .menulist i{
        color: #fff;
        font-size: 2.2rem;
        cursor: pointer;
        z-index: 4;
      }

    .menulist ul li:hover::after{

      width: 0%;
    }

    .menulist ul li a:hover{
      background:#555;
      font-weight: bold;
      color: #eee;

    }

      /*----------------*/

      .main-content {
        min-height: calc(100vh - 8rem);
        padding: 0rem;
        padding-top:9rem;
        flex-wrap: wrap;
        margin-top: 0;
      }

      .news-section {
        flex-basis: 100%;
        width: 100%;
        height: 100%;
        padding: 1.5rem;
        background: none;
      }

      .news-section h2 {
        font-size: 1.8rem;

      }

      .news-scroll li {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
      }

      @keyframes scrollUp {
        0% { transform: translateY(50%); }
        100% { transform: translateY(-100%); }
      }

      .updates_button{
        width: 100%;
        border-radius: 0.5rem;
      }
      .updates_button h3{
        font-size: 1.4rem;
      }
      

      .cards {
        flex: 2;
        justify-content: space-around;
        gap:1rem;
        margin: 3rem auto;
      }

      .cards i{
        margin-bottom: 0;
        margin-right: 0.5rem;
        font-size: 1.5rem;
      }

      .card {
        min-width: 14rem;
        height: 4rem;
        font-size: 1.2rem;
        

      }

      /*carousel*/

    .carousel {
            margin: 3rem auto;
            border: 4px solid var(--main-color);
            width: 100%;
            height: 40vh;
        }

        
        .carousel h3{
          line-height: 3rem;
          font-size: 1.4rem;
        }
        .message h3{
          font-size: 2.1rem;
        }
        .message p{
          font-size: 1.8rem;
          color:555;        
        }
}

@media screen and (max-width: 870px){
      .imgbox{
          flex-basis:100%;
      }
      .message{
        flex-basis: 100%;
      }
}
@media(max-width: 650px){
      #onelineheading{
        display: none;
      }
      #twolinesheading{
        display: block;
      }
      .institution-name{
        font-size: 2rem;
        line-height: 1.7rem;
      }
      #addr{
        font-size: 1.5rem;
      }

}
@media(max-width: 550px){
      .container .contents-wraper{
        width: 95%;
      }
      .contents-wraper .header h1{
      /*  font-size: ;*/
      }
      .testRow .testItem h3{
     /*   font-size: 26px;*/
      }
      .testRow .testItem p{
        font-size: 1.8rem;
        letter-spacing: initial;
        line-height: initial;
      }
      .historycontent p{
        font-size: 1.8rem;
      }
    }

@media screen and (max-width: 480px) {
    
    .top-bar {
        padding: 1rem 1rem;
        height: 8rem;
      }

      .logo img{
        height: 6rem;
        width: 6rem;
      }

      #login{
        display: none;
      }
      #menus{
        display: block;
      }
      .institution-name{
        font-size: 1.7rem;
        line-height: 1.7rem;
      }
      .institution-name:hover{
          transform: scale(100%);
      }
      #onelineheading{
        display: none;
      }
      #twolinesheading{
        display: block;
      }
      

      /*code for menus*/

    
      .menulist ul{
          position: absolute;
          top: 8rem;
        }

      #click:checked ~ ul{
          max-height: calc(100vh - 9rem);
        }   
    

    
      .main-content {
        min-height: calc(100vh - 8rem);
      }

      
        .carousel h3{
          line-height: 3rem;
          font-size: 1.4rem;
        }
        .message h3{
          font-size: 2.5rem;
        }
        .message p{
          font-size: 1.7rem;
          color:555;        
        }

/*=============*/


}