/*
PyRe
Copyright (c) 2017 Nate Stephens
Licensed under the MIT license.
https://github.com/ndstephens/omnifood/blob/master/LICENSE

Modified by Team Warwick
*/

.column-pictures {
  float: left;
  width: 33.3%;
  margin-bottom: 16px;
  padding: 0 8px;
}

@media screen and (max-width: 650px) {
  .column {
    width: 100%;
    display: block;
  }
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.container-pic {
  padding: 0 16px;
}

.container-pic::after, .row::after {
  content: "";
  clear: both;
  display: table;
}

.title-pic {
  color: grey;
}

figcaption {
  color: black;
  line-height: 140%;
  font-size: smaller;
}

/* ------------------- */
/* Sidenav section */
/* ------------------- */

.sidebar {
  width: 25%;
  height: 110vh;
  min-height: 200px;
  overflow: auto;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  padding-left: 130px;
  padding-right: 0px;
}

.main-inner {
  width: 74%;
  height: auto;
  min-height: 1000px;
  display: flex;
  flex-direction: column;
  margin-left: auto;
  padding-right:130px;
  padding-left: 0px;
}

.main-inner,
.sidebar {
  border-radius: 10px;
}

.wrapper {
  display: flex;
  justify-content: space-between;
}

.hero {
  display: flex;
  height: 300px;
  display: grid;
  grid:[track] 100%/[track] 100%;
  padding:2rem var(--side-margin)
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color:var(--color, #ccc)
}

.hero-contents {
  align-self: end;
  padding:2rem var(--side-margin)
}

.hero h1 {
  color: #fff;
  font-size: 3rem;
  text-shadow:0 0 2px #000
}

/*global selectors*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  background-color: #fff;
  color: #555;
  font-family: 'Lato', sans-serif;
  font-size: 20px;
  font-weight: 300;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.clearfix {zoom:  1}
.clearfix::after{
  content: ' ';
  clear: both;
  display: block;
  height: 0;
  visibility: hidden;
}

/* ------------------- */
/* Reusable section */
/* ------------------- */

.column {
  float: left;
  width: 25%;
  padding: 28px;
}

p {
  margin-bottom: 1rem;
  margin-top: 1rem;
  color: black;
  line-height: 140%;
  font-size: smaller;
}

/* Clearfix (clear floats) */
.row::after {
  content: "";
  clear: both;
  display: table;
}

.row {
  max-width: 1140px;
  margin: 0 auto;
}

section {
  padding: 30px 0;
}

.box {
  padding: 1px;
}

/* headings */

h1{
  font-weight: 100;
  color: black;
}

h2 {
  font-weight: 300;
  text-transform: uppercase;

}

h3 {
  color: #1D5E62;
}

h1 {
  margin-top: 0;
  margin-bottom: 20px;
  color: black;
  font-size: 250%;
  word-spacing: 4px;
  letter-spacing: 1px;
}

h2 {
  font-size: 180%;
  word-spacing:2px;
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  font-weight: 750;
  color: #1D5E62
}

h2:after{
  display: block;
  height: 2px;
  background-color: #1D5E62;
  content: " ";
  width: 5rem;
  margin: 0 auto;
  margin-top: 1.5rem;
}

h3 {
  font-size: 145%;
}

h4 {
  color: white;
  font-size: 220%;
  word-spacing:-1px;
  text-align: left;
  margin-top: -4rem;
  margin-left: -1rem;
}

h5 {
  color: white;
  font-size: 150%;
  word-spacing:2px;
  text-align: left;
  margin-top: 0.5rem;
  letter-spacing: 0.8px;
}

h6 {
 background-image: linear-gradient(rgb(255, 255, 255), rgba(0, 0, 0, 0.5)), url('https://static.igem.wiki/teams/4210/wiki/background.png');
 background-size: cover;
 background-position: center;
 background-attachment: fixed;
 height: 50vh;
}

#list {
  margin-bottom: 1rem;
  margin-left: 2.5rem;
  color: black;
  font-size: smaller;
}

/* paragraphs */

.contrast-copy {
  background-color: #D3D3D3;
  color: black;
}

.long-copy {
  line-height: 120%;
  width: 100%;
  margin-bottom: 50px;

}

.long-copy-text-side1 {
  line-height: 120%;
  width: 100%;
  margin-bottom: 20px;
  color: rgb(255, 255, 255);
  font-size: 90%;
}

.long-copy-text-side2 {
  line-height: 120%;
  width: 100%;
  margin-bottom: 20px;
  color: black;
  font-size: 90%;
}

.box p {
  font-size: 90%;
  line-height: 140%;
}

/* ICONS */
.icon-big {
  font-size: 300%;
  display: block;
  color: #e67322;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}

.icon-sm {
  display: inline-block;
  width: 30px;
  text-align: center;
  color: #e67322;
  font-size: 120%;
  margin-right: 5px;
  /* secrets to align icons */
  line-height: 120%;
  vertical-align: middle;
  margin-top: -2px;
}

/* links */

a:link,a:visited {
  color: #3D797C;
  text-decoration: none;
  padding-bottom: 1px;
}

a:hover, a:active {
  color: #3D797C;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
}

/* buttons */

.btn:link, .btn:visited, input[type=submit] {
  display: inline-block;
  padding: 10px 30px;
  font-weight: 300;
  text-decoration: none;
  border-radius: 20px;
  transition: background-color 0.2s, border 0.2s, color 0.2s;
}


.btn-full:link, .btn:visited, input[type=submit] {
  background-color: #e67e22;
  border: 1px solid #e67322;
  color: #fff;
  margin-right: 10px;
}

.btn-ghost:link, .btn:visited {
  border: 1px solid #e67322;
  color: #e67322;
}

.btn:hover, .btn:active, input[type=submit]:hover, input[type=submit]:active {
  background-color: #cf6d17;
}

.btn-full:hover, .btn:active, {
  border: 1px solid #cf6d17;
}

.btn-ghost:hover, .btn:active {
  border: 1px solid #cf6d17;
  color: #fff;
}


/* ------------------- */
/* Header section      */
/* ------------------- */
header {
 /* background-image: linear-gradient(rgb(255, 255, 255), rgba(0, 0, 0, 0.5)), url('https://static.igem.wiki/teams/4210/wiki/background.png'); */
 background-size: cover;
 background-position: center;
 background-attachment: fixed;
 height: 100vh;
 margin-bottom: 2rem;
}

.hero-text-box {
 position: absolute;
 width: 1140px;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
}

.logo {
  height: 8rem;
  width: auto;
  float: left;
  margin: -2rem 0;
}

.logo-black {
  display: none;
  height: 3.5rem;
  width: auto;
  float: left;
  margin-top: .25rem;
}

/* main nav */
.main-nav {
  float: right;
  list-style: none;
  margin-top: 2rem;
}

.main-nav li {
  display: inline-block;
  margin-left: 2rem;
}

.main-nav li a:link, .main-nav li a:visited {
  padding: 8px 0;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .75rem;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.2s;
}

.main-nav li a:hover, .main-nav li a:active {
  border-bottom: 2px solid #e67322;
}

/* mobiel nav*/
.mobile-nav-icon {
  float: right;
  margin-top: 3px;
  cursor: pointer;
  display: none;
}

/* sizing */


/* nav sticky */
.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.856);
  box-shadow: 0 2px 2px #fefefe;
  z-index: 9999;
}

.dropdown {
  margin-top: 1rem;
}

.sticky .dropdown a a:link,
.sticky .dropdown a a:visited {
  padding: 15px 0;
  color: #555;
}

.sticky .logo {display: none;}
.sticky .logo-black { display: block;}

/* ------------------- */
/* dropdown section      */
/* ------------------- */

.dropdown {
  float: right;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: #1D5E62;
  text-transform: uppercase;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  font-weight: bold;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgb(255, 255, 255);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(255, 255, 255, 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;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ------------------- */
/* features section      */
/* ------------------- */

.section-features .long-copy {
  margin-bottom: 5px;
}

.section-featuress {
  margin-bottom: 5px;
  background-color: #D3D3D3;
}


/* ------------------- */
/* meals section      */
/* ------------------- */

.section-meals {
  padding: 0;
}

.meals-showcase {
  list-style: none;
  width: 100%;
}

.meals-showcase li {
  display: block;
  float: left;
  width: 25%;
}

.meal-photo {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background-color: #000;
}

.meal-photo img {
  width: 100%;
  height: auto;
  transform: scale(1.15);
  transition: transform 0.5s opacity 0.5s;
  opacity: 0.7;
}

.meal-photo img:hover {
  opacity: 1;
  transform: scale(1.03);

}

/* ------------------- */
/* how it works section      */
/* ------------------- */

.section-steps {
  background-color: #f4f4f4;
}
.steps-box {
  margin-top: 1.5rem;
}

.steps-box:first-child {
  text-align: right;
  padding-right: 3%;

}

.steps-box:last-child {
  padding-left: 3%;
  margin-top: 3.5rem;
}

.app-screen {
  width: 40%;
}

.works-step {
  margin-bottom: 50px;
}

.works-step:last-of-type {
  margin-bottom: 4rem;
}

.works-step div {
  display: inline-block;
  color:#e67322;
  border: 2px solid #e67322;
  border-radius: 50%;
  height: 2.5rem;
  width: 2.5rem;
  text-align: center;
  padding: 5px;
  float: left;
  font-size: 150%;
  margin-right: 1.5rem;
}

.btn-app img {
  height: 2.5rem;
  width: auto;
  margin-right: .5rem;
}

.btn-app:link, btn-app:visited {
  border: 0;
}

/* ------------------- */
/* cities section      */
/* ------------------- */

.box img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.city-feature {
  margin-bottom: 5px;
}

/* ------------------- */
/* cities section      */
/* ------------------- */

.section-testimonials {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(https://static.igem.wiki/teams/4210/wiki/landing-page-hp.jpg);
  background-size: cover;
  color: #fff;
  background-attachment: fixed;
}

.section-testimonials-bio {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(https://static.igem.wiki/teams/4210/wiki/landing/index2.gif);
  color: #fff;
  background-size: cover;
  color: #fff;
  background-attachment: fixed;
}

.section-testimonials-protien {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(https://static.igem.wiki/teams/4210/wiki/landing/index3.gif);
  color: #fff;
  background-size: cover;
  color: #fff;
  background-attachment: initial;
  height: 80vh;
}

.section-testimonials-post {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(https://static.igem.wiki/teams/4210/wiki/landing/index4.jpg);
  color: #fff;
  background-size: cover;
  color: #fff;
  background-attachment: fixed;
  height: 50vh;
}

.section-testimonials-education {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(https://static.igem.wiki/teams/4210/wiki/hands-up.jpeg);
  color: #fff;
  background-size: cover;
  color: #fff;
  background-attachment: fixed;
  height: 50vh;
}

.section-testimonials-model {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(https://static.igem.wiki/teams/4210/wiki/landing/index5.png);
  color: #fff;
  background-size: cover;
  color: #fff;
  background-attachment: fixed;
  height: 50vh;
}

.section-testimonials-truck {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(https://static.igem.wiki/teams/4210/wiki/farmer.jpeg);
  color: #fff;
  background-size: cover;
  color: #fff;
  background-attachment: initial;
  background-size: cover;
  background-position: center;
  height: 50vh;
}

.section-testimonials-hp {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(https://static.igem.wiki/teams/4210/wiki/landing-page-hp.jpg);
  color: #fff;
  background-size: cover;
  color: #fff;
  background-attachment: fixed;
  height: 50vh;
}

blockquote {
  padding: 2%;
  font-style: italic;
  line-height: 145%;
  position: relative;
  margin-top: 2rem;
}

blockquote::before {
  content: "\201C";
  font-size: 500%;
  display: block;
  position: absolute;
  top: -5px;
  left: -5px;
}



cite {
  font-size: 90%;
  margin-top: 1.5rem;
  display: block;
}


cite img {
  height: 2.5rem;
  border-radius: 50%;
  vertical-align: middle;
  padding-right: .5rem;
}

/* ------------------- */
/* plans section      */
/* ------------------- */

.section-plans {
  background-color: #f4f4f4;
}

.plan-box {
  background-color: #fff;
  border-radius: 5px;
  width: 90%;
  margin-left: 5px;
  box-shadow: 0 2px 2px #e3e3e3;
}

.plan-box div {
  padding: 15px;
  border-bottom: 1px solid #e8e8e8;
}

.plan-box div:first-child {
  background-color: #fcfcfc;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.plan-box div:last-child {
  text-align: center;
  border: 0;
}

.plan-box ul {
  list-style: none;
}

.plan-box ul li {
  padding: 5px 0;
}

.plan-price {
  font-size: 250%;
  margin-bottom: .5rem;
  font-weight: 100%;
  color: #e67322
}

.plan-price span {
  font-size: 30%;
  font-weight: 300;

}

.plan-price-meal {
  font-size: 80%;
}

/* ------------------- */
/* contact section      */
/* ------------------- */

.contact-form {
  width: 60%;
  margin: 0 auto;
}

input[type=text],input[type=email], select, textarea {
  width: 100%;
  padding: 7px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

textarea {
  height: 5rem;
}

input[type=checkbox] {
  margin: 10px 5px 10px 0;
}

*:focus {outline: none;}

/* ------------------- */
/* footer section      */
/* ------------------- */


footer {
  background-color: #333;
  padding: 40px;
  font-size: 80%;
}

.footer-nav {
  list-style: none;
  float: left;
}

.footer-nav-1 {
  list-style: none;
  float: right;
}

.footer-nav-1 li, .social-links li {
  display: inline-block;
  margin-left: 20px;
}

.footer-nav-1 li:last-child, .social-links li:last-child {
  margin-right: 0;
}

.footer-nav-1 li a:link,
.footer-nav-1 li a:visited,
.social-links li a:link,
.social-links li a:visited {
  text-decoration: none;
  border: 0;
  color: #888;
  transition: color 0.2s;
}

.footer-nav-1 li a:hover,
.footer-nav-1 li a:active{
  color: #ddd
}

.social-links {
  list-style: none;
  float: right;
}

.footer-nav li, .social-links li {
  display: inline-block;
  margin-right: 20px;
}

.footer-nav li:last-child, .social-links li:last-child {
  margin-right: 0;
}

.footer-nav li a:link,
.footer-nav li a:visited,
.social-links li a:link,
.social-links li a:visited {
  text-decoration: none;
  border: 0;
  color: #888;
  transition: color 0.2s;
}

.footer-nav li a:hover,
.footer-nav li a:active{
  color: #ddd
}

footer p{
  color: #888;
  text-align: center;
  margin-top: 20px;
  padding-bottom: 0;
}

/* ------------------- */
/* Animations */
/* ------------------- */
.js--wp-1,
.js--wp-2,
.js--wp-3
 {
  opacity: 0;
}

.js--wp-1 .animated,
.js--wp-2 .animated,
.js--wp-3 .animated {
  opacity: 1;
}

.js--wp-4 {

}

/* ------------------- */
/* References */
/* ------------------- */

.section9 .ref-list {
    display: flex;
    flex-direction: column;
    row-gap: 0.4rem;
    margin: 1rem 0 1rem 3.6rem;
}

/* ------------------- */
/* Table */
/* ------------------- */

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid black;
  text-align: left;
  padding: 8px;
}
