:root {
  --color-important: #ffedbdc7;
  --color-primary: #825429;
  --color-secondary: #2c6e49;
}

html {
  background-color: whitesmoke;
}
body {
  background-color: white;
  font-family: Times, serif !important;
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0px auto;
  padding: 2rem;
  line-height: 1.5rem;
}
hgroup {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  h4 {
    width: 30%;
  }
}
nav {
  position: sticky;
  top: 0;
  z-index: 1312;
  background-color: white;
  padding-top: 1rem;
  menu {
    font-size: 1.4rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0px;
  }
  menu > li {
    list-style: none;
  }
}
main {
  display: flex;
  flex-direction: column;
  gap: 10rem;
  article {
    padding-top: 6rem;
  }
}
h1 {
  color: var(--color-primary);
  line-height: 2rem;
}
h2,h3,h4,h5,h6,a {
  color: var(--color-secondary);
}
a {
  text-underline-offset: 4px;
  font-weight: bold;
  &:hover {
    text-underline-offset: 7px;
  }
}
footer {
  margin-top: 13rem;
}

#important-info {
  padding: 15px 20px;
  background-color: var(--color-important);
  font-weight: 600;
}

#about {
  img {
    max-width: 100%;
    height: 25rem;
    object-fit: contain;
  }
}

#contact {
  display: flex;
  flex-wrap: wrap;
  h2 {
    width: 100%;
  }
  div {
    width: 50%;
  }
}

#baner {
  width: 100%;
}

#copyleft {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 9rem;
  aspect-ratio: 1/1;
}

.menu-single-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0px;
  li {
    list-style: none;
    margin: 0px;
    margin-top: 1rem;
    width: auto;
  }
  li > a {
    background-color: var(--color-primary);
    color: white;
    border-radius: 20px;
    padding: 1rem;
  }
}

.center {
  display: flex;
  justify-content: center;
}

@media screen and (width <= 600px) {
  hgroup {
    scale: 0.9;
    flex-wrap: wrap;
    gap: 0.3rem;
    img {
      width: 30% !important;
    }
    h1 {
      width: 60%;
      font-size: 1.6rem;
    }
    h4 {
      width: 100%;
    }
  }
  nav > menu {
    flex-wrap: wrap;
    font-size: 1.2rem;
  }

  #contact {
    flex-direction: column;
    div {
      width: 100%;
    }
  }
}
