/* Css variables */
:root {
  --white: #FFF;
  --green: #00C14D;
  --grey: #EBEBEB;
  --black: #000;
  --blue: #007FFF;
  --yellow: #FFA100;
  --red: #E74C3C;
  --shadow: 3px 3px 1px rgba(0,0,0,.20),3px 3px 1px rgba(0,0,0,.12);
}

html {scroll-behavior: smooth;}

body{
  height: 100%;
  font-family: "Inconsolata", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
  background-color: #F8F5EE;
}

img {
  max-width: 100%;
  height: auto;
}

a {text-decoration: none;}

hr {
  width: 50%;
  margin: 100px auto;
  height: 3px;
  background-color: var(--black);
}

@media screen and (max-width: 600px) {
  hr { margin: 50px auto; }
}

.blur-up {
		-webkit-filter: blur(5px);
		filter: blur(5px);
		transition: filter 400ms, -webkit-filter 400ms;
	}

.blur-up.lazyloaded {
	  -webkit-filter: blur(0);
		filter: blur(0);
	}

/* Navbar */
nav {
    background-color: var(--black);
}

nav ul li a:hover {
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    background: var(--grey);
    color: var(--black);
    -webkit-box-shadow: var(--shadow);
            box-shadow: var(--shadow);
}

.sidenav-overlay { z-index: 1; }

#home h3,h5 {
    color: #fff;
    font-weight: bold;
    font-size: 4rem; 
}

@media screen and (max-width: 600px) {
  #home h3,h5 { font-size: 2.5rem; }
}

.modal-trigger img {
    display: block; 
    margin-left: auto;
    margin-right: auto;
    max-width: 50%;
    padding: 3rem 0;
}

@media screen and (max-width: 600px) {
  .modal-trigger img { padding: 1.8rem 1rem 0; }
}

#aboutUs,
#order,
#contact,
#products {
    margin: auto;
    width: 50%;
    padding: 0 0 3rem 0;
}

@media screen and (max-width: 992px) {
  #aboutUs,
  #order,
  #contact { width: 75%; }
}

@media screen and (max-width: 600px) {
  #aboutUs,
  #order,
  #contact { width: 95%; }
}

#aboutUs span,
#order span,
#contact span,
#products span {
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    font-size: 2rem;
    border: 3px solid #000;
    background-color: var(--black);
    color: var(--white);
}

@media screen and (max-width: 600px) {
  #aboutUs span,
  #order span,
  #contact span { font-size: 1.8rem; }
}

#aboutUs p,
#contact p {
    letter-spacing: 0.08rem;
    font-size: 1.3rem;
}

.col a {    
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 5px;
  line-height: 0; /* Prevents tiny gap under image */
}

#products .responsive-img {
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}

@media screen and (max-width: 992px) {
  #products .responsive-img { margin-bottom: 1rem; }
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  background-color: var(--black);
  transition: opacity 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.col:hover .overlay {
  opacity: 1;
}

#products .col:hover .responsive-img {
  transform: scale(0.5);
}

#products h4.OverlayText {
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-size: 1.8rem;
  color: var(--white);
  margin: 0;
  padding: 15px 25px;
  display: inline-block;
  line-height: 1.2;
  vertical-align: middle;
  max-width: 90%;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.6s ease;
  border: 2px solid var(--white)
}

@media screen and (max-width: 992px) {
  #products h4.OverlayText { font-size: 1.3rem; }
}

@media screen and (max-width: 992px) {
  #products .row { margin: 0; }
}

.col:hover .OverlayText {
  transform: translateY(0);
}

.img-container {
  background-color: #f0f0f0;
  overflow: hidden;
}

.tabs { box-shadow: var(--shadow); }

.tabs .indicator {
    background-color: var(--black);
}

#order {
  text-align: center;
}

footer {
    text-align: center;
    background-color: var(--black);
    color: var(--white);
    height: 5rem;
}

footer h6 {
    margin: 0;
    padding: 2rem 0 0 0;
}
