body{
    font-family: 'Manrope', sans-serif;
    font-size: 38px;
    line-height: 140%;
}

a{
    color: black;
}

a.visided{
    color: black;
}

/* //////////////// */
/* TIPOGRAFIA */
/* //////////////// */

@font-face {
    font-family: 'Armand Handwriting';
    src:    url('../font/ArmandHandwriting.otf') format('opentype'),
            url('../font/DirtyStains.otf') format('opentype'),
}

body em {
    font-style: italic;
    color: #9B5DE5;
    font-family: Armand Handwriting;
  }

body strong {
    font-weight: 800;
}

body ul li {
    list-style: none; /* Rimuove il pallino predefinito */
    position: relative;
    padding-left: 50px; /* Spazio per l'icona */
    padding-top: 30px;
}

body ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50px;
    transform: translateY(-50%);
    width: 30px; /* Larghezza dell'icona */
    height: 30px; /* Altezza dell'icona */
    background-image: url('../icon/star.svg'); /* Percorso dell'icona */
    background-size: contain;
    background-repeat: no-repeat;
}

body p{
    padding-top: 30px;
}

#toggle-opzionale{
    background-color: white;
    border: 0px;
    font-size: 38px;
    font-weight: 500;
    text-decoration: underline;
    padding-top: 30px;
}

/* //////////////// */
/* MENU */
/* //////////////// */

    .menu {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      box-sizing: border-box;
      background-color: white;
      color: black;
      position: fixed;
      top: 0;
      width: 100vw;
    }

    .logo {
    color: #9B5DE5;
    display: flex;
    flex-direction: row;
    }
    .logo a{
    color: #9B5DE5;
    text-decoration: none;
}

    .menu__frase{
    padding-left: 20px;
    font-family: Armand Handwriting;
}

    nav {
      display: flex;
      gap: 20px;
    }

    nav a {
      color: black;
      text-decoration: none;
      font-weight: 500;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 4px;
    }

    .hamburger div {
      width: 25px;
      height: 3px;
      background-color: black;
      border-radius: 2px;
    }

    /* MOBILE */
    @media (max-width: 768px) {
        .menu {
        
        z-index: 9;
        }

        nav {
        display: none;
        flex-direction: column;
        background-color: #f8f2ff;
        color: black;
        position: absolute;
        width: 100%;
        top: 100%;
        left: 0;
        padding: 1rem 2rem;
        }
    
      .menu__frase{
        display: none;
    }

      nav.active {
        display: flex;
      }

      .hamburger {
        display: flex;
      }
    }

/* //////////////// */
/* HOME */
/* //////////////// */

.home__frase{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.home__testo{
    position: absolute;
    bottom: 30px;
    left: 30px;
}

.home__mail{
    position: absolute;
    bottom: 30px;
    right: 30px;
}


/* //////////////// */
/* CHI */
/* //////////////// */
.chi{
    padding: 30px;
    margin-top: 100px;
}

/* //////////////// */
/* CHE */
/* //////////////// */
.che{
    padding: 30px;
    margin-top: 100px;
}

/* //////////////// */
/* CASAPERTA */
/* //////////////// */
.casaperta__menu{
    background-color: black;
    width: calc(100% - 60px);
    padding: 30px;
    border-bottom: 1px solid white;
    font-size: 30px;
    color: white;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-between;
}

.casaperta__menu a{
    color: white;
    text-decoration: none;
    padding-right: 30px;
}

.casaperta{
    padding: 30px;
    padding-top: 150px;
    margin: 0px 0px 0px 0px;
    background-color: black;
    color: white;
}



/* //////////////// */
/* FORM */
/* //////////////// */

#mc_embed_signup{
    background: #BCB5F5;
    margin-top: 50px;
    padding: 10px;
    box-sizing: border-box;
    clear:left;
    width: calc(100vw - 60px);

}


/* //////////////// */
/* LIBRI */
/* //////////////// */
.desktop-only {
  display: block;
}
.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }
}


.mySwiper {
    margin-top: 10%;
    width: 100%;
    height: 50%;
}

.swiper-slide {
    width: 70%;
    height: 650px;
    text-align: center;
    font-size: 18px;
    background-color: #f8f2ff;
    display: flex;
    justify-content: center;
    text-align: left;
    border-radius: 30px;
    overflow: hidden;
}


.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.libro__cover{
    width: 40%;
}
.libro__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
.libro__info{
    width: 60%;
    height: 100%;
    padding: 0 50px 0 50px;
    box-sizing: border-box;
}

.libro__info__titolo{
    font-size: 2em;
    font-weight: 600;
}
.libro__info__intro{
    font-size: 1em;
    line-height: 120%;
    font-weight: 600;
}

.libro__info__testo{
    font-size: 1em;
    line-height: 120%;
}

.libro__info__tema{
    font-size: 1em;
    line-height: 120%;
    font-weight: 600;
}

.libro__info__acquisto button{
    background-color: #9B5DE5;
    margin-top: 30px;
    padding: 10px 20px 10px 20px;
    border-radius: 10px;
    font-size: 1em;
    color:  white;
    border: 0px;
}

.libro__info__acquisto button a{
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.libro__info__acquisto button a:hover{
    color: rgb(255, 255, 255);
} */


/* //////////////// */
/* PAROLE */
/* //////////////// */
.word-container{
    background-color: #9B5DE5;
    width: 100vw;
    height: 100vh;
}

#word-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: none;
}

#word-popup.show {
    display: block;
}

#close-popup {
    margin-top: 10px;
    padding: 5px 10px;
    background: red;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}




