:root {
  --topbar-height: 72px;
  /* fuente para texto general y para las cartas, respectivamente */
  --font-text: Garamond, "Times New Roman", serif;
  --font-card: "Times New Roman", Georgia, serif;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

.ct-block {
  padding: 0 20px;
  box-sizing: border-box;
}

.ct-surface {
  border-radius: 10px;
}

.card-rank,
.card-suit,
.mazo-card,
.play-card-symbol {
  font-family: var(--font-card);
}

.ct-card-font {
  font-family: var(--font-card);
}

body {
  margin: 0;
  padding-top: var(--topbar-height);
  font-family: var(--font-text);
  background: #f5f5f5;
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

.decks-view {
  padding: 0;
}

.decks-view__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.decks-view__item {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #d8d8d8;
  box-sizing: border-box;
}

.decks-view__left-group {
  display: flex;
  align-items: center;
}

.decks-view__user-cards {
  display: flex;
  align-items: center;
  gap: 0;
}

.decks-view__mini-card {
  height: 64px;
  width: auto;
  display: block;
}

.decks-view__photo img {
  height: 64px;
  width: auto;
  display: block;
}

.decks-view__right-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.decks-view__title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.decks-view__ace {
  color: #a00;
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
}

.decks-view__deck-name {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
}

.decks-view__suits {
  display: flex;
  align-items: center;
  gap: 8px;
}

.decks-view__suit-btn {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.decks-view__suit-btn img {
  height: 22px;
  width: auto;
  display: block;
}

.decks-view__suit-btn:hover {
  transform: translateY(-1px);
}

.icon-btn {
  background: transparent;
  border: none;
  padding: 0;
  /* quitamos el padding */
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 8px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.icon-btn:active {
  transform: scale(0.95);
}


.icon-btn img {
  height: 30px;
  width: auto;
  display: block;
  transition: transform 0.15s ease;
}

.icon-btn:hover img {
  transform: scale(1.15);
}