.attribution {
  font-size: 11px;
  text-align: center;
  padding: 40px 0;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body,
html {
  min-height: 100%;
  position: relative;
}
body {
  font-family: "League Spartan", sans-serif;
}
img {
  max-width: 100%;
}
.top {
  position: relative;
  display: flex;
  justify-content: center;
  height: fit-content;
}
.top .image img {
  display: block;
  max-width: 100%;
}
.top .text {
  width: 45%;
  padding: 0 50px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.top .text h1 {
  margin-bottom: 20px;
}
.top .text p {
  line-height: 1.3;
  color: hsl(0, 0%, 63%);
  margin-bottom: 20px;
}
.top .text > div:first-of-type {
  display: flex;
  align-items: center;
}
.top .shop {
  text-transform: uppercase;
  letter-spacing: 10px;
  font-size: 11px;
  font-weight: bold;
}
.top .shop:hover {
  cursor: pointer;
  color: hsl(0, 0%, 63%);
}
.top .btns {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
}
.top .btns img {
  background-color: black;
  padding: 15px 20px;
  width: 50px;
  display: block;
}
.top .btns img:hover {
  cursor: pointer;
  background-color: hsl(0, 0%, 27%);
}
nav {
  position: absolute;
  top: 50px;
  left: 50px;
  display: flex;
  align-items: center;
}
nav > a {
  margin-right: 30px;
}
.list {
  display: none;
  flex-direction: column;
  gap: 4px;
}
.list span {
  display: block;
  height: 2px;
  width: 20px;
  background-color: hsl(0, 100%, 100%);
}
ul {
  display: flex;
  list-style-type: none;
}
ul li {
  padding: 10px;
  position: relative;
}
ul a {
  text-decoration: none;
  color: hsl(0, 100%, 100%);
}
ul li::after {
  transition: 0.3s;
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: hsl(0, 100%, 100%);
}
ul li:hover::after {
  width: 50%;
}
.bottom {
  display: flex;
}
.bottom .text {
  width: 50%;
  padding: 20px 25px;
}
.bottom .text h2 {
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 3px;
  margin-bottom: 10px;
}
.bottom .text p {
  color: hsl(0, 0%, 63%);
  line-height: 1.2;
}
.nav {
  display: none;
}
@media (width<500px) {
  ul {
    display: none;
  }
  .top,
  .bottom {
    flex-direction: column;
    align-items: center;
  }
  .top .text,
  .bottom .text {
    width: 100%;
  }
  .top .btns {
    left: auto;
    bottom: auto;
    right: 0;
    top: 0;
    transform: translateY(-100%);
  }
  .top .text,
  .bottom .text {
    padding: 35px 25px;
  }
  nav {
    align-items: normal;
    left: 50%;
    top: 35px;
    transform: translateX(-50%);
  }
  nav > a {
    margin-right: 0;
  }
  .list {
    position: absolute;
    display: flex;
    left: 15px;
    top: 35px;
    z-index: 6;
  }
  .nav {
    display: block;
  }
  .nav ul {
    display: flex;
    position: absolute;
    justify-content: end;
    align-items: center;
    z-index: 5;
    left: 0;
    background: white;
    width: 100%;
    height: 100px;
    top: -100px;
    transition: 0.5s;
  }
  .nav ul a {
    color: black;
    font-weight: bold;
  }
  .cover {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: hsl(0, 0%, 0%, 60%);
    top: 0;
    left: 0;
    z-index: 3;
  }
}
