@charset "UTF-8";
* {
	margin:0;
	padding:0;
	border:0;
}
/* ----------------- Website background and general text colour ----------------- */
body {
	background-image:url(https://rishabh326.com/images/backgroundtexture.png);
	background-color:#f9f9f9;
	color:#2d2d2d;
}

/* ------class="center"----- */

.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 80%;
  }

  .centero {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
  }

/* ------class="center"----- */
/* ------scroll top----- */
.mtop {
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 20px;
  border: none;
  outline: none;
  background-color: rgb(167, 2, 2);
  color: white;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  }
  .mtop:hover {
	background-color: #2b2a2a;

  }
/* ------/scroll top----- */
/* ------youtube----- */

.youtube {
	position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
  }

.responsive-iframe {
	position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  /* ------youtube----- */
/*----------------------------------------------HTML 5 Overrides-------------------------------------*/

address, article, aside, figcaption, figure, footer, header, hgroup, nav, section{display:block; margin:0; padding:0;}

img{width:auto; max-width:100%; height:auto; margin:0; padding:0; border:none; line-height:normal; vertical-align:middle;}

/*Removed
.clearfix:before, .clearfix:after{content:""; display:table;}
.clearfix:after{clear: both;}
.clearfix{zoom:1; For IE 6/7 (trigger hasLayout) }
--*/
/* ----------------- Wrapper - keeps all content in the center of page -----------------  */
.wrapper {
	display:block;
	width:88%;
	height:auto;
	margin:auto;
	overflow:hidden;
}

/* text-align: justify; */
p {
	text-align: justify;
  }
/* text-align: justify; */

  
  /* new add text-align: right; */
#top {
	text-align:right;
	display:block;
	width:100%;
	padding-bottom:3px;
	border-bottom:1px solid #2117d8;	
}
#logo {
	margin-top:3%;
	text-decoration:none;
}
#logotitle {
	float:left;
	font-family:Helvetica, sans-serif;
	font-weight:Bold;
	font-size:210%;
	text-shadow: 0 1px 1px #FFF;
}
nav {
	float:left;
	display:block;
	height:40px;
}
nav ul li {
	display:inline;
	margin-right:30px;
}
nav ul li a {
	font-family:"Times New Roman", Times, serif;
	text-decoration:none;
	text-transform:uppercase;
	font-weight:600;
	line-height:80%;
	color:#5a5858;
}
nav ul li a:hover {
	color:#f38094;
}

header {
	width:100%;
	margin:5% 0;
}
header h1, header h2, header p{
	font-family: "Times New Roman", Times, serif;
	text-align:center;
	font-weight:normal;
	margin-bottom:1%;
}
header h1 {
	font-size:140%;
	letter-spacing:1px;
	margin-bottom:1%;
}
header h2 span {
	color:#f38094;
	text-shadow: 0 1px 1px #dadada;
}
/* - - - - -replacing h1 to h2- - 
header h2 {
	font-size:100%;
}
- - - -replacing h1 to h2- - - - */

#slideshow {
	display:block;
	width:100%;
	margin-top:1%;
}
/* Single-direction drop shadow */

hr.style {
    height: 12px;
    border: 0;
    box-shadow: inset 0 12px 12px -12px rgba(0, 0, 0, 0.5);
}

.clearfix {
	display:block;
	clear:both;
}


/* ----------------------- WORKBODY ------------------------- */

.left {
	margin-top:1%;
	width:25%;
	float:left;
	margin-bottom:2%;
}

.left p {
	font-family:"Times New Roman", Times, serif;
	font-size:100%;
	line-height:140%;
}
.left p a {
	color:#d2a9ad;
	text-decoration:none;
}
.right {
	margin-top:4%;
	width:48%;
	float:right;
	margin-bottom:2%;
}

.item {
	border-radius:18px;
	width:180px;
	height:185px;
	background-color:#fff9f9;
	margin:10px;
	float:left;
	-webkit-box-shadow: 0 1px 3px #c3c3c3;
	-moz-box-shadow: 0 1px 3px #c3c3c3;
	box-shadow: 0 1px 3px #c3c3c3;
	overflow:hidden;
	-webkit-transition: box-shadow 0.2s ease-in-out;
	-moz-transition: box-shadow 0.2s ease-in-out;
	-o-transition: box-shadow 0.2s ease-in-out;
	-ms-transition: box-shadow 0.2s ease-in-out;
	transition: box-shadow 0.2s ease-in-out;
}

/* ------ Youtube channel ------- */
.item1 {
	border-radius:18px;
	width:160px;
	height:135px;
	background-color:#a9a2a2;
	margin:10px;
	float:right;
	-webkit-box-shadow: 0 1px 3px #c3c3c3;
	-moz-box-shadow: 0 1px 3px #c3c3c3;
	box-shadow: 0 1px 3px #c3c3c3;
	overflow:hidden;
	-webkit-transition: box-shadow 0.2s ease-in-out;
	-moz-transition: box-shadow 0.2s ease-in-out;
	-o-transition: box-shadow 0.2s ease-in-out;
	-ms-transition: box-shadow 0.2s ease-in-out;
	transition: box-shadow 0.2s ease-in-out;
}
/* ------ /Youtube channel ------- */
.item:hover {
	-webkit-box-shadow: 0 0 8px #f38094, 0 0 8px #f38094;
	-moz-box-shadow: 0 0 8px #f38094, 0 0 8px #f38094;
	box-shadow: 0 0 8px #f38094, 0 0 8px #f38094;
}
.item img {
	display:block;
	width:100%;
	-webkit-box-shadow: 0 2px 1px #c3c3c3;
	-moz-box-shadow: 0 2px 1px #c3c3c3;
	box-shadow: 0 2px 1px #c3c3c3;
	border-radius:15px 15px 0 0;
	opacity:0.8;
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
	-ms-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}
.item img:hover {
	opacity:1;
}
.item h3 {
	font-family:"Times New Roman", Times, serif;
	font-size:115%;
	font-weight:medium;
	padding:5px 0 0 8px;
	color:#3a3939;
	text-decoration:none;
}
.item h3 a {
	text-decoration:none;
	color:#2d2d2d;
}

/* ----------------------- WORK LINKS END ------------------------- */

footer {
	width:100%;
	padding:10px 0;
	background-color:#090909;
}

.social {
	color:#6a61db;
}
/* ----------------------------- FORM ----------------------------------- */

.left h4 {
	font-family:"Times New Roman", Times, serif;
	font-size:150%;
	font-weight:normal;
	color:#b6b6cb;
	margin-bottom:20px;
}

/* - - - - - - - - - - - - - - -  Copyright  - - - - - - - - - - - - - - - */

#footer section{margin-bottom:30px;}

#footer #copyright{display:block; width:100%; margin:0; padding:0; color:#FFF; font-family:"Times New Roman", Times, serif; font-size:.8em; line-height:140%;}

#footer #copyright .left, #footer #copyright .right {width:auto; margin:20px;}
#footer #copyright .left {float:left;}
#footer #copyright .right {float:right;}

#footer #copyright, #footer #copyright a {
	color:#939191;
	text-decoration:none;
}

/* ---------------------- RESPONSIVE STUFF - ONLY TOUCH IF YOUR'E CONFIDENT WITH CSS ---------------------- */

@media only screen and (max-width: 1980px) {
	.wrapper{
		max-width:1280px;
	}
	#work{
		width:auto;
		}
	.item {
			width:300px;
			height:200px;
			margin:10px;
	}
	.item h3{
		font-size:90%;
	}
	.item p{
		font-size:60%;
	}
	
}

@media only screen and (max-width: 1280px) {
	#work{
		width:auto;
		}
	.item {
			width:220px;
			height:160px;
			margin:10px;
	}
	.item h3{
		font-size:90%;
	}
	.item p{
		font-size:60%;
	}
}

@media only screen and (max-width: 1080px) {
	#work{
		width:auto;
		}
	.item {
			width:180px;
			height:130px;
			margin:10px;
	}
	.item h3{
		font-size:90%;
	}
	.item p{
		font-size:60%;
	}
}


@media only screen and (max-width: 860px) {
	#work{
		width:auto;
	}
	.item {
			width:160px;
			height:120px;
			margin:8px;
	}
	header h1{
		font-size:110%;
	}
	header h2{
		font-size:80%;
	}
}

@media only screen and (max-width: 720px) {
	#logo {
		display:block;
		margin-bottom:15px;
		float:none;
		text-align:center;
	}
	nav {
		display:block;
		width:100%;
		float:none;
		clear:both;
	}
	header h1 {
		font-size:100%;
		margin-bottom:5%;
	}
	header h2 {
		font-size:60%;
	}
	#footer .left, #footer .right, #footer #copyright .left, #footer #copyright .right{
		display:block;
		width:100%;
		float:none;
		clear:both;
	}
	#footer .left {
		margin-bottom:50px;
	}
	.social .icon {
		display:inline-block;
		float:none;
		width:32px;
		margin:0 4% 25px 0;
	}
	#work {
		width:auto;
	}
	.item {
		width:160px;
		height:120px;
		margin:7px;
	}
	.item h3 {
		font-size:130%;
	}
	.item p {
		font-size:90%;
	}
}

@media only screen and (max-width: 510px) {
	#work{
		width:auto;
		}
	.item{
		width:140px;
		height:110px;
		margin:7px;
	}
	.item h3{
		font-size:75%;
	}
	.item p{
		font-size:40%;
	}
}

@media only screen and (max-width: 420px) {
	#work{
		width:auto;
		}
	.item{
		width:130px;
		height:100px;
		margin:7px;
	}
	.item h3{
		font-size:75%;
	}
	.item p{
		font-size:40%;
	}
}

/* - - - -  heading (h1)hover  - - - - */
font {
	-webkit-transition: color 0.01s;
	 transition: color 0.01s;
  }
  font:hover {
  color: rgb(0, 0, 0);
  }
  /* - - - -  Copyright  - - - - */
/* - - - -  Dropdown  - - - - */


  .navbar {
	overflow: hidden;
	background-color: #333;
	font-family: Arial, Helvetica, sans-serif;
  }
  
  .navbar a {
	float: left;
	font-size: 16px;
	color: white;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
  }
  
  .dropdown {
	float: left;
	overflow: hidden;
  }
  
  .dropdown .dropbtn {
	cursor: pointer;
	font-size: 16px;  
	border: none;
	outline: none;
	color: white;
	padding: 14px 16px;
	background-color: inherit;
	font-family: inherit;
	margin: 0;
  }
  
  .navbar a:hover, .dropdown:hover .dropbtn, .dropbtn:focus {
	background-color: red;
  }
  
  .dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
  }
  
  .dropdown-content a {
	float: none;
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	text-align: left;
  }
  
  .dropdown-content a:hover {
	background-color: #ddd;
  }
  
  .show {
	display: block;
  }