/* Main CSS for Bite Online 19/2/2020 by Mel Colton */


* {
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
	font-family: 'DM Serif', serif;
	letter-spacing: 0.6px;
	font-size: 18px;
	color: #333;
	}
	
body {
	padding: 0;
	margin: 0;
	background-color: transparent;
	}
	
.bite-blue {
  	color: #00AEEF;
  	}
  	
/* ---------------------------------------- Download with badges ------------------------------------ */ 	
.download-container {
    background-color: #00AEEF;
    border-radius: 20px;
    padding: 20px 0.2rem 0;
    text-align: center;
    display: inline-block;
    margin: 0 0.5rem 0;
    margin-bottom: 10px;
}

.icon-row {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.download-text {
	font-weight: 400;
	font-size: 1.4em;
	padding: 0px 0.2rem 0;
    margin-bottom: 10px;
    color: white;
}

/* ---------------------------------------- TESTAMONIALS ------------------------------------ */

.title {
  font-weight: 400;
  font-size: 1.5em;
  margin-top: 1em;
  line-height: 1.2em;
  letter-spacing: 0.8px;
  color: #ef9200;
  }
  
.title-users {
  font-weight: 400;
  font-size: 1.2em;
  margin-top: 1em;
  line-height: 1.2em;
  letter-spacing: 0.8px;
  color: #00AEEF;
  }
  
.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
  width: 100%;
  }

.box {
  background-color: #00AEEF;
  border-radius: 20px; 
  padding: 20px;
  text-align: center;
  }
  
.rating {
  text-align: center;
  margin-top: 10px;
  }

.rating .fa {
  color: #ef9200;
  margin: 0 2px;
  }
  
  .single-rule-rating {
  border-top-style: solid;
  padding-bottom: 1rem;
  border-width: 2px;
  font-size: 1.2em;
  color: #ef9200;
  }

/* ------------------------------------------- CONTENT ---------------------------------------- */

.basic-indent {
   padding: 0px 18px;
   }


.hero {
	width: 100%;
	height: auto;
	background-size: cover;
	position: relative;
	overflow: hidden;
	}
	
/* --------------------------------- VIDEO ------------------------------- */	
	
.video-container {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
    background-image: url("images/video/poster.png");
    background-size: cover;
    background-position: center;
	}
	
.video-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}
		
.video-player {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	object-fit: cover;
	}

.walkthrough-video {
	width: 100%;
 	margin: 12px auto 22px;
 	border-radius: 20px;
	overflow: hidden;
	position: relative;
	}
	
.video-aspect-ratio-container {
    position: relative;
    width: 100%;
    padding-bottom: 61%; /* 16:9 aspect ratio (height/width * 100%) */
    border-radius: 20px
    overflow: hidden;
    }

.video-aspect-ratio-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    }
			
.intro-image {
  display: inline-block;
}
	

.logo {	
	width: 100px;
	padding-bottom: 1em;
	}
	
.download-button {
	font-family: sans-serif;
	color: #fff;
	margin: 0 4px 1em 4.5%;
	padding: 18px 18px;
	background-color: #00AEFF;
	border: 1px solid #fff;
	border-radius: 30px;
	outline: none;
	cursor: pointer;
	font-size: 0.8em;
	letter-spacing: 6px;
	}
	
.download-button:hover {
	background-color: #ff5722;
	border: 0px solid #ff5722;	
	}
 
.header-content {	
	position: absolute;
	bottom: 20px;
    left: 60px;
    width: calc(100% - 40px);
	z-index: 2;
	}
	
.element img{
	align-content: center;
	width: 34%;
	float: right;
	margin-right: 10%;
	}
	
.header-content .intro-text {
	display: block;
	width: 50%;
	color: white;
	margin: 0px 0 0 5%;
	}
	
.intro-text strong {
	font-size: 30px;
	color: white;
	}
	
h3 {
	font-weight: 400;
	font-size: 1.2em;
	margin: 1em 0;
	line-height: 1em;
	letter-spacing: 0.8px;
	color: #00AEEF;
	}

small {
	font-size: 2.0em;
	margin: 10px 0 30px;
	}
	
.download-text {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;    
	}
	
.download-text * {
	font-family: sans-serif;
	padding: 18px 18px;
	outline: none;
	font-size: 1.5em;
	letter-spacing: 6px;
	}
	
.download-text strong {
	color: #00AEFF;
	font-size: 1.5em;
	letter-spacing: 6px;
	
	}
	
.cta-text {
	font-family: 'DM serif', serif;
	padding: 12px 18px;
	outline: none;
	font-size: 1.4em;
	letter-spacing: 2px;
	color: #00AEFF;
	}
		
.spacer {
	margin-bottom: 2rem;
	}
	
.detail-icons {
	width: 3%;
	display: inline;
	vertical-align: middle;
	}
	
.icon-row {
	display: flex;
	}

.inline-icons {
	flex: 50%;
	padding: 1rem;
	margin: 0 2rem;
	}

.icon-row::after {
	content: "";
	clear: both;
	display: table;
	}
	
.secondArea {
	width: 100%;
	height: 40vh;
	background-color: #444;
	}	
	
p {
	font-size: 1em;
	color: #ccc;
	}	

.caption h3 {
    font-weight: 400;
	font-size: 1.2em;
	margin: 16px 0 0;
	line-height: 1em;
	letter-spacing: 0.8px;
	color: #333;
	}	
	
.caption h2 {
    font-weight: 400;
	font-size: 1.1em;
	line-height: 1.2em;
	letter-spacing: 0.8px;
	color: #333;
	}
	
.support-text h2{
	font-weight: 400;
	font-size: 1.1em !important;
	line-height: 1.2em;
	letter-spacing: 0.8px;
	color: #333;
	}
/* ------------------------------------------- FOOTER ---------------------------------------- */	

footer p {
	font-size: 16px;
	color: #fff;
	line-height: 1.4em;
	letter-spacing: 1.1px;
	padding: 12px 0 0 0;
	}
footer a {
	padding: 0 1rem;
	text-decoration: none;
	}
	
footer h3 {
	display: block;
  	font-weight: 100;
  	font-size: 1.6rem;
  	margin: 1rem 0rem 1rem 0.4rem;
  	color: #fff;
	}
	
.btn-footer {
	font-family: 'Helvetica', san-serif;
	font-weight: 400;
	text-align: center;
	text-transform: uppercase;
  	padding: 0.7rem 2rem 0.5rem 2rem;
  	border: 1px #00AEEF solid;
  	display: inline-block;
  	margin: 1rem 0 1rem;
  	border-radius: 50px;
  	text-decoration: none;
 	background-color: #fff;
  	color: #00AEEF;
  	transition: background 500ms ease;
	}

.btn-footer:hover {
  	color: #ff5722;
	}
	
footer {
  text-align: center;
  padding: 2rem 1rem;
  letter-spacing: 1px;
  background-color: #00AEEF;
}

.footer-white {
	color: #fff;
	}
	
.footer-white:hover {
	color: #424141;
	}
  		
/* ------------------------------------------- NAVIGATION ---------------------------------------- */

.nav-position {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 30;
	}
.menu-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	margin-right: 1vw;
	transition: all .5s ease-in-out;
	cursor: pointer;
	
	}
	
.menu-btn_burger {
	width: 30px;
	height: 4px;
	background: #fff;
	border-radius: 5px;
	transition: all .5s ease-in-out;

	}	
.menu-btn_burger::before, .menu-btn_burger::after {
	content: '';
	position: absolute;
	width: 30px;
	height: 4px;
	background: #fff;
	border-radius: 5px;
	transition: all .5s ease-in-out;
	}
.menu-btn_burger::before {
	transform: translateY(-16px);
	}
.menu-btn_burger::after {
	transform: translateY(16px);
	}	
.menu-btn.open .menu-btn_burger {
	transform: translateX(-50px);
	background: transparent;
	}
.menu-btn.open .menu-btn_burger::before {
	transform: rotate(45deg) translate(35px, -35px);
	}
.menu-btn.open .menu-btn_burger::after {
	transform: rotate(-45deg) translate(35px, 35px);
	}
	
.topnav {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1;
	}	

.topnav.open {
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;	
	width: 100%;
	z-index: 1;
	animation: fadeInTopnavBackground 1s ease forwards;
	}
	
@keyframes fadeInTopnavBackground {
    0% {
        background-color: rgba(0, 174, 239, 0); /* Start transparent */
    }
    100% {
        background-color: rgba(0, 174, 239, 1); /* End fully opaque */
    }
}
	
.topnav ul {
	list-style-type: none;
	margin: 36px 30px;
	padding: 6px;
	text-decoration: none;
	}

li {
	text-decoration: none;
	}

li a {
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 2rem;
	letter-spacing: 4px;
	font-size: 1em;
	font-weight: 200;
	}
	
.topnav .logo {
	width: 50px;	
	}
	
	
/* ------------------------------------------- PAGE BODY ---------------------------------------- */

#restaurant-list {
  column-count: 2;
  column-gap: 0.5rem;
  column-rule-style: solid;
  column-rule-width: 1px;
  column-rule-color: #666;
  font-size: 1.2em;
   margin: 0 0.5rem 0;
}

#testamonials {
padding: 10px;
margin-left: 7rem;
margin-right: 7rem;
  column-count: 2;
  column-gap: 0.5rem;
  column-rule-style: solid;
  column-rule-width: 1px;
  column-rule-color: #666;
  font-size: 1.2em;
}

.single-rule {
  border-top-style: solid;
  padding-bottom: 1rem;
  border-width: 2px;
  font-size: 1.2em;
  color: #00AEEF;
  }


#landing {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-bottom: 0.5rem;;
}

#landing-text {
  display: flex;
  flex: 0 1 40vw;
  height: 60vh;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0rem 1rem 0rem 1rem;

}
#landing-text-inner {
  color: #fbfbfb;
  align-items: center;
  text-align: center;
  padding: 0rem 1rem 0rem 1rem;
}

#landing-text-download {
  color: #fbfbfb;
}

#landing-image {
   background-position: center;
   background-size: cover;
   background-repeat: no-repeat;
   width: 80%;
   height: 22rem;
   flex: 0 1 4vw;
   margin-top: -7rem;
   z-index: 3;
}

.tableAndPhone {
	display: inline-block;
	align-content: center;
	width: 100%;
	border-radius: 20px;
	overflow: hidden;
	position: relative;
	background-size: cover;
    background-repeat: no-repeat;
    flex: 0 1 0vw;
	}
	
.base-image-area {
	display: inline-block;
	align-content: center;
	width: calc(100% - 1rem);
	border-radius: 20px;
	overflow: hidden;
	position: relative;
	background-size: cover;
    background-repeat: no-repeat;
    margin:  0.5rem;
	}

.vegIconsPhone {
	display: inline-block;
	align-content: center;
	width: 100%;
	background-size: cover;
    background-repeat: no-repeat;
	}
	
.twin-phones-large {
position: relative;
	display: block;
	align-content: center;
	width: 50%;
	background-size: cover;
    background-repeat: no-repeat;
	left: 25%;
	right: 50%;
    transform: translate(-50%, -50%);
	}

#header {
	padding: 1.0rem;
	text-align: center;
	margin: 0 0%;
	}

#header h2 {
	font-weight: 400;
	font-size: 1.4rem;
	text-align: center;
	padding: 1.5rem;
	letter-spacing: 0.6px;
	color: #00AEEF;
	}
	
#header h12 {
	padding: 1.5rem;
	border-radius: 20px;
	overflow: hidden;
	}

.caption {
    position: relative;
    text-align: center;
    color: #00AEEF;
    z-index: 1;
    }



p {
	color: #333;
	}
 

.content {
  margin: auto;
  display: flex;
  justify-content: center;
  width: auto;
  }

.position {
	margin-right: 0;
	}
	
	/* --------------------------------- Phone float animation --------------------------------- */
	
.floating-elements {
  display: flex;
  justify-content: center;
  align-items: center; 
  min-height: 20vh; 
  margin: 0;
}

.phone-container {
  position: relative; 
  width: 50vw;
  height: auto;
}

.phone-image {
  position: relative;
  z-index: 2;
  animation: float 2s ease-in-out infinite alternate;
  transition: transform 0.3s ease;
  width: 100%;
}

.phone-shadow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 100%;
  opacity: 70%;
}

@keyframes float {
  0% {
    transform: translateY(0); /* Start at original position */
  }
  100% {
    transform: translateY(-10px); /* Move up */
  }
}
	
	/* ------------------------------------------- Pulse animation ------------------------------------------- */

.element {
  -webkit-animation-name: pulse;
  -webkit-animation-duration: 2.5s;
  animation-name: pulse;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  z-index: 3;
  margin-top: 0.2rem;
}

@-webkit-keyframes pulse {
  from {transform: scale(1.0);}
  to {transform: scale(1.02);}
}

@keyframes pulse {
  from {transform: scale(1.0);}
  to {transform: scale(1.02);}
}

/* ------------------------------------------- MEDIA QUERIES ---------------------------------------- */

@media screen and (min-width: 1441px) and  (max-width: 25600px) {

	.container {
		width: 46%;
		margin: 0 auto;
	}
	
	.header-content {	
	bottom: 0px;
    left: 25%;
    width: calc(65% - 140px);
	}
	
}



@media screen and (min-width: 990px) and  (max-width: 1440px) {

	.container {
		width: 60%;
		margin: 0 auto;
	}
	
}

@media screen and (min-width: 769px) and  (max-width: 900px) {

	.phone-container {
        width: 60%;
    }

    @keyframes float {
        100% {
            transform: translateY(-8px);
        }
    }

	.video-player {
		width: 120%;
		margin-left: -10%;
		}
	
	.element img {
		align-content: center;
		width: 55%;
		margin-top: 8%;
		margin-right: -40px;
		float: right;
		}
		
	.header-content .element {	
		
        width: calc(96% - 20px);
		}
		
	.header-content h1 {
	    font-family: sans-serif;
		font-size: 3.5em;
		margin: 10% 0% 0 4%;
		z-index: 1;
		}
		
	.header-content .intro-text {
		display: block;
		font-size: 1.5em;
		color: white;
		margin: 50% 0 0 5%;
		}
		
	.intro-text strong {
	font-size: 30px;
		color: white;
		}
		
	.caption h2{
		font-weight: 400;
		font-size: 1.2em;
		margin: 1em 3em;
		}
		
	.vegIconsPhone {
		width: 100%;
		background-size: cover;
    	background-repeat: no-repeat;
    	margin-left: 1%;
		}
		
	.spacer {
		margin: 1rem 0;
		}
			
	#header {
		margin: 0;
		}

	.inline-icons {
		flex: 80%;
		padding: 0 1rem;
		margin: 0 4rem;
		}
	
	.inline-icons.hidden {
		display: none;
		}
	
	.tableAndPhone {
		display: block;
		width: 100%;
		border-radius: 20px;
		background-size: cover;
    	background-repeat: no-repeat;
		}
		
	.twin-phones-large {
		margin-top: -2%;
		width: 50%;
		left: -15%;
		right: 50%;
		transform: translate(-50%, -50%);
		}
		
	.btn-footer {
	  	margin: 8px;
		}
		
}


@media screen and (min-width: 481px) and (max-width: 768px) {

	.container {
    grid-template-columns: 1fr;
    }

	.phone-container {
        width: 70%;
    }

    @keyframes float {
        100% {
            transform: translateY(-7px);
        }
    }
	
	.hero {
		width: 100%;
		height: auto;
		}

	.video-player {
		width: 160%;
		margin-left: -48%;
		}

	.intro-text {
		font-size: 30px;
		}	
		
	.intro-text strong {
		font-size: 30px;
		}

	.header-content {	
		bottom: 20px;
        left: 20px;
        width: calc(96% - 36px);
		}

	.element img {
		width: 42%;
		bottom: 20px;
		float: right;
		}
			
	button {
		width: auto;
		align-content: center;
		padding: 12px;
		margin-left: 4%;
		font-size: 10px;
		}		
		
	.caption h2 h3{
		font-weight: 400;
		font-size: 1.2em;
		margin: 1em 0;
		}	
	.spacer {
		margin: 1rem 0;
		}
			
	#header {
		margin: 0;
		}

	.inline-icons {
		flex: 80%;
		padding: 0 1rem;
		margin: 0 4rem;
		}
	
	.inline-icons.hidden {
		display: none;
		}
	
	.tableAndPhone {
		align-content: center;
		width: 100%;
		position: relative;
		background-size: cover;
    	background-repeat: no-repeat;
		}
		
	.twin-phones-large {
		margin-top: -6%;
		width: 50%;
		left: 25%;
		right: 30%;
		transform: translate(-50%, -50%);
		}
		
}

@media screen and (max-width: 480px) {

	#header h2 {
	font-size: 1.2em;
	}

	.container {
    grid-template-columns: 1fr;
    }

	.phone-container {
        width: 90%;
    }

    @keyframes float {
        100% {
            transform: translateY(-5px);
        }
    }
    
    .nav-position {
	top: 20px;
	right: 1px;
	}

	.video-container {
        height: 740px;
        }

	.video-player {
		width: auto;
		margin-left: -40rem;
		}
		
	.element img {
		align-content: center;
		width: 80%;
		margin-right: 15%;
		transition: transform 1s ease-out;
		}
		
	.topnav.open + .header-content .element img {
		width: 75%;
		margin-right: 2%;
		transform: translateY(10%);
		}
	
	p {
		padding: 0 12px;
		}
		
	.download-button {
		width: calc(100% - 3em);
		align-content: center;
		padding-bottom: 16px;
		margin: 1em;
		}	
	
	.header-content {	
		bottom: 0px;
        left: 10px;
        width: 100%;
		}
		
	.tableAndPhone {
		align-content: center;
		width: 100%;
		position: relative;
		background-size: cover;
    	background-repeat: no-repeat;
		}
		
	.vegIconsPhone {
		width: 110%;
		}
	
	.header-content	.intro-text {
		display: block;
		margin: 0;
		padding: 16px;
		width: 96%;
		font-size: 24px;
		}
		
	.intro-text strong {
		font-size: 30px;
		color: white;
		}
		
	.topnav ul {
		margin: 36px 16px;
		}
		
	.position {
		margin-right: 4rem;
		padding: 0 60px 0 0;
		}
		
	.icon-row {
		display: block;
		}

	.inline-icons {
		flex: 100%;
		padding: 0 0.6rem;
		margin: 0 4rem;
		}
	
	.inline-icons.hidden {
		display: none;
		}
	.icon-spacer {
		display: none;
		}	
		
	.twin-phones-large {
		width: 100%;
		left: 2%;
		right: 50%;
		transform: translate(-50%, -50%);
		}
		
	.icon-space {
		margin-bottom: 0;
		}
		
	.download-text strong {
        font-size: 1.2em;
        }
        
	.detail-icons {
		width: 5.5%;
		}
	
	.caption h2{
		font-weight: 400;
		font-size: 1.2em;
		}
		
	.caption h3 {
		margin: 0 0 6px;
		line-height: 1.2em;
	
	}	
		
	.small-image {
        content: url("images/juice-split-square.png");
        }
        
    .title {
		font-size: 1rem;
		letter-spacing: 0.4px;
  		}
	
	#restaurant-list {
  	font-size: 1em;
	}
}
