
@import url('https://fonts.googleapis.com/css?family=Nunito:300,400,700');

*{
  box-sizing: border-box;
}

:root{
  --white-color: rgb(66, 56, 94) !important;
  --main-color:#2e2d69 ;
  --display-style: inline-block;
}

/* Navigation Style */
nav{
  background: transparent !important;
  display: inline;
  color: oldlace;
}

nav a{
  display: inline-block;
  color: var(--white-color);
  font-weight: 300;
  opacity: 0.6;
  text-decoration: none;
  transition: 0.3s all ease;
}

nav a:hover{
  opacity: 1;
  color: var(--white-color);
  text-decoration: none;
}

nav ul{
  margin:0;
  padding: 0;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

nav li{
list-style: none;
padding: 1em 0;
text-align: ce
}

a{
  transition: .3s all ease;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  text-decoration: none;
  text-align: center;
}

/* main */

body{
  background-color: rgb(72, 71, 117);
  margin: 0px;
  padding: 0px;
  font: 20px/1.5px 'Nunito' 'sans-serif';
}

button{
  margin-top: 1em !important;
  }

.button{
  background-color: var(--main-color); 
  transition: .3s all ease; 
  padding: 12px 30px; 
  margin-top: 0 !important; 
  margin-bottom: 1em;
  text-transform: uppercase; 
  letter-spacing: .15em;
  color: #fff;
  border: none;
  cursor: pointer;
}

.button:hover {
color: var(--main-color);
text-decoration: none;
background-color: var(--white-color);
border: 2px solid var(--main-color);
}


/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 */
/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 */
 /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 */
 /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 */

 .heroitems{
  position: relative;
  width: 1980px;
  min-height: 550px;
  height: 100vh;
  text-align: center !important;
  display: table-cell;
  vertical-align: middle;
  margin: auto;
  z-index: 2;
  padding: 0 5em;
}

.items h1{
font-size: 3em;
color: var(--white-color);
}

.items p{
  font-size:1.4em;
  color: var(--white-color);
}

.main-padding{
  padding: 7em 7em 7em 7em;
}

.heading{
  font-size: 36px;
  margin: 30px;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

.sub-heading{
  text-transform: uppercase;
  font-size: 12px;
  color:gray (#cccccc);
  letter-spacing: .1em;
  }

.sideleft{
  width: 40%;
  float: left;
  text-align: center; 
  padding: 1em;
 }
 .sideright{
   width: 50%;
   float: right;
   padding: 1em;
 }

header{
  position: absolute;
  top: 0px;
  left: 0px;
  width:100%;
  z-index: 5;
}
header nav{
  background: transparent !important;
}
header .logo{
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 700;
  color: #fff !important;
}

header>div .logo{
  float: left;
  padding: 1em 3.5em 1em 0.5em;
}

/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!1
 */
.event{
  padding: 0em 2em 0em 0em;
  
}



figure .img{
  max-width:100%;
  height: auto;
}

form{
  text-align: left;
}

body{
  background-color: #F4F4F4;
  margin: 0px;
  padding: 0px;
  font: 20px/1.5px 'Nunito' 'sans-serif';
}

figure .img{
  max-width: 100%;
  height: auto;

}

#toggle{
display: none;
}

.label{
  font-size: 26px;
  line-height: 70px;
  display: none;
  width: 30px;
  float: right;
  color: var(--white-color);
}


/* Here is the Class style Declaration */
.bg-color{
background-color: rgb(54, 103, 151) !important;
}



.contactform input[type="text"], .contactform input[type="email"], .contactform, textarea{
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #55718d;
  background-color: var(-white-color);
  background-clip: padding-box;
  border: 1px solid #ced4da;
}

.contactform{
  width: 70%;
  padding-bottom: 4em;
  /* I added for good design purpose */
  margin-bottom: 20px; 

}

.copyright{
  text-align: center;
}

.feature{
text-align: center;
}

.feature-image{
position: relative;
}

.feature-image img{
  display: var(--display-style);
  width: 300px;
  margin: 1em;
}

.footer{
float:left;
width: 33%;
text-align: center;
margin-bottom: 4em;
}



/******************************************************* Index Home page Style ******************************************************/
.heroimage{
  background-image: url("../img/home.jpg");
  background-size: cover;
  height: 100vh;
}

.heroimage:before {
  content:"";
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100vh;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}



.item>a>img{
  width: 100%;
  height: 100%;
  }

.item>a>img:hover{
  filter: blur(2px) brightness(60%);
  box-shadow: 0 8px 16px rgba(0,0,0,0.25), 0 5px 5px rgba(0,0,0,0.22);
  cursor: pointer;
  }

img{
  content: "";
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.main-footer{
  padding:4em 0em 0.9em 0em;
  background: rgb(146, 136, 184);
}





.research-pic{
  max-width: 30%;
  display: var(--display-style);
  position: relative;
  overflow: hidden;
  padding: 0 1em;
}

.research-pic figure{
  float: left;
}

.research-body{
  background: var(--white-color) !important;
  padding: 30px;
  border: 1px solid #E6E6E6;
  border-top: none;
}




#particles-js{
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

#particles-js .particles-js-canvas-el {
  position: absolute;
  top: 0;
}


/***************************************** Gallery *************************************************************************************/
.container-gallery{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-columns: repeat(auto-fill, minmax(750px, 1fr));
  justify-items: center;
  grid-gap: 40px;
  margin: 0.2em 2em 0.2em 2em;
}
.item>img{
  width: 100%;
  height:100%;
}
.item>img:hover{
  box-shadow: 0 8px 16px rgba(0,0,0,0.25), 0 5px 5px rgba(0,0,0,0.22);
  cursor: pointer;
  filter: blur(2px) brightness(60%);
}

/* pageloader */ 
.loader.spinner:before { 
  width: 117px; 
  height: 117px; 
  border-color: #2e2d69; 
  top: 0px;
  left: 0px; 
  animation: rotate 1s linear 0s infinite; 
} 
.loader.spinner:after { 
  width: 117px; 
  height: 117px; 
  border-color:  #2e2d69; 
  top: 0; 
  left: 0; 
  opacity: 0; 
  animation: rotate 1s linear 0.5s infinite; 
} 
.loader { 
  margin:auto; 
  top:30%; 
  position: relative; 
  width: 125px; 
  height: 125px; 
} 
.loader:before, .loader:after { 
  content: ""; 
  display: block; 
  position: absolute; 
  border-width: 4px; 
  border-style: solid; 
  border-radius: 50%; 
}

@keyframes rotate { 
  0% {
    transform: scale(0); 
    opacity: 0; 
  } 
  50% { 
    transform: scale(0.7); 
    opacity: 1; 
  } 
  100% {
    transform: scale(1); 
    opacity: 0; 
  } } 
#loadingDiv { 
  position: fixed; 
  top:0; 
  left:0; 
  width:100%; 
  height:100%; 
  background-color:#ddd; 
  z-index: 9999999; 
} 
/* End of pageloader */


@media(max-width:992px){
  .label{
    display: block;
    cursor: point;
  }

  nav ul{
    text-align: center;
    display: none;
    flex-direction: column;
    padding-top: 2.2em;
    background-color: transparent;
  }

  nav li{
    width: 100%;
    text-align: left;
    flex: auto;
    background-color: rgba(0, 0, 0, 0.8);
    position: relative;
    top: 1em;
  }

  nav a{
  opacity: 1;
  }

  #toggle:checked+.menu{
  display:block;
  }

  header>div.logo{
  float:left;
  padding:1em 0.5em 0.5em 0.5em;
  }

  .menu a{
  display:block;
  margin: 0;
  }

  .heroitems{
    position: absolute;
    width: 100%;
    height: 50vh;
    text-align: center !important;
    display:table-cell;
    vertical-align:middle;
    margin: auto;
    z-index: 2;
    top: 30%;
    }

  .heroitems h1{
  font-size: 40px
  }

  .sideleft, .sideright, .newsletter h1, .newsletter form, .footer, .feature-image img, 
  .newsletter input[type="email"], button, .button, .sub-heading, .heading, .contactform, 
  textarea, .rooms, .rooms-pic-1{
  float: none;
  width:100%;
  text-align:center;
  margin: 0.8em 0 0.8em 0;
  }
  
  .research-pic{
  max-width:100%;
  direction: inherit
  }

  .sideleft{
  padding-bottom: 1em;
  }

  .main-padding{
  padding: 2em 0;
  }

 .heroitems p{
  font-size:25px;
  margin-bottom: 20px;
  }
  .rooms{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  justify-items: center;
  grid-gap: 20px;
  margin: 0.2em 2em 0.2em 2em;
  }

  .footer{
  margin-bottom: 1em;
  }

  .container-gallery{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-columns: repeat(auto-fill, minmax(250, 1fr));
  justify-items: center;
  grid-gap: 20px;
  margin: 0.2em 2em 0.2em 2em;
  }

  .pagination{
    width:50%;
    margin: auto;
    display: flex;
    flex-direction: row;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
  }
  .page-item{
    background-color: inherit;
    top: 0;
  }
}

@media(max-width: 480px){
  .heroitems h1{
    font-size: 30px;
  }

  .heroitems p{
    font-size: 20px;
    margin-bottom: 20px;
  }

  .sideleft, .sideright, .newsletter h1, .newsletter form, .footer, .feature-image img, .newsletter input[type="email"], button, .contactform, .button, textarea, .research, .research-pic-1{
    float: none;
    width:100%;
    text-align:center;
    margin: 0.8em 0 0.8em 0;
   }

   .container-gallery{
    display: grid;
    grid-template-columns: 1fr ;
    grid-template-columns: repeat(auto-fill, minmax(250, 1fr));
    justify-items: center;
    grid-gap: 20px;
    margin: 0.2em 2em 0.2em 2em;
  }
  .page-link{
    font-size:small;
  }
}