@font-face {
  font-family: "FeelingPassionate";
  src: url(/icon/webfonts/FeelingPassionate.otf) format("openType");
}

@font-face {
  font-family: "rumble";
  src: url(/icon/webfonts/Rumble.otf) format("openType");
}

nav h1 {
  font-family: "FeelingPassionate";
  font-size: 2.5rem;
  width: 100%;
  height: auto;
  max-width: 375px;
  font-weight: bolder;
}

header {
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

html {
  scroll-behavior: smooth;
  font-size: 80%;
  scroll-padding-top: 5.5rem;
  overflow-x: hidden;
}

body {
  align-self: center;
  width: 100%;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  background: var(--primary-colour);

  a {
    text-decoration: none;
    &:hover {
      opacity: 1;
    }
  }
}

:root {
  --primary-colour: #191919;
  --secondary-colour: hsl(233 80% 70%);

  --star-colour: hsl(38 90% 55%);
}

section {
  padding: 3rem;
}

header nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

header nav span {
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}
section h1 {
  text-shadow: 2px 1px #e6b325;
  white-space: nowrap;
  text-overflow: ellipsis;
}

 {
  box-sizing: border-box;
}

.buttons-con {
  margin-left: 5px;
}

.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  margin: auto;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 2fr);
  max-width: 960px;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
  flex-direction: column;
}

.container:hover {
  background: rgb(73, 45, 0);
  transition: 0.3s;
}

h2 {
  color: #61481c;
  text-shadow: 2px 1px #e6b325;
  font-size: 6em;
  font-weight: 500;
  font-family: "rumble";
  letter-spacing: 5px;
  line-height: 75px;
  margin-bottom: 40px;
  text-align: center;
  padding: 15px;
}

h3 {
  color: #0000;
  text-shadow: 2px 1px #fff;
  font-size: 2em;
  font-weight: 500;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  letter-spacing: 5px;
  line-height: 75px;
  margin-bottom: 40px;
  text-align: center;
  padding: 15px;
}

.image:hover {
  transform: scale(1.3);
  z-index: 1;
}

.rating-box {
  position: relative;
  background: #fff;
  padding: 25px 50px 20px;
  border-radius: 25px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  margin: auto;
  width: 100%;
  max-width: 400px;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 40px;
  transform: rotateY(180deg);
}

.rating-box header {
  color: #dadada;
  font-weight: 500;
  text-align: center;
  transform: rotateY(180deg);
  margin-bottom: 15px;
  font-size: 25px;
}

.rating-box .rating_box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 0.5em;
  width: 100%;
  height: 100%;
}

.rating-box .rating_box input {
  display: none;
}

.rating-box .rating_box label {
  width: 20%;
  aspect-ratio: 1;
  cursor: pointer;
}

.rating-box .rating_box label .star-stroke {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: var(--secondary-colour);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.rating-box .rating_box label .star-stroke .star-fill {
  width: 70%;
  aspect-ratio: 1;
  background: var(--primary-colour);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.rating-box .rating_box input:hover ~ label .star-stroke,
.rating-box .rating_box input:checked ~ label .star-stroke {
  background: var(--star-colour);
}

.rating-box .rating_box input:checked ~ label .star-stroke .star-fill {
  background: var(--star-colour);
}

.rating-box .rating_box label:hover .label-description::after {
  content: attr(data-content);
  position: fixed;
  left: 0;
  right: 0;

  margin-top: 1em;
  margin-inline: auto;

  width: 100%;
  height: 2em;

  color: goldenrod;

  text-align: center;
  font-size: 2rem;
  transform: rotateY(180deg);
  font-weight: 500;
  margin-top: 20px;
  text-align: center;
  font-style: italic;
}

.pagination {
  margin-left: 44rem;
  margin-right: 44rem;
}

// cake
/*
.stars input {
  display: none;
}
.stars label {
  font-size: 40px;
  color: #444;
  float: right;
}

.star input:not(:checked) ~ label:hover {
  color: #fd4;
}

.star input:(:checked) ~ label:hover {
  color: #fd4;
}

.stars i {
  color: #e6e6e6;
  font-size: 35px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.stars i.active {
  color: #ff9c1a;
}

.stars i:hover {
  color: #e6b325;
}

.rating-box .comment {
  font-size: 18px;
  color: #dadada;
  font-weight: 500;
  margin-top: 20px;
  text-align: center;
  font-style: italic;
} */

@media screen and (max-width: 964px) {
  .container {
    margin: 0 auto;
    width: 90%;
    margin-top: 2rem !important;
  }
}

@media screen and (max-width: 700px) {
  .container {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem !important;
  }
  .map iframe {
    height: 400px;
  }
}

//

@media screen and (max-width: 690px) {
  .container {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem !important;
  }
  .map iframe {
    height: 400px;
  }
}
