.header {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 40px;
  margin-top: 20px;
}
@media screen and (min-width: 700px) {
  .header {
    align-items: flex-end;
    justify-content: space-between;
    flex-direction: row;
  }
}

.menu {
  display: flex;
  flex-direction: column;
  width: calc(2em + 100%);
  margin-left: -1em;
}
.menu li {
  border-top: 1px solid #ddd;
}
.menu a {
  padding: 0.5em 1em;
  display: inline-block;
}
.menu a.active {
  color: #ccc;
}

@media screen and (min-width: 700px) {
  .header {
    width: 700px;
  }
  .menu {
    gap: 1em;
    flex-direction: row;
    border-top: 0;
  }
  .menu li {
    border-top: none;
  }
  .menu a {
    padding: 0;
  }
}
:root {
  --light-grey: #eee;
  --dark-grey: #555;
  --almost-black: #111;
}

.footer {
  font-size: 0.875em;
  margin-bottom: 40px;
  margin-top: 50px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media screen and (min-width: 420px) {
  .footer {
    flex-direction: row;
  }
}
.footer .languages {
  display: flex;
  flex-direction: column;
}
.footer .languages ul {
  display: flex;
  gap: 10px;
}
.footer p {
  margin: 0;
}

@media screen and (min-width: 720px) {
  .footer {
    width: 700px;
  }
}
*,
*:before,
*:after {
  border: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, sans-serif;
}

body {
  align-items: center;
  background: #fff;
  color: #555;
  display: flex;
  flex-direction: column;
  font-size: small;
  justify-content: flex-start;
  line-height: 1.5;
  min-height: 100%;
  padding: 2em 1em;
  width: 100%;
}
@media screen and (min-width: 720px) {
  body {
    padding-top: 15vmin;
  }
}
body > * {
  width: 100%;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: #ccc;
}

p {
  margin-bottom: 1em;
}

ul {
  padding-left: 0;
}
ul li {
  list-style-type: none;
}

h3 {
  font-size: 14px;
  color: #78bde8;
  font-weight: bold;
  margin-bottom: 1em;
  margin-top: 2em;
}

@media screen and (min-width: 720px) {
  h3 {
    margin-top: 0;
  }
}
.main .product-text a {
  border-bottom: 2px solid #ddd;
  transition: color 0.3s, border-color 0.3s;
}
.main .product-text a:hover {
  border-bottom: 2px solid #555;
}

@media (pointer: fine) {
  .carousel .flickity-prev-next-button {
    opacity: 0;
    transition: opacity 0.4s ease;
  }
}
.carousel .previous,
.carousel .next {
  background: rgba(255, 255, 255, 0.5);
}
.carousel .previous {
  left: 5px;
}
.carousel .next {
  right: 5px;
}

.carousel:hover .flickity-prev-next-button {
  opacity: 1;
}
