html {
  box-sizing: border-box;
  font-size: clamp(1rem, 0.8vw + 0.5vh, 1.25rem);
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  background-color: #fff;
  color: white;
}

.featured-plate {
  padding: 12rem 1rem;
  width: 100%;
  background: none;
  position: relative;
}

.featured-plate::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/detail/grunge-wall-texture.jpg") center/cover
    no-repeat;
}

.plate-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 75rem;
  margin: 0 auto;
}

.plate-image-container {
  display: flex;
  justify-content: center;
}

.plate-image {
  width: 100%;
  max-width: 18.75rem;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.5rem;
  z-index: 1;
}

.plate-content {
  text-align: center;
  padding: 0 1rem;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.plate-date {
  font-size: 1.25em;
  color: #b6b6b6;
  font-family: "Oswald", sans-serif;
  text-decoration: underline;
  text-align: center;
}

.plate-title {
  /* font-family: "Alex Brush"; */
  font-family: "Permanent Marker", cursive;
  font-size: 1em;
  font-weight: 400;
  text-align: center;
}

.plate-options {
  display: flex;
  flex-direction: column;
  gap: 1em;
  font-size: 0.8em;
}

.plate-option {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75em 1em;
  border-radius: 0.75em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(3px);
  transition: 0.3s;
  font-size: 1em;
  width: 100%;
  gap: 1rem;
}

.plate-option span {
  flex: 1;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.plate-option input {
  width: 4em;
  padding: 0.375em;
  text-align: center;
  margin: 0 0.625em;
  border-radius: 0.5em;
  border: none;
}

.plate-option button {
  background: #d0c5a9;
  border: none;
  color: white;
  border-radius: 50%;
  padding: 0.625em;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s;
}

.plate-option button:hover {
  background: #c2b28f;
}

.plate-message {
  margin-top: 1em;
  color: #d0c5a9;
  font-weight: bold;
  font-size: 0.9em;
  display: none;
}

.plate-main {
  position: relative;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.img-overlay {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 53%;
  left: 50%;
  width: 100%;
  height: 100%;
  mix-blend-mode: overlay;
}

i {
  cursor: pointer;
}

@media (min-width: 480px) {
  .plate-title {
    font-size: 1.25em;
  }

  .plate-option span {
    font-size: 1.25em;
  }
}

@media (min-width: 768px) {
  .plate-card {
    flex-direction: row;
    align-items: center;
  }

  .plate-image-container {
    flex: 0.5;
  }

  .plate-content {
    text-align: left;
    padding: 0 2rem;
    flex: 0.5;
  }

  .plate-options {
    align-items: flex-start;
  }
}

@media (min-width: 1024px) {
  .plate-title {
    font-size: 1.5em;
  }

  .plate-date {
    font-size: 1.5em;
  }
}

@media (min-width: 1440px) {
  .plate-card {
    gap: 4rem;
  }

  .plate-title {
    font-size: 1.5em;
  }
}
