* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
}

body {
  background-color: rgb(190, 190, 190);
  font-size: 1.2rem;
}

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  text-align: center;
}

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

.overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(150, 150, 150, 0.7);
  z-index: -1;
}

.hero-content {
  padding-top: 10vh;
}

.logo {
  max-width: 80%;
  height: auto;
}

.navigation {
  padding: 2rem;
  padding-bottom: 6rem;
}

.navigation ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.navigation a {
  color: black;
  text-decoration: none;
  font-size: 2.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.navigation a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .navigation ul {
    flex-direction: column;
    gap: 1rem;
  }
}

.heading-text {
  color: rgb(133,111,80);
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.carousel-p {
  text-align: center;
}

.carousel-footer {
  text-align: end;
}

.tile {
    width: 50vw;
}

.tile-description {
    font-size: 10pt;
    text-align: center;
}

.content {
  position: relative;
  z-index: 1;
  padding-left: 20px;
  padding-right: 20px;
  color: #333;
}

.offer-box {
  background-color: transparent;
  height: 12em;
  width: 12em;
  -webkit-perspective: 1000px;
  perspective: 1000px;
}

.offer-box-inner {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 12em;
  width: 12em;
  background: rgb(190, 190, 190) 0% 0% no-repeat padding-box;
  box-shadow: 0px 3px 6px #00000029;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.offer-box:hover .offer-box-inner {
  transform: rotateY(180deg);
}

.offer-box:last-child {
  margin-right: 0;
}

.front, .back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.back {
  padding: 1em 0.4em 1em 0.4em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff 0% 0% no-repeat padding-box;
  box-shadow: 0px 3px 6px #00000029;
  text-align: center;
  transform: rotateY(180deg);
  -webkit-perspective: 900000px;
  perspective: 900000px;
}

.back-header {
  font-weight: bold;
}

.offer-box:hover .back {
  opacity: 1;
  transition: opacity 0.5s;
}

.offer-box-img-wrapper {
  height: 5em;
}

.back-description {
  font-size: 1em;
}

@media only screen and (max-width: 993px) {
  .offer-box {
    height: 12em;
    width: 14em;
  }
  .offer-box-inner {
    height: 12em;
    width: 14em;
  }
  .back-description {
    font-size: 14px;
  }

  .brand-logo {
    height: 50px;
  }
}

@media only screen and (max-width: 768px) {
  .offer-box:hover .offer-box:active .offer-box-inner {
    transform: rotateY(180deg);
  }
}

.contact-link {
  color: black;
  text-decoration: none;
}

.ctrl {
  border: 3px solid black;
  border-radius: 0;
  background-color: rgb(190, 190, 190);;
}

.ctrl::placeholder {
  color: black;
}

.send-btn {
  background-color: rgb(133,111,80);
  border: none;
  width: 7em;
  height: 3em;
}

.send-btn:click {
  background-color: rgb(133,111,80);
}

.footer-background {
  background-color: rgb(146, 146, 151);
}