:root {
  --primary-color: #185ee0;
  --secondary-color: #e6eef9;
}
  .first__fold {
    height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
  }
  
  main {
    position: relative;
    width: 100%;
    height: 100%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  }
  
  .item {
    width: 200px;
    height: 300px;
    list-style-type: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    background-position: center;
    background-size: cover;
    border-radius: 20px;
    box-shadow: 0 20px 30px rgba(255, 255, 255, 0.3) inset;
    transition: transform 0.1s, left 0.75s, top 0.75s, width 0.75s, height 0.75s;
  }
  
  .item:nth-child(1),
  .item:nth-child(2) {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
  }
  
  .item:nth-child(3) {
    left: 50%;
  }
  .item:nth-child(4) {
    left: calc(50% + 220px);
  }
  .item:nth-child(5) {
    left: calc(50% + 440px);
  }
  .item:nth-child(6) {
    left: calc(50% + 660px);
    opacity: 0;
  }
  
  .content {
    width: min(30vw, 400px);
    position: absolute;
    top: 50%;
    left: 3rem;
    transform: translateY(-50%);
    font-weight: 400;
    color: white;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
    opacity: 0;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
  }
  
  .content .title {
    font-size: 2em;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 150%;
  }
  
  .content .description {
    font-size: 1em;
    line-height: 150%;
  }
  
  .content button {
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.1);
    color: white;
    border: 2px solid white;
    border-radius: 0.25rem;
    padding: 0.75rem;
    cursor: pointer;
  }
  
  .item:nth-of-type(2) .content {
    display: flex;
    animation: show 0.75s ease-in-out 0.3s forwards;
  }
  
  @keyframes show {
    0% {
      filter: blur(5px);
      transform: translateY(calc(-50% + 75px));
    }
    100% {
      opacity: 1;
      filter: blur(0);
    }
  }
  

  @media (max-width: 900px) and (min-width: 650px) {
    .content .title {
      font-size: 1rem;
    }
    .content .description {
      font-size: 0.7rem;
    }
    .content button {
      font-size: 0.7rem;
    }
    .item {
      width: 160px;
      height: 270px;
    }
    .item:nth-child(3) {
      left: 50%;
    }
    .item:nth-child(4) {
      left: calc(50% + 170px);
    }
    .item:nth-child(5) {
      left: calc(50% + 340px);
    }
    .item:nth-child(6) {
      left: calc(50% + 510px);
      opacity: 0;
    }
  }
  
  @media (max-width: 650px) {
    .content .title {
      font-size: 0.9rem;
    }
    .content .description {
      font-size: 0.65rem;
    }
    .content button {
      font-size: 0.7rem;
    }
    .item {
      width: 130px;
      height: 220px;
    }
    .item:nth-child(3) {
      left: 50%;
    }
    .item:nth-child(4) {
      left: calc(50% + 140px);
    }
    .item:nth-child(5) {
      left: calc(50% + 280px);
    }
    .item:nth-child(6) {
      left: calc(50% + 420px);
      opacity: 0;
    }
  }

  /* ---- Destinations List CSS ---- */

  .relative__container{
    position: relative;
    width: 100%;
    height: 200px;

    @media only screen and (max-width: 750px){
      height: 100px;
    }
  }
  
  
  *,
  *:after,
  *:before {
    box-sizing: border-box;
  }
  
  .destination__list {
    background-color: rgba(230, 238, 249, 0.5);
    position: relative;
    width: 100%;
    height: fit-content;
  }
  
  .container {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .tabs {
    display: flex;
    position: relative;
    background-color: #fff;
    box-shadow: 0 0 1px 0 rgba(24, 94, 224, 0.15), 0 6px 12px 0 rgba(24, 94, 224, 0.15);
    padding: 0.75rem;
    border-radius: 99px;
  }
  .tabs * {
    z-index: 2;
  }
  
  input[type=radio] {
    display: none;
  }
  
  .tab {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    width: 200px;
    font-size: 1.25rem;
    font-weight: 500;
    border-radius: 99px;
    cursor: pointer;
    transition: color 0.15s ease-in;
  }
  
  .notification {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-left: 0.75rem;
    border-radius: 50%;
    background-color: var(--secondary-color);
    transition: 0.15s ease-in;
  }
  
  input[type=radio]:checked + label {
    color: var(--primary-color);
  }
  input[type=radio]:checked + label > .notification {
    background-color: var(--primary-color);
    color: #fff;
  }
  
  input[id=radio-2]:checked ~ .glider {
    transform: translateX(0%);
  }
  
  input[id=radio-3]:checked ~ .glider {
    transform: translateX(100%);
  }
  
  .glider {
    position: absolute;
    display: flex;
    height: 54px;
    width: 200px;
    background-color: var(--secondary-color);
    z-index: 1;
    border-radius: 99px;
    transition: 0.25s ease-out;
  }
  
  @media (max-width: 700px) {
    .tabs {
      transform: scale(0.6);
    }
  }

/* Tilt.js Card Effect */

.tilt__container{
  background-image:url(https://images.unsplash.com/photo-1583121358977-98c0a70698b7?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1500&q=80);
  background-attachment:fixed;
  background-size:cover;
  background-position:center center;
  position:relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
  gap: 30px;
  width:100%;
  /*z-index:2;*/
  height: fit-content;
  padding: 40px;
}
.tilt__container:before{
  content:'';
  background-color:rgb(0 0 0 / 0.7);
  position:absolute;
  height:100%;
  width:100%;
  left:0;
  top:0;
}
.tilt__container .card{
  vertical-align:top;
  width: 450px;
  height: 450px;
  position:relative;
  box-shadow: 20px 20px 50px rgba(0,0,0,0.8);
  border-radius:25px;
  overflow:hidden;
  display: none;
  justify-content:center;
  align-items:center;
  background-color:rgba(255,255,255, 0.1);
   -webkit-backdrop-filter: blur(5px);
   backdrop-filter: blur(5px);
  text-align:center;
}
.card .tilt__content {
  padding:20px;
  transition:0.8s all ease;
  color:#ccc;
  transform:translateY(200px);
  opacity:0;
}
.tilt__container .card:hover .tilt__content {
  transform:translateY(0px);
  opacity:1;
  z-index: 3;
}
.card img{
  position: absolute;
  width: 100%;
  height: 100%;
  top:0;
  left: 0;
  object-fit: cover;
  z-index: 1 !important;
}
.card:hover img{
  opacity:0.2;
}
h1{
  color:#fff;
  text-align:center;
  z-index:9;
  position:relative;
  margin-bottom:-20px;
  padding-bottom:0;
  padding-top:20px;
  font-weight:400;
}
.card .tilt__content  h2{
  color:#fff;
  font-weight:400;
}
.card .tilt__content  a{
  display:inline-block;
  margin-top:20px;
  text-decoration:none;
  padding:8px 30px 11px;
  border:2px solid #fff;
  text-transform:uppercase;
  color:#fff;
  border-radius:50px;
  box-shadow: 0px 5px 50px rgba(0,0,0,0.8);
  transition:0.8s all ease;
}
.card .tilt__content  a:hover{
  background: linear-gradient(90deg, rgba(0, 155, 157, 1) 0%, rgba(26, 56, 118, 1) 100%);
}


@media only screen and (max-width: 750px){
  .tilt__container{
    display: grid;
    padding: 20px;
    gap: 20px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    justify-items: center;
    position: relative;
  }
  .tilt__container .card{
    width: 100%;
    height: 350px;
  }
}