*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

nav ul {
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.5;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

header,
main,
footer {
  max-width: 1024px;
  margin: auto;
}

.center {
  text-align: center;
}

h2 {
  font-size: xx-large;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

nav ul {
  width: min(1024px, 100%);
  margin-inline: auto;
  padding: 0.5rem 0;
}

nav {
  background-color: #eee;
}

nav li {
  text-align: center;
  flex-basis: 50%;
}

.pro-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  margin-bottom: 5rem;
}

@media (min-width: 1024px) {
  nav li {
    flex-basis: auto;
  }

  .pro-container {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 5rem;
  }
}

header {
  position: relative;
}

.language {
  position: absolute;
  top: 0;
  right: 0;
}

#backToTop {
  position: fixed;
  right: 10px;
  bottom: 10px;
}

a {
  color: #333;
}

h3 {
  border-bottom: 1px solid;
  padding: 5px 0;
}

.current {
  /* background-color: yellowgreen; */
  text-decoration: underline;
}

p,
ul,
ol {
  line-height: 1.8;
}

/* nav {
  position: sticky;
  top: 0;
  z-index: 5;
} */

.product-btn {
  background-color: pink;
  padding: 5px;
}

.product-status-1 {
  position: relative;
}

.product-status-1::before {
  content: "SOLD OUT";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 2.5rem;
  font-weight: bold;
  background-color: red;
  padding: 1rem;
}

.product h2 {
  border-bottom: 2px solid;
}
