* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "chopinscript";
  src: url(../fonts/CHOPINSCRIPT.TTF);
}

@font-face {
  font-family: "dearest";
  src: url(../fonts/DEAREST.NORMAL.TTF);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: 0;
  font-family: dearest;
}

.main__content {
  width: clamp(380px, 95%, 960px);
  margin-inline: auto;
  /* font-family: sans-serif; */
  padding: 2rem;
}

body {
  background: var(--background);
  color: var(--text-color);
}

.main__content__heading {
  /* margin-top: 2rem; */
  text-align: justify;
  letter-spacing: 3px;
  font-weight: 600;
  font-size: clamp(1.5rem, 6vw, 2.5rem);
  color: crimson;
  text-align: center;
  flex: 1;
  font-family: chopinscript;
}
button:hover,
button:focus {
  cursor: pointer;
}

.main__content__highlights {
  display: grid;
  list-style-type: none;
  /* grid-template-columns: repeat(2, 1fr); */
  /* color: rgb(45, 38, 38); */
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.main__content__highlights li {
  padding: 24px;
  text-align: justify;
  letter-spacing: 1px;
  border: 0.5px solid rgb(198, 198, 198);
  box-shadow: 0 0 10px rgba(164, 164, 164, 0.623);
  border-radius: 8px;
  line-height: 1.3;
}

.main__content__highlights li:hover,
.main__content__highlights li:focus {
  box-shadow: -5px -5px 10px rgba(164, 164, 164, 0.623);
  cursor: pointer;
}

.back-button {
  position: fixed;
  border: none;
  background: rgb(64, 64, 64);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  top: 30px;
  left: 2px;
}

a:has(.back-button) {
  text-decoration: none;
  color: white;
}

a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
  color: white;
}

.main__content__header {
  display: flex;
  align-items: center;
}

@media screen and (min-width: 960px) {
  .back-button {
    position: fixed;
    /* background: green; */
    left: 40px;
  }
}

@media screen and (min-width: 1260px) {
  .back-button {
    position: fixed;
    /* background: green; */
    /* left: -10%; */
  }

  .main__content__heading {
    /* margin-top: 2rem; */
    text-align: justify;
    letter-spacing: 5px;
    font-weight: 600;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: crimson;
    text-align: center;
    flex: 1;
    font-family: chopinscript;
  }
}
