@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Global */

:root {
  --dark: #000;
  --light-dark: #333;
  --light: #fff;
  --blue: #6fbeff;
  --pink: #e9cae9;
  --bg: #e4e4e4;
}

* {
  padding: 0;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  z-index: 1;
  background-color: var(--bg);
  position: relative;
}

h1 {
  font-size: 1.8rem;
  margin: 1rem;
}

h2 {
  font-size: 1.2rem;
  font-weight: 500;
}

.header {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.header > .info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--pink);
  font-weight: 500;
  text-align: center;
  padding: 1rem 0;
  width: 100%;
  box-sizing: content-box;
}

.header > .info p {
  max-width: 90%;
}

.header > .navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 7rem;
  background: var(--light);
  box-sizing: border-box;
  padding: 2rem;
}

.header > .navbar > .navbar-options {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.header > .navbar > .navbar-options > .pages {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.header > .navbar > .navbar-options > .pages > ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.header > .navbar > .navbar-options > .pages > ul > li {
  padding: 0.6rem;
  text-align: center;
}

.header > .navbar > .navbar-options > .pages > ul > li > a {
  text-decoration: none;
  color: var(--light-dark);
}

.header > .navbar > .navbar-options > .pages > ul > li > a:hover {
  text-decoration: underline;
}

/* Dropdown */

.dropdown {
  float: left;
  overflow: hidden;
}

.dropbtn i {
  margin-left: 0.2rem;
}

.dropdown .dropbtn {
  border: none;
  outline: none;
  color: var(--light-dark);
  padding: 1rem 0;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: var(--light-dark);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a.disabled {
  cursor: not-allowed;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  text-decoration: underline;
}

.dropdown-content a:not(disabled):hover {
  background-color: #ddd;
  color: var(--dark);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.header > .navbar > .logo {
  width: 10rem;
}

.header > .navbar > .navbar-options > .header-buttons {
  margin: 0 0 0 1rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.carrinho-menu-container {
  position: relative;
}

.carrinho-menu-container span {
  position: absolute;
  top: -20%;
  right: -10%;
  padding: 0.35rem;
  background: var(--blue);
  border-radius: 1rem;
  height: 1.5rem;
  width: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

.header > .navbar > .navbar-options > .header-buttons button {
  width: 2rem;
  height: 2rem;
  margin: 0 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--light-dark);
  transition: color .4s linear;
}

.header > .navbar > .navbar-options > .header-buttons button:hover {
  color: var(--dark);
}

.header > .navbar > .navbar-options > .header-buttons button > i {
  font-size: 1.2rem;

}

.header > .navbar > .logo > a > img {
  height: 4rem;
}

#menu-btn {
  display: none;
  height: 3rem;
  width: 3rem;
  color: var(--light-dark);
  background: transparent;
  border: 2px solid var(--light-dark);
  border-radius: 0.2rem;
}

#menu-btn > i {
  font-size: 1.4rem;
}

.container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 2rem;
  background: var(--light);
}

.footer {
  width: 100%;
  background: var(--light-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--light);
  text-align: center;
  height: 5rem;
}

.footer a {
  text-decoration: none;
  color: var(--light);
}

.footer a:hover {
  text-decoration: underline;
}

/* Modal */
.modal-overlay {
  width: 100%;
  height: 100%;

  background-color: rgba(0, 0, 0, 0.7);

  position: fixed;
  top: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.modal-overlay.modal-active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #f0f2f5;
  padding: 2.4rem;
  width: 90%;
  max-width: 600px;

  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  border-radius: 0.25rem;
}

.modal > * {
  margin: 0.5rem;
}

.modal-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.modal-container > * {
  margin: 0.5rem;
}

.modal-container p {
  font-size: 1.2rem;
}

.modal-btn {
  height: 3rem;
  width: 100%;
  max-width: 13rem;
  background: var(--dark);
  border: 1px solid var(--dark);
  color: var(--light);
  border-radius: 0.2rem;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
.modal-btn {
    transition: all .2s ease;
  }

.modal-btn:hover {
    border: 1px solid var(--dark);
    color: var(--dark);
    background: var(--light);
  }
}

@media only screen and (max-width: 850px) {
  * {
    font-size: 14px;
  }

  .header > .navbar {
    flex-direction: column;
    height: initial;
  }

  .header > .navbar > .logo > a > img {
    height: 6rem;
  }

  .header > .navbar > .navbar-options {
    flex-direction: column;
    display: none;
  }

  .header > .navbar > .navbar-options > .header-buttons {
    margin: 2rem;
  }

  .header > .navbar > .navbar-options > .pages > ul {
    flex-direction: column;
  }

  #menu-btn {
    display: block;
  }

  .responsive {
    display: flex !important;
  }

  ​.dropdown {
    float: none;
  }

  .dropdown-content {
    position: relative;
  }

  .dropdown-content a {
    text-align: center;
  }

  .dropdown .dropbtn {
    display: block;
    width: 100%;
  }
}