/* CSS styles go here */
body {
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
    padding: 0;
    margin: 0;
    font-family: "Roboto Serif", serif;
}

a {
  color: black;
  font-weight: 500;
  text-decoration: none;
}

.nav__container {
  align-items: center;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  max-width: none!important;
  min-height: 90px;
  padding: 0 6px!important;
  width: 100%;
  border-bottom: 2px solid #FFA500;
}

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

.page {
  height: 100%;
  padding: 0 16px;
}

@media screen and (max-width: 1400px) and (min-width: 0px){
  .page {
      overflow-x: hidden;
  }
}

@media screen and (max-width: 1200px) and (min-width: 0px){
  .page {
      margin-top: 0;
      overflow-x: hidden;
  }
}

@media screen and (min-width: 767px){
  .page-container {
      margin: 0 auto;
      max-width: 1372px;
      padding: 0 15px;
  }
}

.nav {
  max-width: 100%;
  width: 100%;
}

.stickyNav {
  background: #f0f0f0;
  height: 90px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 3;
}

.nav__logo__title {
  color: #0b0a0b;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  text-transform: uppercase;
  width: 174px;
}

.nav__logo {
  text-decoration: none;
}

@media (max-width: 1024px){
  .nav__logo__title {
      width: 227px;
  }
}

.nav__left {
  align-items: center;
  align-items: end;
  display: flex;
  flex: 2 1 auto;
  gap: 12px;
}

.nav__right {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 1024px){
  .nav__right {
      flex: 0 1 auto;
  }
}

.menu__list {
  align-items: center;
  display: flex;
  gap: 26px;
  list-style: none;
  padding: 0;
}


@media (min-width: 767px){
  .menu__list {
      align-items: center;
      display: flex;
  }
}

.nav__link {
  color: black;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
}

.nav__link:hover:after {
  background: black;
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger--open .bar:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}

.hamburger--open .bar:nth-child(2){
  opacity: 0;
}

.hamburger--open .bar:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

.bar {
  height: 2px;
  width: 27px;
  background-color: black;
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
}

.menu__body {
  transition: all 0.3s ease-in-out;
}

.menu__body--open {
  transform: translate(0) !important;
}

@media (max-width: 860px) {
  .menu__body {
      position: absolute;
      top: 90px;
      background-color: #f0f0f0;
      width: 100%;
      left: 0;
      padding: 10px 0 25px;
      transform: translate(-100%);
      border-bottom: 2px solid #FFA500;
  }

  .menu__list {
      flex-direction: column;
      align-items: center;
      row-gap: 20px;
  }

  .nav__link {
      font-size: 16px;
      font-weight: 600;
  }

  .hamburger {
      display: block;
  }

}

.header {
  align-items: baseline;
  display: flex;
  flex-direction: column;
  height: 780px;
  justify-content: center;
  margin: 0 auto;
  max-width: 1400px;
  position: relative;
}

.header__heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 12px;
}

.header__title {
  color: black;
  font-size: 72px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 90px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto; 
  margin-right: auto;
}

@media screen and (min-width: 768px) {
  .header__title {
      white-space: nowrap;
  }
}

.header__subtitle {
  color: #0b0a0b;
  font-size: 26px;
  font-weight: 400;
  line-height: 40px;
  text-align: center;
}

.header__actions {
  width: 100%;
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 640px) {
  .header {
      height: 350px;
  }
}

@media screen and (max-width: 768px) {
  .header {
      height: 388px;
  }
}

@media screen and (max-width: 1200px) {
  .header {
      height: 460px;
  }
}

@media screen and (max-width: 1440px) {
  .header, .header__image {
      height: 620px;
  }
}


@media screen and (max-width: 640px) {
  .header__title {
      font-size: 36px !important;
      line-height: 48px !important;
      text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .header__title {
      font-size: 50px !important;
      line-height: 60px;
      margin: 0 20px;
      text-align: center;
  }
}

@media screen and (max-width: 1200px) {
  .header__title {
      font-size: 50px !important;
      line-height: 76px;
      text-align: center;
  }
}

@media screen and (max-width: 640px) {
  .header__subtitle {
      font-size: 20px !important;
      line-height: 32px !important;
      color: black;
  }
}

.noAccess {
  background: #FFA500;
  border: 2px solid #0b0a0b;
  border-radius: 1rem;
  box-shadow: 8px 8px 0 #0b0a0b;
  margin: 62px auto;
  max-width: 1351px;
  padding: 42px 0;
  position: relative;
}

.noAccess__text {
  color: #0d0d0d;
  font-size: 36px;
  font-weight: 700;
  line-height: 65px;
  margin: 0 auto;
  max-width: 1140px;
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 1200px) {
  .noAccess__text {
      font-size: 26px;
      line-height: 40px;
      margin-bottom: 20px;
  }
}

@media screen and (min-width: 640px){
  .noAccess__buttonContained {
      white-space: inherit;
      width: auto;
      display: block;
      margin-left: auto;
      margin-right: auto;
  }
}

.email__hero {
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  font-size: 18px;
  justify-content: center;
  display: flex;
}

.buttonContained {
  background: #FFA500;
  border: 2px solid #0b0a0b;
  border-radius: 6px;
  box-shadow: 4px 6px 0 #0b0a0b;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .01rem;
  line-height: 24px;
  min-height: 42px;
  min-width: 142px;
  padding: 6px 14px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: inherit;
  width: 100%;
  z-index: 1;
}

.centered-text {
  display: block;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}

.buttons {
  margin: 0 auto;
  max-width: 1440px;
  padding: 40px 0;
}

@media screen and (max-width: 768px) {
  .buttons {
      padding: 0 0 24px;
  }
}

.buttons__blocks {
  display: flex;
  gap: 32px;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .buttons__blocks {
      flex-direction: column;
  }
}

.buttons__blocks__block {
  max-width: 660px;
  width: 50%;
  overflow: hidden;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .buttons__blocks__block {
      width: 100%;
  }
}

img {
	width: 100%;
	display: block;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 1000ms;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
	max-width: 100%;
	width: 70rem;
}

figure {
	margin: 0;
	position: relative;
	overflow: hidden;
}

figure::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 200%;
	height: 200%;
	background: rgba(0, 0, 0, 0.5);
	transform-origin: center;
	opacity: 0;
	transform: scale(2);
	transition: opacity 300ms;
}

figcaption {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	place-items: center;
	text-align: center;
	padding: 1rem;
	color: white;
	font-size: 1.2rem;
	z-index: 1;
	opacity: 0;
	transition: opacity 600ms, transform 600ms;
}

a:is(:hover, :focus) figure::after {
	opacity: 1;
}

a:is(:hover, :focus) figcaption {
	opacity: 1;
	transition: opacity 600ms;
}

@media (prefers-reduced-motion: no-preference) {
	figcaption {
		transform: translate3d(0, 2rem, 0);
	}
	
	figure::after {
		border-radius: 50%;
		opacity: 1;
		transform: scale(0);
		transition: transform 900ms;
	}
	
	a:is(:hover, :focus) figure::after {
		transform: scale(2.5);
	}

	a:is(:hover, :focus) figcaption {
		opacity: 1;
		transform: translate3d(0, 0, 0);
		transition: opacity 600ms 400ms, transform 600ms 400ms;
	}

	a:is(:hover, :focus) img {
		transform: scale(1.2);
	}
}

.gallery {
  margin: 0 auto;
}

@media screen and (max-width: 320px) {
  img {
    width: 280px;
  }
}

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

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: black;
  padding: 10px 10px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

.shop__btn {
  background: #FFA500;
}
