body{
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    line-height: 140%;
    font-weight: 450;
    background-color: #F9F8F8;
}

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;
    font-size: 58px;
  }

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: 54px;
    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: #F9F8F8;
    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: 50px;
      box-sizing: border-box;
      color: black;
      position: fixed;
      top: 0;
      width: 100vw;
      background-color: #F9F8F8;
      z-index: 9999;
    }

    .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: 40px;
    }

    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;
    }



/* //////////////// */
/* 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{
    font-size: 44px;
    padding: 50px;
    margin-top: 150px;
}

/* //////////////// */
/* CHE */
/* //////////////// */
.che{
    font-size: 44px;
    padding: 50px;
    margin-top: 150px;
}

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

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

.casaperta{
    padding: 30px;
    padding-top: 180px;
    padding-bottom: 180px;
    font-size: 32px;
    margin: 0px 0px 0px 0px;
    background-color: black;
    color: white;
}



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

#mc_embed_signup{
    background: #BCB5F5;
    padding: 10px;
    padding-top: 100px;
    padding-bottom: 100px;
    box-sizing: border-box;
    clear:left;
    width: 100%;
    color: black;
    font-size: 32px;
    font-weight: 300;
}

#mc_embed_signup .mc-field-group input {
    background-color: #BCB5F5;
    border: none;
    border-bottom: 2px solid #000;
    border-radius: 0; /* rimuove eventuali angoli arrotondati */
    font-size: 16px;
    font-weight: 300;
    width: 100%;
    box-sizing: border-box;
    color: #000; /* colore del testo */
}

/* Cambia colore del placeholder (opzionale) */
#mc_embed_signup .mc-field-group input::placeholder {
    color: black;
    padding: 0px;
}

/* Rimuovi sfondo al focus e mantieni solo il border-bottom */
#mc_embed_signup .mc-field-group input:focus {
    outline: none;
    border-bottom: 1px solid #000;
    background-color: #BCB5F5;
}

#mc-embedded-subscribe.button {
    font-family: inherit;
    background: none;
    border: none;
    color: black;
    text-decoration: underline;
    padding: 0;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    border-radius: 0px;
  }

#mc-embedded-subscribe.button:hover,
#mc-embedded-subscribe.button:focus,
#mc-embedded-subscribe.button:active {
    background: none !important;
    border: none !important;
    color: black !important;
    text-decoration: underline !important;
    box-shadow: none !important;
    outline: none !important;
  }


/* //////////////// */
/* 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%;
    z-index: 999;
    overflow: visible;
}

.swiper-slide {
    width: 60%;
    height: 560px;
    text-align: center;
    font-size: 16px;
    line-height: 22px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    text-align: left;
    border-radius: 30px;
    overflow: hidden;
    stroke: 1px solid black;
    box-shadow: 5px 10px;
    box-shadow: 10px 10px 10px rgb(0, 0, 0, 0.1);
}


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

.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal{
    position: absolute;
    bottom: 50px;
    right: 50px;
    left: auto;
    text-align: right;
}

.swiper-pagination-bullet {
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    font-size: 18px;
    color: #000;
    opacity: 1;
    background-color: white;
    border: 1px solid black;
}

.swiper-pagination-bullet-active {
    color: #fff;
    background: #000000;
}

.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: 44px;
    line-height: 50px;
    font-weight: 600;
}
.libro__info__intro{
    font-size: 1em;
    line-height: 120%;
    font-weight: 600;
    width: 90%;
}

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

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


.libro__info__acquisto button{
    color: #000000;
    margin-top: 30px;
    text-decoration: underline;
    padding: 0px;
    font-size: 1em;
    border: 0px;
    background-color: white;
    cursor: pointer;
}

.libro__info__acquisto button a{
    color: #9B5DE5;
    text-decoration: underline;
    cursor: pointer;
}



/* //////////////// */
/* 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;
}




