:root {
    --accent-color: #F3B932;
    --accent-color-hover: #f33232;
    --nav-font-size: 2.5rem;
    --footer-font-size: 1.5rem;
}

/* Navbar & logo layout */

.nav-title .site-logo {
    display: block;
    height: 80px;
    width: auto;
    border-radius: 8px;
}

.nav-links:hover {
    background: rgba(0,0,0,0.04);
}

@media (max-width: 720px) {
    .nav-navs ul { flex-wrap: wrap; gap: 0.5rem; }
    .nav-title .site-logo { height: 44px; }
}


body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111;
  background-color: #eef1f6;
  background-image: url("/images/20240521_130741.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

main.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.empty-container {
    height: 500px;
}

article.main-content {
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  line-height: 1.75;
}

.home-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.home-image {
  flex: 0 0 33%;
  max-width: 33%;
}

.home-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  animation: home-image-spin 1s ease-out 1;
  transform-origin: center;
}

@keyframes home-image-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.home-content {
  flex: 1 1 0;
}

@media (max-width: 720px) {
  .home-layout {
    flex-direction: column;
  }

  .home-image {
    flex: 0 0 auto;
    max-width: 100%;
  }
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
}

@media (max-width: 720px) {
  main.container {
    padding: 1.5rem 1rem 3rem;
  }

  article.main-content {
    padding: 1.5rem;
  }
}

/* ----------------------------------
   MAIN NAVIGATION
---------------------------------- */
.main-nav {
    background-color: var(--accent-color);
    padding: 12px 1.5rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.nav-title {
    display: flex;
    align-items: center;
    justify-self: start;
}

.main-nav ul li {
    position: relative;
}

.main-nav .menu {
    list-style: none;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    justify-self: center;
}

.main-nav .socials {
    justify-self: end;
}

.main-nav .socials ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav .socials a {
    display: flex;
    align-items: center;
}

.main-nav .menu > .menu-item > a {
    color: #fff;
    text-decoration: none;
    padding: 12px;
    font-weight: 600;
    position: relative;
    white-space: nowrap;
    font-size: var(--nav-font-size);
}

/* Hover state */
.main-nav .menu > .menu-item:hover > a {
    /* background: #a4161a; */
    background: var(--accent-color-hover);
    color: white;
}

.nav-navs {
    background-color: var(--accent-color);;
}


/* ----------------------------------
   FOOTER
---------------------------------- */
footer {
    text-align: center;
    padding: 2rem 1rem;
    background-color: var(--accent-color);
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

footer li {
    display: inline-block;
}

footer .socials img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

footer small {
    color: #555;
}

footer a {
    color: #000;
    text-decoration: none;
}

.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 0;
    min-width: 0;
    font-size: var(--footer-font-size);
    text-align: left;
}

.footer-locations {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.location {
    font-size: var(--nav-font-size);
    text-align: left;
}


/* ----------------------------------
   SOCIAL ICONS
---------------------------------- */


.social {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: unset;
    padding: 0.5vmin;
}

.social > img {
    aspect-ratio: 1/1;
    width: 1.5rem;
    height: auto;
    color: #000000;
    filter: brightness(0) invert(1);
}

.social {
    &:hover {
        & > img {
            filter: invert(0);
        }
        background: var(--accent-color-hover);
    }
}

/* Nav-bar */
.social-nav > img {
    width: var(--nav-font-size);;
}

.social-footer > img {
    width: 3rem;
}