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

body {
  background-color: hsl(0, 0%, 100%);
  color: hsl(0, 0%, 45%);
  font: 500 16px "League Spartan", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.no-scroll {
  position: fixed;
  overflow: hidden;
}

img {
  max-inline-size: 100%;
  block-size: auto;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: bottom;
     object-position: bottom;
}

picture img {
  display: block;
  width: 100%;
  height: auto;
}

a:link,
a:visited {
  color: hsl(0, 0%, 45%);
  text-decoration: none;
  outline: none;
}

header {
  position: absolute;
  display: flex;
  width: 100%;
  padding: 2.5rem 1.5rem;
  align-items: flex-start;
  justify-content: center;
  z-index: 996;
}
header .logo {
  display: block;
  color: hsl(0, 0%, 100%);
  font-size: 3rem;
  letter-spacing: -3px;
  z-index: 997;
}
header .logo::after {
  content: "";
  display: block;
  margin-top: 5px;
  margin-left: 25%;
  width: 0;
  height: 3px;
  background-color: hsl(0, 0%, 100%);
  border: none;
  transition: width 0.3s ease;
}
header .logo:focus::after, header .logo:hover::after {
  width: 50%;
}
header .logo.none {
  display: none;
}
header .nav {
  position: absolute;
  visibility: hidden;
  z-index: 999;
  top: -111px;
  left: 0;
  width: 100%;
  height: auto;
  background-color: hsl(0, 0%, 100%);
  transition: transform 0.3s ease;
}
header .nav__list {
  list-style: none;
  display: flex;
  justify-content: end;
  font-size: 1rem;
  gap: 2rem;
  padding: 3rem 1.5rem;
}
header .nav__link {
  color: hsl(0, 0%, 0%);
  font-weight: 500;
}
header .nav__link::after {
  content: "";
  display: block;
  margin-top: 5px;
  margin-left: 25%;
  width: 0;
  height: 3px;
  background-color: hsl(0, 0%, 0%);
  border: none;
  transition: width 0.3s ease;
}
header .nav__link:focus::after, header .nav__link:hover::after {
  width: 50%;
}
header .nav.nav--visible {
  visibility: visible;
  transform: translateY(111px);
}
header .overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: none;
  z-index: 999;
}
header .overlay.overlay--visible {
  display: block;
  background-color: hsla(0, 0%, 0%, 0.5);
}
header .nav-toggle {
  position: absolute;
  top: 3rem;
  left: 1.5rem;
  width: 30px;
  height: 30px;
  outline: none;
  background: none;
  border: none;
  z-index: 1000;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
header .line {
  width: 20px;
  height: 2px;
  background-color: hsl(0, 0%, 100%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
header .nav-toggle.nav-toggle--close .line {
  position: absolute;
  background-color: hsl(0, 0%, 45%);
}
header .nav-toggle.nav-toggle--close .line:nth-child(1) {
  transform: rotate(45deg);
}
header .nav-toggle.nav-toggle--close .line:nth-child(2) {
  transform: translateX(10px);
  opacity: 0;
}
header .nav-toggle.nav-toggle--close .line:nth-child(3) {
  transform: rotate(-45deg);
}
header .nav-toggle:focus {
  transform: scale(1.1);
  border: solid hsl(0, 0%, 100%);
  border-width: 2px 0 2px 0;
}
header .nav-toggle.nav-toggle--close:focus {
  border: solid hsl(0, 0%, 45%);
  border-width: 2px 0 2px 2px;
}

@media screen and (min-width: 600px) {
  header {
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
  }
  header .logo {
    color: hsl(0, 0%, 0%);
  }
  header .logo::after {
    content: "";
    display: block;
    margin-top: 5px;
    margin-left: 25%;
    width: 0;
    height: 3px;
    background-color: hsl(0, 0%, 0%);
    border: none;
    transition: width 0.3s ease;
  }
  header .logo:focus::after, header .logo:hover::after {
    width: 50%;
  }
  header .nav-toggle {
    display: none;
  }
  header .nav {
    position: static;
    visibility: visible;
    background-color: transparent;
  }
  header .nav__list {
    justify-content: flex-start;
    padding: 0;
  }
}
@media screen and (min-width: 1200px) {
  header {
    padding-left: 5rem;
  }
  header .logo {
    color: hsl(0, 0%, 100%);
  }
  header .logo::after {
    content: "";
    display: block;
    margin-top: 5px;
    margin-left: 25%;
    width: 0;
    height: 3px;
    background-color: hsl(0, 0%, 100%);
    border: none;
    transition: width 0.3s ease;
  }
  header .logo:focus::after, header .logo:hover::after {
    width: 50%;
  }
  header .nav__link {
    color: hsl(0, 0%, 100%);
  }
  header .nav__link::after {
    content: "";
    display: block;
    margin-top: 5px;
    margin-left: 25%;
    width: 0;
    height: 3px;
    background-color: hsl(0, 0%, 100%);
    border: none;
    transition: width 0.3s ease;
  }
  header .nav__link:focus::after, header .nav__link:hover::after {
    width: 50%;
  }
}
.hero {
  position: relative;
  width: 100%;
  margin-bottom: 2rem;
}
.hero__item {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  height: 675px;
  width: 100%;
}
.hero__picture {
  height: 300px;
  overflow: hidden;
  position: relative;
}
.hero__picture img {
  width: 100%;
  position: absolute;
  bottom: 0;
}
.hero__text {
  flex-grow: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero__title {
  font-size: 2.2rem;
  font-weight: 500;
  color: hsl(0, 0%, 0%);
}
.hero__paragraph {
  line-height: 1.5rem;
}
.hero__shop {
  height: 30px;
  position: relative;
  font: 500 16px "League Spartan", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 8px;
  word-spacing: 10px;
  color: hsl(0, 0%, 0%);
  background-color: transparent;
  border: none;
  outline: none;
  text-align: left;
  margin-top: auto;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero__shop::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 185px;
  width: 40px;
  height: 2px;
  background-color: black;
  transform: translateY(-50%);
}
.hero__shop::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 220px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid black;
  transform: translateY(-50%);
}
.hero__shop:hover, .hero__shop:focus {
  color: hsl(0, 0%, 45%);
  border-left: 2px solid hsl(0, 0%, 45%);
  padding: 5px;
}
.hero__shop:hover::before, .hero__shop:focus::before {
  background-color: hsl(0, 0%, 45%);
}
.hero__shop:hover::after, .hero__shop:focus::after {
  border-left: 10px solid hsl(0, 0%, 45%);
}
.hero .active {
  display: flex;
}
.hero .carousel__buttons {
  position: absolute;
  top: 250px;
  right: 0;
  width: 120px;
  height: 50px;
  display: flex;
  background-color: hsl(0, 0%, 0%);
  z-index: 997;
}
.hero .carousel__buttons button {
  width: 100%;
  border: none;
  display: grid;
  place-content: center;
  background-color: transparent;
  outline: none;
  cursor: pointer;
}
.hero .carousel__buttons .prev-button::before,
.hero .carousel__buttons .next-button::before {
  content: "";
  width: 15px;
  height: 15px;
  border: solid hsl(0, 0%, 45%);
  border-width: 2px 2px 0 0;
  display: block;
}
.hero .carousel__buttons .prev-button::before {
  transform: rotate(-135deg);
  margin-left: 5px;
}
.hero .carousel__buttons .next-button::before {
  transform: rotate(45deg);
  margin-right: 5px;
}
.hero .carousel__buttons button:hover,
.hero .carousel__buttons button:focus {
  background-color: hsl(0, 0%, 27%);
}

@media screen and (min-width: 600px) {
  .hero {
    margin-top: 120px;
  }
  .hero__item {
    position: relative;
    flex-direction: row;
    gap: 0;
    height: auto;
  }
  .hero__picture {
    width: 50%;
    height: auto;
  }
  .hero__picture img {
    position: static;
  }
  .hero__text {
    padding-top: 0;
    width: 50%;
  }
  .hero .carousel__buttons {
    top: 0;
    right: 50%;
  }
}
@media screen and (min-width: 1200px) {
  .hero {
    margin: 0;
  }
  .hero__item {
    align-items: center;
  }
  .hero__picture {
    width: 60%;
    height: auto;
    align-self: flex-start;
  }
  .hero__picture img {
    position: static;
  }
  .hero__text {
    padding: 1rem 5rem;
    padding-bottom: 100px;
    gap: 2rem;
    width: 40%;
  }
  .hero__title {
    font-size: 3.5rem;
    font-weight: 500;
    color: hsl(0, 0%, 0%);
  }
  .hero__shop {
    margin: 0;
  }
  .hero .carousel__buttons {
    top: auto;
    bottom: 0;
    left: 60%;
    width: 150px;
    height: 70px;
  }
}
.about {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about__text {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about__title {
  color: hsl(0, 0%, 0%);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 5px;
  word-spacing: 8px;
}
.about__image {
  width: 100%;
}
.about__paragraph {
  line-height: 1.5rem;
}

@media screen and (min-width: 600px) {
  .about {
    flex-direction: row-reverse;
    flex-wrap: wrap;
    gap: 0;
  }
  .about__text {
    width: 45%;
  }
  .about__dark {
    width: 55%;
  }
  .about__light {
    display: none;
  }
}
@media screen and (min-width: 1200px) {
  .about {
    display: grid;
    grid-template-columns: 30% 40% 30%;
    gap: 0;
  }
  .about__text {
    width: auto;
    padding: 4rem 3.5rem;
  }
  .about__dark {
    width: auto;
  }
  .about__light {
    display: block;
  }
}
.attribution {
  font-size: 1rem;
  text-align: center;
  margin: 2rem 0;
}

.attribution a {
  font-size: 1rem;
  font-weight: 700;
  color: hsl(228, 45%, 44%);
}
.attribution a:focus {
  border-bottom: 2px solid hsl(228, 45%, 44%);
}/*# sourceMappingURL=index.css.map */