@import url("https://fonts.maateen.me/charukola-ultra-light/font.css");
@import url("https://fonts.maateen.me/charu-chandan-3d/font.css");
@import url("https://fonts.maateen.me/solaiman-lipi/font.css");
@import url("https://fonts.maateen.me/ekushey-lohit/font.css");
@import url("https://fonts.maateen.me/charu-chandan-hard-stroke/font.css");

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-family: "SolaimanLipi", sans-serif;
}
body {
  overflow-x: hidden;
}
a {
  text-decoration: none;
}
ul {
  list-style-type: none;
}
header {
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  background: #ffffff;
}
pre {
  display: flex;
  justify-content: center;
  text-align: center;
  color: black;
  font-weight: 500;
  font-family: "EkusheyLohit", sans-serif;
  font-size: 1.2rem;
}
/****************************************** Navigation Bar Strats  ***************************************/
.container {
  width: 100%;
  max-width: 117rem;
  margin: 0 auto;
  padding: 0rem 0rem 0rem 25rem;
}
.menu-icons {
  color: black;
  font-size: 3rem;
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1500;
  display: none;
}
nav {
  display: flex;
  align-items: center;
  width: 100%;
  height: 8rem;
  font-family: "CharukolaUltraLight", sans-serif;
  font-weight: 900;
}
.nav-list {
  display: flex;
  width: 100%;
  align-items: center;
}
.nav-list li {
  line-height: 8rem;
  position: relative;
}
.sub-menu li {
  line-height: 2rem;
}
.nav-list a {
  display: block;
  color: black;
  padding: 0 1.5rem;

  text-transform: uppercase;
  transition: color 650ms;
}
.nav-list a:hover {
  color: #eb3007;
}
.sub-menu {
  width: 20rem;
  display: block;
  position: absolute;
  border-top: 3px solid #eb3007;
  background-color: #f5f5f5e9;
  z-index: 100;
  top: 6rem;
  opacity: 0;
  visibility: hidden;
  transition: all 650ms ease;
}
.sub-menu::before {
  content: "";
  position: absolute;
  top: -2.5rem;
  left: 3rem;
  border: 1.2rem solid transparent;
  border-bottom-color: #eb3007;
}
.sub-menu .sub-menu::before {
  top: 0.9rem;
  left: -2.5rem;
  border-radius: 1.2rem solid transparent;
  border-right-color: #eb3007;
}
.sub-menu .sub-menu {
  border-top: none;
  border-left: 3px solid #eb3007;
  top: 0px;
  left: 160%;
}
.nav-list li:hover > .sub-menu {
  top: 4rem;
  opacity: 1;
  visibility: visible;
}
.sub-menu li:hover > .sub-menu {
  top: 0;
  left: 100%;
}

/************************************** Navigation Bar End  ***********************************************/
.side-box {
  background-color: transparent;
}
.box {
  display: inline-block;
  border: 2px solid transparent;
  width: auto;
  height: auto;
  margin: 2px;
}
.box i {
  color: black;
}
#box2 {
  position: fixed;
  right: 0;
  bottom: 1px;
}
#box3 {
  position: fixed;
  left: 0;
  bottom: 2px;
}

#home {
  margin: 5px 5px;
  background-image: url(../img/pagebgm_resz.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: fit-content;
  border: 0.1px solid tomato;
  border-radius: 10px;
}
#home .home-page h1,
.res-page h1 {
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 2.5rem;
  font-family: "CharuChandan3D", sans-serif;
  color: #880000d9;
}
#home .small h1 {
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 1.83rem;
  font-family: "CharuChandan3D", sans-serif;
  color: #880000d9;
}
#home .home-page h3 {
  display: flex;
  justify-content: flex-end;
  right: 27vw;
  line-height: 1rem;
  font-family: "CharukolaUltraLight", sans-serif;
  margin: 0 13vw 0 0vw;
}
.res-page h3 {
  display: flex;
  justify-content: center;
  text-align: center;
  line-height: 4rem;
  font-size: 2.5rem;
  font-family: "CharukolaUltraLight", sans-serif;
  border-bottom: 1px solid rgb(0, 0, 0);
}
#home .home-page h5 {
  display: flex;
  justify-content: flex-end;
  right: 27vw;
  top: -2.1vh;
  font-family: "CharukolaUltraLight", sans-serif;
  margin: 0 13vw 0 0vw;
}

#home .home-page p {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 1.2rem;
  color: black;
  font-weight: 500;
  font-family: "EkusheyLohit", sans-serif;
}
.res-page p {
  display: flex;
  justify-content: flex-start;
  text-align: none;
  margin-top: 1.2rem;
  color: black;
  font-weight: 500;
  font-family: "EkusheyLohit", sans-serif;
}
#short-stroy,
#poem,
#semi-story,
#local,
#paragraph,
#puja {
  background-color: transparent;
  margin: 5px 5px;
  border-radius: 10px;
  border: 0.1px solid tomato;
}
/*************************************** Footer Starts  ********************************************/
#footer .text-center {
  display: flex;
  justify-content: center;
  text-align: center;
  transition: transform 0.5s;
}
#footer p.para {
  color: #777777;
  /* font: normal 500 16px/ 25px "Roboto", cursive; */
  font: normal 900 16px/ 25px "CharukolaUltraLight", sans-serif;
  font-family: ;
}
#footer a {
  color: #007bff;
  text-decoration: none;
  background-color: transparent;
}
#footer a i {
  font-size: 1.2rem;
  padding: 0 1rem 0.35rem 1rem;
  color: #777777;
  transition: transform 0.5s;
}
#footer .social-link a:hover {
  transform: translateY(2px);
}
#footer .social-link a:hover i {
  transform: scale(0.9);
}
#footer .social-link a:hover .fa-facebook {
  color: #3b5998;
}
#footer .social-link a:hover .fa-instagram {
  color: #f14843;
}

#footer .social-link a:hover .fa-youtube {
  color: #ff0000;
}
/***************************************** Footer End  ************************************************/

/*************************************** Media Quary For Navigation Bar Start ****** *************************/
@media screen and (max-width: 1100px) {
  .nav-list {
    position: fixed;
    top: 0;
    left: 10%;
    height: 100vh;
    display: none;
    flex-direction: column;
    align-items: initial;
    background-color: #f5f5f5e9;
    z-index: 1000;
  }
  .nav-list > li {
    line-height: 3rem;
    top: 5vh;
  }
  .nav-list a {
    font-size: 1.4rem;
  }
  .sub-menu {
    position: initial;
    border: 3px solid transparent;
    border-left-color: #eb3007;
    margin-left: 1rem;
    max-height: 0;
  }
  .sub-menu::before {
    display: none;
  }
  .nav-list li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    max-height: initial;
  }
  .menu-icons {
    display: block;
  }
  .ion-md-close {
    display: none;
  }
  nav.active .ion-md-close {
    display: block;
  }
  nav.active .ion-md-menu {
    display: none;
  }
  nav.active .nav-list {
    display: flex;
  }
}

/***************************************** Media Quary Of Navigation Bar End **********************************/

/******************** MObile Screen  ************************/
@media screen and (min-width: 280px) {
  .logo img {
    width: 60vw;
    height: auto;
    display: flex;
    justify-content: center;
    position: absolute;
    left: 2vw;
  }
  #home .home-page p,
  .res-page p {
    padding: 0 0.3rem;
    font-size: 1rem;
  }
  .res-page h3 {
    margin: 0px 5vw 0 5vw;
  }
  .res-page h5 {
    display: flex;
    justify-content: flex-end;
    right: 10vw;
    font-family: "CharukolaUltraLight", sans-serif;
    font-size: 1.1rem;
    color: black;
    margin: 0.5vh 15vw 0 0;
  }
  .box i {
    font-size: 1.2rem;
  }
}
/********************** Tablet Screen  ***********************/
@media screen and (min-width: 700px) {
  .logo img {
    width: 32vw;
    height: auto;
  }
  .box i {
    font-size: 1.65rem;
  }
}
/*********************** Laptop Screen********** */
@media screen and (min-width: 1200px) {
  .logo img {
    width: 15vw;
    height: auto;
    display: flex;
    justify-content: left;
    position: absolute;
    left: 2vw;
  }
  .nav-list a {
    font-size: 1.5rem;
    line-height: 5.5vh;
  }
  #home .home-page p,
  .res-page p {
    padding: 0.1rem 1.5rem;
    font-size: 1.25rem;
  }
  .res-page h5 {
    display: flex;
    justify-content: flex-end;
    right: 35vw;
    font-family: "CharukolaUltraLight", sans-serif;
    font-size: 1.5rem;
    margin: 0.5vh 35vw 0 0;
  }
  .res-page h3 {
    margin: 0px 37vw 0 37vw;
  }
  .box i {
    font-size: 2rem;
  }
}
