@import url('https://fonts.googleapis.com/css2?family=BioRhyme+Expanded:wght@200;300;400;700;800&display=swap');

body {
  position: relative;
  min-height: 100vh;
  min-width: 100vw;
}

.bg-header {
  background-color: #ffffffaa;
}

.bg-specials {
  min-height: 100vh;
}

.bg {
  background: #F7F5DD url(../images/bg.webp) no-repeat center center;
  background-size: cover;
  display: block;
  height: 100vh;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100vw;
  z-index: -1;
}

@media screen and (max-width: 767px) {
  .bg {
    height: 100vh;
    height: 100dvh;
  }
}

.classifiche img {
  height: auto;
  max-width: 100%;
  width: auto;
}

.classifiche .title,
.classifiche .intro {
  display: grid;
  height: auto;
  min-height: 50vh;
  margin: 0 0 40px 0;
  padding: 10vh 0;
  place-items: center;
  position: relative;
  text-align: center;
  width: auto;
}

@media screen and (min-width: 768px) {
  .classifiche .intro,
  .classifiche .text {
    margin-bottom: 60px;
  }
}

.classifiche .title h2,
.classifiche .intro h2 {
  color: #c2fcf4;
  display: block;
  font-family: "BioRhyme Expanded", serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.1;
  mix-blend-mode: normal;
  padding: 0 0;
  text-shadow: 2px 2px 2px #2F4858;
  z-index: 2;
}

.classifiche .title h2 {
  color: #2F4858;
  text-shadow: 2px 2px 2px #c2fcf4;
}

.classifiche .intro img {
  bottom: 0;
  height: 100%;
  left: 0;
  max-width: none;
  object-fit: contain;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1;
}

@media screen and (min-width: 768px) {
  .classifiche .title h2,
  .classifiche .intro h2 {
    font-size: 48px;
  }
}

.classifiche .text {
  background: #F7F5DDDD;
  border-radius: 1rem;
  margin-bottom: 40px;
  padding: 2rem;
}

.classifiche .sticker {
  background: transparent;
  text-align: center;
}

.classifiche .img img.elder {
  display: block;
  margin: 0 auto 20px auto;
}

.classifiche .img > div {
  width: 100%;
}

.classifiche .text h3,
.classifiche .text h4 {
  font-family: "BioRhyme Expanded", serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.classifiche .text h3 {
  font-size: 28px;
  margin-bottom: 20px;
  text-transform: none;
}

@media screen and (min-width: 768px) {
  .classifiche .img {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 20px;
    place-items: center;
  }
}

@media screen and (min-width: 1024px) {
  .classifiche .img {
    grid-template-columns: 1fr 2fr;
  }
}

.bars {
  display: block;
  margin-top: 40px;
  position: relative;
}

.bars svg .svg-bar {
  fill: #333;
}

.bars svg .svg-position {
  fill: #333;
  font-family: "BioRhyme Expanded", serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 800;
}

.bars svg .svg-bar {
  fill: #333;
}

.bars svg .svg-max {
  fill: #33333366;
}

.bars .label {
  position: absolute;
  right: 5px;
  transform: translateY(-50%);
  width: auto;
  z-index: 2;
}

.bars .label h3,
.bars .label h4 {
  margin: 0;
  padding: 0;
  color: #c2fcf4;
  font-family: "BioRhyme Expanded", serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bars .label h3 {
  font-size: 16px;
  font-weight: 200;
}

@media screen and (min-width: 768px) {
  .bars .label h4 {
    font-size: 16px;
  }
  .bars .label h3 {
    font-size: 22px;
  }
}

/* Tabs */

.tabs .selector {
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 20px;
}

.tabs .selector ul,
.tabs .selector li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tabs .selector ul {
  display: flex;
  flex-wrap: nowrap;
}

.tabs .selector li {
  flex: 0 0 auto;
}

.tabs .selector button {
  border: none;
  background: none;
  color: #333;
  display: inline-block;
  font-family: "BioRhyme Expanded", serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  padding: 0 10px;
}

.tabs .selector button.active {
  font-size: 16px;
  font-weight: 800;
  text-decoration: underline;
}

@media screen and (min-width:768px) {
  .tabs .selector button {
    font-size: 16px;
  line-height: 24px;
  }

  .tabs .selector button.active {
    font-size: 24px;
  }
}

.tabs .contents {
  display: block;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

.tabs .scroll {
  display: flex;
  flex-wrap: nowrap;
  height: auto;
}

.tabs .content {
  flex: 0 0 100%;
  min-width: 0;
}

p.button {
  margin-top: 40px;
  text-align: center;
}

p.button a {
  background: #333;
  border-radius: 5px;
  color: #F7F5DD;
  display: inline-block;
  font-family: "BioRhyme Expanded", serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: 3;
  padding: 0 20px;
}

p.button a:hover,
p.button a:active {
  background: #c2fcf4;
  color: #333;
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  p.button a {
    font-size: 16px;
  }
}

