: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;
}

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: 17px;
}

.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: 140px;
}

main #article_1 {
  display: flex;
  flex-direction: row;
  align-items: center;
}

main #article_1 aside img {
  height: 90vh;
  border-radius: 40px;
}

main #article_1 {
  margin: 20px;
}

main #article_1 section {
  display: flex;
  flex-direction: column;
  margin: 10px;
  margin-left: 20px;
}

main #article_1 section h1 {
  font-size: 70px;
  font-weight: 700;
  font-family: var(--playfair-font);
  color: black;
  margin-bottom: 0;
  margin-top: 0;
}

main #article_1 section h2 {
  font-size: 20px;
  font-weight: 400;
  margin-top: 0;
  text-align: left;
  width: 100%;
  color: var(--gray-h2-color);
}

main #article_1 section a {
  background-color: var(--red-color);
  padding: 15px 50px 15px 50px;
  border-radius: 8px;
  text-align: center;
  color: white;
  text-decoration: none;
  width: fit-content;
}

#article2-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#article2-container a {
  text-decoration: none;
  cursor: pointer;
}

.article2-block {
  background-color: var(--gray-container-color);
  border-radius: 20px;
  padding: 20px;
  margin: 20px;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s ease-in-out;
  color: black;
}

.article2-block:hover {
  transform: scale(1.05);
}

.article2-block img {
  border-radius: 20px;
  margin: 15px;
  height: 200px;
  width: auto;
}

main #article_2 {
  text-align: center;
}

main #article_2 h1 {
  font-family: var(--playfair-font);
  font-size: 30px;
}

main #article_2 h2 {
  color: var(--gray-h2-color);
  font-size: 15px;
}

main #article_3 {
  margin: 50px 100px 100px 100px;
}

main #article_3 h1:nth-child(1) {
  color: var(--red-color);
  font-size: 25px;
  margin-bottom: 0;
  font-family: var(--playfair-font);
}

main #article_3 h1:nth-child(2) {
  font-size: 35px;
  margin-top: 10px;
  font-family: var(--playfair-font);
}

main #article_3 div {
  width: 100%;
  display: flex;
  justify-content: center;
}

main #article_3 div a {
  color: white;
  background-color: var(--red-color);
  border-radius: 8px;
  padding: 20px 50px 20px 50px;
  text-decoration: none;
}

main #article_4 {
  text-align: center;
}

main #article_4 h1 {
  font-size: 50px;
  font-weight: 900;
  margin: 0;
}

main #article_4 h2 {
  font-size: 15px;
  color: var(--red-color);
  margin-bottom: 0;
}

main #article_4 h3 {
  color: var(--gray-h2-color);
  font-weight: 300;
}

#container_icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.container_icons {
  flex: 1 1 30%;
  margin: 15px;
}

.container_icons img {
  height: 30px;
  width: 30px;
  background-color: var(--icons-bg-color);
  border-radius: 50%;
  padding: 10px;
}

.container_icons h1 {
  font-size: 28px !important;
  font-weight: 300 !important;
}

.container_icons h2 {
  font-size: 18px !important;
  color: var(--gray-h2-color) !important;
  font-weight: 300 !important;
}

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: 800px) {
  .container_icons {
    flex: 1 1 48%;
  }
}

@media (max-width: 480px) {
  .container_icons {
    flex: 1 1 100%;
  }
}

@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;
  }

  main #article_1 section h1 {
    padding: 20px;
    font-size: 50px;
  }

  #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: 200px;
  }

  main article {
    display: flex !important;
    flex-direction: column !important;
  }

  main #article_1 {
    flex-direction: column-reverse !important;
    text-align: center;
  }

  main #article_1 section {
    align-items: center;
    text-align: center;
  }

  main #article_1 section h2 {
    text-align: center;
  }

  main #article_1 aside img {
    height: 50vh;
    width: auto;
  }

  #article2-container {
    flex-direction: column;
  }

  main #article_3 {
    margin: 0;
  }
}
