.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

p {
    text-align: justify;
}


.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}

.lavishly-yours-regular {
  font-family: "Lavishly Yours", cursive;
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
}

h1 {
  font-size: 1.2rem;
}

.covercopertina {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.covercopertina-image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1);
    transform-origin: center;
    transition: transform 0.6s ease;
}

.covercopertina::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.6s ease;
}

.covercopertina > .covercopertina-content {
    position: absolute;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    width: auto;
    height: auto;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.covercopertina-content .btn {
    flex-shrink: 0;
}

.covercopertina-text {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 0.25rem;
}

.covercopertina-text h2,
.covercopertina-text p {
    margin: 0;
    text-align: left;
}

.covercopertina-text h2 {
    font-size: 2.5rem;
    font-weight: 400;
}

.covercopertina-text p {
    line-height: 1.4;
    font-size: 1.5rem;
    font-weight: 300;
}

@media (max-width: 576px) {
    .covercopertina-text h2 {
        font-size: 1.8rem;
    }

    .covercopertina-text p {
        font-size: 1rem;
    }
}

.covercopertina:hover .covercopertina-image {
    transform: scale(1.1);
}

.covercopertina:hover::after {
    background-color: rgba(0, 0, 0, 0.5);
}

.covercopertina:hover .covercopertina-content,
.covercopertina:focus-within .covercopertina-content {
    opacity: 1;
    transform: translateY(0);
}

.covercopertina.is-click-hidden .covercopertina-content {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
}

@media (prefers-reduced-motion: reduce) {
    .covercopertina-image,
    .covercopertina::after,
    .covercopertina-content {
        transition: none;
    }
}
