/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Volkhov:wght@400;700&display=swap');

    html {
      scroll-behavior: smooth;
    }

/* Set global font family */
body {
    font-family: 'Roboto', sans-serif;
    background-color:#eee;
    background:url(images/paper-bg.jpg) fixed;
    margin:0;
}


/* iOS only styles */
@media only screen and (max-device-width: 480px) {
  h2 {
    font-size:1.8em;
  }
}

/* Center all headings */
h1, h2, h3, h4, h5, h6 {
    text-align: center;
    width:100%;
    font-family: 'Volkhov', serif;
text-transform: uppercase;
}

h2 {
  color: #444;
  letter-spacing: 0.1em;
}

h3 {
  font-weight: 300;
  color: #901;
  letter-spacing: 0.1em;
  font-size: 1.8em;
}

p {
  line-height: 2em;
}

/* Center the menu */
#header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1em;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 100;
  height: 20em;
  border-bottom: solid 8px #901;
}

#header.shrink {
  height: 8em;
}

.logo {
  width: 200px;
  transition: all 0.3s ease-in-out;
}

.logo img {
  width: 100%;
}

.logo img.shrink {
  width: 100px;
}

.nav-menu {
  padding: 0 1em;
}

.nav-menu h1 {
  font-family: 'Volkhov', serif;
  text-transform: uppercase;
  font-size: 3.33em;
  transition: all 0.3s ease-in-out;
}

.nav-menu h1.shrink {
  font-size: 2em;
}

@media (max-width: 1000px) {
.nav-menu h1 {
  font-size: 3em;
}

.nav-menu h1.shrink {
  font-size: 1.5em;
}
}


nav {
  display: flex;
  justify-content: center;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav li {
  margin: 0 10px;
}

nav li a {
  color: white;
  text-decoration: none;
}

header nav a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    background-color: #f2f2f2;
}

header nav a:hover {
    background-color: #ddd;
}

main {
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
  width:100%;
}

#main {
    margin-top:36px;
}

#main.shrink {
    margin-top:-90px;
}

section {
    flex-basis:100%;
    padding: 1em;
}

section>* {
  max-width: 900px;
  margin: 1em auto;
}

.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    width:90%;
}

.video-content h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
    color:#fff;
}

.video-content h3 {
    color:#fff;
}

.video-content p {
    font-size: 1.5em;
    margin-bottom: 1.5em;
}

.video-background {
  position: relative;
  width: 100%;
  min-height: 1000px;
  overflow: hidden;
  margin-top: 140px;
}

@media (max-width: 800px) {
.video-content p {
    font-size: 1.2em;
    margin-bottom: 1.2em;
}
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 200%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
}

@media only screen and (max-device-width: 480px) {
.video-background video {
    min-width: 300%;
}
.video-background {
  position: relative;
  width: 100%;
  min-height: 730px;
  overflow: hidden;
  margin-top: 200px;
}
}

#about div {
  display:flex;
  flex-wrap:wrap;
  flex-direction:space-around;
}

#opening-photo {
  flex-basis: 45%;
  background-image: url('images/opening.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  min-height: 280px;
  margin: 1em auto;
}


#about {
  background: rgba(255,248,230,0.75);
}

#about div p {
  flex-basis:45%;
}

#processing {
  background: #333;
  color: #fff;
  font-size:1.25em;
}

#processing h2 {
  color: #fff;
}

#processing div {
  max-width:580px;
  margin:auto;
}

#processing ul {
  display:inline-block;
}

#processing ul li {
  list-style: none;
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin: 1em;
}

#menu h3 {
  margin: 1em auto 0;
}

#menu h4  {
  margin: 0;
  text-transform: revert;
  font-weight: 300;
}

#menu > div {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid black;
  width: 95%;
  justify-content: space-around;
}

#menu div:last-of-type {
  border-bottom: none;
}

#menu ul {
  padding: 1em;
  flex-basis: 40%;
}

#beef {
  display:flex;
}

.prime {
    width:100%;
    text-align:center;
}

.prime>* {
    display:inline-block;
}

.prime a {
  margin: 0 20px 0 -210px;
}

.prime a img {
  width: 180px;
}

.steak {
  max-width: 100%;
  max-height: 180px;
  margin: 2em 1em;
}

@media (max-width: 800px) {
.steak {
  max-height: 140px;
}
}

.biltong {
  max-width: 300px;
  margin: 1em;
}

#beef ul {
  flex-basis:30%;
}


#menu ul li {
  list-style: none;
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin: 1em;
}

.btn {
    display: inline-block;
    padding: 1em 2em;
    background-color: #fff;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1.2em;
}

#contact {
    background:#732029;
    color:#fff;
}

#contact h2 {
    color:#fff8e6;
}

footer {
    text-align:center;
    background:#000;
    color:#999;
}

footer p {
    margin:0;
    padding:1em;
}

@media only screen and (max-device-width: 480px) {
#opening-photo {
  flex-basis: 90%;
  min-height: 200px;
}
    #about div p {
  flex-basis:100%;
}

#menu > div {
  padding: 0 0 1em;
}

#menu ul {
  padding: 0;
  flex-basis: 100%;
  margin:0;
}

#menu ul li {
  margin: 1em auto 0;
}

.prime a {
  margin: 0 1em 0 -2em;
}

.prime a img {
  width: 120px;
}

.prime div {
  width: 55%;
}

.steak {
  display: none;
}

}