*
/* ::before, */
/* ::after  */ {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: alliance;
  src: url(/assets/fonts/AllianceNo1-Medium.woff2);
  font-display: optional;
}
@font-face {
  font-family: alliance-b;
  src: url(/assets/fonts/AllianceNo1-Bold.woff2);
  font-display: optional;
}
@font-face {
  font-family: nunito-b;
  src: url(/assets/fonts/Nunito-Bold.woff2);
  font-display: block;
}
:root {
  --grey-blue-00: hsl(228, 33%, 97.5%);
  --grey-blue-05: hsl(220, 37%, 94%);
  --grey-blue-10: hsl(224, 28%, 92%);
  --grey-blue-15: hsl(227, 30%, 88%);
  --grey-blue-20: hsl(227, 30%, 85%);
  --grey-blue-30: #b4b9cc;
  --grey-blue-40: #8e96ae;
  --grey-blue-50: hsl(226, 15%, 50%);
  --grey-blue-60: hsl(227, 14%, 39%);
  --grey-blue-70: #282f40;
  --grey-blue-80: hsl(220, 32%, 15%);
  --blue-dark-90: #0b111e;

  /* --green-link: #70ffde; */
  --link: #1a73e8;
  /* --link: #00cf9e; */

  /* --green-link-dark: #49bea3; */

  --white-opa-60: hsla(0, 0%, 100%, 0.7);
  --dark00-opa-10: hsla(222, 100%, 98%, 0.1);
  --dark00-opa-20: hsla(222, 100%, 98%, 0.2);
  --dark00-opa-70: hsla(222, 100%, 98%, 0.7);
  --dark90-opa-10: hsla(221, 78%, 7%, 0.1);
  --dark90-opa-30: hsla(221, 78%, 7%, 0.3);
  --dark90-opa-50: hsla(221, 78%, 7%, 0.5);
  --dark90-opa-80: hsla(221, 78%, 7%, 0.8);

  --grad-light-green: -webkit-linear-gradient(-70deg, #a2facf 0%, #64acff 100%);

  --grad-purple-blue: -webkit-linear-gradient(45deg, #41c9d5, #4b6ac7);

  --grad-orange-red: -webkit-linear-gradient(-70deg, #ff7170 0%, #ffe57f 100%);
  --clr-link-light: hsl(347, 100%, 70%);
  --clr-link-dark: hsl(333, 97%, 43%);
  --clr-pink: #fa406e;
  --grad-red: radial-gradient(
    circle at center,
    hsl(338, 100%, 55%),
    hsl(338, 100%, 57%),
    #ff3877,
    hsl(344, 100%, 65%)
  );

  --filter: blur(0.5rem);
  --all600: alliance-b, sans-serif;
  --box-shadow-dark: 0 0.6rem 1.4rem rgba(38, 49, 69, 0.05);
  --box-shadow-darker: 0 0.6rem 1.2rem rgba(70, 84, 110, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  vertical-align: baseline;
}

img {
  display: block;
  width: 100%;
}
a {
  text-decoration: none;
}
p a {
  display: inline;
}
li {
  list-style: none;
}
html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
p,
a {
  color: inherit;
  background-color: transparent;
  color: inherit;
  font-size: inherit;
}

/* !PSEUDO */
::selection {
  background-color: hsla(227, 48%, 87%, 0.75);
  color: var(--blue-dark-90);
}
:is(.btn, .city-card, .lightbox-button-turitop, .oa-card-cont):active {
  transform: scale(0.95);
}
.card-cont:active {
  transform: scale(0.97);
}
svg {
  max-width: 100%;
}

body {
  min-height: 200vh;

  position: relative;
  min-width: 300px;
  height: 100%;
  /* padding-bottom: 8rem; */
  font-size: 1.1rem;
  font-family: alliance, sans-serif;
  font-weight: 400;
  font-smooth: antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--grey-blue-00);
  color: var(--blue-dark-90);
}

::-webkit-scrollbar {
  width: 15px;
}
::-webkit-scrollbar-thumb {
  background: var(--grey-blue-30);
  border-radius: 1rem;
  border: 2px solid var(--grey-blue-00);
}
::-webkit-scrollbar-thumb:active {
  background: var(--grey-blue-50);
}

/* !CLASSES RESET */
.title {
  font-size: clamp(2.1rem, 8vw, 2.4rem);
  font-family: var(--all600);
  font-weight: 500;
  line-height: 1.1;
}
@media screen and (max-width: 350px) {
  .title {
    font-size: 1.9rem;
  }
}
.subtitle {
  font-size: clamp(1.6rem, 8vw, 2.2rem);
  font-family: var(--all600);
  font-weight: 500;
  line-height: 1.25;
  color: var(--grey-blue-80);
}
.cta-txt,
.txt {
  color: var(--grey-blue-30);
}
.cta-txt {
  font-size: 1.4rem;
  line-height: 1.5;
}
.small {
  font-size: 1rem;
  color: var(--grey-blue-50);
}
strong {
  font-family: var(--all600);
  font-weight: 500;
}
.grey {
  color: var(--grey-blue-50);
}
.conditions-link,
.link {
  display: inline-block;
  position: relative;
  color: var(--link);
}

.conditions-link::after,
.link::after {
  content: "";
  position: absolute;
  display: block;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  transition: transform 0.3s;
}
.conditions-link::after,
.link::after {
  transform: scale(0);
  transform-origin: left;
  background-color: hsl(221, 51%, 56%);
}

/* !BTNS */
.btn {
  display: block;
  padding: 0.7rem 1.1rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: transform 0.2s ease-in-out;
  display: block;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
.btn-sec {
  background-color: var(--dark00-opa-10);
  backdrop-filter: var(--filter);
  -webkit-backdrop-filter: var(--filter);
  transition: transform 0.2s, background 0.25s;
}

.btn-prime {
  background-size: 200%;
  background-image: var(--grad-red);
  transition: transform 0.2s, background 0.5s ease-in-out;
}

/* !GRADIENTS */
.grad-txt-pb,
.grad-txt-or,
.grad-txt-bg {
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-box-decoration-break: clone;
}
.grad-txt-bg {
  background-image: var(--grad-light-green);
}
.grad-txt-or {
  background-image: var(--grad-orange-red);
}
.grad-txt-pb {
  background-image: var(--grad-purple-blue);
}

/* !HEADER MENU SECTION ++++++++++++++++++++++++++++++++++++ */
header {
  z-index: 100;
}

/* !LOGO */
.logo-cont {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  display: grid;
  grid-auto-flow: column;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  border-radius: 2rem;
  z-index: 20;
  white-space: nowrap;
}
.logo-txt {
  font-family: nunito-b;
  font-size: 1.1rem;
  color: var(--clr-link-light);
  transition: color 0.3s;
}
.clr-pink {
  color: var(--clr-pink);
}
.logo-svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: var(--clr-link-light);
  transition: transform 0.3s ease-in-out, fill 0.3s;
}
@media screen and (min-width: 550px) {
}
@media screen and (min-width: 1000px) {
}

/*! HERO SEC */
.hero-sec {
  position: relative;
  background-image: linear-gradient(#0b111e19, #0b111e49),
    url(/free-tour-florencia/assets/img/free-tour-florencia.webp);
  background-position: center;
  background-size: cover;
}
.hero-cont {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  color: white;
}
.hero-txt-cont {
  padding: 2rem 1rem;
  text-align: center;
}

h1 {
  max-width: 16ch;
  font-family: var(--all600);
  font-weight: 500;
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 1.05;
  color: white;
  padding-bottom: 1rem;
}

.hero-txt-cont p {
  max-width: 45ch;
  color: var(--grey-blue-20);
  line-height: 1.5;
  margin-left: auto;
  margin-right: auto;
}
.hero-arrow-down-cont {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.8rem;
  border-radius: 50%;
  display: grid;
  align-items: center;
  -webkit-backdrop-filter: var(--filter);
  backdrop-filter: var(--filter);
  cursor: pointer;
}
.hero-arrow-down-cont svg {
  width: 3rem;
  height: 3rem;
  fill: none;
  stroke: var(--grey-blue-10);
  stroke-width: 0.6rem;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media screen and (min-width: 1000px) {
  .hero-sec {
    background-image: url(/free-tour-florencia/assets/img/free-tour-florencia.jpg);
  }
  h1 {
    padding-bottom: 2rem;
  }
}

/* CARDS SEC */
.cards-sec {
  position: relative;
  padding: 3rem 24px;
  background-color: var(--grey-blue-00);
}
.cards-cont {
  display: grid;
  gap: 2rem 1.25rem;
}
.cards-title {
  padding-bottom: 1rem;
}
.card-cont {
  position: relative;
  background-color: white;
  display: block;
  border-radius: 1rem;
  box-shadow: var(--box-shadow-dark);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.2s;
  width: 100%;
}
.card-cont::before {
  content: "";
  display: block;
  width: 100%;
  height: 15rem;
  border-radius: 1rem 1rem 0 0;
  background-size: cover;
  transition: transform 0.8s;
}
.card-cont:nth-child(1)::before {
  background-image: url(/free-tour-florencia/free-tour-cuentos-del-renacimiento-y-los-medici/assets/img/slider/florencia-tale.jpg);
}
.card-cont:nth-child(2)::before {
  background-image: url(/free-tour-florencia/free-tour-misterios-y-leyendas/assets/img/slider/free-tour-medieval-slider.jpg);
}
.card-cont:nth-child(3)::before {
  background-image: url(/free-tour-florencia/free-tour-florencia-medieval/assets/img/slider/nieve-desk.jpg);
}
.card-cont::after {
  content: "";
  position: absolute;
  bottom: 1.25rem;
  right: 1rem;
  width: 2.5rem;
  height: 2rem;
  background-image: linear-gradient(
    #c60b1e 0% 30%,
    #fec400 30% 70%,
    #c60b1e 70% 100%
  );
  border-radius: 0.4rem;
  opacity: 0.8;
}
.card-txt-cont {
  position: relative;
  padding: 1rem;
  background-color: white;
}
.card-tour-title-cont {
  padding: 0.25rem 0 0.5rem;
}
.card-tour-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;

  color: var(--grey-blue-80);
  font-family: var(--all500);
  line-height: 1.2;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
@media screen and (max-width: 350px) {
  .card-tour-title {
    font-size: 1.25rem;
  }
}
.card-revs {
  display: grid;
  grid-auto-flow: column;
  justify-content: start;
  align-items: center;

  gap: 0.25rem;
  box-sizing: border-box;
  font-size: 1rem;
  color: var(--grey-blue-70);
  padding: 0.5rem 0;

  display: none;
}
.card-revs * {
}
.revs-svg-cont {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
}
.revs-svg-cont svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: var(--clr-pink);
}
.card-revs > :last-child {
  color: var(--grey-blue-50);
}

/* !CARD INFO */
.card-info {
  padding: 0.5rem 0;
}
.card-info > :not(:last-child) {
  padding-bottom: 0.5rem;
}
.card-sched,
.card-duration {
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow-x: hidden;
}

:is(.card-sched, .card-duration) > :nth-child(1) {
}
:is(.card-sched, .card-duration) :nth-child(2) {
  color: var(--grey-blue-60);
}
:is(.card-sched, .card-duration) > span > :last-child {
  color: var(--grey-blue-40);
}

.card-info svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--grey-blue-60);
  display: block;
  padding: 0.05rem;
  margin-right: 0.5rem;
}

.card-cta-txt {
  padding: 0.5rem 0 0.25rem;
  color: var(--link);
}

/* ! CARDS DESK */
@media screen and (min-width: 550px) {
  .cards-sec {
    width: 80%;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
  }
  .cards-cont {
    /* gap: 1.25rem; */
    /* grid-auto-flow: column; */
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  }

  /* HOVER */
  .card-cont:hover {
    box-shadow: var(--box-shadow-darker);
  }
  .card-cont:hover::before {
    transform: scale(1.1);
  }
}

/* !OA SEC */
.oa-sec {
  padding: 3rem 0 2rem;
}
.oa-title {
  padding-left: 24px;
  padding-right: 24px;
}
.oa-title,
.oa-cards-cont {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.oa-cards-cont {
  display: grid;
  grid-auto-flow: column;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-padding-left: 24px;
  scroll-padding-right: 24px;
  padding: 1rem 24px;
  gap: 1rem;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-snap-stop: always;
}
.oa-cards-cont::-webkit-scrollbar {
  display: none;
}
.oa-cards-cont::after {
  content: "";
  width: 10px;
  pointer-events: none;
}
.oa-card-cont {
  position: relative;
  width: 20rem;
  height: 20rem;
  max-width: 85vw;

  background-size: cover;
  background-position: center;
  scroll-snap-align: start;
  border-radius: 1rem;
  overflow: hidden;
  padding: 1rem;
  color: white;
  display: grid;
  align-items: end;
  transition: transform 0.2s;
}
.oa-card-cont:nth-child(1) {
  background-image: url(/free-tour-florencia/assets/img/pasta-florencia.jpg);
}
.oa-card-cont:nth-child(2) {
  background-image: url(/free-tour-florencia/assets/img/bistecca-fiorentina.jpg);
}
.oa-card-cont:nth-child(3) {
  background-image: url(/free-tour-florencia/assets/img/helado-florencia.jpg);
}

.oa-card-cont::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 7rem;
  background-image: linear-gradient(
    #0b111e00,
    hsla(221, 46%, 8%, 0.6),
    hsla(221, 46%, 8%, 0.7)
  );
}

.oa-card-cont:nth-child(2)::after {
  height: 11.5rem;
}

.oa-card-txt-cont p {
  position: relative;
  font-family: var(--all600);
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 500;
  z-index: 10;
  transition: color 0.3s;
}

@media screen and (min-width: 1000px) {
  .oa-sec {
    padding-left: 10%;
    padding-right: 10%;
  }
  .oa-cards-cont {
    /* width: auto; */
    grid-auto-flow: initial;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    width: 100%;
    gap: 1.2rem;
  }
  .oa-cards-cont::after {
    display: none;
  }
  .oa-card-cont {
    width: auto;
    /* max-width: none; */
  }

  /* HOVER */
  .oa-card-cont:hover p {
    color: var(--clr-link-light);
  }
}

/* !TXT SECTION */
.txt-sec {
  padding: 3rem 24px;
  background-color: white;
}
.txt-cont p:not(.txt-title) {
  padding-bottom: 1.5rem;
  line-height: 1.5;
  color: var(--grey-blue-70);
}
.txt-cont {
  padding-bottom: 1.5rem;
  max-width: 80ch;
  margin-left: auto;
  margin-right: auto;
}

.txt-cont h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  padding: 1rem 0;
  letter-spacing: -0.02em;
}

.txt-title {
  color: var(--blue-dark-90);
  font-family: var(--all600);
  font-size: clamp(1.8rem, 8vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  padding-bottom: 1rem;
}

footer {
  padding: 2rem 1rem;
  border-top: 1px solid var(--grey-blue-10);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background-color: white;
  color: var(--grey-blue-50);
  /* background-color: var(--grey-blue-00); */
}
@media screen and (min-width: 1000px) {
  footer {
    padding-left: 15%;
    padding-right: 15%;
  }
}
