
.selection {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
    .selection img {
      flex: 1 1 20rem;
      height: 15rem;
      width: 100% ;
    }
  
  
    .image-with-text {
      flex: 1 1 20rem;
      height: 15rem;
      width: 100% ;
      object-fit: cover;
      position: relative;
      display: inline-block;
    }
  
    .loc-category h1{
      color: rgb(79, 138, 206);
      text-align: center;
    }

    .loc-category{
      display: flex;
      flex-wrap: wrap;
      gap:2rem;
    }

    .country-container {
      display: flex; 
      align-items: flex-start; 
      margin-bottom: 20px;
    }
  
    .country-name {
        min-width: 70px;
        margin-right: 10px; 
        font-weight: bold; 
        font-size: 20px;
    }
  
    .categories {
        flex-grow: 1; 
    }
  
    .tour-category {
        margin-right: 10px; 
        margin-bottom: 10px;
    }
  
    .hr-style {
      border: 0;
      height: 1px;
      background-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
  }
  
    .image-with-text:hover{
      border: 1px solid rgb(79, 138, 206);
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    }
    
    .text-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      background-color: rgba(0, 0, 0, 0.7);
      opacity: 0.7;
      color: #fff;
      padding: 5px;
      text-align: center;
    }
  
    .travel-tour-info{
      margin:auto;
      margin-bottom: 50px;
      padding: 10px;
      width:100%;
      border: 5px solid black;
      border-radius: 8px;
      display: flex;
      align-items: center;
      grid-template-columns: 2fr 4fr 1fr;
      column-gap: 0px;
    }
  
    .travel-tour-info img {
      width: 100%;
      max-width: 350px;
      height: 15rem;
      object-fit: cover;
      opacity: 1;
      transition: opacity 0.5s;
    }
  
    .tour--contect {
      margin: 5px;
      width: 50%;
      flex: 1;
      word-wrap: break-word;
    }
  
    .travel-tour-info img.fade {
      opacity: 1; 
    }

    .right-area {
        height: 100%;
        padding: 10px;
        flex: 0 0 auto;
      }
  

  
  .button-class {
    appearance: none;
    border: 2px solid #1A1A1A;
    border-radius: 15px;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-family: Roobert,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    margin: 0;
    min-height: 60px;
    min-width: 0;
    outline: none;
    padding: 16px 24px;
    text-align: center;
    text-decoration: none;
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: 100%;
    will-change: transform;
  }
  
  .button-class[title="download"]{
    background-color: rgb(13, 108, 120);
  }
  
  .button-class[title="inquiry"]{
    background-color: rgb(10, 87, 40);
  }
  
  .button-class:disabled {
    pointer-events: none;
  }
  
  .button-class:hover {
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transform: translateY(-2px);
  }
  
  .button-class:active {
    box-shadow: none;
    transform: translateY(0);
  }
  
  .tour-category {
    align-items: center;
    background-color: #0A66C2;
    border: 0;
    margin: 1px;
    border-radius: 100px;
    box-sizing: border-box;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-family: -apple-system, system-ui, system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Fira Sans", Ubuntu, Oxygen, "Oxygen Sans", Cantarell, "Droid Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Lucida Grande", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    line-height: 20px;
    max-width: 480px;
    min-height: 40px;
    min-width: 0px;
    overflow: hidden;
    padding: 0px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    touch-action: manipulation;
    transition: background-color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, box-shadow 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s;
    user-select: none;
    -webkit-user-select: none;
    vertical-align: middle;
  }
  
  .tour-category:hover,
  .tour-category:focus { 
    background-color: #16437E;
    color: #ffffff;
  }
  
  .tour-category:active {
    background: #09223b;
    color: rgb(255, 255, 255, .7);
  }
  
  .tour-category:disabled { 
    cursor: not-allowed;
    background: rgba(0, 0, 0, .08);
    color: rgba(0, 0, 0, .3);
  }

  .gallery{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    grid-gap: 30px;

  }

  .gallery .image img{
    width: 100%;
    height: 90%;
    object-fit: cover;
  }

  .gallery .image:hover img{
    transform: scale(1.1);
    cursor: pointer;
  }

  .popup-image{
    position: fixed;
    top:50px;
    left:0;
    background: rgba(0,0,0,.5);
    height:100%;
    width:100%;
    z-index:100;
    display: none;
  }

  .popup-image span{
    position: absolute;
    top:70px;
    right:30px;
    font-size:70px;
    color: white;
    cursor:pointer;

  }

  .popup-image img{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    border: 5px solid white;
    width:750px;
    object-fit: cover;

  }

  #backtoselection{
    background-color:#0A66C2 ;
    font-size: 20px;
    font-weight: bold;
    width: 80px;
    color: white;
    margin-top: 50px;

  }

  #backtoselection:hover{
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transform: translateY(-2px);
  }

  #backtoselection:active{
    box-shadow: none;
    transform: translateY(0);
  }

  ul.pagination {
    display: inline-block;
    padding: 0;
    margin: 0;
  }
  
  ul.pagination li {display: inline;}
  
  ul.pagination li a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
  }
  
  ul.pagination li a.active {
    background-color: #428ad7;
    color: white;
  }
  
  ul.pagination li a:hover:not(.active) {background-color: #ddd;}


  @media only screen and (max-width: 750px) {
    .travel-tour-info{
      margin:auto;
      margin-bottom: 50px;
      padding: 10px;
      width:100%;
      border: 5px solid black;
      border-radius: 8px;
      display: block;
      align-items: center;
    }
  
    .travel-tour-info img {
      width: 85%;
      margin-left: 5%;
      height: 15rem;
      object-fit: cover;
      opacity: 1;
      transition: opacity 0.5s;
    }
  
    .tour--contect {
      margin: 5px;
      width: 100%;
      flex: 1;
      word-wrap: break-word;
    }
    .right-area {
      display: block;

    }
  


  


  }

  @media only screen and (max-width: 1000px) {
    .popup-image span{
      position: absolute;
      top:60px;
      right:0px;
      font-size:70px;
      color: white;
      cursor:pointer;
  
    }
  
    .popup-image img{
      position: absolute;

      transform: translate(-50%, -50%);
      border: 5px solid white;
      width:80%;
      height: auto;
      object-fit: fill;
  
    }
  }