/*
King Biryani House, Authentic South Asian Taste, Dhaka

		CONTENT
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1. IMPORT
2. BASE STYLE
3. UTILITIES
4. HEADER AND NAVBAR
5. SHOWCASE
6.ABOUT US 
7.SPECIAL DEALS
8.MENU
9.CONTACT  
10.FOOTER
11.MEDIA QUERY
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
*/

/*
==================================================
1. IMPORT SECTION
==================================================*/
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&display=swap');/*font-family: 'Dancing Script', cursive;*/;
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Open+Sans:wght@400;700&display=swap'); /*font-family: 'Lato', sans-serif;*/;
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;700&display=swap');/*font-family: 'Raleway', sans-serif;*/;
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');/*font-family: 'Roboto', sans-serif;*/

/*
==================================================
2. BASE STYLE
==================================================*/
:root {
	--bdg-secondary: #D30816;
}

*, *::before, *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	outline: none;
	border:none;
	text-decoration: none;
	transition: all .2s linear;
}
html, body {
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	color: var(--text-primary);
	width: 100%;
	max-width: 1400px;
	height: 100%;
	margin: 0 auto;
	line-height: 1.6;
	background-color: var(--bdg-primary);
	scroll-padding-top: 8rem;
	scroll-behavior: smooth;
}

ul {
	list-style: none;
}
a {
	text-decoration: none;
	color: inherit;
}
p{
	margin: 10px 0;
}
i {
	color: var(--contact-icon);
}
img {
	width: 100%;
	max-width: 100%;
	height: auto;
	text-align:center;
}

.space {
	width: 100%;
	height: 60px;
	background-color: #D30816;
}
.space2 {
	width: 100%;
	height: 1000px;
	background-color: grey;
}

/* text */
.lead{font-size: 20px;} .sm{font-size: 1rem;} .md{font-size: 2rem;} .lg{font-size: 3rem;} .xl{font-size: 4rem;} .xxl{font-size: 5rem;} .xxxl{font-size: 6rem;}
.text_center {text-align: center;}

/* margin */
.m-1{margin: 1rem;} .m-2{margin: 1.5rem;} .m-3{margin: 2rem;} .m-4{margin: 3rem;} .m-5{margin: 4rem;}.m-6{margin: 5rem;}.m-7{margin: 6rem;}
.my-1{margin: 1rem 0;} .my-2{margin: 1.5rem 0;} .my-3{margin: 2rem 0;} .my-4{margin: 3rem 0;} .my-5{margin: 4rem 0;}.my-6{margin: 5rem 0;}.my-7{margin: 6rem 0;}
.mx-1{margin: 0 1rem;} .mx-2{margin: 0 1.5rem;} .mx-3{margin: 0 2rem;} .mx-4{margin: 0 3rem;} .mx-5{margin: 0 4rem;} .mx-6{margin: 0 5rem;} .mx-7{margin: 0 6rem;}

/* padding */
.p-1{padding: 1rem;} .p-2{padding: 1.5rem;} .p-3{padding: 2rem;} .p-4{padding: 3rem;} .p-5{padding: 4rem;} .p-6{padding: 5rem;} .p-7{padding: 6rem;}
.py-1{padding: 1rem 0;} .py-2{padding: 1.5rem 0;} .py-3{padding: 2rem 0;} .py-4{padding: 3rem 0;} .py-5 {padding: 4rem 0;} .py-6 {padding: 5rem 0;} .py-7 {padding: 6rem 0;}
.px-1{padding: 0 1rem;} .px-2{padding: 0 1.5rem;} .px-3{padding: 0 2rem;} .px-4{padding: 0 3rem;} .px-5 {padding: 0 4rem;} .px-6 {padding: 0 5rem;} .px-7 {padding: 0 6rem;}

/* for contact form */
.alert-box{border-style:solid;border-width:1px;display:block;margin-bottom:.25em;position:relative;padding:0.6875em 1.3125em 0.75em 0.6875em;font-size:0.875em;background-color:#2ba6cb;border-color:#2284a1;color:#fff;}
.alert-box.alert{background-color:#c60f13;border-color:#970b0e;color:#fff;border-radius: 5px;}
.alert-box.success{background-color:#5da423;border-color:#457a1a;color:#fff}
.alert-box .close{font-size:1.375em;padding:5px 4px 4px;line-height:0;position:absolute;top:0.4375em;right:0.3125em;color:#333;opacity:0.3}
.alert-box .close:hover,.alert-box .close:focus{opacity:0.5}
.alert-box.radius{-webkit-border-radius:3px;border-radius:3px}
.alert-box.round{-webkit-border-radius:1000px;border-radius:1000px}
.alert-box.secondary{background-color:#e9e9e9;border-color:#d0d0d0;color:#505050}


/*
==================================================
3. UTILITIES
==================================================*/
.container {
	width: 90%;
	max-width: 1150px;
	margin: 0 auto;
}
.flex {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
}
.grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 20px;
	justify-content: center;
	align-items: center;
	height: 100%;
}
.grid-3 {
	grid-template-columns: repeat(3, 1fr);
}
.card {
	background-color: #fff;
	color: #333;
	border-radius: 10px;
	box-shadow: 0 3px 10px rgba(0,0,0,0.2);
	padding: 20px;
	margin: 10px;
}
.btn {
	display: inline-block;
	padding: 10px 30px;
	cursor: pointer;
	background: var(--primary-color);
	color: #fff;
	border: none;
	border-radius: 5px;
}
.btn-outline {
	background-color: transparent;
	border: 1px #fff solid;
}
.btn:hover {
	transform: scale(0.98 );
}
hr{
	width: 150px;
	height: 2px;
	background-color: #fff;
	border: 0;
	margin: 10px auto;
	margin-bottom: 1rem;
}

.sub_head {
	padding-bottom: 3rem;
}
.sub_head h1 {
	font-size: 2.5rem;
	color: #D30816;
}
.sub_head p {
	font-size: 1.2rem;
	font-weight: 300;
}

/* -- scrolling button -- */
.scroll-to-top-link {
		position:fixed;
		width: 30px;
		right: 3%;
		bottom: 5%;
		cursor:pointer;
		display:none;
}

/*
==================================================
4. HEADER AND NAVBAR
==================================================*/
header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 80px;
	background-color: rgba(0,0,0,.3);
	z-index: 1000;
}
header .flex {
	justify-content: space-between;
}
header .navbar ul {
	display: flex;
}
header .navbar a {
	color: #fff;
	margin: 0 .1rem;
	padding: 5px 8px;
}

header .navbar li a:hover {
	color: #FC0516;
}
.logo {
	font-family: 'Dancing Script', cursive;
	font-size: 1.2rem;
	color: #FC0516;
}
#menu-bar {
	color: #fff;
	border-radius: .5rem;
	font-size: 2rem;
	padding: .5rem 1.2rem;
	cursor: pointer;
	display: none;
}

/*
==================================================
5. SHOWCASE
==================================================*/
.showcase {
	height: 100vh;
	width: 100%;
	position: relative;
	background-image: url(image/showcase.jpg);
	background-size: cover;
	background-position:center;
	background-repeat: no-repeat;
	color: white;
}
.showcase-overlay {
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.2);
	position: relative;
}
.showcase .showcase_info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	height: 100%;
}
.showcase .showcase_info h1{
	font-size: 3rem;
}
.showcase .showcase_info h4{
	font-size: 2rem;
}

.secondary {
	background-color: #000;
	box-shadow: 0px 0px 17px 0px;
	transition: all 0.5s ease-in;
}

/*
==================================================
6.ABOUT US 
==================================================*/
.about_us {
	padding: .5rem 0;
	background-color: #D30816;
	margin-bottom: .2rem;
}
.about_us hr {
	margin-bottom: 2rem;
}
.about_us .grid-3 {
	grid-gap: 40px;
}
.about_us .sub_head h1 {
	color: #fff;
}
.about_us .content {
	padding-bottom: 6rem;

}
.about_us .content .box {
	width: 100%;
	max-width: 350px;
	height: 300px;
	background-color: #fff;
	box-shadow: 0 3px 30px rgba(0,0,0,.8);
	font-family: 'Lato', sans-serif;
	margin: 0 auto;
}
.about_us .content .box h3 {
	text-align: center;
	padding: 2rem 0 1rem 0;
	text-transform: uppercase;
	font-weight: 300;
}
.about_us .content .box p {
	padding: 0 2rem;
	text-align: center;
	font-weight: 300;
	color: #333;
}

/*
==================================================
7.SPECIAL DEALS
==================================================*/
.deals {
	background-color: #D30816;
}
.deals h1 {
	font-size: 3rem;
	text-align: center;
	font-family: 'Dancing Script', cursive;
	font-weight: bolder;
	color: #fff;
}

.pimg1, .pimg2, .pimg3, .pimg4 {
    position: relative;
    /*opacity: 0.70;*/
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

.pimg1 {
    background-image: url('image/lunch_img1.jpg');
    min-height: 100%;
    height: 500px;
  }
  .pimg2 {
    background-image: url('image/breakfast.jpg');
    min-height: 400px;
  }
  .pimg3 {
    background-image: url('image/nehari.jpg');
    min-height: 400px;
  }
  .pimg4 {
    background-image: url('image/dinner.png');
    min-height: 400px;
  }
.ptext {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 3rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
  }
.ptext .border {
    background-color: #111;
    color: #fff;
    padding: 20px;
  }
  .ptext .border.trans {
    background-color: transparent;
  }

/*
==================================================
8.MENU
==================================================*/
.menu {
	padding: 3rem 0 1rem 0;
	position: relative;
}
.menu .content {
	margin: auto;
}
.menu .content .menu_list {
	margin-bottom: 3rem;
}

.menu .content h3{
	color: #B00404;
	margin-bottom: 8px;
	font-family: 'Dancing Script', cursive;
	font-size: 2rem;
}

.menu .content .menu_box {
	border: 1px solid #bdbdbd;
	padding: 10px;
	display: flex;
	justify-content: space-between; 
}

.menu .content .menu_txt {
	width: 80%;
}
.menu .content .menu_txt h5 {
	font-size: 1rem;
	font-weight: 400;
}
.menu .content .menu_txt p {
	margin: 0;
	padding: 0 10px;
}
.menu .content .menu_txt .menu_desc {
	font-size: .9rem;
	padding-bottom: 5px;
	color: #666;
}
.menu .content .menu_box .menu_img {
	width: 100px;
	height: 100px;
}

.menu .content .menu_box .menu_img .active {
	border: 2px solid blue;
}
.menu .content .menu_box .menu_img img:hover {
	opacity: .7;
	cursor: pointer;
}

#image_popup {
	width: 400px;
	height: auto;
	border: 1px solid #BCB9B8;
	background: #fff;
	text-align: center;
	padding: 10px;
	position: fixed;
	bottom: 20%;
	left: 27%;
	align-items: center;
	align-self: center;
	z-index: 1000;
	display: none;
}
#image_popup img {
	width: 90%;
	padding-bottom: 10px;
}
#image_popup #close-btn {
	cursor: pointer;
	color: #F82502;
	width: 20px;
	height: 20px;
	background-color: transparent;
	border: none;
	font-size: 1.8rem;
	transform: rotate(45deg);

}
#image_popup #close-btn:hover {
	color: #F82502;
	font-weight: bolder;
}

/*
==================================================
9.CONTACT  
==================================================*/

.contact {
	font-family: 'Raleway', sans-serif;
}
.contact .sub_head h2 {
	color: #B00404;
	text-transform: uppercase;
	font-family: 'Lato', sans-serif;
}
.contact .contact_form {
	background-color: #F5F8FA;
	width: 100%;
	max-width: 800px;
	box-shadow: 0 3px 10px rgba(0,0,0,0.2);
	margin: 0 auto;
}
.contact .contact_form #formContact {
	width: 85%;
	margin: 0 auto;
	padding: 1rem 0;
}
.contact .contact_form .input-control {
	width: 100%;
	margin: 15px 0;
	border: 0;

}

.contact .contact_form input, textarea {
	width: 100%;
	padding: 20px;
	color: #333;
	font-family: 'Lato', sans-serif;
	font-size: 1.2rem;
	border: 1px solid #C5CBC1;
	border-radius: 3px;
}

.contact .contact_form input[type="submit"] {
	cursor:pointer;
	border:none;
	background:#B00404;
	color:#fff;
	margin:20px 0;
	padding:20px;
	font-size:14px;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: .2rem;
}
.contact .contact_form input[type="submit"]:hover {
	background:#D30816;
	-webkit-transition:background 0.3s ease-in-out;
	-moz-transition:background 0.3s ease-in-out;
	transition:background-color 0.3s ease-in-out;
}
#response {
	height:auto;
	font-size: 16px;
	line-height:1.3;
	text-align:center;
}

.input-control input {
    border: 2px solid #f0f0f0;
    border-radius: 4px;
    display: block;
    font-size: 12px;
    padding: 10px;
    width: 100%;

}
.input-control.success input, .input-control.success textarea {
    border-color: #09c372;
}

.input-control.error input, .input-control.error textarea {
    border-color: #ff3860;
}

.input-control .error {
    color: #ff3860;
    font-size: 16px;
    height: 13px;
}




/*
.contact {
	padding: 3rem 0;
	font-family: 'Raleway', sans-serif;
}
.contact .sub_head h2 {
	color: #B00404;
	text-transform: uppercase;
	font-family: 'Lato', sans-serif;
}
.contact .contact_form {
	background-color: #F5F8FA;
	width: 100%;
	max-width: 800px;
	box-shadow: 0 3px 10px rgba(0,0,0,0.2);
	margin: 0 auto;
}
.contact .contact_form #feedback {
	width: 85%;
	margin: 0 auto;
	padding: 1rem 0;
}
.contact .contact_form .form_fld {
	width: 100%;
	margin: 15px 0;
}
.contact .contact_form input, textarea {
	width: 100%;
	padding: 20px;
	color: #333;
	font-family: 'Lato', sans-serif;
	font-size: 1.2rem;
	border: 1px solid #C5CBC1;
	border-radius: 3px;
}
.contact .contact_form input[type="submit"] {
	cursor:pointer;
	border:none;
	background:#B00404;
	color:#fff;
	margin:20px 0;
	padding:20px;
	font-size:14px;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: .2rem;
}
.contact .contact_form input[type="submit"]:hover {
	background:#D30816;
	-webkit-transition:background 0.3s ease-in-out;
	-moz-transition:background 0.3s ease-in-out;
	transition:background-color 0.3s ease-in-out;
}
#response {
	height:auto;
	font-size: 16px;
	line-height:1.3;
	text-align:center;
}
.error {
	color: red;
	width: 80%;
	background-color: #fff;
	border: 1px solid red;
	font-size: 12px;
	font-weight: 400;
	margin: auto;
	padding: 5px 10px;
	border-radius: 5px;
}
.processing {
	color: green;
	border: 2px solid green;
	width: 80%;
	background-color: #fff;
	font-size: 16px;
	font-weight: 400;
	padding: 10px;
	border-radius: 5px;
	margin: auto;
}
*/
/*
==================================================
10.FOOTER
==================================================*/
.footer {
	padding: 3rem 0;
	background-color: #B00404;
	color: #F6F3F2;
	font-size: .9rem;
}
.footer .left {
	padding-left: 10%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin-bottom: 2rem;
}
.footer .left a {
	font-family: 'Dancing Script', cursive;
	font-size: 1.3rem;
}
.footer .left p {
	margin: 5px;
}

.footer_notes {
	text-align: center;
	padding-top: 4rem;
	font-size: .8rem;
	color: #C3C1C1;
}

/*
==================================================
11.MEDIA QUERY
==================================================*/
@media (max-width: 900px) {
	.container {
		width: 95%;
	}
	.grid-3 {
		grid-template-columns: repeat(2, 1fr);
	}


@media (max-width: 768px) {

	.container {
		width: 98%;
	}
	
	#menu-bar {
		display: initial;
	}
	.navbar ul {
		margin-top: 0px;
	}

	header .navbar ul {
	flex-direction: column;
	}
	header .navbar {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		background: #fff;
		border-top: .1rem solid rgba(255, 255, 255, .2);
		padding: 1rem;
		clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
	}
	header .navbar.active {
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
	}
	header .navbar a {
		display: block;
		border-radius: .2rem;
		padding: .5rem 0 .5rem 2rem;
		margin: .3rem 0;
		background: #fff;
		color: #333;
		text-align: center;
		border: 1px solid #E9E4E4;
	}
	.showcase .showcase_info h1{
		font-size: 2rem;
	}
	.showcase .showcase_info h4{
		font-size: 1.5rem;
	}

	.grid-3, 
	.footer .grid,
	.menu .content .grid {
		grid-template-columns: 1fr;
	}

	.deals h1 {
		font-size: 2.5rem;
		line-height: 4rem;
	}
	#image_popup {
		left: 20%;
	}


@media (max-width: 600px) {
	
	#image_popup {
		left: 11%;
	}
}

@media (max-width: 500px) {
	.deals h1 {
		font-size: 2rem;
		line-height: 2.5rem;
	}

	.footer .left {
		padding-left: 15%;
	}
	.ptext {
        font-size: 2rem;
    }

	#image_popup {
		left: 6%;
		width: 300px;
	}
}
