/***** Root Variables *****/
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --primary-bg: #f7fdf9;
  --primary-text: #163d10;

  --secondary-bg: #cbdc98;
  --secondary-text: #488179c1;

  --accent-color: #e9ede7;

  --hover-bg: #dce7c3;
  --active-bg: #b5c178;
  --focus-ring: #a2b267;
}

/***** Global *****/
body {
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: var(--primary-bg);
  color: var(--primary-text);
  font-family: "DM Sans", sans-serif;
}

h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

h1, h2 {
      font-family: "Bree Serif", serif;
}

/***** Back Button *****/
.back-button-container {
  text-align: end;
  margin-top: 50px;
  margin-bottom: 2rem;
}

.back-button {
  background-color: var(--active-bg);
  color: var(--primary-text);
  box-shadow: 2px 2px 4px var(--secondary-text);
  border-radius: 3px;
  width: fit-content;
  padding: 10px;
  margin-right: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.back-button:hover,
.back-button:focus {
  background-color: var(--secondary-text);
  outline: none;
}

.back-button:active {
  border: 2px solid var(--primary-bg);
  border: 2px solid var(--primary-text);
} 

/***** Body of Policy *****/
.privacy-policy {
  width: 60%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: 10px auto 50px;
}

/***** Footer *****/
.footer-wave {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  transform: scaleY(1);
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

footer {
  background-color: var(--secondary-bg);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  text-align: center;
  margin-top: -3px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.brand-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  text-align: center;
}

.logo-container {
  justify-content: flex-start;
}

.footer-logo {
  max-height: 80px;
  width: auto;
}

.social-links {
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
}

.social-links a {
  color: var(--primary-text);
}

.social-links a:hover {
  color: rgba(0, 0, 0, 0.3);
}

.social-links:visited {
    color: var(--primary-text);
}
