body {
  font-size: 16px;
}

  #page1 {
    display: flex;
    flex-direction: column;
    font-family: Roboto, sans-serif;
    background-image: url('../images/Calabria\ 3.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
    padding-top: 80px;
    height: 100vh;
  }

  .header {
    display: flex;
    flex-direction: row;
    width: 100%;  
  }

  .languages {
    display: inline-flex;
    flex-direction: column;
    position: relative;
    color: blanchedalmond;
    font-family: Verdana, sans-serif;
    padding-top: 1rem;
  }

  #lg img {
    height: 2rem;
    width: auto;
  }

  .languages ul {
    display: flex;
    list-style: none;
  }

  .languages ul li {
  margin: 2rem;
  }

  .languages ul li a {
    display: block;
  }

  .menu {  
    display: inline-flex;
    flex-direction: row;
    flex: 1 1 50px;
    position: fixed;
    top: 0;
    z-index: 10;
    width: 100%;
  }

  .menu ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
  }

  .menu ul li a {
    display: inline;
    color: blanchedalmond;
    text-decoration: none;
    font-family: varta;
    letter-spacing: 0.2rem;
    font-size: 2rem;
    margin: 10px;
    padding-top: 10px;
  }

  .menu ul li a:hover {
    font-weight: 900;
    color: darkblue;
  }
  
  .center img#logo {
    display: block;
    margin: 20px auto 40px auto; /* adjust top margin to account for menu height */
    max-width: 100%;
  }

  .ft h1 {
    font-family: 'Amatic SC', cursive;
    font-size: 6rem;
    font-weight: 800;
    color: blanchedalmond;
    text-align: center;
    margin-top: 60px; /* add space from menu if needed */
  }

  #page2 {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    padding-top: 50px;
    padding-bottom: 30px;
    background-color: #2F4F4F;
    min-height: 100vh;
  }
  
  /* TEXT */
  .text-column {
    display: inline-grid;
    color: #d4ac6e;
    padding: 0 40px;
    justify-items: flex-end;
  }
  
  /* IMAGE */
  .image-column {
    display: inline-grid;
    justify-content: flex-start;
    align-items: center;
  }
  
  .image-column img {
    max-width: 100%;
    max-height: 90vh;
    height: auto;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
  }
  
  .text-column h2 {
    font-size: 5rem;
    font-family: 'Amatic SC', sans-serif;
    font-weight: 800;
    margin-bottom: 20px;
    color: #87bdd8;
    justify-self: center;
  }
  
  .text-column p {
    font-size: 1.2rem;
    line-height: 1.6;
    width: 90%;
    text-align: justify;
    text-justify: inter-word;
  }

  #page3 {
    background-color: #bd5734;
    display: flex;
    flex-flow: column;
    padding-top: 50px;
    padding-bottom: 30px;
  }

  .text-retreats {
    flex: 1;
    width: 90%;
    color: #87bdd8;
    margin-left: 5%;
  }

  .text-retreats h2 {
    font-size: 5rem;
    font-family: 'Amatic SC', sans-serif;
    font-weight: 800;
    margin-bottom: 20px;
    justify-self: center;
  }

  .retreatsgen {
    display: flex;
    flex: 1;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 20px 80px;
  }

  .sicily, .calabria, .apulia, .lazio {
    display: flex;
    flex: 1;
    min-height: 500px;
    min-width: 350px;
    max-height: 500px;
    max-width: 350px;
    flex-direction: column;
    flex-wrap: wrap;
    margin: auto 50px;
    border-radius: 8px;
  }

  .sicily {
    background-image: url('../images/Sicily\ 2.jpg');
  }

  .calabria {
    background-image: url('../images/Calabria\ 4.jpg');
  }

  .apulia {
    background-image: url('../images/Apulia\ 4.jpg');
    background-size: 200% auto;
    background-position: top left;     
    background-repeat: no-repeat;         
    overflow: hidden;
  }

  .lazio {
    background-image: url('../images/Lazio\ 4.jpg');
    background-size: 200% auto;
    background-position: top center;     
    background-repeat: no-repeat;         
    overflow: hidden;
    margin-top: 20px;
  }

  .sicily, .calabria {
    background-size: 100% auto;         /* Full width, auto height to maintain aspect ratio */
    background-position: top center;    /* Align top of the image with the container */
    background-repeat: no-repeat;       /* Don't repeat the image */   
    overflow: hidden;
  }

  .sicily-text, .calabria-text, .apulia-text, .lazio-text {
    height: 150px;
    width: 400px;
    background-color: rgba(255, 235, 205, 0.5);
    color: #50394c;
    padding-left: 1rem;
  }

  .sicily-text h3 a, .calabria-text h3 a, .apulia-text h3 a, .lazio-text h3 a {
    font-size: 2.5rem;
    font-family: varda, sans-serif;
    color: black;
  }

  .sicily-text h4, .calabria-text h4, .apulia-text h4, .lazio-text h4 {
    font-size: 1.3rem;
  }

  .images-retreats img {
    max-height: 500px;
    width: auto;
  }
    
  #page4 {
    width: auto;
    padding-top: 50px;
    min-height: 100vh;
    background-image: url(../images/indclass.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    background-color: #87bdd8;
  }

  .classes-title h2 {
    font-size: 5rem;
    font-family: 'Amatic SC', sans-serif;
    font-weight: 800;
    margin-bottom: 20px; 
    padding-left: 50%;
    color: #163f67;
  }

  .genclass {
    display: flex;
    flex-direction: column;
    color: #163f67;
    padding-left: 50%;
  }

  .groupclass {
    display: flex;
    flex: 1;
    flex-direction: column;
    flex-wrap: wrap;
    width: 40%;
    padding-top: 30px;
  }

  .indclass {
    display: flex;
    flex: 1;
    flex-direction: column;
    flex-wrap: wrap;
    padding-top: 30px;
  }

  .groupclass-title h3, .indclass-title h3 {
    font-size: 3rem;
    font-family: 'Amatic SC', sans-serif;
    font-weight: 800;
  }

  .groupclass-text ul {
    font-size: 1.2rem;
    line-height: 1.6;
  } 
  
  .indclass-text p {
    width: 40%;
    font-size: 1.2rem;
    line-height: 1.6;
  }

  #page5 {
    background-color: #36486b;
    color: #454140;
    width: auto;
    padding-top: 30px;
    padding-bottom: 30px;
    min-height: 100vh;
  }

  .container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .board {
    max-width: 987px; 
    width: 100%;
    height: auto;
    background-image: url('../images/nopal.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    border-radius: 8px;
    padding: 2em 0;
  }

  .container h2 {
    font-size: 5rem;
    font-family: 'Amatic SC', sans-serif;
    font-weight: 800;
    color: #d5e1df;
  }

  .comments >p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: justify;
    /*text-justify: inter-word;*/
  }

  .swiper {
    width: 900px;
    height: auto;
  }

  .swiper .swiper-slide .flex {
    margin: 1em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .swiper .swiper-slide .comments {
    padding: 1.5em 2em;
    width: 80%;
    border-radius: 5px;
    position: relative;
    background-color: rgba(239, 242, 242, 0.8);
  }

  .swiper .profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1em;
  }

  .swiper .profile >a {
    text-decoration: none;
  }

  .swiper .swiper-button-prev, .swiper-button-next {
    color: blanchedalmond;
    font-weight: 800;
    display: none;
  }

  @media (min-width: 320px) {
    .board {
      width: auto;
    }
    .swiper {
      width: 320px;
    }

    .board > h1,p {
      padding: 0.2em;
    }
  }

  @media (min-width: 768px) {
    .board {
      width: 100%;

    }

    .swiper {
      width: 900px;
    }

    .swiper .swiper-button-prev, .swiper-button-next {
      display: initial;
    }
  }

  #page6 {
    background-color: #d96459;
    color: blanchedalmond;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-title {
    flex: 1;
  }

  .contact-title h2 {
    font-size: 5rem;
    font-family: 'Amatic SC', sans-serif;
  }

  .contact {
    font-size: 1.2rem;
    line-height: 1.6;
    flex: 3;
  }

  .contact ul {
    list-style: none;
    width: 90%;
    padding-top: 2rem;
  }

  .contact ul li {
    display: inline;
    margin: 50px;
  }

  #insta img, #fb img, #whatsapp img {
    height: 40px;
    }

  footer {
    font-size: 1rem;
    color: black;
    margin-bottom: 0;
  }

  @media only screen and (max-width: 480px) {
    body {
      font-size: 12px;
    }

    #page1, #page2, #page4 {
      height: auto;
    }

    #page2 {
      display: flex;
      flex-direction: column;
      flex-wrap: wrap;
    }

    .text-column {
      margin: 0 auto; 
      justify-items: center;
    }

    .text-retreats p {
      width: 80%;
    }

    .images-retreats img, video {
      min-height: 250px;
    }

    .retreatsgen {
      flex-direction: column;
      margin: 0;
      padding: 0;
    }
  
    .sicily, .calabria, .apulia, .lazio {
      width: 100%;
      max-width: 100%;
      min-width: 100%;
      margin: 0 0 15px 0; /* vertical spacing between boxes */
      border-radius: 0;
    }
  
    .sicily-text, .calabria-text, .apulia-text, .lazio-text {
      width: 100%;
      box-sizing: border-box;
      padding: 1rem;
    }
  
    .text-retreats {
      width: 100%;
      margin-left: 0;
      padding: 0 1rem;
    }
  
    .text-retreats h2 {
      font-size: 3rem;
      text-align: center;
    }

    #page4 {
      background-size: cover;
      background-repeat: no-repeat;
      overflow: hidden;
      width: 100%;
      height: auto;
    }

    .classes-title h2 {
      color: whitesmoke;
      justify-self: left;
      padding-left: 10%;
    }
    
    .genclass {
      color: whitesmoke;
      padding-left: 10px;
    }

    .groupclass, .indclass-text p {
      width: 90%;
    }

    .contact ul li {
      display: block;
      margin-top: 15px;
    }
  }

    .title h1 {
      font-size: 6rem;
      font-family: 'Amatic SC', sans-serif;
      font-weight: 800;
      justify-self: center;
      color: yellow;
    }

    .title h2 {
      font-family: 'Amatic SC', sans-serif;
      font-size: 4rem;
      font-weight: 800;
      justify-self: center;
      color: #50394c;
    }

    .where, .idea, .schedule, .dates, .activities, .accomodation, .meals, .travelinfo, .yoga, .investment, .cancellations, .includednot, #gallery, .interested {
      padding-left: 2rem;
      padding-top: 1rem;
    }

    .dates h2, .activities h2, .accomodation h2, .meals h2, .travelinfo h2, .yoga h2, .investment h2, .cancellations h2, .includednot h2, #gallery h2, .interested h2 {
      font-size: 3rem;
      font-family: 'Amatic SC', sans-serif;
      font-weight: 800;
      color: yellow;
    }
    
    .title navbar {
      padding-left: 2rem;
    }

    .bodysicily {
      color: #fefbd8;
      background-color: #f7786b;
  }

    .images-retreats {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
    }

    .bodyapulia .images-retreats, .bodylazio .images-retreats {
      justify-content: center;
    }

    .images-retreats img, .images-retreats video {
    height: 350px;
    width: auto;
    border-radius: 5px;
    margin: 2rem 2.5rem;
    }

    .images-retreats img:hover, .images-retreats video:hover {
      height: 700px;
      width: auto;
    }

    .bodycalabria {
      background-color: #fcb716;
      color: #36486b;
    }

    .bodycalabria h1 {
      color: #50394c;
    } 
    
    .bodycalabria h2 {
      color: #36486b;
    }

    .bodyapulia {
      background-color: #275356;
      color: blanchedalmond;
    }

    .bodyapulia h1 {
      color: blanchedalmond;
    }

    .bodyapulia h2 {
      color: #73cdcb;
    }
    
    .bodylazio {
      background-color: #36486b;
      color: blanchedalmond;
    }

    .bodylazio h1 {
      color: blanchedalmond;
    }

    .bodylazio h2 {
      color: #96ceb4;
    }
