
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f7f5f1;
  color: #282421;
  font-family: "DM Sans", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* NAVIGATION */

.navbar {
  height: 85px;
  padding: 0 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid #e9e4de;
}

.logo {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 2px;
}

.logo span {
  color: #873b49;
  margin-left: 5px;
}

.navbar nav {
  display: flex;
  gap: 35px;
}

.navbar nav a {
  font-size: 13px;
  color: #68615c;
  font-weight: 600;
  transition: color 0.2s;
}

.navbar nav a:hover {
  color: #873b49;
}

.nav-account {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
}

.login-button {
  padding: 11px 18px;
}

.signup-button {
  background: #873b49;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
}

/* HERO */

.hero {
  min-height: 590px;
  padding: 85px 12%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background: #eee9e2;
  overflow: hidden;
}

.hero-content {
  max-width: 540px;
  z-index: 1;
}

.eyebrow {
  color: #873b49;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.12;
  font-weight: 700;
}

.hero h1 span {
  color: #873b49;
}

.hero-description {
  max-width: 430px;
  color: #716a64;
  line-height: 1.9;
  font-size: 14px;
  margin: 25px 0 30px;
}

.primary-button {
  display: inline-block;
  background: #873b49;
  color: white;
  padding: 15px 24px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  transition: 0.2s;
}

.primary-button:hover,
.signup-button:hover {
  background: #652b36;
}

/* HERO DECORATION */

.hero-decoration {
  width: 350px;
  height: 350px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
}

.circle-one {
  width: 340px;
  height: 340px;
  border: 1px solid #cbb9ae;
}

.circle-two {
  width: 290px;
  height: 290px;
  border: 1px solid #d7c8be;
}

.hero-card {
  width: 230px;
  height: 280px;
  background: #873b49;
  color: white;
  border-radius: 5px;
  box-shadow: 0 20px 45px rgba(50, 30, 30, 0.2);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.card-label,
.card-small {
  font-size: 8px;
  letter-spacing: 2px;
}

.hero-card p {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 800;
}

.vinyl {
  width: 135px;
  height: 135px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle,
    #222 0px,
    #222 3px,
    #343434 4px,
    #222 5px
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.vinyl-center {
  width: 43px;
  height: 43px;
  background: #c7a18a;
  border: 5px solid #222;
  border-radius: 50%;
}

/* INTRODUCTION */

.intro-section {
  text-align: center;
  padding: 95px 20px 65px;
}

.intro-section h2,
.section-heading h2,
.account-section h2,
.about-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  margin-bottom: 18px;
}

.intro-section > p:last-child,
.account-section > p:not(.eyebrow),
.about-section p {
  color: #77706a;
  font-size: 14px;
  line-height: 1.9;
  max-width: 570px;
  margin: auto;
}

/* CATEGORIES */

.categories-section {
  padding: 45px 10% 100px;
}

.section-heading {
  margin-bottom: 35px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.category-card {
  background: white;
  border: 1px solid #e9e3dc;
  border-radius: 8px;
  padding: 25px;
  min-height: 210px;
  position: relative;
  transition: 0.25s;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: #873b49;
  box-shadow: 0 10px 25px rgba(60, 30, 30, 0.07);
}

.category-number {
  font-size: 10px;
  color: #aaa19a;
  letter-spacing: 2px;
}

.category-icon {
  display: block;
  font-size: 27px;
  margin: 23px 0 12px;
}

.category-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.category-card p {
  color: #89817a;
  font-size: 11px;
  line-height: 1.7;
}

.category-arrow {
  position: absolute;
  right: 22px;
  top: 22px;
  color: #873b49;
}

/* ACCOUNT */

.account-section {
  text-align: center;
  padding: 85px 20px;
  background: #eee9e2;
}

.account-section > p:not(.eyebrow) {
  margin-bottom: 28px;
}

/* ABOUT */

.about-section {
  text-align: center;
  padding: 80px 20px;
}

/* FOOTER */

footer {
  background: #292321;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

footer p {
  color: #b9aaa3;
  font-size: 11px;
  margin-top: 12px;
}

footer .copyright {
  margin-top: 25px;
  color: #817873;
}

/* MOBILE */

@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 70px 7%;
  }

  .navbar {
    padding: 0 5%;
  }
}

@media (max-width: 650px) {
  .navbar {
    height: auto;
    padding: 22px;
    flex-wrap: wrap;
    gap: 20px;
  }

  .navbar nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 22px;
  }

  .nav-account {
    gap: 5px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 65px 25px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-decoration {
    width: 280px;
    height: 280px;
    transform: scale(0.85);
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .categories-section {
    padding: 40px 22px 70px;
  }

  .intro-section h2,
  .section-heading h2,
  .account-section h2,
  .about-section h2 {
    font-size: 29px;
  }
}
