:root {
  --background-color: #f6efe8;
  --primary-color: #e6b7b2;
  --secondary-color: #4b2e2b;
}

body {
  margin: 0;
  height: 100%;
}

h1,
h2,
h3 {
  font-family: "Nunito", sans-serif;
}

* {
  font-family: "Roboto", sans-serif;
  box-sizing: border-box;
}

/*----------------HEADER GLOBAL----------------*/
.bar {
  display: block;
  height: 3px;
  width: 100%;
  background-color: black;
  border-radius: 25px;
}
.hamburger-menu {
  background: none;
  padding: 0;
  border: none;
  width: 2.5rem;
  height: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 4px;
}
nav {
  display: none;
}
nav ul {
  padding: 0;
}

nav li {
  list-style: none;
}
nav a {
  text-decoration: none;
  color: black;
}

nav a:hover {
  text-decoration: underline;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 1rem;
  box-shadow: 0px 0 10px #868686;
}
nav.open {
  display: block;
  position: absolute;
  text-align: center;
  top: 0;
  right: 0;
  left: 0;
  background: var(--primary-color);
  line-height: 1.7rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.close-menu-button {
  font-size: 1.2rem;
  background: none;
  border: none;
  color: black;
}

.hidden {
  display: none;
}

#greet-user {
  font-size: 0.9rem;
  font-weight: 700;
  margin-right: 0.5rem;
}

@media (min-width: 768px) {
  nav {
    display: flex;
  }

  nav li {
    display: inline-block;
    padding: 0 1rem;
    font-size: 1.25rem;
  }
  .hamburger-menu {
    display: none;
  }
  .close-menu-button {
    display: none;
  }
  #greet-user {
    font-size: 1rem;
  }
}

@media (min-width: 992px) {
  header {
    padding: 0 5rem;
  }
  #greet-user {
    font-size: 1.125rem;
  }
}
@media (min-width: 1400px) {
  header {
    padding: 0 10rem;
  }
}

/*----------------MAIN CONTENT GLOBAL----------------*/
h1 {
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.primary-button {
  margin: 0 auto 0.5rem;
  padding: 0.4rem 4.3rem;
  background-color: var(--primary-color);
  color: black;
  border: none;
  border-radius: 5%;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.primary-button:hover,
.carousel-button:hover {
  background-color: #8a6d6a;
  color: white;
}

a {
  text-decoration: none;
  color: black;
}

.success-message {
  color: #1b5e03;
}

/*----------------FOOTER GLOBAL----------------*/
.site-content {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.social-media,
.tagline {
  color: var(--secondary-color);
}
footer {
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.social-media-icons {
  display: flex;
  gap: 1.5rem;
  font-size: 1.5rem;
}
.social-media {
  text-align: center;
}
.line-divider-mobile {
  background-color: var(--secondary-color);
  height: 1px;
  width: 93%;
  margin-top: 1rem;
}
.footer-logo a {
  display: flex;
  justify-content: center;
}
.footer-logo img,
.header-logo img {
  width: auto;
  height: 8rem;
}
.tagline {
  text-align: center;
  width: 12rem;
  margin-bottom: 1rem;
}
.tagline p {
  margin: 0;
}

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

  .tagline {
    order: 3;
    font-size: 1.25rem;
    margin-bottom: 0;
  }
  .social-media {
    order: 5;
  }
  .line-divider-mobile {
    display: none;
  }
  .line-divider-1,
  .line-divider-2 {
    background-color: var(--secondary-color);
    height: 55%;
    width: 1px;
  }
  .line-divider-1 {
    order: 2;
  }
  .line-divider-2 {
    order: 4;
  }
  .social-media h3 {
    margin-top: 0;
  }
  .social-media {
    padding-right: 1rem;
  }
}
@media (min-width: 992px) {
  footer {
    padding: 1rem 8rem;
  }
}
@media (min-width: 1400px) {
  footer {
    padding: 1rem 20rem;
  }
}
