/* Sets the font and background color */
body {
	font-family: 'Lato', sans-serif;
	background-color: black;
	background-image:url(../images/products_bg.png);
	background-repeat: no-repeat;
	background-size: cover;
	color: white;
	margin: 0;
	padding: 0;
	overflow: hidden;
	height: 100vh;
}
/* Navigation Bar */
nav {
	position: absolute;
	width: 100%;
	z-index: 1;
}
nav a, nav a:hover, nav a:active, nav a:visited, nav a:link {
	text-decoration: none;
	color: white;
}
/* Adds line on hover */
nav a:hover {
	border-bottom: 3px solid white
}
/* Adds line to current page */
ul li:nth-child(2) a {
	border-bottom: 3px solid white;
	pointer-events: none;
   	cursor: default;
}
/* Sets font size */
.navigation {
	list-style-type: none;
	font-weight: 500;
	font-size: 18px;
	float: right;
	margin-top: 30px;
}
nav li {
	display: inline-block;
	padding-right: 40px;
}
/* Logo placement */
.logo {
	float: left;
	width: 10%;
	padding-left: 40px;
	margin-top: 22px;
}
/* All of the product text, images, buttons, etc. */
article {
	width: 100%;
}
/* Flavor information */
.flavor {
	position: absolute;
	height: 100%;
	width: 50%;
	text-align: center;
}
.flavor:before {
    content: ' ';
    display: inline-block;
    vertical-align: middle; 
    height: 100%;
}
.save {
	display: inline-block;
    vertical-align: middle;
    padding: 5px;
}
.flavor-name {
	font-size: 100px;
	font-weight: 800;
	margin: 0;
	padding: 0;
	color: #ED1B2F;
}
.flavor-phrase {
	font-size: 50px;
	font-weight: 400;
	text-align: center;
	margin: 0;
}
.flavor-text {
	font-size: 20px;
	font-weight: 300;
	width: 400px;
	margin: 0 auto;
	padding-top: 20px;
}
.contain {
	position: relative;
    width: 100%;
}
/* Product image */
.image-size {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align:center; /* Align center inline elements */
}
.image-size:before {    /* create a full-height inline block pseudo=element */
    content: ' ';
    display: inline-block;
    vertical-align: middle;  /* vertical alignment of the inline element */
    height: 100vh;
}
.can-image {
	display: inline-block;
    vertical-align: middle;
    width: 12%;
}
/* All text on right side of screen */
.right-panel {
  	right: 0;
	width: 50%;
	height: 100%;
	position: absolute;
	text-align: center;
}
.right-panel:before {
	content: ' ';
    display: inline-block;
    vertical-align: middle; 
    height: 100%;
}
.saver {
	width: 300px;
	display: inline-block;
    vertical-align: middle;
    padding: 5px;
}
.right-panel > h1 {
	font-size: 60px;
}
/* Blend, ingredients, and vegan text */
.blend-text, .ingredients-text, .vegan-text {
	font-size: 18px;
	font-weight: 300;
	font-style: italic;
	text-align: left;
}
.blend-lend {
	font-size: 18px;
	color: white;
	margin: 0;
	font: 0;
}
.b-lend, .i-ngredients {
	text-align: left;
}
.ingredients {
	margin-top: 10px;
}
/* Blend and Ingredients first letters (B and I) */
.ingredients-i, .blend-b {
	font-size: 50px;
	margin: 0;
	padding: 0;
	display: inline-block;
	color: #ED1B2F;
}
/* Blend, ingredients, and vegan images */
.ingredients-img, .blend-img, .vegan-img {
	float: right;
	margin: 20px; 
}
.vegan-img {
	width: 40px;
}
.ingredients-ngredients {
	font-size: 18px;
	color: white;
	margin: 0;
	padding: 0;
}
/* Social media links */
.social {
	margin-left: 30px; 
	display: inline-block;
	margin-bottom: 27px;
}
.social a:nth-child(2) img, .social a:nth-child(3) img{
	margin-left: 15px;
}
.social a:nth-child(2) img {
	height: 26px;
	padding-top: 12px;
	padding-bottom: 12px;
}
.social img {
  	border: 2px solid white;
	background-color: transparent;
	padding: 10px 10px 10px 10px;
	margin-top: 15px;
	width: 30px;
	height: 30px;
}
.social img:hover {
	background-color: #E3E3E3;
}
/* Buttons that change the flavor */
.buttons {
   	display: flex;
    flex-direction: row;
	float: right;
	position: relative;
	top: 50%;
	transform:translateY(-50%);
	z-index: 1;
	margin-right: 30px; 
}
.flex-out button {
	margin-bottom: 10px;
	cursor: pointer;
	border: none;
}
/* Set button padding */
.original,.cola,.sugar-free {
	padding: 10px 10px 10px 10px;
	align-self: center;
}
/* Button hover animation */
.original:hover,.cola:hover,.sugar-free:hover {
	padding: 20px 20px 20px 20px;
	align-self: center;
}
.active-btn {
	padding: 20px 20px 20px 20px;
}
.buttons h6 {
	margin: 15px 10px 0 0;
	height: 20px;
}
.flex-out {
   display: flex;
   flex-direction: column;
   position: relative;
}
/* Button colors */
.original {
	background-color: white;
}
.cola {
	background-color: #cd201f;
}
.sugar-free {
	background-color: #4E99F8;
}
/* Footer bar */
footer {
	bottom: 0;
	width: 100%;
	font-size: 12px;
	text-decoration: none;
	position: absolute;
}
footer a {
	color: grey;
}
/* Purchase button */
.button {
background-color: #ED1B2F;
 border: none;
 padding: 10px 30px;
 color: white;
 font-weight: 400;
 font-size: 16px;
 text-align: center;
 text-decoration: none;
 vertical-align: middle;
 cursor: pointer;
 margin: 34px 30px 0 0;
 float: right;
}
/* Responsive */
@media (max-width: 1280px){
	.image-size {
		display: none;
	}
}
@media (max-width: 1700px) {
	.flavor-name {
		width: 480px;
	}
}