:root {
  --lato-font: Lato, sans-serif;
  --playfair-font: Playfair Display, sans-serif;
  --red-color: #ef4444;
  --gray-h2-color: #78716c;
  --gray-bottom-nav-color: #c7c7c7;
  --gray-container-color: #fafaf9;
  --icons-bg-color: #fee2e2;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--lato-font);
  color: black;
}

#notification {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #30a6a888;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px;
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999999999;
  transition: top 0.5s ease-in-out;
}

#notification.show {
  top: 20px;
}

#notification_message {
  max-width: 400px;
  font-size: 20px;
  margin-left: 20px;
}

header {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  z-index: 99999;
}

#top_nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

#brand {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-left: 20px;
}

nav ul {
  display: flex;
  flex-direction: row;
  margin-right: 20px;
}

nav ul li {
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: black;
  cursor: pointer;
  margin: 10px;
}

#top_nav nav ul li:nth-child(3) a {
  background-color: var(--red-color);
  padding: 15px 50px 15px 50px;
  color: white;
  border-radius: 8px;
}

#bottom_nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: var(--gray-bottom-nav-color);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 260px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  top: 20px;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

#bottom_nav img {
  transform: rotate(-90deg);
  width: 15px;
  height: 15px;
  margin-right: 20px;
  margin-left: 5px;
}

#bottom_nav li {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

main {
  margin: 40px;
  margin-top: 100px;
}

h1 {
  font-size: 70px;
  font-family: var(--playfair-font);
  text-align: center;
  margin-bottom: 0;
}

#dropdown {
  width: 100%;
  background-color: #d9d9d9;
  position: absolute;
  left: 0;
  right: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
}

h2 {
  margin-top: 70px;
  font-size: 18px;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

form input,
form textarea {
  border: none;
  background-color: #f3f4f6;
  padding: 10px;
  border-radius: 8px;
  margin: 10px;
  font-size: 20px;
  font-family: var(--lato-font);
  width: 100%;
}

textarea {
  resize: vertical;
}

form button {
  width: min-content;
  border: 2px solid black;
  background-color: #f3f4f6;
  padding: 10px 80px 10px 80px;
  font-size: 20px;
  border-radius: 20px;
  margin: 20px;
}

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

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

footer nav {
  margin: 40px;
  border-bottom: 2px solid black;
  width: 90%;
  display: flex;
  justify-content: center;
}

footer nav ul {
  display: flex;
  flex-direction: row;
  font-size: 18px;
}

footer nav ul li {
  list-style: none;
}

footer nav ul li a {
  text-decoration: none;
  color: black;
}

#links_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100vw;
}

#links_container .footer_links_container:nth-child(1) a {
  margin: 0 10px 0 10px;
}

.footer_links_container {
  margin: 0 20px 20px 20px;
}

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

#mobile-nav {
  display: none;
}

@media (max-width: 1000px) {
  #brand {
    margin-left: 0;
  }

  #top_nav {
    flex-direction: column;
  }

  #desktop-menu {
    display: none;
  }

  #mobile-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(10px);
  }

  #our_products_mobile {
    border: none;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    padding: 20px;
    color: black;
  }

  #mobile-nav ul {
    list-style-type: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0;
    margin: 0;
  }

  #mobile-nav .dropdown {
    margin: 10px 0 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #mobile-nav .dropdown-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
  }

  #mobile-nav .dropdown-content a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: black;
    background-color: #f9f9f9;
  }

  #mobile-nav .dropdown-content a:hover {
    background-color: #e9e9e9;
  }

  #mobile-nav .dropdown.active .dropdown-content {
    max-height: 500px !important;
    display: flex !important;
    flex-direction: column !important;
  }

  #bottom_nav img {
    margin-top: 0;
  }

  main {
    margin: 20px;
    margin-top: 150px;
  }

  h2 {
    margin-top: 90px;
  }

  #notification_message {
    width: 70vw;
  }
}
