/*
##################################################################################################                                                                                         *
*                                                                                                *  
*                              Capstone Project Final                                            *
*                                    Style.css                                                   *
*                                  Sujina Maharjan                                               * 
*                                                                                                *
*################################################################################################*

*/

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;700&family=Mansalva&display=swap');

/*------------------------body---------------------------------*/
body
{
  font-family: 'Josefin Sans', sans-serif;
  overflow-x: hidden;
  font-size: 16px;
  margin: 0;
}

p
{
  margin:0;
  font-size: 16px;
}
a
{
  color:#fff;
  text-decoration:none;
}

/*-------------------------------header---------------------*/
header
{
  position: absolute;
  display: block;
  right: 0;
  padding: 20px 100px;
}
.social_links a
{
  padding: 0px 5px;
}

/*-------------------------------navbar--------------------------------*/
.logo a {
  display: flex;
  align-items: center;
  height: 80px;
  width: 130px;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-weight: 900;
}
nav{
  height: 35px;

}
nav ul{
  margin: 0;
  padding: 0;
}

nav ul li{
  list-style-type: none;
  display: inline-block;

  margin-right: 4px
}
nav ul li a{
  display: block;
  padding: 9px 25px 7px 25px;
  text-decoration: none;
  box-sizing: border-box;
}
nav ul li:first-child a{
  padding-left: 8px;
}
nav ul li a:hover{
  background-color: inherit;
  color: #ffc107;
}
nav ul li a.active {
  color: #ffc107;
}
.header 
{
  padding: 0 15px;
  position: absolute;
  height: 85px;
  width: 93%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9;
  background: #fff0;
  margin: 30px;
  border-radius: 5px;
}

/*---------Banner ------*/

.overlay
{
  height: 100%;
  background: #0000007a;
}
.main_title
{
  text-align: center;
  padding-top: 195px;
  color:#fff;
}
.main_title h1
{
  margin: 5px 0px;
  font-size: 40px;
  letter-spacing: 8px;
}
.main_title p
{
  line-height:2;
  font-size: 23px;
}


/*-----------------------------main content-------*/

#content
{
  background: #ffff;
}

section.about_yatra,
section.explore_destination, 
section.book_a_trip, 
section.explore_activity, 
section.our_stories
{
  padding: 50px 100px;
}
.title
{
  display: inline-block;

}
.explore
{
  display: inline-block;
  float: right;

}
.explore a
{
  color:#000;
  text-transform:capitalize;
  display: block;
  margin-top: 1.83em;
  font-weight: bold;
}
.explore a:hover
{
color:#ffa422;
}

/*-----------------------------about yatra---------------------*/
.about_yatra 
{
  display:inline-block;
  padding:50px 100px;
}
.about_yatra .abouttitle h1
{
  font-family: 'Mansalva', cursive;
}
.about_yatra .sub_title h2
{
  font-size:31px;
}
.about_yatra .sub_title h2
{
  font-size:31px;
}
.content p
{
  line-height: 1.5;
  letter-spacing: 0.40px;
}
.about_yatra .grid_item img
{
  max-width: 100%;
}
/*---------------------Explore destination ----------------*/

.explore_destination .title h2
{
  font-size: 30px; 
}

.explore_destination img 
{
  width: 100%;
  border-radius: 20px;
}

/*--- Animated Opacity ---*/
.opacity-item
{
  position: relative;
}

.img-overlay{
  display: block;
  width: 100%;
  height: auto;
}
.overlay_caption 
{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  -webkit-transition: .5s ease;
  -moz-transition: .5s ease;
  -o-transition: .5s ease;
  transition: .5s ease;
  background-color: #000000b8;
  border-radius: 20px;
}
.opacity-item:hover .overlay_caption 
{
  opacity: 1;
}
.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.explore_more {
  text-decoration: none;
  text-transform: capitalize;
  background: #000000c2;
  padding: 8px;
  border-radius: 20px;
  font-size: 14px;
}
.overlay_caption p
{
  margin:10px 0px;
}

/*------------------------------------book a trip ---*/

.book_bg .content
{
  padding: 50px;
}
.book_bg {
  background-image: url('../img/book_bg.jpg');
  background-position: bottom center;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
}
.book_bg .content
{
  padding: 50px;
}
.book_bg .title
{
  display: inline-block;
}
.book_bg .book
{
  display: inline-block;
  float: right;
  margin-top: 1.83em;
}
.book_bg .book a
{
  text-decoration:none;
  background:#000;
  padding:10px;
}

.book_bg .book a:hover 
{
  background: inherit;
  border:solid 1px #fff;
  padding:10px;

}
.table
{
  display: inherit;
}
.package_table {
  font-size: 16px;
  border-spacing: 1px;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 15px;
}
.package_table > tbody > tr > th,
.package_table > tbody > tr > td {
  border: 1px solid #fff;
  text-align: left;
  background-color: #f5f5f5;
  padding: 15px 15px;
}
.package_table > tbody > tr:nth-child(even) > th,
.package_table > tbody > tr:nth-child(even) > td {
  background-color: #e8e8e8;
}
/*----------------------------------------explore activity---------*/

.explore_activity .title h2
{
  font-size: 30px; 
}
.activity-content a
{
  color:#000;
  font-size:25px;
}
.activity-item
{
  padding:20px;
}
/*--Rotate Transform --*/
.rotate-image{
  -webkit-transition: transform .7s ease-in-out;
  -moz-transition: transform .7s ease-in-out;
  -o-transition: transform .7s ease-in-out;
  transition: transform .7s ease-in-out;

}
.rotate-image:hover 
{
  -webkit-transform: rotate(360deg);
  -moz-transform: rotate(360deg);
  -o-transform: rotate(360deg);
  transform: rotate(360deg);
}
/*-------------our stories-------------*/
.our_stories .title h2 {
  font-size: 30px;
}
.story_caption
{
  padding:20px;
}
.story_caption h3
{
  margin:10px;
}
.story_caption p
{
  margin:12px;
}

/*----------Grid-------*/

.row
{
  text-align: center;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}
.two_column_grid .grid_item {
  float: left;
  width: 45%;
  padding: 10px;
  margin: 10px 0px;
}
.three_column_grid .grid_item {
  width: 31%;
  margin: 10px 10px;
  float: left;
  box-shadow: 0 0 20px 0 #6a6a6ab0 !important;

}
.four_column_grid .grid_item {
  width: 23%;
  margin: 10px 10px;
  float: left;
  box-shadow: 0 0 6px 0 #949494b0 !important;
  border-radius: 30px;
}

/*------------------------Inner Page Css -----------------------*/
.inner .banner
{
  background-image: url(../img/banner.jpg);
  top: 0;
  height: auto;
  background-size: cover;
  background-repeat: no-repeat;
}
.inner .abouttitle
{
  text-align: center;
}
.inner .title 
{
  display: block;
  text-align: center;
}
.inner .main_title {
  text-align: center;
  padding: 140px 20px 110px 0px;
  color: #fff;
}
.inner .main_title h1 {
  margin: 5px 0px;
  font-size: 40px;
  letter-spacing: inherit;
}
.inner .about_yatra
{
  width: 100%;
}
.inner .book_bg .title 
{
  display: inline-block;
}
.inner .two_column_grid
{
  width: 80%;
}
.inner .two_column_grid .quater
{
  width: 30%;
}
.inner .three_column_grid .grid_item {
  margin: 40px 10px;
}
.inner .right
{
  background: #F9F9F9;
  padding: 25px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
  display: inherit;
}
.inner fieldset
{
  border:none;
}
.inner about_yatra .grid_item
{
  width: 65%;
}

/*-------------------------Form Css ------------------------*/
section#form
{
  min-height: 400px;
  background-color: #fff;
  margin-left: 200px;
  padding: 1px 8px 1px 8px;
}

section#form fieldset 
{
  margin: 0px 0px 30px 0px;
  border: solid 1px #cbcbcb;
  box-shadow: 0 0 6px 0 #999;
  background: #ddf;
}

.inner label 
{
  min-width: 150px;
  display: inline-block;
}
input[type="text"], input[type="email"], input[type="tel"] {
  background: #ddeef9;
  padding: 15px;
  border: none;
  width: 100%;
  margin-bottom: 20px;
}
select
{
  background: #ddeef9;
  padding: 15px;
  border: none;
  width: 50%;
  margin-bottom: 20px;
}
input[type="submit"], input[type="reset"]
{
  padding: 10px 20px 10px 20px;
  width: 150px;
}
input[type="submit"]
{
  background: #000;
  border: solid 1px #000;
  color: #fff;
  cursor: pointer;
}

/*-------------------------------footer----------------------------*/
footer
{
  background: #1b1a1a;
  padding: 30px;
  text-align: center;
  color: #fff;
}
.copyright
{
  padding: 20px 0px 0px 0px;
}
