@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');
@import url('https://fonts.cdnfonts.com/css/samarkan?styles=6066,6065');

:root {
    --burgandy: #800020;
    --gray: #444444;
    --color: #800020;
    --border: .2rem solid #800020;
}

*{
    font-family: 'Poppins', sans-serif;
    margin:0; padding: 0;
    box-sizing: border-box;
    outline: none; border: none;
    transition: all .2s ease-out;
    text-decoration: none;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 7rem;
    scroll-behavior: smooth;
}

section{
    padding:2rem 9%;
}

section:nth-child(even){
    background: white;
}

.heading{
    text-align: center;
    padding-bottom: 1rem;
    text-transform: uppercase;
    font-size: 35px;
    letter-spacing: .1rem;
}

.heading span{
    text-transform: uppercase;
    color: #800020;
}

.btn{
    display: inline-block;
    margin-top: 1rem;
    padding: .5rem;
    padding-left: 1rem;
    border:var(--border);
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    color: #ffffff;
    cursor: pointer;
    font-size: 1.7rem;
    font-weight: bold;
    background: #800020;
}

.btn span{
    padding:.7rem 1rem;
    border-radius: .5rem;
    background: #2f2f2f;
    color:#fff;
    margin-left: 5rem;
}

.btn:hover{
    background: #ffffff;
    color: #800020;
}

.btn:hover span{
    color: #ffffff;
    background:#800020;
    margin-left: 1rem;
}


/*header start*/

.slogan {
    display: block;
}

.slogan img {
    width: 100%;
    height: 45px;
    max-width: 30rem;
    float: right;
    margin: 5px;
    border-radius: 1rem;
}

.slogan a {
    width: 285px;
    font-size: 1.5rem;
    font-style: normal;
    border-radius: .5rem;
    background: #800020;
    color: #eee;
    padding: 1rem;
    float: left;
    margin: 6.5px;
}

/*marquee start*/

marquee {
    width: 100%;
    background-color: #ffffff;
    color: #800020;
    font-family: sans-serif;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
}

/*marquee end*/

header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 7%;
    width: 100%;
    height: 100px;
    z-index: 1000;
    background-color: #800020 !important;

}

.logo {
    width: 300px;
}

.logo img {
    width: 300px;
    height: 80px;
}

.navbar a {
    color: #ffffff;
    font-size: 2rem;
    margin: 1rem;
    position: relative;
    transition: 0.5s;
}

.navbar a:hover {
    color: #9c9393;
}

.navbar a::after {
    content: "";
    background-color: var(--maincolor);
    width: 0;
    position: absolute;
    height: 0.2rem;
    left: 0;
    margin-top: 0.5rem;
    top: 100%;
    transition: 0.5s;
}

.navbar a:hover::after {
    width: 100%;
}

#menu-bars {
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    margin-right: 1rem;
    display: none;
}

#menu-bars:hover {
    color: #9c9393;
}

  /*header end*/


/*about start*/

.about .content h1 {
    color: #800020;
    font-size: 20px;
}

.about .items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    width: 100%;
}

.about .items .item,
.about .items .image {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about .items .image {
    padding: 2rem;
    padding-left: 0rem;
}

.about .items .image img {
    width: 100%;
    height: fit-content;
    object-fit: cover;
}

.about .item-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about .items .item .about-desc {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about .items .item .about-desc p {
    font-size: 16px;
    line-height: 24px;
    color: #800020;
    margin-top: 15px;
} 

/*about end*/

/*blogs start*/

.blogs .box-container{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap:2rem;
    border: var(--border);
    box-shadow: var(--box-shadow);
}

.blogs .box-container .box{
    border-radius: .5rem;
    padding: 2rem;
}

.blogs .box-container .box .image{
    height: 15rem;
    width: 290px;
    overflow:hidden;
    border-radius: .5rem;
}

.blogs .box-container .box .image img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.blogs .box-container .box .content{
    padding-top: 1rem;
}

.blogs .box-container .box .content h3{
    color:#800020;
    font-size: 1.5rem;
}

.blogs .box-container .box .content p{
    color:#800020;
    font-size: 1.5rem;
    line-height: 1.8;
    padding:1rem 0;
}

/*blogs end*/


/*quick link start*/

.quicklink .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap:2rem;
}

.quicklink .box-container .box h3{
    font-size: 2.5rem;
    color:#800020;
    padding: 1rem 0;
}

.quicklink .box-container .box a{
    display: block;
    font-size: 1.5rem;
    color:#800020;
    padding: 1rem 0;
}
.quicklink .box-container .box a:hover{
  color: #9c9393;
}

.quicklink .box-container .box a i{
    padding-right: .5rem;
    color:#800020;
}

.quicklink .box-container .box a:hover i{
    padding-right: 2rem;
    color: #9c9393;
}

.nabh img {
    width: 25vh;
    height: 20vh;
    max-width: 30rem;
}

.year img {
    width: 20vh;
    height: 20vh;
    max-width: 30rem;
}

/*quick link end*/

/*up button start*/

#myBtn {
  display: none;
  position: fixed;
  bottom: 75px;
  right: 5px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #800020;
  color: #fff;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #9c9393;
}

/*up button end*/

/*footer start*/

.footer-bottom{
    background-color: #800020;
    height: 100px;
}
.footer-bottom p{
  padding-top: 2rem;
  text-align: center;
  font-size: 1.2rem;
  color: #fff;
}

.footer-bottom h3 {
    padding-top: 2rem;
    text-align: center;
    font-size: 1.2rem;
    color: #f8df01;
}

/*footer end*/


/* media queries start */

@media (max-width:991px){


    html{
        font-size: 55%;
    }


   #menu-bars {

       display: initial;
       float: right;
   }

   header {
       padding: 2rem;
       background-color: #ffffff;
   }

   .navbar {
       position: absolute;
       top: 100%;
       left: -100%;
       height: 100vh;
       width: 100%;
       background-color: #800020;
   }

   .navbar.active {
       left: 0;
       color: #0091ff;
   }

   .navbar a {
       display: block;
       margin: 2rem;
       padding: 1rem;
       border: 1px solid var(--textcolor);
   }

   .logo img {
       width: 250px;

   }

   #myBtn {
       display: none;
       position: fixed;
       bottom: 75px;
       right: 5px;
       z-index: 99;
       border: none;
       outline: none;
       background-color: #800020;
       color: #fff;
       cursor: pointer;
       padding: 5px;
       border-radius: 4px;
   }

   #myBtn:hover {
       background-color: #9c9393;
   }



   .doc-poster img {
       width: 100%;
       height: 55vh;
       border: 0.7rem solid #800020;
   }
}



@media (max-width: 320px) {

    html {
        font-size: 50%;
    }

    #menu-btn {
        display: initial;
        float: right;
    }

    .slogan a {
        width: 250px;
    }

    .slogan img {
        width: 200px;
        height: 30px;
    }

    header {
        width: 100%;
        height: 50px;
    }

    .logo img {
        width: 200px;
        height: 50px;
    }

}
/* media queries end */
