/* VARIABLES */

:root {
  --primary-color: #b85c38;
  --light-color: #faf7f0;
  --dark-color: #222222;
}

/* RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
}

/* HEADER */

.navbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  background-color: var(--light-color);
}

.navbar a {
  color: var(--dark-color);
  text-decoration: none;
}

.navbar > a {
  font-size: 1.2rem;
  font-weight: bold;
}

.navbar a:hover {
  color: var(--primary-color);
}

.navbar a[aria-current="page"] {
  color: var(--primary-color);
  font-weight: 600;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

.navbar-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* FOOTER */

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  color: var(--light-color);
  text-align: center;
  background-color: var(--dark-color);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.footer-contacts a {
  color: var(--light-color);
  font-weight: bold;
  text-decoration: none;
}

.footer-contacts a:hover {
  color: var(--primary-color);
}

.footer-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links img {
  width: 2rem;
}

footer > p {
  margin: 1rem 0 0;
  font-size: 0.75rem;
}

/* RESPONSIVE */

@media (min-width: 768px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 2rem;
  }

  .footer-content {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  footer {
    padding: 1rem 2rem;
  }

  .footer-address,
  .footer-contacts,
  .footer-socials {
    flex: 1;
  }
}
