/* DESIGN NOTES:

TYPOGRAPHY:
SOURCE SERIF - KEYWORDS
MONTSERATT - HEADINGS/BODY TEXT
INTER TIGHT - HEADINGS


COLOUR:
#f45e31 - TANGERINE - TEXT COLOUR
#fefaf4 - IVORY - BG COLOUR
#231f20 - SOFT BLACK - BORDER COLOUR

END DESIGN NOTES*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
* {
  box-sizing: border-box;
}

/*Remove all animations, transitions and smooth scroll for people that prefer not to*/
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/*---------------------------------------------------END OF THE STYLE RESET-------------------------------------------*/

/*---------------------------------------------------TEXT STYLING-----------------------------------------------*/
/*ROOT VARIABLES*/
:root {
  --clr-bg: #fefaf4;
  --clr-heading: #f45e31;
  --clr-button: #f45e31;
  --clr-border: #231f20;
  --clr-text: #231f20;
  --font-heading: "Inter Tight", "Segoe UI", "Roboto", "Helvetica Neue",
    sans-serif;
  --font-text: "Montserrat", "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
  --font-subtext: "Source Serif 4", Georgia, "Times New Roman", serif;
  --hero-font-size: 2rem;
}

/*general layout*/
body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-text);
  overflow-x: hidden; /*to prevent horizontal scrolling*/
  line-height: 1.6;
}

/*header*/
.navbar {
  background-color: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
}

.nav-container {
  display: flex;
  position: relative;
}

.nav-left,
.nav-right {
  flex: content;
  justify-content: center;
  gap: 1rem;
  font-weight: 350;
  text-transform: uppercase;
}

.navbar img {
  display: block;
  width: 10rem;
  height: auto;
  margin-right: 0.5rem;
  padding: 1.5rem 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  right: 1rem;
}

button {
  width: 2.5rem;
  height: auto;
  color: var(--clr-button);
  transform: scale(1.7);
  background: none;
}

/* Mobile menu */
.nav-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
}

.nav-menu li {
  padding: 0.5rem 0;
  list-style: none;
}

/*--------------LINK STATES---------------*/
.nav-menu a,
.navbar a {
  font-weight: 450;
  font-size: 1rem;
  color: var(--clr-bg);
}

.nav-menu a:visited,
.nav-menu a:link,
.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a:active,
.navbar ul li a:visited,
.navbar ul li a:link,
.navbar ul li a:hover,
.navbar ul li a:focus-visible,
.navbar ul li a:active {
  color: var(--clr-text);
  text-transform: uppercase;
  text-decoration: none;
}

.nav-menu a:visited,
.nav-menu a:link,
.navbar ul li a:visited,
.navbar ul li a:link,
.opened a:link,
.opened a:visited,
a:visited,
a:link {
  color: var(--clr-text);
  text-decoration: underline;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a:active,
.navbar ul li a:hover,
.navbar ul li a:focus-visible,
.navbar ul li a:active,
.opened a:hover,
.opened a:focus-visible,
.opened a:active,
a:hover,
a:focus-visible,
a:active {
  color: var(--clr-text);
  text-decoration: none;
}

.closed a:link,
.closed a:visited,
.closed a:hover,
.closed a:focus-visible,
.closed a:active {
  color: var(--clr-bg);
}

.closed a:hover,
.closed a:focus-visible,
.closed a:active {
  text-decoration: none;
}

/*-----SKIP TO CONTENT LINK-------*/
.skip-link {
  position: absolute;
  top: -3rem;
  left: 0;
  background: var(--clr-bg);
  color: var(--clr-button);
  border: 2px solid var(--clr-border);
  padding: 0.5rem;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/*-----STATUS BANNER------*/

.status-banner {
  font-size: 0.75rem;
  font-weight: 450;
  display: flex;
  justify-content: center;
}

.closed {
  background-color: var(--clr-button);
  color: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
  padding: 0.5rem 1rem;
}

.opened {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  border-bottom: 1px solid var(--clr-border);
  padding: 0.5rem 2rem;
}

/*------------MAIN----------*/
/*------------SECTIONS----------*/

/*---general sytling for all section---*/
.about,
.products,
.offers,
.reviews {
  min-height: 90vh;
  padding: 1rem 1.5rem;
  margin: 0 auto;
}

.home-page {
  min-height: 90vh;
  margin: 0 auto;
}

.events {
  padding: 1rem 1.5rem 0.5rem 1.5rem;
}

/*product*/
.product-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem auto;
  max-width: 1000px;
}

.product,
.product-h,
.product-el {
  border-top: 2px solid var(--clr-border);
}

.product-pr,
.product-h,
.product-el {
  border-bottom: 2px solid var(--clr-border);
}

.product-pr,
.product-h {
  padding-bottom: 1rem;
}

/*review*/
.review,
.review-last {
  max-width: 70vw;
  margin: 0 auto;
}

.review {
  border-top: 2px solid var(--clr-border);
  max-width: 70vw;
}

.review-last {
  border-top: 2px solid var(--clr-border);
  border-bottom: 2px solid var(--clr-border);
}

blockquote {
  position: relative;
  padding: 0 1rem;
}

.quote-mark {
  display: flex;
  justify-content: center;
  font-size: 3rem;
}

.review-footer {
  display: block;
  text-align: right;
  font-size: 1.2rem;
  font-family: var(--font-subtext);
  font-style: italic;
  padding-bottom: 2.5rem;
}
/*-----TYPOGRAPHY-----*/

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--clr-heading);
  padding: 1.5rem 0;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
}

.hero h1,
.error-page h1 {
  z-index: 2;
  margin-top: 22rem;
  margin-bottom: 0.5rem;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  display: flex;
  justify-content: center;
}

.reviews h3 {
  padding-top: 2rem;
}

.product h3,
.product-pr h3,
.product-h h3,
.product-moz h3,
.product-el h3 {
  font-size: 1.3rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--clr-button);
  margin-bottom: 0.5rem;
  text-transform: capitalize;
}

p {
  padding: 0 0.625rem 0.5rem 0.625rem;
  font-size: 1rem;
  font-weight: 350;
  font-family: var(--font-text);
}

.hero p {
  position: relative;
  margin: 0.5rem;
  z-index: 2;
  font-size: 1rem;
  font-weight: 450;
  text-transform: capitalize;
  display: flex;
  justify-content: center;
  color: var(--clr-text);
}

.error-page p {
  position: relative;
  margin: 0 0.5rem;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--clr-text);
}

.about p,
.offers p,
.events p {
  padding-bottom: 2rem;
  color: var(--clr-text);
}

.product p {
  font-size: 1rem;
  color: var(--clr-text);
  color: var(--clr-text);
}

blockquote p {
  font-size: 1.1rem;
  line-height: 1.5;
  display: flex;
  justify-content: center;
  color: var(--clr-text);
}

strong {
  font-family: var(--font-subtext);
  font-style: italic;
  text-transform: lowercase;
  font-weight: 600;
  padding: 0 0.5rem;
}

.home-page p strong,
.about p strong,
.offers p strong,
.events p strong,
.products p strong {
  padding: 0;
  font-weight: 350;
  color: var(--clr-text);
}

/*---IMAGE STYLING---*/

/*all imgs*/
img {
  display: block;
  width: 17rem;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 1.5rem 0;
}

/*events and offer imgs*/
.events img,
.offers img {
  padding-top: 2rem;
  padding-bottom: 3rem;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/*product imgs*/
.product img,
.product-pr img,
.product-h img,
.product-el img,
.product-moz img {
  width: 180px;
  max-width: 100%;
  margin: 0 auto 1rem auto;
  padding: 0;
  display: block;
}

.product-moz img {
  padding: 2rem 0 0.5rem 0;
}

/*hero section imgs*/
.cheese {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.cheese img {
  position: absolute;
  height: auto;
  z-index: 1;
  opacity: 0.9;
}

/*specific positions for each cheese image*/
.cheese-1 img {
  top: 0%;
  left: -12%;
  transform: rotate(-195deg);
  width: 180px;
  /*height auto has already been applied to .cheese img*/
}

.cheese-2 img {
  top: 16%;
  left: 36%;
  transform: rotate(-100deg);
  width: 100px;
}

.cheese-3 img {
  bottom: 8%;
  right: -15%;
  width: 160px;
}

.cheese-4 img {
  top: 0%;
  right: -8%;
  width: 160px;
  transform: rotate(90deg);
}

.cheese-5 img {
  top: 48%;
  left: -15%;
  width: 160px;
  transform: rotate(90deg);
}

.cheese-6 img {
  top: 20%;
  left: 95%;
  transform: translateX(-50%);
  width: 170px;
}

.cheese-7 img {
  top: 22%;
  left: -16%;
  transform: rotate(-90deg);
  width: 140px;
  filter: blur(1.5px);
}

.cheese-8 img {
  bottom: 15%;
  left: -20%;
  width: 180px;
}

.cheese-9 img {
  top: 65%;
  right: 40%;
  width: 100px;
  transform: rotate(-195deg);
}

.cheese-10 img {
  top: 50%;
  left: 65%;
  transform: rotate(60deg);
  filter: blur(1.5px);
  width: 180px;
}

.cheese-11 img {
  bottom: 0%;
  right: 65%;
  transform: rotate(60deg);
  filter: blur(1.5px);
  width: 160px;
}

/*-------FOOTER-------*/
.footer-2 {
  padding-top: 2rem;
  background-color: var(--clr-button);
  color: var(--clr-bg);
}

.footercontact h3,
.footerfind h3,
.footervisit h3 {
  font-weight: 600;
  font-size: 1rem;
  padding-top: 1.3rem;
  display: flex;
  justify-content: left;
  margin-left: 0.5rem;
  color: var(--clr-bg);
}

.footer-heading h3 {
  text-transform: uppercase;
  font-weight: 800;
  font-size: 2rem;
  color: var(--clr-bg);
}

/*--footer links--*/
.footerfind a:link,
.footerfind a:visited,
.footerfind a:hover,
.footerfind a:focus-visible,
.footerfind a:active,
.footercontact a:link,
.footercontact a:visited,
.footercontact a:hover,
.footercontact a:focus-visible,
.footercontact a:active,
.statement-link a:link,
.statement-link a:visited,
.statement-link a:hover,
.statement-link a:focus-visible,
.statement-link a:active {
  background-color: var(--clr-button);
  color: var(--clr-bg);
}

.footer-2 li,
.statement-link li {
  font-size: 1rem;
  font-weight: 450;
  margin-left: 0.5rem;
  list-style-type: none;
}

.statement-link {
  padding-top: 1.3rem;
  padding-bottom: 1rem;
}

.footer-2 p {
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
}

/*-------ACCESSIBLITY STATEMENT-------*/

.statement {
  line-height: 1.6;
  padding: 0.5rem 0.625rem;
  margin: 2rem;
}

.statement h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

.statement h1 + p {
  font-weight: 500;
  padding-bottom: 1rem;
}

.statement h2 {
  font-size: 1.5rem;
  font-weight: 500;
  display: flex;
  justify-content: left;
}

.statement p {
  font-size: 1rem;
  padding: 0;
}

.statement ul li {
  padding: 0.5rem 0;
  margin-left: 2rem;
  list-style: disc;
}

/*--------------MEDIA QUERRIES---------------*/

/*---MIN 400 PX---*/
@media (min-width: 400px) {
  .error-page p {
    font-size: 1rem;
  }
}

/*---MIN 480 PX---*/
@media (min-width: 480px) {
  .navbar img {
    display: block;
    margin-right: 0.5rem;
    padding: 1.5rem 0;
    width: 6rem;
    height: auto;
  }
}

@media (min-width: 500px) {
  .navbar img {
    width: 15rem;
  }

  .cheese-3 {
    right: -20%;
  }
  .cheese-7 img {
    left: -2%;
  }

  /*products*/
  .product-h {
    border-bottom: 2px solid var(--clr-border);
  }

  .error-page p {
    margin: 0 2.2rem;
  }
}

/*---MAX 600 PX---*/
@media (max-width: 600px) {
  .nav-left,
  .nav-right {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-logo {
    margin: 0 auto;
  }

  .nav-menu.active {
    display: flex;
  }

  .status-banner {
    font-size: 1rem;
  }
}

/*---MIN 600 PX---*/
@media (min-width: 600px) {
  /*navigation*/
  .navbar img {
    display: none;
  }

  .nav-left,
  .nav-right {
    display: flex;
  }
  .nav-menu {
    display: none;
  }
  .nav-toggle {
    display: none;
  }
  .nav-left ul,
  .nav-right ul {
    display: flex;
    justify-content: space-evenly;
    list-style: none;
    padding: 2rem 0;
    gap: 1rem;
  }

  .nav-left a,
  .nav-right a {
    padding: 0.5rem 2rem;
  }

  /*links*/
  .nav-left a:hover,
  .nav-left a:focus-visible,
  .nav-left a:active,
  .nav-right a:hover,
  .nav-right a:focus-visible,
  .nav-right a:active {
    text-decoration: none;
    color: var(--clr-button);
  }

  .nav-left a:visited,
  .nav-left a:link,
  .nav-right a:link,
  .nav-right a:visited {
    text-decoration: underline;
    color: var(--clr-button);
  }

  /*typography*/
  h1,
  h2,
  h3 {
    font-size: 2rem;
  }

  /*hero section*/
  .hero h1,
  .error-page h1 {
    font-size: 3rem;
    margin-top: 20rem;
  }

  h1 + p {
    font-size: 1.25rem;
  }

  .error-page p {
    margin: 0 3rem;
  }

  /*cheese imgs*/
  .cheese-1 img {
    left: -8%;
    width: 210px;
  }

  .cheese-2 img {
    top: 10%;
    width: 160px;
  }

  .cheese-3 img {
    bottom: 0%;
    right: -12%;
    width: 210px;
  }

  .cheese-4 img {
    right: -3%;
    width: 200px;
  }

  .cheese-5 img {
    top: 45%;
    width: 190px;
  }

  .cheese-6 img {
    top: 30%;
    left: 100%;
    width: 190px;
  }

  .cheese-7 img {
    top: 30%;
    left: -8%;
  }

  .cheese-8 img {
    bottom: 10%;
    left: -10%;
    width: 210px;
  }

  .cheese-9 img {
    top: 55%;
    width: 190px;
  }

  .cheese-10 img {
    width: 210px;
  }

  .cheese-11 img {
    right: 45%;
  }

  .product-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-moz {
    border-top: 2px solid var(--clr-border);
  }

  .product-pr {
    border-top: 2px solid var(--clr-border);
  }

  .product-el {
    border-bottom: none;
  }

  /*footer*/
  .footer-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
    background-color: var(--clr-button);
    color: var(--clr-bg);
    padding: 2rem 1rem;
  }

  .footer-heading {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .footer-heading h3 {
    text-transform: uppercase;
    font-size: 3rem;
    margin: 0;
  }

  .footercontact {
    grid-column: 1;
    grid-row: 2;
    margin-left: 0.5rem;
  }

  .footerfind {
    grid-column: 2;
    grid-row: 2;
  }

  .footervisit {
    grid-column: 3;
    grid-row: 2;
    margin-right: 0.5rem;
  }

  .footercontact h3,
  .footerfind h3,
  .footervisit h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .footer-2 li,
  .footer-2 p,
  .footer-2 a {
    font-size: 1rem;
    line-height: 1.5;
  }

  .statement-link {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: start;
  }

  .footer-2 p {
    grid-column: 1 / -1;
    grid-row: 4;
    justify-self: start;
  }

  .statement-link,
  .footer-2 p {
    margin: 0 auto;
  }

  /*status banner*/
  .status-banner {
    font-size: 1rem;
  }
}

/*---MIN 700 PX---*/
@media (min-width: 700px) {
  .nav-left ul,
  .nav-right ul {
    font-size: 2.1rem;
    gap: 3rem;
  }

  .about img,
  .offers img,
  .events img {
    width: 22rem;
  }

  /*review*/
  blockquote {
    padding: 0 2rem;
  }
}

/*---MIN 768 PX---*/
@media (min-width: 768px) {
  h2,
  h3 {
    font-size: 2rem;
  }
}

/*--MIN 800 PX--*/
@media (min-width: 800px) {
  /*navigation*/
  .nav-left ul,
  .nav-right ul {
    padding: 1rem 0;
    gap: 4rem;
  }

  .about h3,
  .product h2 .reviews h3,
  .events h3 {
    padding-top: 5rem;
  }

  .about p,
  .events p,
  .offers p {
    padding: 0 5rem;
  }

  .error-page p {
    margin: 0 8rem;
  }

  /*cheese imgs*/
  .cheese-1 img {
    left: -8%;
    width: 210px;
  }

  .cheese-2 img {
    top: 10%;
    left: 30%;
    width: 190px;
  }

  .cheese-3 img {
    bottom: 0%;
    right: -5%;
    width: 210px;
  }

  .cheese-4 img {
    top: 10%;
    right: -3%;
    width: 200px;
  }

  .cheese-5 img {
    top: 50%;
    left: -10%;
    width: 200px;
  }

  .cheese-6 img {
    top: 30%;
    left: 100%;
    width: 210px;
  }

  .cheese-7 img {
    top: 30%;
    left: -10%;
    width: 200px;
  }

  .cheese-8 img {
    bottom: 0%;
    left: 20%;
    width: 210px;
  }

  .cheese-9 img {
    top: 50%;
    width: 200px;
  }

  .cheese-10 img {
    left: 80%;
    width: 210px;
  }

  .cheese-11 img {
    right: 90%;
    width: 210px;
  }

  .product-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-el,
  .product-moz {
    border-top: 2px solid var(--clr-border);
  }

  .product-moz {
    border-bottom: 2px solid var(--clr-border);
  }
}

/*---MIN 900 PX---*/
@media (min-width: 900px) {
  /*navigation*/
  .nav-left ul,
  .nav-right ul {
    gap: 6rem;
  }

  .hero h1,
  .error-page h1 {
    font-size: 3rem;
    margin-top: 20rem;
  }

  .hero p,
  .error-page p {
    font-size: 1.25rem;
  }

  .footercontact {
    margin-left: 2rem;
  }

  .status-banner {
    font-size: 1.2rem;
  }

  blockquote {
    padding: 0 3rem;
  }
}

/*--MIN 1000 PX--*/
@media (min-width: 1000px) {
  .cheese-1 img {
    left: -6%;
    width: 230px;
  }

  .cheese-2 img {
    left: 40%;
    width: 180px;
  }

  .cheese-3 img {
    width: 230px;
    right: -5%;
  }

  .cheese-4 img {
    width: 230px;
    right: 0%;
    top: 0%;
  }

  .cheese-5 img {
    left: -5%;
    width: 220px;
  }

  .cheese-6 img {
    left: 90%;
    width: 230px;
  }

  .cheese-7 img {
    left: -2%;
    width: 180px;
  }

  .cheese-8 img {
    width: 230px;
  }

  .cheese-9 img {
    width: 210px;
  }

  .cheese-10 img {
    width: 240px;
  }

  .cheese-11 img {
    width: 210px;
  }

  .error-page p {
    margin: 0 12rem;
  }
}

@media (min-width: 1100px) {
  blockquote {
    padding: 0 10rem;
  }
}

/*---MIN 1200 PX---*/
@media (min-width: 1200px) {
  .about p,
  .events p,
  .offers p {
    padding: 0 12rem;
  }

  .hero h1 {
    font-size: 3.5rem;
    margin-top: 22rem;
  }

  .error-page p {
    margin: 0 18rem;
    font-size: 3.5rem;
  }

  .hero p,
  .error-page p {
    font-size: 1.35rem;
  }

  .cheese-9 img {
    top: 60%;
    right: 30%;
  }

  .footercontact {
    margin-left: 10rem;
  }

  .footerfind {
    margin-left: 4rem;
  }

  .nav-left ul,
  .nav-right ul {
    gap: 10rem;
  }
}

@media (min-width: 1400px) {
  .nav-left ul,
  .nav-right ul {
    gap: 15rem;
  }

  blockquote {
    padding: 0 15rem;
  }

  .about p,
  .events p,
  .offers p {
    padding: 0 18rem;
  }
}
