@import url('https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz');
@import url('https://fonts.googleapis.com/css?family=Open+Sans');

*{
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin:0;
}






.carousel {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background-color:bisque;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Box-shadow added */
}

.page {
    display: none;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.page img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.page .content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.page .text {
    flex: 1;
    padding-right: 20px;
}

.page .image {
    flex: 1;
}

.text h3 {
    color: #0066cc;
    margin: 20px 0 10px;
}

.text p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.botones {
    text-align: center;
    margin-top: 20px;
}

.botones button {
    background-color: #0066cc;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.botones button:hover {
    background-color: #0678ea;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Box-shadow added */
}

.botones button.prev {
    background-color: #d05707;
}

.botones button.prev:hover {
    background-color: #ff6803;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Box-shadow added */
}


/* Estilos responsivos */
@media (max-width: 768px) {
    .page .content {
        flex-direction: column;
        align-items: flex-start;
    }

    .page .text {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .page img {
        width: 100%;
        height: auto;
    }

    .botones button {
        width: 100%;
        margin-bottom: 10px;
    }
}

/*Responsive Ganoterapia tablets*/
@media (min-width: 768px) and (max-width: 1024px) {
    .carousel {
        width: 100%;
        margin: 0 auto;
    }

    .page .text h3 {
        font-size: 1.2em;
    }

    .page .text p {
        font-size: 0.9em;
    }

    .botones button {
        font-size: 0.9em;
        padding: 8px 15px;
    }
}








.pdf {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    background-color: maroon;
  }
  
  .Pais {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    width: calc(25% - 40px); /* Ajusta el tamaño del ancho según necesites */
    box-sizing: border-box;
    text-align: center;
    transition: transform 0.3s;
  }
  
  .Pais img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    animation: subtleWave 1s infinite ease-in-out, rotate3D 4s infinite ease-in-out;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.8);
    transform-style: preserve-3d; /* Habilita la transformación 3D */
  }
  
  @keyframes subtleWave {
    0%, 100% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(10px); /* Ajusta este valor para la amplitud del movimiento */
    }
  }
  
  @keyframes rotate3D {
    0%, 100% {
      transform: rotateY(0deg); /* Ajusta este valor para el ángulo de rotación */
    }
    50% {
      transform: rotateY(25deg); /* Ajusta este valor para el ángulo de rotación */
    }
  }
  
  
  .Pais h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
  }
  
  .Pais button {
    background-color: maroon;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .Pais button:hover {
    background-color: rgb(249, 6, 6);
  }
  
  .Pais:hover {
    transform: scale(1.05);
  }
  
  @media screen and (max-width: 1200px) {
    .Pais {
      width: calc(33.333% - 40px);
    }
  }
  
  @media screen and (max-width: 768px) {
    .Pais {
      width: calc(50% - 40px);
    }
  }
  
  @media screen and (max-width: 480px) {
    .Pais {
      width: calc(100% - 40px);
    }
  }
  
