@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "roboto", sans-serif;
  font-style: normal;
}

.flag-link {
  display: flex;
  gap: 4px;
  justify-content: center;
  align-items: center;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.logo {
  text-decoration: none;
}

header {
  width: 100vw;
  border-bottom: 1px solid #ccc;
  background-color: #fff;
}

header p {
  font-weight: bold;
  font-size: 1.25rem;
  color: rgb(135, 63, 8);
}

header div {
  max-width: 1000px;
  padding: 1.25rem 0.5rem;
  margin: auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media only screen and (max-width: 764px) {
  header div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  header nav {
    flex-wrap: wrap;
  }

  .review-box {
    flex-direction: column;
  }
}

header nav {
  display: flex;
  gap: 1rem;
}

header nav a {
  text-decoration: none;
  color: rgb(135, 63, 8);
}

header nav a:hover {
  text-decoration: underline;
}

.review main {
  max-width: 800px;
  padding: 2rem 0.5rem;
  margin: auto;
}

section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

article img {
  margin-left: auto;
  margin-right: auto;
}

.hero-container {
  background-color: rgb(135, 63, 8);
}

.hero * {
  color: #fff;
}

.hero {
  max-width: 900px;
  padding: 2rem 0.5rem;
  margin: auto;
}

.reviews {
  max-width: 800px;
  margin: auto;
  padding: 2rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.review-box {
  display: flex;
  gap: 2rem;
  justify-content: flex-start;
  align-items: center;
  background-color: #eee;
  width: 100%;
  padding: 2rem;
  border-radius: 2px;
}

.review-box p {
  margin: 6px 0;
  color: #333;
}

.review-box img {
  max-width: 250px;
  border-radius: 2px;
}

.review-box a {
  background-color: rgb(135, 63, 8);
  color: #fff;
  padding: 0.75rem 1.25rem;
  display: block;
  border-radius: 2px;
  margin-top: 1rem;
  text-decoration: none;
  transition: opacity 0.2s;
  width: max-content;
}

.review-box a:hover {
  opacity: 0.9;
}

.review-box h2 {
  font-size: 2rem;
}

footer {
  background-color: #f5f5f5;
  border-top: 1px solid #ccc;
  padding: 1rem;
  text-align: center;
}

.stars span {
  font-size: 24px;
  color: #ccc; /* Gray color for inactive stars */
  position: relative;
}

.stars .active {
  color: gold; /* Gold color for active stars */
}

.stars .half:before {
  content: "\2605"; /* Unicode for the star */
  color: gold;
  position: absolute;
  width: 50%; /* Half-star width */
  overflow: hidden;
}

.flag-switcher {
  width: 20px !important;
}
