@font-face {
  font-family: "Allura";
  src: url(./fonts/Allura-Regular.ttf);
}

.stars .material-symbols-outlined {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
a {
  color: var(--third-color);
  text-decoration: none;
}
:root {
  --primary-color: rgb(98, 117, 118);
  --secondary-color: rgb(255, 255, 255);
  --third-color: rgb(10, 169, 39);
}
body {
  width: 100%;
  overflow-x: hidden;
}

/* ------------------------   header styles ------------------------ */

header {
  display: flex;
  flex-direction: row;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  font-size: 42px;
  background-color: black;
  color: var(--third-color);
  z-index: 3;
}
header a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  z-index: 2;
}
#menuButton {
  position: fixed;
  right: 20px;
  top: 10px;
  width: 40px;
  height: 40px;
  outline: none;
  border: none;
  background: black;
  z-index: 3;
}
#menuButton span {
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--third-color);
  transform: translate(-50%, -50%);
  transform-origin: center !important;
  width: 30px;
  height: 3px;
  transition: transform 0.5s;
}

#topBar {
  transform: translateY(-11px) !important;
}
#topBar.close {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}
#middleBar {
  transform: translateY(-50%) !important;
}
#middleBar.close {
  transform: translateY(-50%) scale(0) !important;
}
#bottomBar {
  transform: translateY(8px) !important;
}
#bottomBar.close {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}
nav {
  background-color: black;
  color: var(--third-color);
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  left: 0;
  bottom: 0;
  transform: translateX(100%);
  transition: transform 0.5s ease-in-out;
}
nav.visible {
  transform: translateX(0);
}
header > nav > ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
header > nav > ul > li {
  display: block;
  padding: 15px;
  width: 75vw;
  text-align: center;
  color: var(--third-color);
  border-bottom: 1px solid var(--third-color);
}
header > nav > ul > li:last-child {
  border-bottom: none;
}

/* ------------------------   main section styles ------------------------ */

main {
  color: var(--primary-color);
  font-size: 28px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  z-index: 2;
  margin-top: 60px;
}
#mainPhoto {
  background: no-repeat url(imgs/main1.jpg) center / cover;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  color: white;
}
@keyframes appear {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#mainPhoto::before {
  content: "";
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}
#mainPhoto h1 {
  padding: 5px;
  text-align: center;
  margin-bottom: 30px;
  z-index: 2;
  opacity: 0;
  animation: appear 2s forwards;
}

#mainPhoto p {
  text-align: center;
  font-size: 18px;
  padding: 10px;
  z-index: 2;
  opacity: 0;
  animation: appear 2s 0.3s forwards;
}
#mainPhoto a {
  text-decoration: none;
  z-index: 3;
  margin-top: 20px;
  z-index: 2;
  width: 35%;
  min-width: 100px;
  opacity: 0;
  animation: appear 2s 0.6s forwards;
}

#mainPhoto a button {
  z-index: 3;
  background-color: var(--third-color);
  color: var(--secondary-color);
  outline: none;
  border: none;
  cursor: pointer;
  height: 40px;
  width: 100%;
  padding: 5px;
  border-radius: 40px;
  font-size: 16px;
}

/* ------------------------   description styles ------------------------ */
#description,
#offer,
#pricelist,
#contact,
#reviews {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: white;
  color: var(--third-color);
}
#pricelist,
#description,
#offer {
  margin-bottom: 30px;
}
#reviews {
  width: 300%;
  flex-direction: row;
  overflow: hidden;
  animation: slider 10s infinite;
}
@keyframes slider {
  0% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(33%);
  }
  90% {
    transform: translateX(33%);
  }
  100% {
    transform: translateX(0);
  }
}
.review {
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 60vh;
  width: 100%;
}

.review p,
.review div {
  display: block;
  text-align: center;
  font-size: 14px;
  padding: 10px;
  margin-right: 30px;
  margin-left: 30px;
}

#description h1,
#offer h1,
#pricelist h1,
#contactForm h1 {
  padding: 20px 20px 20px 20px;
  text-align: center;
  font-family: Allura;
  opacity: 0;
  transition: all 1s;
}
#description.visible h1,
#offer.visible h1,
#pricelist.visible h1,
#contactForm.visible h1 {
  opacity: 1;
}
#description p,
#offer p,
#pricelist p {
  font-size: 14px;
  text-align: center;
  padding: 0px 40px 20px 40px;
  display: block;
  opacity: 0;
  transition: opacity 1s;
}
#description.visible p,
#offer.visible p,
#pricelist.visible p {
  opacity: 1;
}

#contactForm {
  width: 100%;
  background-color: black;
}
#contactForm h1 {
  border-bottom: 1px solid var(--third-color);
}

#form {
  width: 100%;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  background-color: black;
  color: var(--third-color);
  padding-top: 10px;
}
#form input {
  position: relative;
  width: 80vw;
  height: 30px;
  border-radius: 30px;
  border: none;
  padding: 10px;
  background-color: var(--secondary-color);
  color: var(--third-color);
}

#form input:focus {
  outline: none;
}
#form label {
  font-size: 15px;
  text-align: center;
  display: block;
  padding: 10px;
}
#form button {
  width: 40vw;
  height: 30px;
  border-radius: 30px;
  background-color: var(--third-color);
  color: var(--secondary-color);
  font-size: 15px;
  padding: 5px;
  margin-bottom: 30px;
  margin-top: 30px;
  outline: none;
  border: none;
}
#map {
  width: 100%;
  height: 80vh;
  margin-bottom: 30px;
}
#contactInfo,
.contactTab,
.contactIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.contactTab {
  padding: 10px;
}
.contactIcon {
  padding: 10px;
  margin-bottom: 10px;
  height: 40px;
  width: 40px;
  border-radius: 40px;
  background-color: black;
  opacity: 0;
  transition: opacity 2s;
}
.contactTab.visible .contactIcon,
.contactTab.visible p,
.contactTab.visible a {
  opacity: 1;
}

.contactTab a,
.contactTab p {
  display: block;
  font-size: 12px;
  opacity: 0;
  transition: opacity 2s;
}
footer {
  width: 100%;
  margin-top: 30px;
  text-align: center;
}

footer p {
  padding: 30px;
  font-size: 24px;
  color: var(--third-color);
  background-color: black;
}

/* gallery */
#gallery {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 70vh;
}
#gallery span {
  display: block;
}
.leftArrow,
.rightArrow {
  width: 30px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  z-index: 1;
  color: white;
  cursor: pointer;
}
.leftArrow:hover,
.rightArrow:hover {
  background-color: rgba(0, 0, 0, 1);
  cursor: pointer;
}

.leftArrow {
  left: 0;
}
.rightArrow {
  right: 0;
}
.container {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}

.slide > img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
}

@media screen and (min-width: 768px) {
  #menuButton {
    display: none;
  }
  nav {
    font-size: 22px;
    transform: translateX(0);
    height: 60px;
    width: 100%;
    top: 0;
    right: 0;
    justify-content: right;
  }
  nav ul {
    width: 70%;
    height: 60px;
    display: flex;
    flex-direction: row !important;
    overflow: hidden;
    justify-content: right !important;
    margin-right: 40px;
  }
  nav ul li {
    width: 10vw !important;
    padding: 5px !important;
    border-bottom: none !important;
    transition: all 0.2s ease-in-out;
  }
  nav ul li:first-child {
    position: relative;
  }
  .currentLi {
    position: absolute;
    left: 0;
    bottom: 0;
    display: block;
    height: 5px;
    width: 100%;
    background-color: var(--third-color);
    z-index: 2000;
    transition: all 0.2s ease-in-out;
  }
  nav ul li:hover {
    cursor: pointer;
    background-color: var(--third-color);
  }
  nav ul li:hover a {
    color: black;
  }
  #description p,
  #offer p,
  #pricelist p {
    width: 60%;
    font-size: 18px;
  }
  #contactInfo {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    width: 80%;
  }
  .contactTab {
    width: 30%;
  }
  .contactTab p,
  .contactTab p a {
    font-size: 14px;
    text-align: center;
  }
  .contactIcon {
    padding: 20px;
    margin-bottom: 20px;
    height: 70px;
    width: 70px;
    border-radius: 70px;
  }
  .contactIcon span {
    font-size: 28px;
  }
}
@media screen and (min-width: 962px) {
  .review p,
  .review div {
    max-width: 50%;
  }

  #contact {
    flex-wrap: wrap;
    flex-direction: row;
    align-items: start;
  }
  #contactForm {
    width: 50%;
    height: 80vh;
    margin-top: 0;
  }
  #map {
    margin-top: 0;
    height: 80vh;
    width: 50%;
  }
  #form input {
    width: 60%;
  }
  #form button {
    width: 40%;
  }
}
